CN101296441B - 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
CN101296441B
CN101296441B CN2007100987672A CN200710098767A CN101296441B CN 101296441 B CN101296441 B CN 101296441B CN 2007100987672 A CN2007100987672 A CN 2007100987672A CN 200710098767 A CN200710098767 A CN 200710098767A CN 101296441 B CN101296441 B CN 101296441B
Authority
CN
China
Prior art keywords
bar code
message
terminal
module
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.)
Active
Application number
CN2007100987672A
Other languages
Chinese (zh)
Other versions
CN101296441A (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

  • Telephone Function (AREA)
  • Telephonic Communication Services (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 the 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.Common be mostly bar code, the bar code information capacity is less, generally has only tens bytes.
Two-dimensional bar code/two-dimension code (2-Dimensional Bar Code) is to use certain specific geometric figure chequered with black and white graphic recording data symbol information that (on the two-dimensional directional) distributes on the plane according to certain rules; 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) through 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 simultaneously the most practical identification terminal.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 is with sign indicating number, and 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 handheld device of terminal 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 the 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 the terminal to send the method and the device of message.The present invention is that direct scanning two-dimension bar code is discerned in the terminal, and sends message according to the direct message call module of recognition result, makes the function at terminal obtain bigger expansion, has also improved the utilization rate at terminal.
For achieving the above object, the invention provides the method that a kind of scanning two-dimension bar code sends message, the terminal that is used to have the two-dimensional bar code recognition function is characterized in that, comprising:
The picture frame extraction step is used for extracting the image frame information that contains two-dimensional bar code through image collecting device;
The bar code analyzing step, being used for resolving said frame information and identifying barcode types through decoding functions is short message or multimedia message;
Message processing step is used for according to the formal form transmission message of said barcode types with short message or multimedia message.
Said method is characterized in that, said 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 said image collecting device extracts on bottom or backstage.
Said method is characterized in that, said bar code analyzing step further comprises: provide the said 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 said decoding step, as the success of decoding, according to the keyword of said 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, said message processing step further comprises:
The said character string that identifies is resolved to the sender and sends two parameters of content or resolve to the sender, send theme, send the step of three parameters of content according to specific keyword;
Receive the said 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 said frame information and identifying barcode types through decoding functions is short message or multimedia message;
Message processing module is used for sending message according to said barcode types with formal short message or MMS format.
Said apparatus is characterized in that, said image capture module is a camera head, and said camera head is triggered by said two-dimensional bar code identification module and starts.
Said apparatus is characterized in that, said message processing module is short message module and/or multimedia message module, is provided with the interface that receives the parameter that said bar code parsing module parses in said message module and/or the multimedia message module.
Said apparatus is characterized in that, said 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 local application setting at said terminal has the interface of intercepting character string.
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 said 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 said frame information and identifying barcode types through decoding functions is short message or multimedia message; Message processing module is used for sending message according to said barcode types with formal short message or MMS format.Said image capture module is a camera head, and said camera head is triggered by said 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; Bar code content to identifying is resolved according to keyword; Call message that the 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 is sent.Both enriched the function at terminal, also convenient for users to use, effectively raise the utilance at 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 concrete realization flow 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 accompanying drawing and embodiment, with further understanding the present invention's purpose, scheme and effect, but not as the restriction to the present invention's claim protection range.
Fig. 2 is the method flow diagram that scanning two-dimension bar code of the present invention sends message, and with reference to figure 2, method of the present invention comprises the steps:
Step S10 extracts the image frame information that contains two-dimensional bar code through the camera on the terminal;
Step S20, resolving said frame information and identify barcode types through decoding functions is short message or multimedia message;
Step S30 is according to the formal form transmission message of said 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 said 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 said 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.Said 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 is prone to reach requirement.
Above-mentioned steps S30 further comprises:
Step S301 becomes the said character string that identifies the step of two parts or three partial parameters according to specific keyword intercepting.In this step, the application need at terminal provides an interface, according to its specific keyword (such as SMSTO: *Symbol is sender's number at the back) 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 said parameter that parses, the step of sending 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, the formal form with short message or multimedia message sends then, the display reminding message of sending successfully or fail; But no matter send success or failure, the execution in step that all circulates S20 begins the next round decode procedure.
Fig. 3 is apparatus of the present invention sketch mapes, 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 said 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 said frame information and identifying barcode types through decoding functions; Message processing module 103 is used for sending message according to said barcode types with formal short message or MMS format.Said message processing module comprises short message module and/or multimedia message module; Said message module and/or multimedia message module be provided with one receive the parameter that said bar code parsing module 102 parses interface; Said 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 interface that an intercepting character string also need be set is used at said terminal, and 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 the terminal; The 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; Bar code content (text-string) to identifying is resolved according to keyword; Call the message transmission application that the terminal carries again; Directly send, thereby realize that the terminal scanning two-dimensional bar code carries out the function that information is sent according to the content in the text-string (such as sender's number, transmission title, transmission content etc.).Both enriched the function at terminal, also convenient for users to use, effectively raise the utilance at 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 (6)

1. a scanning two-dimension bar code sends the method for message, and the terminal that is used to have the two-dimensional bar code recognition function is characterized in that, comprising:
The picture frame extraction step is used for extracting the image frame information that contains two-dimensional bar code through image collecting device;
The bar code analyzing step is decoded into text-string with the said frame information that contains the image of two-dimensional bar code through decoding functions; If decode successfully, according to the keyword of said text-string, identifying barcode types is short message or multimedia message, if the decoding failure, the bar code analyzing step is carried out in circulation;
Message processing step is used for according to the formal form transmission message of said barcode types with short message or multimedia message; Wherein,
Said 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 said image collecting device extracts on bottom or backstage.
2. method according to claim 1 is characterized in that, said message processing step further comprises:
Before the formal form with short message or multimedia message sends message, the said character string that identifies is resolved to the sender and sends two parameters of content or resolve to sender, transmission theme, three parameters of transmission content according to specific keyword;
Said formal form transmission packet with short message or multimedia message is drawn together, and sends according to the content of the parameter that parses.
3. a 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 is used for through decoding functions said image frame information being resolved to character string, and to identify barcode types be short message or multimedia message;
Message processing module is used for sending message according to said barcode types with formal short message or MMS format, is provided with the interface that receives the parameter that said bar code parsing module parses in the said message processing module, and sends message according to the parameter that parses;
The local application setting at said terminal has the interface of intercepting character string.
4. device according to claim 3 is characterized in that, said image capture module is a camera head, and said camera head is triggered by said two-dimensional bar code identification module and starts.
5. device according to claim 3 is characterized in that, said message processing module is short message module and/or multimedia message module, wherein is provided with one and sends SMS message or the interface of multimedia message.
6. a terminal is characterized in that, comprises like each described scanning two-dimension bar code in the claim 3~5 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 CN101296441A (en) 2008-10-29
CN101296441B true 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)

Families Citing this family (10)

* 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
CN101908133B (en) * 2010-06-01 2012-06-06 福建新大陆电脑股份有限公司 Method and device for decoding bar code
CN102103627B (en) * 2010-11-26 2014-07-02 中兴通讯股份有限公司 Method and device for identifying two-dimensional codes on mobile terminal
US8879639B2 (en) * 2011-01-31 2014-11-04 Hand Held Products, Inc. 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
CN108573186A (en) * 2016-03-31 2018-09-25 青岛海信移动通信技术股份有限公司 Two-dimension code image recognition methods and device

Citations (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
CN1588961A (en) * 2004-08-06 2005-03-02 李红卫 Color screen mobile communication device with scanning bar code device
CN1599488A (en) * 2003-09-18 2005-03-23 深圳市朗科科技有限公司 Mobile communication terminal and its processing method

Patent Citations (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

Also Published As

Publication number Publication date
CN101296441A (en) 2008-10-29

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
US8054971B2 (en) Free-hand mobile messaging-method and device
US20170337289A1 (en) Multi-mode barcode resolution system
CA2709006C (en) Systems and methods for animating barcodes
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
CN102883322A (en) Mobile terminal and WiFi (wireless fidelity) connection method for same
CN101017613A (en) Mobile radio universal reading pen hypermedia system and method
CN1893694A (en) Pick-up head hand-set with bar-code anti-fake inquirling function and anti-fake inquiring system
CN103854006A (en) Image recognition method and device
CN101534414A (en) Method and terminal for playing streaming media
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
CN102184379A (en) Data interchange method
CN103095883B (en) Head portrait sharing method, apparatus and system
CN103037336A (en) Short message transmission method of two-dimensional code
CN101042726B (en) Method for implementing continuance recognizing bar-code in terminal
CN1264375C (en) Double modular card and access terminal and method for read of different network short message
CN1321538C (en) Short message network address communication system based on two-dimensional bar code identification technology
CN101394594A (en) Method for transmitting message and related equipment
CN103716445A (en) Dynamic barcode-based data exchange method
CN100452814C (en) Method of converting paper visiting card to electronic visiting card for communication device
CN100581196C (en) Method and system for obtaining personal information based on radio communication network
CN202798887U (en) Intelligent terminal and system

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