CN101296441A - Method and device for scanning two-dimension bar code and transmitting message - Google Patents

Method and device for scanning two-dimension bar code and transmitting message Download PDF

Info

Publication number
CN101296441A
CN101296441A CNA2007100987672A CN200710098767A CN101296441A CN 101296441 A CN101296441 A CN 101296441A CN A2007100987672 A CNA2007100987672 A CN A2007100987672A CN 200710098767 A CN200710098767 A CN 200710098767A CN 101296441 A CN101296441 A CN 101296441A
Authority
CN
China
Prior art keywords
bar code
message
module
terminal
dimensional bar
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
Application number
CNA2007100987672A
Other languages
Chinese (zh)
Other versions
CN101296441B (en
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 CN2007100987672A priority Critical patent/CN101296441B/en
Publication of CN101296441A publication Critical patent/CN101296441A/en
Application granted granted Critical
Publication of CN101296441B publication Critical patent/CN101296441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method for scanning two-dimensional bar code to send messages and is used for a terminal with two-dimensional bar code identification function. The method includes the image frame extracting step used for extracting the image frame information containing two-dimensional bar code via an image collecting device; the bar code resolving step used for resolving the frame information and identifying whether the bar code type is a short message or a multimedia message via a decoding function and the message processing step used for sending the message in the formal short message format or the formal multimedia message format according to the types of the bar code. The invention comprehensively applies the bar code identification technology and the terminal message sending technology and realizes the function of scanning the two-dimensional bar code to send messages of the terminal; the implementation of the method is simple and practical and not only richens the function of the terminal but also brings convenience to the user for using.

Description

A kind of scanning two-dimension bar code sends the method and the device of message
Technical field
The present invention relates to Bar Code, particularly a kind of scanning two-dimension bar code that is applied to terminal sends the method and the device of message.
Background technology
As current most widely used automatic identification technology, bar code is bar, the null symbol of arranging by certain coding rule by a group, and its principle is to utilize the thickness of bar code and the lines of black and white to represent numeral.The common bar code that mostly is, the bar code information capacity is less, generally has only tens bytes.
Two-dimensional bar code/two-dimension code (2-Dimensional Bar Code) is (on the two-dimensional directional) distributes on the plane according to certain rules with certain specific geometric figure a chequered with black and white graphic recording data symbol information; On coding, utilize " 0 ", the notion of " 1 " bit stream that constitutes the computer-internal logical foundations dexterously, use several and the corresponding geometrical body of binary system to represent the literal numerical information, automatically handle (with reference to figure 1) by image input device or photoelectric scanning device automatically identifying and reading with realization information, it has some general character of barcode technology: every kind of code system has its specific character set; Each character occupies certain width; Has certain verifying function etc.Also have simultaneously the automatic recognition function of the information of different rows, and characteristics such as processing graphics rotation change.
Therefore, two-dimensional bar code possess information capacity big, have good advantages such as fault-tolerant ability, two-dimensional bar code can be stored thousands of Chinese characters during off-line, during on line can with database link, really realize unlimited dilatation.Come into operation from late 1980s, it is called as " paper EDI (electronic information exchange) ".There is more than 40 kind of two-dimensional bar in the whole world at present.Along with the development of information technology, two-dimensional bar code has obtained using further widely from invention so far in the world.
Portable terminal is a mobile communication facility the most universal, most convenient, also is the most practical identification terminal simultaneously.The recognition performance of existing main flow portable terminal can satisfy the needs of two-dimensional bar code identification fully, and this feasible application based on portable terminal identification 2D bar code technology becomes possibility.The two-dimensional bar code of portable terminal identification at present has been used to develop a variety of mobile value-added application in the world, in Japan, even has reached the popularity of " everybody with sign indicating number, everybody has sign indicating number ".
The capacity of two-dimensional bar code is big, therefore the text message that is comprised also can be very abundant, the type that can represent is also more and more, has also formed series of standards in the world, and this wherein is also included within the short message suitable in the terminal handheld device and the bar code of multimedia message type.And bar-code identification system commonly used can realize the decoding of bar code pictorial information the bar code picture finally being decoded as discernible text-string.Make that based on above-mentioned prior art application scanning two-dimensional bar code transmission message becomes possibility on terminal.
Summary of the invention
Technical problem to be solved by this invention is, provides a kind of scanning two-dimension bar code that is applied to terminal to send the method and the device of message.The present invention is that direct scanning two-dimension bar code is discerned in terminal, and sends message according to the direct message call module of recognition result, makes the function of terminal obtain bigger expansion, has also improved the utilization rate of terminal.
For achieving the above object, the invention provides the method that a kind of scanning two-dimension bar code sends message, be used to have the terminal of two-dimensional bar code recognition function, it is characterized in that, comprising:
The picture frame extraction step is used for extracting the image frame information that contains two-dimensional bar code by image collecting device;
The bar code analyzing step, being used for resolving described frame information and identifying barcode types by decoding functions is short message or multimedia message;
Message processing step is used for according to the formal form transmission message of described barcode types with short message or multimedia message.
Said method is characterized in that, described picture frame extraction step further comprises:
Start the step that terminal two-dimensional bar code recognition function is used;
Start image collecting device scanning two-dimension bar code picture, the while returns and shows the step of the image frame information that described image collecting device extracts on bottom or backstage.
Said method is characterized in that, described bar code analyzing step further comprises: provide the described frame information that contains the image of two-dimensional bar code to be decoded into the step of text-string to decoding functions.
Said method is characterized in that, in the described decoding step, as the success of decoding, according to the keyword of described text-string, identifying is short message or multimedia message type bar code; If the decoding failure, the bar code analyzing step is carried out in circulation.
Said method is characterized in that, described message processing step further comprises:
The described character string that identifies resolved to the sender according to specific keyword and send two parameters of content or resolve to the sender, send theme, send the step of three parameters of content;
Receive the described parameter that parses, send the step of message with the formal form of short message or multimedia message.
For realizing that further goal of the invention, the present invention also provide a kind of scanning two-dimension bar code to send the device of message, be arranged at terminal with two-dimensional bar code identification module, it is characterized in that, comprising:
Image capture module is used to gather the image frame information that contains two-dimensional bar code;
The bar code parsing module, being used for resolving described frame information and identifying barcode types by decoding functions is short message or multimedia message;
Message processing module is used for sending message according to described barcode types with formal short message or MMS format.
Said apparatus is characterized in that, described image capture module is a camera head, and described camera head is triggered by described two-dimensional bar code identification module and starts.
Said apparatus is characterized in that, described message processing module is short message module and/or multimedia message module, is provided with the interface that receives the parameter that described bar code parsing module parses in described message module and/or the multimedia message module.
Said apparatus is characterized in that, described short message module and/or multimedia message module also are provided with one and send SMS message or the interface of multimedia message.
Said apparatus is characterized in that, the interface that is provided with the intercepting character string is used in this locality of described terminal.
For further realizing goal of the invention, the present invention also provides a kind of terminal, comprise: two-dimensional bar code identification module and scanning two-dimension bar code send information apparatus, it is characterized in that, the device that described scanning two-dimension bar code sends message comprises: image capture module is used to gather the image frame information that contains two-dimensional bar code; The bar code parsing module, being used for resolving described frame information and identifying barcode types by decoding functions is short message or multimedia message; Message processing module is used for sending message according to described barcode types with formal short message or MMS format.Described image capture module is a camera head, and described camera head is triggered by described two-dimensional bar code identification module and starts.
Compared with prior art, the present invention has following advantage:
Integrated application of the present invention Bar Code and terminal message transmission technology, after directly utilizing terminal recognition to go out the bar code of short message or multimedia message type, the bar code content that identifies is resolved according to keyword, call message that terminal carries again and send to use and send, thereby realize that the terminal scanning two-dimensional bar code carries out the function that information sends.Both enriched the function of terminal, also convenient for users to use, effectively raise the utilance of terminal, enforcement of the present invention simultaneously is also more simple and easy to do.
Description of drawings
Fig. 1 is the two-dimensional bar code example of a kind of typical multimedia message (MMS) type;
Fig. 2 is the specific implementation flow process of the inventive method;
Fig. 3 is the schematic block diagram of terminal applies of the present invention.
Embodiment
Describe technical scheme of the present invention in detail below in conjunction with drawings and Examples, with purpose, scheme and the effect of further understanding the present invention, but not as the restriction to the present invention's claim protection range.
Fig. 1 is the method flow diagram that scanning two-dimension bar code of the present invention sends message, and with reference to figure 1, method of the present invention comprises the steps:
Step S10 extracts the image frame information that contains two-dimensional bar code by the camera on the terminal;
Step S20, resolving described frame information and identify barcode types by decoding functions is short message or multimedia message;
Step S30 is according to the formal form transmission message of described barcode types with short message or multimedia message.
Above-mentioned steps S10 further comprises:
Step S101 starts the step that terminal two-dimensional bar code recognition function is used;
Step S102 starts image collecting device scanning two-dimension bar code picture, and the while returns and show the step of the image frame information that described image collecting device extracts on bottom or backstage.
Among the above-mentioned steps S102, be that the two-dimensional bar code picture (can be newspapers and periodicals or the two-dimensional bar code picture that comprises text content of short message above the article) that will include text content of short message places before the terminal camera, camera directly is presented at the two-dimensional barcode image that scans on the screen; Meanwhile, the application meeting is the images acquired frame information in the video frame image readjustment that bottom returns, mainly be with original image (image file of RAW form) form collection, the image of so-called RAW form refers to the primary signal file of camera photo-sensitive cell sensitization, and camera all comprises this format picture information when extracting image.
In above-mentioned steps S20, the application meeting is after backstage or bottom are got frame, and the information that original image information and other built-in functions are needed (such as the terminal IMEI number etc.) is passed to the decoding functions (step S201) that the decoding storehouse provides; As the success of decoding, decoding functions is decoded into a string text-string with bar code information, and according to the keyword of described text-string, identifying is the bar code (step S202) of short message (SMS) or multimedia message (MMS) type; If the decoding failure, circulation execution in step S20.Described decoding functions is provided by the bar-code identification system, only need to differentiate be which kind bar code (such as, SMS or MMS), present most bar-code identification system all comprises this type of bar-code identification function, therefore more easily reaches requirement.
Above-mentioned steps S30 further comprises:
Step S301 intercepts into the described character string that identifies the step of two parts or three partial parameters according to specific keyword.In this step, the application need of terminal this locality provides an interface, according to its specific keyword (such as SMSTO: *The symbol back is sender's a number) character string parsing that identifies is become 2 parts (SMS resolves to: sender, transmission content) or 3 parts (MMS resolves to: sender, transmission theme, transmission content), execution in step S302 then.
Step S302 receives the described parameter that parses, the step that sends with the formal form of short message or multimedia message.The formal form here is meant the form that meets mobile communication short message or multimedia message standard protocol specifies.In step S302, need be at short message or the newly-increased interface of multimedia message module, 2 or 3 parameters (sender, transmission main body and transmission content etc.) parsing among the receiving step S301, formal form with short message or multimedia message sends then, send successfully or failure display reminding message, but no matter send success or failure, the execution in step that all circulates S20 begins the next round decode procedure.
Fig. 3, be apparatus of the present invention schematic diagrames, with reference to figure 3, the device 100 that scanning two-dimension bar code provided by the invention sends message is arranged at the terminal 10 with two-dimensional bar code identification module 104, this device 20 comprises: image capture module 101, and bar code parsing module 102 and message processing module 103, wherein, image capture module 100 can be a camera, and it is triggered to start by described two-dimensional bar code identification module and is used for gathering the image frame information that contains two-dimensional bar code; It is short message or multimedia message that bar code parsing module 102 is used for resolving described frame information and identifying barcode types by decoding functions; Message processing module 103 is used for sending message according to described barcode types with formal short message or MMS format.Described message processing module comprises short message module and/or multimedia message module, described message module and/or multimedia message module are provided with an interface that receives the parameter that described bar code parsing module 102 parses, described short message module and/or multimedia message module also are provided with one and send SMS message (SMS) or the interface of multimedia message (MMS), and the great majority terminal that contains short message module has all comprised this function at present.The local interface that an intercepting character string also need be set of using of described terminal, this interface can be totally independent of any application, makes that the degree of coupling is not strong between terminal module, can independently realize.
Method and device proposed by the invention are applied to terminal, terminal can be the mobile hand-held device that comprises camera and message sending function, the bar code picture of message content is made according to certain standard or standard, and this terminal also need have the decoding storehouse that makes such bar code.
After the present invention directly utilizes terminal recognition to go out the bar code of short message or multimedia message type, the bar code content (text-string) that identifies is resolved according to keyword, call the message transmission application that terminal carries again, directly send, thereby realize that the terminal scanning two-dimensional bar code carries out the function that information sends according to the content in the text-string (such as sender's number, transmission title, transmission content etc.).Both enriched the function of terminal, also convenient for users to use, effectively raise the utilance of terminal.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (11)

1, a kind of scanning two-dimension bar code sends the method for message, is used to have the terminal of two-dimensional bar code recognition function, it is characterized in that, comprising:
The picture frame extraction step is used for extracting the image frame information that contains two-dimensional bar code by image collecting device;
The bar code analyzing step, being used for resolving described frame information and identifying barcode types by decoding functions is short message or multimedia message;
Message processing step is used for according to the formal form transmission message of described barcode types with short message or multimedia message.
2, method according to claim 1 is characterized in that, described picture frame extraction step further comprises:
Start the step that terminal two-dimensional bar code recognition function is used;
Start image collecting device scanning two-dimension bar code picture, the while returns and shows the step of the image frame information that described image collecting device extracts on bottom or backstage.
3, method according to claim 1 and 2 is characterized in that, described bar code analyzing step further comprises: provide the described frame information that contains the image of two-dimensional bar code to be decoded into the step of text-string to decoding functions.
4, method according to claim 3 is characterized in that, in the described decoding step, as the success of decoding, according to the keyword of described text-string, identifying is short message or multimedia message type bar code; If the decoding failure, the bar code analyzing step is carried out in circulation.
5, according to claim 1 or 4 described methods, it is characterized in that described message processing step further comprises:
The described character string that identifies resolved to the sender according to specific keyword and send two parameters of content or resolve to the sender, send theme, send the step of three parameters of content;
Receive the described parameter that parses, send the step of message with the formal form of short message or multimedia message.
6, a kind of scanning two-dimension bar code sends the device of message, is arranged at the terminal with two-dimensional bar code identification module, it is characterized in that, comprising:
Image capture module is used to gather the image frame information that contains two-dimensional bar code;
The bar code parsing module, being used for resolving described frame information and identifying barcode types by decoding functions is short message or multimedia message;
Message processing module is used for sending message according to described barcode types with formal short message or MMS format.
7, device according to claim 6 is characterized in that, described image capture module is a camera head, and described camera head is triggered by described two-dimensional bar code identification module and starts.
8, device according to claim 6 is characterized in that, described message processing module is short message module and/or multimedia message module, is provided with the interface that receives the parameter that described bar code parsing module parses in described message module and/or the multimedia message module.
9, device according to claim 8 is characterized in that, described short message module and/or multimedia message module also are provided with one and send SMS message or the interface of multimedia message.
10, device according to claim 6 is characterized in that, the interface that is provided with the intercepting character string is used in this locality of described terminal.
11, a kind of terminal is characterized in that, comprises as each described scanning two-dimension bar code in the claim 6~10 sending the device of message and triggering the two-dimensional bar code identification module that starts this device.
CN2007100987672A 2007-04-26 2007-04-26 Method and device for scanning two-dimension bar code and transmitting message Active CN101296441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100987672A CN101296441B (en) 2007-04-26 2007-04-26 Method and device for scanning two-dimension bar code and transmitting message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100987672A CN101296441B (en) 2007-04-26 2007-04-26 Method and device for scanning two-dimension bar code and transmitting message

Publications (2)

Publication Number Publication Date
CN101296441A true CN101296441A (en) 2008-10-29
CN101296441B CN101296441B (en) 2012-07-18

Family

ID=40066384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100987672A Active CN101296441B (en) 2007-04-26 2007-04-26 Method and device for scanning two-dimension bar code and transmitting message

Country Status (1)

Country Link
CN (1) CN101296441B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908133A (en) * 2010-06-01 2010-12-08 福建新大陆电脑股份有限公司 Method and device for decoding bar code
CN102103627A (en) * 2010-11-26 2011-06-22 中兴通讯股份有限公司 Method and device for identifying two-dimensional codes on mobile terminal
CN102184379A (en) * 2011-05-03 2011-09-14 上海合合信息科技发展有限公司 Data interchange method
CN102685466A (en) * 2011-01-31 2012-09-19 手持产品公司 Adaptive video capture decode system
CN103037336A (en) * 2012-12-04 2013-04-10 张剑 Short message transmission method of two-dimensional code
CN103207982A (en) * 2012-01-13 2013-07-17 鸿富锦精密工业(深圳)有限公司 Two-dimensional bar code scanning method and system
CN103366150A (en) * 2013-07-30 2013-10-23 上海斐讯数据通信技术有限公司 Barcode recognition method for mobile terminal and mobile terminal
CN101930557B (en) * 2009-06-25 2016-03-30 北京西阁万投资咨询有限公司 A kind of method and system of improving article delivery safety
WO2017072778A1 (en) * 2015-10-28 2017-05-04 Hewlett-Packard Development Company, L.P. Processing machine-readable link
CN108256377A (en) * 2016-03-31 2018-07-06 青岛海信移动通信技术股份有限公司 Two-dimension code image recognition methods and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE29923366U1 (en) * 1999-06-21 2000-08-17 Deutsche Telekom Mobil Mobile phone
CN1409567A (en) * 2001-09-30 2003-04-09 秦建忠 Mobile phone and anti-fake inquiry system
CN1599488A (en) * 2003-09-18 2005-03-23 深圳市朗科科技有限公司 Mobile communication terminal and its processing method
CN1588961A (en) * 2004-08-06 2005-03-02 李红卫 Color screen mobile communication device with scanning bar code device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930557B (en) * 2009-06-25 2016-03-30 北京西阁万投资咨询有限公司 A kind of method and system of improving article delivery safety
CN101908133A (en) * 2010-06-01 2010-12-08 福建新大陆电脑股份有限公司 Method and device for decoding bar code
CN101908133B (en) * 2010-06-01 2012-06-06 福建新大陆电脑股份有限公司 Method and device for decoding bar code
CN102103627A (en) * 2010-11-26 2011-06-22 中兴通讯股份有限公司 Method and device for identifying two-dimensional codes on mobile terminal
CN102685466A (en) * 2011-01-31 2012-09-19 手持产品公司 Adaptive video capture decode system
CN102184379A (en) * 2011-05-03 2011-09-14 上海合合信息科技发展有限公司 Data interchange method
CN103207982A (en) * 2012-01-13 2013-07-17 鸿富锦精密工业(深圳)有限公司 Two-dimensional bar code scanning method and system
CN103037336A (en) * 2012-12-04 2013-04-10 张剑 Short message transmission method of two-dimensional code
CN103366150A (en) * 2013-07-30 2013-10-23 上海斐讯数据通信技术有限公司 Barcode recognition method for mobile terminal and mobile terminal
WO2017072778A1 (en) * 2015-10-28 2017-05-04 Hewlett-Packard Development Company, L.P. Processing machine-readable link
US10503946B2 (en) 2015-10-28 2019-12-10 Hewlett-Packard Development Company, L.P. Processing machine-readable link
CN108256377A (en) * 2016-03-31 2018-07-06 青岛海信移动通信技术股份有限公司 Two-dimension code image recognition methods and device

Also Published As

Publication number Publication date
CN101296441B (en) 2012-07-18

Similar Documents

Publication Publication Date Title
CN101296441B (en) Method and device for scanning two-dimension bar code and transmitting message
CN101873467B (en) Multimedia terminal and method for processing information of mobile television by using same
CA2709006C (en) Systems and methods for animating barcodes
US20170337289A1 (en) Multi-mode barcode resolution system
US20060075026A1 (en) Contents and information providing service system for using a code, user terminal, communication agency platform, operating agency platform, on-line relation member module, and the method from the same
GB2460683A (en) Requesting a webpage in relation to a two-dimensional barcode from a mobile terminal
CN101017613A (en) Mobile radio universal reading pen hypermedia system and method
CN102883322A (en) Mobile terminal and WiFi (wireless fidelity) connection method for same
CN1893694A (en) Pick-up head hand-set with bar-code anti-fake inquirling function and anti-fake inquiring system
US20090017765A1 (en) System and Method of Enabling a Cellular/Wireless Device with Imaging Capabilities to Decode Printed Alphanumeric Characters
CN103854006A (en) Image recognition method and device
WO2006059246A2 (en) System and method of enabling a cellular/wireless device with imaging capabilities to decode printed alphanumeric characters
CN102855059A (en) Terminal and information sharing method
CN101534414A (en) Method and terminal for playing streaming media
CN102609543A (en) Multifunctional two-dimensional code product traceability system and traceability method
CN101727594A (en) Method and system for identifying bar code of server-assisted mobile terminal
CN102831663A (en) Smart-phone two-dimensional code attendance checking system and smart-phone two-dimensional code attendance checking method
CN102137353A (en) Short message transmission mode based on two-dimension code
CN1700646A (en) Utilizing a scannable URL (universal resource locator)
CN106203231A (en) A kind of voucher cloud print system supporting that actively reading code prints
CN103037336A (en) Short message transmission method of two-dimensional code
CN101042726B (en) Method for implementing continuance recognizing bar-code in terminal
CN113438526A (en) Screen content sharing method, screen content display device, screen content equipment and storage medium
CN101212787A (en) Personalized information publishing method and system
CN1946106A (en) Method and system for obtaining personal information based on radio communication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant