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

A two-dimensional barcode and message sending technology, which is applied in the field of barcode recognition, achieves the effects of easy use, easy implementation, and improved utilization

Active Publication Date: 2008-10-29
ZTE CORP
0 Cites 15 Cited by

AI-Extracted Technical Summary

Problems solved by technology

Based on the above existing technologies, it is possible to sen...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a method for scanning two-dimension bar code sending messages and is applied to a terminal with two-dimension bar code identification function. The method includes the image frame picking step for picking up the image frame information containing two-dimension bar code via an image collecting device; the bar code resolving step for resolving the frame information and identifying whether the bar code type is a short message or a multimedia message via a resolving function and the message processing step for sending the message in the formal short message format or the formal multimedia message format according to the bar code type. The invention comprehensively utilizes the bar code identification technology and the terminal message sending technology and realizes the function of terminal scanning on two-dimension bar code sending messages; 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.

Application Domain

Technology Topic

Computer hardwareMessage format +3

Image

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

Examples

  • Experimental program(1)

Example Embodiment

[0034] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments, so as to further understand the purpose, solutions and effects of the present invention, but are not intended to limit the protection scope of the claims of the present invention.
[0035] figure 1 It is a flow chart of the method of the present invention for scanning a two-dimensional barcode to send a message, refer to figure 1 , the method of the present invention comprises the steps:
[0036] Step S10, extracting the image frame information containing the two-dimensional barcode through the camera on the terminal;
[0037] Step S20, parsing the frame information through a decoding function and identifying that the barcode type is a short message or a multimedia message;
[0038] Step S30, sending a message in the official format of a short message or a multimedia message according to the barcode type.
[0039] Above-mentioned step S10 further comprises:
[0040] Step S101, the step of starting the application of the terminal two-dimensional barcode identification function;
[0041] Step S102, the step of starting the image acquisition device to scan the two-dimensional barcode picture, and at the same time returning and displaying the image frame information extracted by the image acquisition device at the bottom layer or in the background.
[0042] In the above-mentioned step S102, the two-dimensional barcode picture containing the text content of the short message (which can be a two-dimensional barcode picture containing the text content of the short message on newspapers, magazines or articles) is placed in front of the terminal camera, and the camera will scan the two-dimensional barcode picture. The dimensional barcode image is directly displayed on the screen; at the same time, the application will collect image frame information in the video image frame callback returned by the bottom layer, mainly in the form of raw images (image files in RAW format). It is the original signal file that the camera's photosensitive element receives, and the camera contains image information in this format when extracting images.
[0043] In the above step S20, the application will pass the original picture information and the information required by other library functions (such as the terminal IMEI number, etc.) to the decoding function provided by the decoding library after the frame is taken in the background or the bottom layer (step S201); if the decoding is successful , the decoding function decodes the barcode information into a string of text strings, and identifies a barcode of a short message (SMS) or multimedia message (MMS) type according to the keyword of the text string (step S202); if the decoding fails, loop execution Step S20. The decoding function is provided by the barcode identification system, and only needs to identify the type of barcode (eg, SMS or MMS). Most of the current barcode identification systems include such barcode identification functions, so it is easier to meet the requirements.
[0044] Above-mentioned step S30 further comprises:
[0045] Step S301, the step of truncating the identified character string into two-part or three-part parameters according to a specific keyword. In this step, the local application of the terminal needs to provide an interface, according to its specific keywords (such as SMSTO: * After the symbol is the sender's number) parse the recognized string into 2 parts (SMS parses as: sender, content) or 3 parts (MMS parses as: sender, subject, content), and then execute the steps S302.
[0046]Step S302, the step of receiving the parsed parameters and sending them in the official format of short message or multimedia message. The official format here refers to a format that conforms to the standard protocol of mobile communication short message or multimedia message. In step S302, it is necessary to add an interface to the short message or multimedia message module to receive the 2 or 3 parameters (sender, sending subject and sending content, etc.) parsed in step S301, and then use the formal text of the short message or multimedia message. The format is sent, and a prompt message is displayed if the sending succeeds or fails, but regardless of whether the sending succeeds or fails, step S20 is executed cyclically to start the next round of decoding.
[0047] image 3 , is a schematic diagram of the device of the present invention, refer to image 3 , the device 100 for scanning a two-dimensional barcode to send a message provided by the present invention is set on a terminal 10 having a two-dimensional barcode identification module 104, the device 20 includes: an image acquisition module 101, a barcode parsing module 102 and a message processing module 103, wherein the image The acquisition module 100 can be a camera, which is triggered and activated by the two-dimensional barcode identification module to collect image frame information containing two-dimensional barcodes; the barcode analysis module 102 is used to analyze the frame information through a decoding function and identify the barcode type. It is a short message or a multimedia message; the message processing module 103 is configured to send a message in a formal short message or multimedia message format according to the barcode type. The message processing module includes a short message module and/or a multimedia message module. The message module and/or the multimedia message module set an interface for receiving the parameters parsed by the barcode parsing module 102. The short message module and/or the multimedia message module An interface for sending a short message (SMS) or a multimedia message (MMS) is also provided. At present, most terminals with a short message module already include this function. The terminal local application also needs to set an interface for intercepting character strings, and the interface can be completely independent of any application, so that the coupling between the terminal modules is not strong and can be implemented independently.
[0048] The method and device proposed in the present invention are applied to a terminal, and the terminal can be a mobile handheld device including a camera and a message sending function. The barcode picture of the message content is made according to a certain specification or standard, and the terminal also needs to have the ability to make this type of barcode. Decoding library.
[0049] The present invention directly uses the terminal to identify the barcode of the short message or multimedia message type, parses the identified barcode content (text string) according to the keyword, and then invokes the message sending application that comes with the terminal, and directly parses the identified barcode content (text string) according to the keyword. The content (such as sender number, sending title, sending content, etc.) is sent, so as to realize the function of the terminal scanning the two-dimensional barcode to send information. It not only enriches the functions of the terminal, but also facilitates the use of the user, and effectively improves the utilization rate of the terminal.
[0050] Although the present invention has been disclosed above with a preferred embodiment, it is not intended to limit the present invention. Those skilled in the art can make various corresponding actions according to the present invention without departing from the spirit and essence of the present invention. changes and deformations, but these corresponding changes and deformations shall belong to the protection scope of the appended claims of the present invention.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Electrostatic spinning device with spinning nozzle capable of doing linear reciprocating motion

InactiveCN102817089AVersatileConcentration and orderliness of textile distributionNew-spun product collectionFilament/thread formingElectrospinningInjector
Owner:QINGDAO UNIV

Surrounding rock stress analysis method of arbitrarily excavated cross section tunnels

ActiveCN102982247AVersatileHigh engineering reliabilitySpecial data processing applicationsGeophysicsMechanical models
Owner:杭州鑫高科技有限公司

Classification and recommendation of technical efficacy words

  • Versatile
  • Easy to use

Laser assisted total joint arthroplasty

InactiveUS20090234360A1Easy to useNon-surgical orthopedic devicesSurgical sawsLaser assistedLaser guidance
Owner:ALEXANDER VLADIMIR

System, method, and apparatus for settlement for participation in an electric power grid

ActiveUS8583520B1Communication securityEasy to useLevel controlCoin-freed apparatusNetwork managementGrid operator
Owner:CAUSAM ENERGY INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products