CN101047771A - Method for transmitting data form computer to hand mobile equipment with photo taking function - Google Patents

Method for transmitting data form computer to hand mobile equipment with photo taking function Download PDF

Info

Publication number
CN101047771A
CN101047771A CN 200610066283 CN200610066283A CN101047771A CN 101047771 A CN101047771 A CN 101047771A CN 200610066283 CN200610066283 CN 200610066283 CN 200610066283 A CN200610066283 A CN 200610066283A CN 101047771 A CN101047771 A CN 101047771A
Authority
CN
China
Prior art keywords
coordinate
data
sign indicating
row
indicating number
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
CN 200610066283
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200610066283 priority Critical patent/CN101047771A/en
Publication of CN101047771A publication Critical patent/CN101047771A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

This invention discloses a method for transmitting data from a computer to a handheld mobile device with a picture-taking function, in which, the data at the transmitting end are coded to color matrix codes to be displayed on a display and shot by the handheld mobile device with a photo-taken function to get a color image, and the handheld mobile device operates a decoding software module to decode the color image and get data. This invention also discloses a code-decode method for color matrix codes, which are put together seamlessly with rectanglar modules in the same geometrical size and filled with a certain color, and said rectanglar modules are divided into character modules and data modules, in which, the character module is used in coordinate localization, correction of geometrical deforming and color correction and the data module is used in storing data.

Description

A kind of method that data form computer is transferred to handheld mobile device with camera function
Technical field
The present invention relates to a kind of data form computer is transferred to the method for the handheld mobile device with camera function, and a kind of be colour matrix sign indicating number and with digital coding from the coding and decoding method of the described data of described colour matrix sign indicating number decoding reduction.
Background technology
Along with fast development of information technology, computer with comprise that the handheld mobile device of mobile phone and palmtop PC becomes the indispensable instrument of people's daily life and work day by day, how easily with the transfer of data of computer to hand-held mobile device, be the problem that industry makes every effort to solve always.Existing solution and limitation thereof are as follows:
1) data wire transmission.Its limitation need to be the line operation, and may cause the communication two party system crash in the line process;
2) infrared transmission.Its limitation is to require communication two party that the infrared data communication module is all arranged, and communication effect is subject to ambient light interference in addition, and requires the physical distance between data sending terminal and the receiving terminal as far as possible little;
3) radio frequency transmission such as bluetooth (Bluetooth), WiFi and WiMax.Its limitation is to require communication two party to possess corresponding radio-frequency communication module, and there is the data security risk in radio frequency transmission;
4) keyboard is manually imported.Because handheld mobile device generally is subjected to keyboard layout and size restrictions, easily makes mistakes so the input of the keyboard of nonnumerical information is loaded down with trivial details, and can not import the binary data of non-content of text.
And handheld mobile device has been popularized the digital photographing function day by day, how to give full play to the camera function of these handheld mobile devices self, and solving its inherent " input is difficult " problem becomes starting point of the present invention.
Summary of the invention
The objective of the invention is to give full play to the camera function of existing handheld mobile device, under the prerequisite that does not increase hardware cost, realize that in the mode of " visible just the bat obtains " computer arrives the data transmission method of handing mobile device.Usually, the computer display content displayed is read for the people and is that purpose, these contents comprise text and image etc. to human eye content very intuitively, but for computer equipment, by no means easy by these information of reception of image recognition technology zero defect.In order to adapt to the vision system of computer, people have invented various bar codes and two-dimensional bar code, and these bar codes have obtained extensive successful application in fields such as logistics, commodity sign and industrial production lines.Need export bar code with special-purpose bar code printer but these are used all, with the data in the special-purpose bar-code reader collection bar code, and the actual use data capacity of bar code is limited in below the 1K byte mostly.
Below enumerate two kinds of two-dimensional bar codes commonly used.Shown in Figure 1 is National Standard GB/T 17172-1997 417 barcodes " regulation 417 barcode master drawings, 417 barcode maximum storage capacities are 1850 English characters, belong to the stack two-dimensional bar code, promptly pile up and form, be adapted to the laser raster scan mode and distinguish by the bar code of a series of compressions; Shown in Figure 2 is National Standard GB/T 18284-2000 quick response matrix code " regulation the quick response matrix code master drawing, the quick response matrix code maximum storage capacity is 2953 bytes, belong to matrix two-dimensional barcode, promptly the two-dimensional matrix that is spliced by the series of rectangular module is adapted to planar array type photoelectricity image sensor and distinguishes with shooting style.
Along with fast development of information technology, various high-resolution, high brightness computer display are universal day by day, and the handheld mobile devices such as mobile phone with high-resolution camera function also are used widely.Putting before this, the invention discloses a kind of data capacity is the colour matrix sign indicating number and the coding and decoding method thereof of tens of times of traditional monochromatic two-dimensional bar code data capacities, and, realize data form computer is transferred to the method for handheld mobile device based on the mode of this colour matrix sign indicating number with " visible just the bat obtains ".
Generally speaking, the sign indicating number figure of two-dimensional bar code is divided into recognition feature district, assist location characteristic area, parameter memory block and data storage area according to function.417 barcodes as shown in Figure 1,101 is the recognition feature district, and 102 is the parameter memory block, and 103 is the data storage area; Quick response matrix code as shown in Figure 2,201 is the recognition feature district, and 202 is the assist location characteristic area, and 203 is the data storage area.The recognition feature district has specific geometric properties, and purpose is to adapt to the image model recognizer of computer vision system, locatees described two-dimensional bar code fast with rational software and hardware resources; In order to guarantee to discern the large scale bar code reliably, bar code keeps some zones that are used to place the assist location feature, and image recognition algorithm further carries out geometry to image according to these assist location features and corrects; The parameter memory block is used to store the various parameters of two-dimensional bar code self, these parameters comprise information such as the logic size of bar code and data capacity, in decode procedure, need to use these parameters, for guaranteeing that decoding obtains correct parameter, before storing parameter into the parameter memory block, the forward error correction coding algorithm that the maintenance data communication field is commonly used is encoded to parameter; Storage data in data storage area obtain correct data for guaranteeing decoding, before the data storage area, use the forward error correction coding algorithm that it is encoded in storage equally.On structure, the basic structural unit of matrix two-dimensional barcode is a module, and the module of classical matrix formula two-dimensional bar code is only got " bright " or " secretly " two kinds of colors.The storable data bit numerical digit of each module is log 2C, wherein C is the desirable chromatic number of module.For example the storable data bit number of black and white module is log 22=1, the data bit number that one 4 look module is represented is log 24=2.
As shown in Figure 4, the invention discloses a kind of colour matrix sign indicating number.Wherein, 401 is the recognition feature of described colour matrix sign indicating number, and 402 is the parameter memory block of described colour matrix sign indicating number, and 403 is the assist location feature of described colour matrix sign indicating number, and 404 is the data storage area of described colour matrix sign indicating number.
Recognition feature 401 is made up of by arrangement mode shown in Figure 3 the rectangular module of four kinds of colors, and described four kinds of colors are only synthetic by two kinds of primary colours, and wherein, 301 is black, and 302 is that primary colours 1,303 are that primary colours 2,304 are the color that primary colours 1 and primary colours 2 synthesize.Therefore, in the passage of primary colours 1, described recognition feature shows as the wide striped that light and shade replaces on the horizontal direction, in the passage of primary colours 2, described recognition feature shows as the wide striped that light and shade replaces on the vertical direction, this separate on the color space, the feature of overlapping, orthogonal on the geometric coordinate, wide striped that light and shade replaces, promptly be the recognition feature of described colour matrix sign indicating number.
Parameter memory block 402 is used to store the value of described colour matrix sign indicating number variable element, and these variable elements comprise the line number of colour matrix and columns, the length of data that the data storage area is stored, the kind number that the data storage area module is used color etc.Because the value that the parameter memory block is used to store described colour matrix sign indicating number variable element, therefore the parameter of parameter memory block self must be arranged in specific embodiment in advance, and these agreements comprise the color of parameter memory block module use, the parameter of forward error correction coding algorithm etc.
Assist location feature 403 is with respect to the fixed-site of recognition feature 401, and the color value of each module is by its place coordinate constraint.The effect of assist location feature is to provide coordinate reference and color reference for the data module away from recognition feature.
Data storage area 404 is the zones that are used to store data, and the data storage area module is used color representation ability, color detection ability and the desired data density Dynamic Selection of the kind number of color according to application system.If the color representation ability of application system or color detection ability then should reduce the kind number of color, and use the color of wavelength dispersion as far as possible; If application system needs large data capacity, then increase the kind number of color, store the length of data to improve each data module, thereby reach the purpose that improves data capacity.
Fig. 5 is the computer program flow chart that encodes the data to described colour matrix sign indicating number.Process 501 is according to the line number and the columns of the calculation of parameter colour matrix such as chromatic number of data length to be encoded, data module use, and the parameter that is used for the forward error correction coding algorithm of data to be encoded; Process 502 generates two-dimensional matrix in internal memory, a module of the corresponding described colour matrix sign indicating number of each element of matrix, the color value of described element storage respective modules; Process 503 is dressed up the parameter Bit String with line number and columns, the chromatic number of data module, the parameter group such as length of data of matrix, utilization forward error correction coding algorithm is filled into the parameter memory block to this parameter Bit String coding with the parameter Bit String behind the described coding; Process 504 usefulness forward error correction coding algorithms are encoded to data, and the data behind the described coding are filled into the data storage area; Process 505 converts described two-dimensional matrix to raster graphic formatted file, end-of-encode.
The raster graphic file that above-mentioned cataloged procedure obtains can directly show with Electro-Optical Display, or is printed on paper and other medium, so computer data has obtained performance with the form of colour matrix sign indicating number.In order to obtain its coded data from described colour matrix sign indicating number, need to obtain the image of described colour matrix sign indicating number with recognizing apparatus, and to its decoding.Fig. 6 is the system block diagram of described recognizing apparatus, and wherein, 601 is the display medium of colour matrix sign indicating number, and 602 is the colour matrix sign indicating number, and 603 is planar array type color photoelectric image sensor, is used to aim at 602 and receive its light of initiatively launching or reflected ambient.Central processing unit 604 chain of command configuration color photoelectric image sensors 603 are gathered coloured image under the view finding pattern, and the image that collects is presented on the color monitor 605 in real time, with guides user aiming colour matrix sign indicating number 602, and make planar array type color photoelectric image sensor 603 and colour matrix sign indicating number 602 keep suitable distance, to obtain the optimal imaging effect.Press fast gate control 606, central processing unit 604 chain of command configuration color photoelectric image sensors 603 are gathered piece image with optimal parameter, image is stored in the random asccess memory 607, and central processing unit 604 operation decoding software modules are to picture decoding and obtain data.Nonvolatile memory 608 is used for stored program and data.
Because there are two main inherent characteristics in photo electric imaging system:
1, according to " near big and far smaller " basic principle of perspective imaging, if three planes at the lens of colour matrix sign indicating number, planar array type color photoelectric image sensor and sensitive chip place thereof are not parallel, then the image of the colour matrix sign indicating number of Huo Deing is not a rectangle, the module size near from camera lens is big, the module size far away from camera lens is little, therefore under the normal mode of operation, inevitably there is geometric deformation in the image of the colour matrix sign indicating number of acquisition;
2, signal is through the transfer process of electrical-optical-electricity, and the colour matrix sign indicating number in the image that is obtained is compared with the original color square matrix code and certainly existed aberration.
So the picture decoding of the colour matrix sign indicating number that planar array type color photoelectric image sensor is collected is the process of a complexity.
For the colour matrix sign indicating number of successfully decoding, must solve following 3 subject matters:
1, how in image, to locate the colour matrix sign indicating number, and discern its anglec of rotation;
2, how to discern the geometric deformation degree of colour matrix sign indicating number each several part, and it is corrected;
3, the aberration of correcting color square matrix code how.
After addressing these problems, i.e. the described colour matrix sign indicating number of restructural, and then obtain data according to the inverse process decoding of the described colour matrix sign indicating number of Fig. 5 cataloged procedure.To openly the present invention is directed to the solution of the problems referred to above below.
The process of the recognition feature of colour matrix sign indicating number is surveyed in Fig. 7 explanation in image.701 is the recognition feature of colour matrix sign indicating number described in the image, as previously mentioned, described recognition feature possesses the feature of the wide striped overlapping, orthogonal on separation, geometric coordinate on the color space, that light and shade replaces, therefore, from recognition feature 701, extract above-mentioned primary colours 1 channel image, obtain gray scale image 702, from recognition feature 701, extract above-mentioned primary colours 2 channel image, obtain gray scale image 703; Gray scale image 702 binaryzations are obtained black and white binary image 704, gray scale image 703 binaryzations are obtained black and white binary image 705; On the horizontal direction of black and white binary image 704, survey " Bai-Hei-Bai-Hei-Bai-Hei-Bai-Hei-Bai " sequence, the abscissa of the central point 706 of sequence is exactly the center abscissa of described recognition mode, survey " Bai-Hei-Bai-Hei-Bai-Hei-Bai-Hei-Bai " sequence on the vertical direction of black and white binary image 705, the ordinate of the central point 707 of sequence is exactly the central longitudinal coordinate of described recognition mode; Centre coordinate with the described recognition mode that detects is a basic point, on a plurality of directions, survey " Bai-Hei-Bai-Hei-Bai-Hei-Bai-Hei-Bai " sequence through described basic point, the path of the sequence process that the scan line vertical with striped detects is the shortest, the path of the sequence process that detects less than scan line 709 of the path of the sequence process that detects of scan line 708 for example, therefore described path the deflection of short scan line be exactly the anglec of rotation of recognition feature, the described anglec of rotation also is the anglec of rotation of described colour matrix sign indicating number in image.
The recognition mode of described colour matrix sign indicating number is by behind the successful location, obtains the width w of module with the width of described recognition mode divided by the number of modules on its column direction, obtains the height h of module divided by the number of modules on its line direction with the height of described recognition mode.Because of the assist location feature of described colour matrix sign indicating number is fixed with respect to the coordinate of its recognition feature, so can be according to the module width w of aforementioned calculation gained and the coordinate of height h estimation auxiliary positioning module, the module of the assist location feature far away more apart from recognition feature, the error of its estimation coordinate is big more.Again because of the coordinate decision of the color of the module of described assist location feature by the module place, and the color difference of the module of two adjacent assist location features, so available colouring information is finely tuned the coordinate of the module of assist location feature, outwards determine the coordinate of whole modules of assist location feature one by one by the center of colour matrix sign indicating number.Thereafter, the coordinate of data module can draw with interpolation calculation according to the coordinate of auxiliary positioning module.So far, realized geometric correction to described colour matrix sign indicating number image.
Therefore as previously mentioned, the colour matrix sign indicating number in the image that is obtained is compared with the original color square matrix code and is certainly existed aberration, before the module reading of data of the data storage area of colour matrix sign indicating number, must proofread and correct the color of described data module.For this reason, introduce following updating formula:
C 1 ′ = k 0 * C 1 + k 1 * C 2 + k 2 * C 3 C 2 ′ = k 3 * C 1 + k 4 * C 2 + k 5 * C 3 ′ = k 6 * C 1 + k 7 * C 2 + k 8 * C 3 C 3
K wherein 0-k 8Be correction coefficient, C 1, C 2, C 3Be the tristimulus value of actual measurement color of input, C 1', C 2', C 3' be the tristimulus value of the color after proofreading and correct.For trying to achieve coefficient k 0-k 8, the module of 3 kinds of different colours of selection from the assist location characteristic module, with its color measured value and the described updating formula of nominal value substitution, the group of solving an equation draws k 0-k 8Value, then with k 0-k 8After this described updating formula of substitution, proofreaies and correct the color of data module with described updating formula.
Fig. 8 is the computer program flow chart of decoding restoring data from image.Process 801 is according to the detection method location recognition mode of above-mentioned recognition mode, and the anglec of rotation of definite colour matrix sign indicating number; Process 802 reads parameter from the parameter memory block, and utilization decoding FEC algorithm instructs the subsequent decoding process to the parameter error correction with the parameter that obtains, if parameter error correction failure, then decode procedure finishes; Process 803 is determined the module coordinate of assist location feature according to preceding method, then, is benchmark with the coordinate of described auxiliary positioning module, with the coordinate of interpolation calculation data module; Process 804 is calculated the color correction coefficient according to preceding method, and the color of data module is proofreaied and correct; Process 805 is used the error correction of decoding FEC algorithm according to the parameter of the forward error correction coding algorithm that process 802 obtains to data.
The following discloses and a kind of data form computer is transferred to the method for the handheld mobile device with camera function, described method is used described colour matrix sign indicating number.As shown in Figure 9,901 is the data of transmitting terminal, and encoded software 902 codings obtain colour matrix sign indicating number 903, and described colour matrix sign indicating number 903 is sent to display 904 and shows.Planar array type color photoelectric image sensor 905 receives the light signal of display 904 emissions, the scioptics imaging obtains image 906, image 906 comprises the image of described colour matrix sign indicating number 903,906 decodings of 907 pairs of images of decoding software module obtain data 908, and data 908 equate with transmitting terminal data 901.The data sending terminal system forms by 901,902,903 and 904, and the Data Receiving end system is formed by 905,906,907 and 908.Utilize existing bar code or two-dimension code to substitute colour matrix sign indicating number of the present invention and also can realize described data-transformation facility, but these existing bar codes are not that its capacity and packing density all can not be given full play to the described using value that data form computer is transferred to the method for the handheld mobile device with camera function for the described method that data form computer is transferred to the handheld mobile device with camera function designs.The increasing built-in high-resolution planar array type of mobile phone color photoelectric image sensor, in existing mobile phone bar code is used, employed bar code is traditional monochromatic bar code mostly, thereby can not effectively utilize the color detection ability of planar array type color photoelectric image sensor.Generally speaking, mobile phone self can not provide illumination, and the camera lens that its planar array type color photoelectric image sensor uses do not have the microspur imaging function, has so further limited the practical value of mobile phone bar code application.There is not described restriction in technology disclosed in this invention, described colour matrix sign indicating number has made full use of the following characteristic of computer display: but self-luminous, high brightness and brightness evenly, the color representation ability is strong, dimension of picture can change as required, encoded content dynamic update of software etc., and above-mentioned characteristic is that conventional solid-state bar code carrier such as paper is not available.The present invention is under the prerequisite that does not increase hardware cost, and the mode of " obtaining with visible just the bat " has realized data form computer is transferred to the method for the handheld mobile device with camera function.
Description of drawings
By the description of carrying out below in conjunction with accompanying drawing to embodiment, above-mentioned and/or other purposes of the present invention and advantage will become apparent, wherein:
Fig. 1 is National Standard GB/T 17172-1997 417 barcodes " regulation 417 barcode master drawings;
Fig. 2 is a National Standard GB/T 18284-2000 quick response matrix code " regulation the quick response matrix code master drawing;
Fig. 3 is the sign indicating number figure recognition feature figure of colour matrix sign indicating number;
Fig. 4 is the sign indicating number figure overall structure explosion views of colour matrix sign indicating number;
Fig. 5 is the coding flow chart of colour matrix sign indicating number;
Fig. 6 is the recognizer system block diagram of colour matrix sign indicating number;
Fig. 7 is the detection process explosion views of the recognition feature of colour matrix sign indicating number;
Fig. 8 is the decoding process figure of colour matrix sign indicating number;
Fig. 9 is the flow chart that data form computer is transferred to the handheld mobile device with camera function;
Figure 10 is the painted precedence diagram of the data module of colour matrix sign indicating number;
Figure 11 is the schematic representation that computer documents is transferred to handheld mobile device;
Figure 12 is the schematic representation that the Web browser content displayed is transferred to handheld mobile device.
Figure 13 is the schematic representation that computer data is sent to another mobile phone through a mobile phone.
Embodiment
By with reference to following detailed description to exemplary indefiniteness embodiment and accompanying drawing, advantages and features of the invention and realize that method of the present invention can be easier to understand.
Now describe certain exemplary embodiments of the present invention with reference to the accompanying drawings in detail.
In the present embodiment, described color is synthetic by R (red), G (green), B (indigo plant) three primary colors, the primary colours that these three primary colors and universal display device and planar array type color photoelectric image sensor use are consistent, wherein, every kind of primary colours use 8 bits to represent its intensity, 0 is minimum strength, and 255 is maximum intensity.That described colour matrix sign indicating number uses is black, red, green, blue, Huang, magenta, green grass or young crops, totally 8 kinds of colors in vain, constitutes the color table shown in the table 1:
Table 1
Color index (3 bit) Color The R primary color values The G primary color values The B primary color values
000 Black 0 0 0
001 Red 255 0 0
010 Green 0 255 0
011 Blue 0 0 255
100 Yellow 255 255 0
101 Pinkish red 255 0 255
110 Blue or green 0 255 255
111 In vain 255 255 255
This color table is the color reference benchmark of the sign indicating number of colour matrix described in present embodiment coding and decoding.
Present embodiment prize the colour moment horizontal and vertical parity check code module for the square, line direction total number of modules and column direction total number of modules are odd number, the recognition feature of colour matrix sign indicating number is made up of 11 * 11 modules, described recognition feature is positioned at the positive center of colour matrix sign indicating number.4 kinds of colors are embodied as 301 black, 302 bluenesss, 303 redness, 304 magentas respectively among Fig. 3.
As shown in Figure 4, parameter memory block 402 has 40 modules, and parameter memory block module is only used black, the four kinds of colors of red, green, blue in the color table, so the data bit number of each module stores is log 24=2, the digital coding of every kind of color correspondence is color index value low 2 in the color table shown in the table 1.The total data capacity of 40 modules is 40 * 2=80 bit, wherein with the version coding of 4 bits to embodiment, the chromatic number coding that 2 bit log are used according to the memory block module, 12 bits are encoded to the line direction total number of modules, 12 bits are encoded to the column direction total number of modules, 20 bit log are according to the length coding of data that store the memory block, and the total length of the coding of these parameters is 50 bits.Utilization Reed-Solomon forward error correction coding algorithm is encoded once more to the coding of the parameter of described 50 bits, generates the error correction data of 30 bits.Reed-Solomon forward error correction coding technology is the error correction coding that generally uses in the data communication, also is technology well known to those skilled in the art.The encoded back of initial data produces error correction data, initial data and error correction data together are transferred to receiving terminal, receiving terminal is received the decoding algorithm of utilization and coding equity after the data, corrects the mistake that produces in the transmission course, or because wrongly too much can not correct whole mistakes and abandon the data of receiving.80 bits become 40 groups through the parameter after encoding by per two continuous bit one components, first parameter module of the upper left corner begins from Fig. 4, with the grouping bit value as color index, in the color table of table 1, get colors, give each parameter module painted in the direction of the clock successively, store parameter into the parameter memory block with this.
The following describes the execution mode of assist location feature.
Among Fig. 4, it is (0,0) that the ranks coordinate of center module in matrix of recognition feature demarcated, and is 8 module settings colors that connect the parameter memory block according to following mode:
Module (6 ,-6) is red;
Module (6,0) is a black;
Module (6,6) is green;
Module (0,6) is a black;
Module (6,6) is blue;
Module (6,0) is a black;
Module (6 ,-6) is a white;
Module (0 ,-6) is a black;
With these 8 modules is starting point, get following a kind of adjacent color of each module color in color table shown in the table 1 respectively, for the uncoloured assist location characteristic module that each module is adjacent painted, wherein, shown in the regulation table 1 in the color table white following a kind of adjacent color be black.For example module (6,-6) color is red, red following a kind of adjacent color in table 1 color table is green, the uncoloured auxiliary positioning module adjacent with module (6 ,-6) is module (7 ,-7), be module (7 then with green,-7) painted, this process that circulates all is colored until the module of all assist location features.
In order to make full use of the display area of computer display, the line direction total number of modules and the column direction total number of modules of the sign indicating number of colour matrix described in the present embodiment can be unequal.Usually, the width of computer display is greater than height, the column direction number of modules of corresponding described colour matrix sign indicating number is greater than the line direction number of modules, in this case, after arriving the border from the module of four jiaos of outward extending assist location features of recognition feature of described colour matrix sign indicating number, continue to extend forward according to mode shown in Figure 10, be that the assist location characteristic module in the upper left corner arrives the upper left corner module that extends to matrix behind the matrix top left, the assist location characteristic module in the lower left corner arrives the lower left corner module that extends to matrix behind the matrix bottom left, the assist location characteristic module in the upper right corner arrives the upper right corner module that extends to matrix behind the matrix top to the right, and the assist location characteristic module in the lower right corner arrives the last cell module that extends to matrix behind the matrix bottom to the right.
The data storage area of the sign indicating number of colour matrix described in the present embodiment uses whole 8 kinds of colors of listing in the color table, so each data module can be stored log 2The 8=3 Bit data.Regard data to be stored as Bit String, by every continuous 3 bits, one component group, 3 bits of last group less than are filled with bit 0.As color index, in table 1 color table, select a kind of color with each bit group, give a data module painted, be about to described bit group and stored the data module that is colored into selected color.
As shown in figure 10, the painted order of data module begins with the clockwise hand of spiral from the center to external radiation, promptly from data module 1001, advance in the direction of the clock, skip the assist location characteristic module that runs into, finish a circle after module 1002, first module 1003 from next circle begins the repetition said process then, so is circulated to module 1004.If the column direction total number of modules of described colour matrix sign indicating number is greater than the line direction total number of modules, be starting module then with module 1005, be scanned up to module 1006 with " it " font from right to left by the row master mode, jump to the data module 1007 of last cell then, continue " it " font scanning of front, be scanned up to the traversal that module 1010 is finished all data modules.
Introduce the capacity of the sign indicating number of colour matrix described in the present embodiment below.
The screen resolution of supposing the display color square matrix code is 1024 * 768, described each module of colour matrix sign indicating number is of a size of 3 * 3 pixels on screen, then the line number of colour matrix sign indicating number is 768/3=256, get odd number 255, the columns 1024/3 of colour matrix sign indicating number, round numbers 341, total number of modules of colour matrix sign indicating number is 255 * 341=86955, wherein the recognition feature number of modules is 11 * 11=121, parameter memory block number of modules is 40, assist location characteristic module number is 3 * (341-13)+(255-13)+8=1234, therefore data module adds up to 86955-121-40-1234=85560, the data capacity of every data module is 3 bits, and total capacity is 85560 * 3/8=32085 byte.With regard to the actual displayed ability of handheld mobile devices such as mobile phone, the capacity of 32085 bytes is enough to transmit the moderate image of a width of cloth quality.
In the recognition process of described colour matrix sign indicating number, because of problems such as the loss of signal and perspective deformation, cause the image of the colour matrix sign indicating number that collects inevitably to have geometric distortion and color distortion, thereby decoding algorithm must produce some mistakes when reading of data, so before data are filled into the data storage area, its utilization Reed-Solomon encryption algorithm is generated error correction data, the Reed-Solomon decoding algorithm has error correcting capability, can correct any mistake within its error correcting capability scope.The Reed-Solomon encryption algorithm can produce error correction data to the data coding, therefore can not use the maximum storage capacity of described colour matrix sign indicating number in actual applications, need the reserve part memory space to be used to store the error correction data that produces through the Reed-Solomon encryption algorithm.In the data storage capacity of colour matrix sign indicating number, the ratio that error correction data takies is big more, and the ability of the described colour matrix sign indicating number opposing loss of signal and geometric deformation is strong more, but its net amount is more little according to capacity.In the present embodiment parameter storage area stores ranks number of matrix, write down the capacity of data indirectly with this, simultaneously the parameter storage area stores has also write down the data length of data storage area storage, both differences are exactly the length of error correction data.
Below be the encoding and decoding method that adopts the colour matrix sign indicating number, data be transferred to the method embodiment of handheld mobile device from computer with camera function.
Figure 11 is the schematic representation that computer documents is transferred to the mobile phone with camera function.Wherein, computer system comprises main frame 1101, display 1102, mouse 1103 and keyboard 1104.Main frame 1101 operation figure interface operation systems, and with the mode files listed of icon tabulation abc.doc, 123.txt and photo.jpg, choose image file photo.jpg by mouse 1103 or keyboard 1104, the right button of clicking the mouse ejects illustrated context menu 1106, from context menu, select " generating the colour matrix sign indicating number " menu item, graphical interfaces operating system encoding software is encoded to colour matrix sign indicating number 1107 with file photo.jpg, and it is presented on the display 1102; The camera module 1111 of mobile phone 1109 is aimed at the colour matrix sign indicating number and is taken pictures, and obtains image 1108.Subsequently, mobile phone 1109 operation decoding software modules are to image 1108 decodings, obtain and calculate the file photo.jpg that end is equal to, and can it be set to the background picture 1110 of mobile phone as required.
Figure 12 is transferred to the schematic representation with camera function mobile phone with the Web browser content displayed.Wherein computer system comprises main frame 1101, display 1102, mouse 1103 and keyboard 1104, computer run graphical interfaces operating operation system, this operating system Web browser, by the text 1201 " a kind of method that data form computer is transferred to handheld mobile device " that shows in mouse 1103 or the keyboard 1104 selection Web browsers with camera function, the right button of clicking the mouse ejects context menu 1106, select " generating the colour matrix sign indicating number " menu item, browser calls encoding software, with selected content encoding is colour matrix sign indicating number 1202, and is presented on the display 1102; The camera model of mobile phone 1109 is aimed at the colour matrix sign indicating number of display 1102 demonstrations and is taken pictures, and obtains image.Subsequently, mobile phone 1109 operation decoding software modules are to described picture decoding, obtain with browser in the data 1204 that are equal to of selected content.
Figure 13 is the schematic representation that computer data is sent to another mobile phone through a mobile phone.Main frame 1101 service data acquisition softwares 1301, data acquisition software 1301 has a control 1302 to be used for that input text content, a control 1303 are used to specify image content, a control 1304 is used to specify audio content and a control 1305 is used to import telephone number, and the data that data acquisition software 1303 is gathered are encoded as colour matrix sign indicating number 1306.Mobile phone 1109 aligning colour matrix sign indicating numbers 1306 are taken pictures and are obtained image 1307, and mobile phone 1109 operation decoding software modules obtain the content of above-mentioned control appointment to image 1307 decodings subsequently.Mobile phone 1109 extracts the data except that described telephone number from described content, if the data of described extraction only comprise content of text, then mobile phone 1109 is sent to the text content mobile phone of described telephone number binding in the mode of note (SMS), if the content of described extraction comprises picture or audio file, then mobile phone 1109 is sent to the content of extracting the mobile phone of described telephone number binding in the mode of multimedia message (MMS).
It will be understood by those skilled in the art that under the situation that does not break away from the spirit and scope of the present invention that define by claims, can make various changes in form and details it.The present invention can multiple different form implement, and scope of the present invention is not limited to exemplary embodiment, but is defined by claims or its equivalent.

Claims (16)

1, a kind of method that data form computer is transferred to handheld mobile device with camera function, it is characterized in that: data sending terminal is a computer, described computer run encoding software module, described encoding software module becomes figure with digital coding to be sent, described figure is sent to display, and described display shows described figure; Data receiver is the handheld mobile device with camera function, aim at described figure that described display the shows acquisition image of taking pictures with described handheld mobile device, described handheld mobile device operation decoding software module, described decoding software module obtains data to described picture decoding.
2, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described computer run graphical interfaces operating system, the described encoding software module of described graphical interfaces operating system, described encoding software module receives the data of the input equipment input of described computer, described encoding software module becomes described figure with the digital coding of described input equipment input, and described figure is displayed on the described display.
3, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described computer run graphical interfaces operating system, described graphical interfaces operating system is listed computer documents in the mode of icon, the selected back of described icon starts context menu by the input equipment of described computer, in described context menu, add the dedicated menu item, after described dedicated menu item is selected, described icon corresponding file is encoded into described figure, and described figure is displayed on the described display.
4, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described computer run graphical interfaces operating system, described graphical interfaces operating system Web browser software, select content displayed in the described Web browser by the input equipment of described computer, and start the context menu of described Web browser, in described context menu, add the dedicated menu item, select described dedicated menu item, selected content is encoded into described figure described in the described Web browser, and described figure is displayed on the described display.
5, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described computer run graphical interfaces operating system, described graphical interfaces operating system Web browser software, described Web browser shows the internet page script, described internet page script comprises submit button (Submit Button), trigger the action of described submit button by the input equipment of described computer, described subsequently data to be sent are encoded into described figure, and described figure is displayed on the described display.
6, according to claim 5 data form computer is transferred to the method for the handheld mobile device with camera function, it is characterized in that: described internet page script is a html script.
7, according to claim 4 data form computer is transferred to the method for the handheld mobile device with camera function, it is characterized in that: selected content described in the described Web browser is the file that URL(uniform resource locator) (Uniform Resource Locator) is pointed to.
8, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described handheld mobile device with camera function is a mobile phone, the data that described decoding software module decoding obtains are pictures, and the described picture of described mobile phone is set to the screen background picture of described mobile phone.
9, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described handheld mobile device with camera function is a mobile phone, the data that described decoding software module decoding obtains are interface subject data, and the described interface subject data of described mobile phone are set to the interface subject of described mobile phone.
10, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described handheld mobile device with camera function is a mobile phone, the data that the decoding of described decoding software module obtains are the files that can be play and sound by described mobile phone, and the described file that is played and sounds of described mobile phone is set to the incoming call prompting the tinkle of bells of described mobile phone.
11, the method that data form computer is transferred to handheld mobile device according to claim 1 with camera function, it is characterized in that: described handheld mobile device with camera function is a mobile phone, the transfer of data that described mobile phone obtains the decoding of described decoding software module is to the input method software module, and described input method software module is transferred to the software that has input focus that is moving of described mobile phone after with described data processing again.
12, according to claim 11 data form computer is transferred to the method for the handheld mobile device with camera function, it is characterized in that: described input method software module starts by the input method selection function key of described mobile phone.
13, according to claim 11 data form computer is transferred to the method for the handheld mobile device with camera function, it is characterized in that: described mobile phone has a special function keys, and described input method software module starts by described special function keys.
14, according to the claim 1 described method that data form computer is transferred to handheld mobile device with camera function, it is characterized in that: described computer has a main frame, one display, described main frame moves figure interface operation system, described graphical interfaces operating system data acquisition software module, described data acquisition software module has graphic user interface, the graphic user interface of described data acquisition software module has a text input control, one telephone number input control, described text input control is used for the input text content, described telephone number input control is used to import telephone number, described encoding software module is encoded into described figure with described content of text and described telephone number, and described graphical display is on described display; Described handheld mobile device with camera function is a mobile phone, described mobile phone is aimed at the described figure acquisition image of taking pictures, described decoding software module is to described graphic decoder, acquisition comprises the data of described text and described telephone number, and described mobile phone is sent to the mobile phone that described telephone number is bound with described text in the mode of note (SMS).
15, according to the claim 1 described method that data form computer is transferred to handheld mobile device with camera function, it is characterized in that: described computer has a main frame, one display, described main frame moves figure interface operation system, described graphical interfaces operating system data acquisition software module, described data acquisition software module has graphic user interface, the graphic user interface of described data acquisition software module comprises the control that is used to specify data source, the described control that is used to specify data source comprises the text input control, picture is selected control, audio selection control and telephone number input control, described text input control is used to specify the content of text of described data to be transmitted, described picture selects control to be used to specify the image content of described data to be transmitted, described audio selection control is used to specify the audio content of described data to be transmitted, described telephone number input control is used to specify telephone number, described encoding software module becomes described figure with the described specified digital coding of control that is used to specify data source, and described graphical display is on described display; Described handheld mobile device with camera function is a mobile phone, described mobile phone is aimed at the described figure acquisition image of taking pictures, described decoding software module obtains data to described graphic decoder, the extracting data that described mobile phone obtains from described decoding goes out the information outside the described telephone number, and is sent to the mobile phone that described telephone number is bound in the mode of multimedia message (MMS).
16, according to claim 1 data form computer is transferred to the method for the handheld mobile device with camera function, it is characterized in that:
I. described figure is a kind of colour matrix sign indicating number, and described colour matrix sign indicating number is used for computer data coding, and described colour matrix sign indicating number can be decoded by computer installation, reduces the described computer data that is encoded; Described colour matrix sign indicating number has defined a color table, described colour matrix sign indicating number uses the color in the described color table, described colour matrix sign indicating number is by identical seamless spliced the forming of no frame rectangular module of physical dimension, and described each rectangular module is filled by a kind of color in the color table; Described colour matrix sign indicating number is specified the position of described rectangular module in described colour matrix sign indicating number with (OK, row) binary coordinate system, and the row coordinate of described (OK, row) binary coordinate system increases progressively to the right, and the row-coordinate of described (OK, row) binary coordinate system increases progressively downwards.
There is a recognition feature at the center of II. described colour matrix sign indicating number, described recognition feature is listed as described rectangular module by the capable N of taking advantage of of N and is spliced, N is the odd number greater than 3, and the coordinate of the described rectangular module in center of described recognition feature is the initial point of described (OK, row) binary coordinate system; Described recognition feature is used by four kinds of synthetic colors of two kinds of primary colours, described two kinds of primary colours are selected from RGB 3 primary colours, described four kinds of colors are respectively color A, color B, color C and color D, wherein color A is a black, color B is first kind of primary colours in described two kinds of primary colours, color C is second kind of primary colours in described two kinds of primary colours, and color D is the secondary colour of described two kinds of primary colours; The described rectangular module that the row-coordinate absolute value of described recognition feature and row coordinate absolute value are odd number uses color A, the row-coordinate absolute value of described recognition feature is that odd number, row coordinate absolute value are the described rectangular module use color B of even number, the row-coordinate absolute value of described recognition feature is that even number, row coordinate absolute value are the described rectangular module color use color C of odd number, and the described rectangular module that the row-coordinate absolute value of described recognition feature and row coordinate absolute value are even number uses color D.
III. with described recognition feature next-door neighbour's (N+1) * 4 a described rectangular module in, remove coordinate and be ((N+1)/2),-(N+1)/2), ((N+1)/2), 0), ((N+1)/2), (N+1)/2), (0,-(N+1)/2)), (0, (N+1)/2)), ((N+1)/2) ,-(N+1)/2), ((N+1)/2), 0), ((N+1)/2), (N+1)/2 outside the described rectangular module), remaining (N+1) * 4-8 described rectangular module formed the parameter memory block of described colour matrix sign indicating number;
The described rectangular module of IV. following 8 groups of scan modes traversal is formed the assist location feature of described colour matrix sign indicating number:
First group: with coordinate is ((N+1)/2),-(N+1)/2) described rectangular module be starting point, with (1,-1) increment of coordinate extends to the upper left corner, the row-coordinate increment makes zero after arriving the row bound of described colour matrix sign indicating number, the row coordinate border rank rear increment of coordinate that arrives described colour matrix sign indicating number makes zero, and all makes zero until row-coordinate increment and row increment of coordinate;
Second group: with coordinate is ((N+1)/2), (N+1)/2 described rectangular module) is a starting point, with (1,1) increment of coordinate extends to the upper right corner, the row-coordinate increment makes zero after arriving the row bound of described colour matrix sign indicating number, the row coordinate border rank rear increment of coordinate that arrives described colour matrix sign indicating number makes zero, and all makes zero until row-coordinate increment and row increment of coordinate;
The 3rd group: with coordinate is ((N+1)/2), (N+1)/2 described rectangular module) is a starting point, with (1,1) increment of coordinate extends to the lower right corner, the row-coordinate increment makes zero after arriving the row bound of described colour matrix sign indicating number, the row coordinate border rank rear increment of coordinate that arrives described colour matrix sign indicating number makes zero, and all makes zero until row-coordinate increment and row increment of coordinate;
The 4th group: with coordinate is ((N+1)/2),-(N+1)/2) described rectangular module be starting point, with (1,-1) increment of coordinate inferior horn left extends, the row-coordinate increment makes zero after arriving the row bound of described colour matrix sign indicating number, the row coordinate border rank rear increment of coordinate that arrives described colour matrix sign indicating number makes zero, and all makes zero until row-coordinate increment and row increment of coordinate;
The 5th group: with coordinate is ((N+1)/2), 0) described rectangular module is a starting point, extends upward with the increment of coordinate of (1,0), until the coboundary of described colour matrix sign indicating number;
The 6th group: with coordinate is (0, (N+1)/2)) described rectangular module be starting point, extend to the right with the increment of coordinate of (0,1), until the right margin of described colour matrix sign indicating number;
The 7th group: with coordinate is ((N+1)/2), 0) described rectangular module is a starting point, extends downwards with the increment of coordinate of (1,0), until the lower boundary of described colour matrix sign indicating number;
The 8th group: with coordinate is (0 ,-(N+1)/2)) described rectangular module be starting point, extend left with the increment of coordinate of (0 ,-1), until the left margin of described colour matrix sign indicating number;
V. the color of described rectangular module of forming described assist location feature is by the constraint of the coordinate of described rectangular module.
VI. in the described colour matrix sign indicating number, except that recognition feature, assist location feature and parameter memory block, remaining described rectangular module is formed the data storage area of described colour matrix sign indicating number.
CN 200610066283 2006-03-31 2006-03-31 Method for transmitting data form computer to hand mobile equipment with photo taking function Pending CN101047771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610066283 CN101047771A (en) 2006-03-31 2006-03-31 Method for transmitting data form computer to hand mobile equipment with photo taking function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610066283 CN101047771A (en) 2006-03-31 2006-03-31 Method for transmitting data form computer to hand mobile equipment with photo taking function

Publications (1)

Publication Number Publication Date
CN101047771A true CN101047771A (en) 2007-10-03

Family

ID=38771959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610066283 Pending CN101047771A (en) 2006-03-31 2006-03-31 Method for transmitting data form computer to hand mobile equipment with photo taking function

Country Status (1)

Country Link
CN (1) CN101047771A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631191A (en) * 2008-07-18 2010-01-20 三星电子株式会社 Image processing apparatus and method
CN102523288A (en) * 2011-12-16 2012-06-27 北京视博云科技有限公司 System for providing webpage service for terminal equipment and method thereof
CN103246540A (en) * 2013-05-23 2013-08-14 福建伊时代信息科技股份有限公司 Update method and update device of application program
CN103353822A (en) * 2013-06-26 2013-10-16 上海鹞迅信息技术有限公司 Method and device for acquiring file
CN104539953A (en) * 2014-12-19 2015-04-22 华南理工大学 Method and system for transmitting files in image recognition mode
CN104980606A (en) * 2014-04-03 2015-10-14 扬升照明股份有限公司 Apparatus for wireless transmission system and program thereof
CN106022431A (en) * 2016-05-18 2016-10-12 北京鼎九信息工程研究院有限公司 Method and device for generating and reading color two-dimensional diagram code of color identification type

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631191A (en) * 2008-07-18 2010-01-20 三星电子株式会社 Image processing apparatus and method
CN102523288A (en) * 2011-12-16 2012-06-27 北京视博云科技有限公司 System for providing webpage service for terminal equipment and method thereof
CN103246540A (en) * 2013-05-23 2013-08-14 福建伊时代信息科技股份有限公司 Update method and update device of application program
CN103353822A (en) * 2013-06-26 2013-10-16 上海鹞迅信息技术有限公司 Method and device for acquiring file
CN104980606A (en) * 2014-04-03 2015-10-14 扬升照明股份有限公司 Apparatus for wireless transmission system and program thereof
CN104980606B (en) * 2014-04-03 2018-03-27 扬升照明股份有限公司 Apparatus and method for wireless transmission system
CN104539953A (en) * 2014-12-19 2015-04-22 华南理工大学 Method and system for transmitting files in image recognition mode
CN106022431A (en) * 2016-05-18 2016-10-12 北京鼎九信息工程研究院有限公司 Method and device for generating and reading color two-dimensional diagram code of color identification type
WO2017198189A1 (en) * 2016-05-18 2017-11-23 北京鼎九信息工程研究院有限公司 Generation and reading method and device for colour identified colour two-dimensional figure code

Similar Documents

Publication Publication Date Title
CN1310187C (en) Apparatus and method for recognizing code
CN101047771A (en) Method for transmitting data form computer to hand mobile equipment with photo taking function
US8879832B2 (en) Color matrix code
US8908975B2 (en) Apparatus and method for automatically recognizing a QR code
Grillo et al. High capacity colored two dimensional codes
CN1434957A (en) Machine readable code and method and device of encoding and decoding same
US9805225B2 (en) Apparatus for recognizing character and barcode simultaneously and method for controlling the same
US8186572B2 (en) Systems and methods for animating barcodes
CN101667256B (en) Method for generating and displaying two-dimensional code
CN104657698B (en) A kind of color 2 D code decoding method for carrying several black and white Quick Response Codes
US8500026B2 (en) Dual resolution two-dimensional barcode
US20080000991A1 (en) System and Method for Encoding and Decoding Large Capacity 2-Dimensional Color Bar Code Which Can Be Color-Corrected
Taveerad et al. Development of color QR code for increasing capacity
JP5229651B2 (en) Two-dimensional code, two-dimensional code generation method, computer-readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code
JP2000235615A (en) Device and method for catching and automatically processing data obtained from optical code
EP3502969B1 (en) Object provided with two-dimensional code, method for generating two-dimensional code, and recognition method and apparatus
CN101859397A (en) Two-dimensional array code
WO2017084536A1 (en) Encoding system and method, and decoding system and method for intelligent graph recognition two-dimensional code
KR20120039146A (en) Method for multi code cognition and system
CN101296441A (en) Method and device for scanning two-dimension bar code and transmitting message
CN111222611B (en) Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium
CN106250941A (en) Quick Response Code processing method, Apparatus and system
CN104573781B (en) A kind of Quick Response Code encoding and decoding method
JP2019008564A (en) Multiplexed code, multiplexed code reader, multiplexed code reading method, and program
JP6437749B2 (en) How to create a color code

Legal Events

Date Code Title Description
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Hu Pengfei

Document name: Written notice of preliminary examination of application for patent for invention

C06 Publication
PB01 Publication
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Hu Pengfei

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication