CN104539953A - Method and system for transmitting files in image recognition mode - Google Patents

Method and system for transmitting files in image recognition mode Download PDF

Info

Publication number
CN104539953A
CN104539953A CN201410810945.XA CN201410810945A CN104539953A CN 104539953 A CN104539953 A CN 104539953A CN 201410810945 A CN201410810945 A CN 201410810945A CN 104539953 A CN104539953 A CN 104539953A
Authority
CN
China
Prior art keywords
data image
image
scan
binary
display point
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
CN201410810945.XA
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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201410810945.XA priority Critical patent/CN104539953A/en
Publication of CN104539953A publication Critical patent/CN104539953A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition

Abstract

The invention discloses a method and system for transmitting files in an image recognition mode. According to the method, target transmission files are read out in the form of binary numbers, data images are generated through binary characters, and it is ensured that basic information graphs and data images displayed on a screen of a first terminal can be effectively recognized and reverted to the target transmission files in the form of binary numbers through an image collecting device of a second terminal. Through the method for generating the images through the files, the existing image recognizing technology is converted through identification characters to recognize whether pixel points for obtaining file information exist at some positions or not, and the file recognition efficiency is improved; meanwhile, the complexity of the recognition algorithm is greatly lowered, the difficulty of obtaining the file information through image recognition is overcome, the method can be applied to emergency file transmission under the conditions that due to sudden events, a network is shut down and a user can not have access to the network, and the method is an effective emergency file transmission standby means.

Description

The method and system of file transfer is realized by image recognition mode
Technical field
The present invention relates to the technical field of document transmission method, particularly a kind of method and system being realized file transfer by image recognition mode.
Background technology
E-file transmission refers to that, by network connection from far standing to local host copies file, it becomes habitual thing in daily life and office.Meanwhile, along with the development of computer hardware, camera has become the standard configuration of computer or various electric terminal.
At present, relate to image storage information and to realize file transfer technology fewer, and, existing image storage information for the technology transmitted as Quick Response Code, bar code etc.Wherein, bar code is different by width, that reflectivity is different bar and sky, be compiled into according to certain coding rule (code system), in order to express the graphical identifier of set of number or letter character information. namely bar code is that one group of thickness is different, according to the parallel lines figure of certain regulation arrangement spacing.Two-dimensional bar is the chequered with black and white graphic recording data symbol information distributed in plane (on two-dimensional directional) according to certain rules with certain specific geometric figure; Coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with binary system, to represent word numerical information, is processed to realize information by image input device or photoelectric scanning device automatically identifying and reading: it has some general character of bar code automatically: often kind of code system has its specific character set; Each character occupies certain width; There is certain verifying function etc.Also have simultaneously and the features such as change are rotated to the information automatic identification function of different rows and processing graphics.In modern commerce activity, attainable application is very extensive, as: product false proof/trace to the source, advertisement pushing, web site url, data download, commodity transaction, location/navigation, electronic certificate, vehicle management, information transmission, business card interchange, wifi share.But bar code and Quick Response Code also exist following shortcoming: 1) storing information amount is few, be unfavorable for the file that transmission information amount is large; 2) generation is low for the efficiency of algorithm of the image storing information.
Summary of the invention
First object of the present invention is that the shortcoming overcoming prior art is with not enough, a kind of method being realized file transfer by image recognition mode is proposed, first object transmission file reads by the method in binary form, again binary-coded character conversion is generated data image, ensure that the image capture device of the second terminal effectively can identify data image shown on first terminal screen and be reduced into the design of binary form object transmission file.
Another object of the present invention is that the shortcoming overcoming prior art is with not enough, proposes a kind of system being realized file transfer by image recognition mode.
First object of the present invention is achieved through the following technical solutions:
Realized a method for file transfer by image recognition mode, comprise the following steps:
S1, data image generate procedure for displaying, object transmission file reads with binary form by this step, and by the first transformation rule, the string of binary characters of described object transmission file is converted to some page data images, then the essential information figure of generation and data image are presented on the screen of first terminal;
S2, data image identification transfer process, this step obtains essential information figure and data image that the screen of described first terminal shows by the image capture device of the second terminal, be then binary object transmission file by the second transformation rule by the Data to Graphic Converting of described acquisition.
Further, described step S1 is specially:
S11, read described object transmission file with binary form;
S12, information carrying capacity according to described object transmission file size and every page data image, determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number, then generates essential information figure g 0, described essential information figure g 0comprise the size of described object transmission file, the number of pages n of data image needed for described object transmission file transfer and some location pattern, wherein said location pattern is for marking the datum mark of described essential information figure and described data image;
The data image g of S13, generation blank i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
S14, by the binary-coded character of described object transmission file according to described first transformation rule be converted to successively in data image correspondence display;
S15, often reading convert a binary-coded character, then the position of described display point is moved to the next position;
If the display point position of the current described data image of S16 is finished, then show the data image g that some positions skip to nextpage blank i+1, and repeat step S13 to S15; If the display point position of current described data image is not finished, then repeat step S14 to S15;
If S17 reads and converts all binary-coded characters, generate a 3rd pigment point representing end mark and be presented on the current display point position of described data image.
Further, described step S2 is specially:
S21, to be obtained essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal after, generate scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
S22, open described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
S23, successively scan-data image G described in reading current page ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information of described display point position is converted to binary-coded character;
If S24 described scan-data image G ithe RGB information of each display point position converts, and does not read described end mark, then open scan-data image G described in lower one page i+1, and repeat step S23;
If S25 reads end mark, then end data image recognition transfer process exiting.
Further, when opening described scan-data image G in described step S22 iafterwards, data image identification conversion can also be completed by following steps, be specially:
S221, simultaneously scan-data image G described in reading current page ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information showing some positions described in each is converted to binary-coded character simultaneously;
If S222 does not read described end mark, then open scan-data image G described in lower one page i+1, and repeat step S221;
If S223 reads end mark, then end data image recognition transfer process exiting.
Further, described data image and described essential information figure are rectangle, and the location pattern of described essential information figure is three or four, for marking the rectangle size of described data image, and determines the effective coverage of data image simultaneously.
Further, described first transformation rule is if there is character 1, at display point position display first pigment point of current described pending data image, if there is character 0, at display point position display second pigment point of current described image to be transmitted;
Described second transformation rule is judge interval if the rgb value of described display point position is positioned at described first pigment point, then judge to scan the first pigment point, produce character 1 to export, if the rgb value of described display point position is positioned at described second pigment and judges interval, then judge to scan the second pigment point, produce character 0 and export, judge interval if the rgb value of described display point position is positioned at described 3rd pigment point, then judge to scan the 3rd pigment point, represent and scan end mark.
Another object of the present invention is achieved through the following technical solutions:
Realized a system for file transfer by image recognition mode, comprise following modules:
Data image generates display module, this module is used for object transmission file to read with binary form, and by the first transformation rule, the string of binary characters of described object transmission file is converted to some page data images, then the essential information figure of generation and data image are presented on the screen of first terminal;
Data image identification modular converter, the Data to Graphic Converting of described acquisition, for being obtained essential information figure and data image that the screen of described first terminal shows by the image capture device of the second terminal, is then binary object transmission file by the second transformation rule by this module.
Further, described data image generation display module comprises following devices:
Reading device, this device is used for reading described object transmission file with binary form;
Essential information figure generating apparatus, this device is used for the information carrying capacity according to described object transmission file size and every page data image, determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number, then generates essential information figure g 0, described essential information figure g 0comprise the size of described object transmission file, the number of pages n of data image needed for described object transmission file transfer and some location pattern, wherein said location pattern is for marking the datum mark of described essential information figure and described data image;
Blank image generating apparatus, this device is for generating blank data image g i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
First conversion equipment, this device is used for the correspondence display be converted to successively according to described first transformation rule by the binary-coded character of described object transmission file in data image;
Display point location mobile device, this device is used for often reading converting a binary-coded character, then the position of described display point is moved to the next position;
First skips device, if the display point position that this device is used for current described data image is finished, then shows the data image g that some positions skip to nextpage blank i+1, and repeat successively to call described blank image generating apparatus, described first conversion equipment and described display point location mobile device; If the display point position of current described data image is not finished, then repeat successively to call described first conversion equipment and described display point location mobile device;
First extractor, if this device is used for reading convert all binary-coded characters, generates a 3rd pigment point representing end mark and is presented on the current display point position of described data image.
Further, described data image identification modular converter comprises following devices:
Scanning means, this device, after obtained the essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal, generates scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
Device for opening, this device is used for opening described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
Second conversion equipment, this device is used for reading scan-data image G described in current page successively ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information of described display point position is converted to binary-coded character;
Second skips device, if this device is used for described scan-data image G ithe RGB information of each display point position converts, and does not read described end mark, then open scan-data image G described in lower one page i+1, and call the second conversion equipment;
Second extractor, if this device is used for reading end mark, then end data image recognition transfer process exiting.
Further, described data image identification modular converter also comprises following devices:
3rd conversion equipment, this device is used for reading scan-data image G described in current page simultaneously ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information showing some positions described in each is converted to binary-coded character simultaneously;
3rd skips device, if this device is used for not reading described end mark, then opens scan-data image G described in lower one page i+1, and call the 3rd conversion equipment;
3rd extractor, if this device is used for reading end mark, then end data image recognition transfer process exiting.
The present invention has following advantage and effect relative to prior art:
1) the present invention is by using the method for file generated figure, original recognition image technology is transformed into by identification character and identifies whether certain position has pixel to obtain the information of file, improve the recognition efficiency of file, greatly reduce the complexity of recognizer simultaneously, overcome image recognition to obtain the difficulty of fileinfo.
2) when the present invention can be applicable to occur disaster (as accident cause network interruption and under cannot network being connected to) emergency transmissions file, be a kind of effective emergent file transfer alternative means.
Accompanying drawing explanation
Fig. 1 is a kind of method flow diagram being realized file transfer by image recognition mode in the present embodiment one;
Fig. 2 is that in the present embodiment one, data image generates procedure for displaying schematic diagram;
Fig. 3 is that in the present embodiment one, data image first identifies transfer process schematic diagram;
Fig. 4 is that in the present embodiment one, data image second identifies transfer process schematic diagram;
Fig. 5 is a kind of block diagram of system being realized file transfer by image recognition mode in the present embodiment two;
Fig. 6 is the device composition diagram that in the present embodiment two, data image generates display module;
Fig. 7 is the device composition diagram of the first data image identification modular converter in the present embodiment two;
Fig. 8 is the device composition diagram of the second data image identification modular converter in the present embodiment two.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiment one
Refer to Fig. 1, Fig. 1 is a kind of method flow diagram being realized file transfer by image recognition mode in the present embodiment one.The method being realized file transfer by image recognition mode shown in Fig. 1, first step data image generates procedure for displaying, first object transmission file is read with the form of binary character, then by the first transformation rule, the string of binary characters of object transmission file is converted to essential information figure and some page data images, and the essential information figure of generation and data image are presented on the screen of first terminal; Second step data image identification transfer process, first this step obtains essential information figure and data image that the screen of above-mentioned first terminal shows by the image capture device of the second terminal, be then binary object transmission file by the second transformation rule by the Data to Graphic Converting of acquisition.
A kind of method flow diagram being realized file transfer by image recognition mode is illustrated below in conjunction with Fig. 2, Fig. 3 and Fig. 4.
Wherein, Fig. 2 is that in the present embodiment, data image generates procedure for displaying schematic diagram, and as can be known from Fig. 2, this process is specifically divided into following steps:
S11, read described object transmission file with binary form.
S12, information carrying capacity according to described object transmission file size and every page data image, determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number, then generates essential information figure g 0, described essential information figure g 0comprise the size of described object transmission file, the number of pages n of data image needed for described object transmission file transfer and some location pattern, wherein said location pattern is for marking the datum mark of described essential information figure and described data image.
Essential information figure is rectangle, comprises three or four location patterns, for marking the rectangle size of described essential information figure and data image, and simultaneously essential information figure and determine the effective coverage of data image.Why three location patterns are also feasible, are because three location patterns can identify a rectangle completely.
The information carrying capacity of data image can set at random according to user and Equipments Setting, if total pixel of every page data image is fixed, then the pixel size of each display point position determines the information carrying capacity of data image, if pixel a*a is larger shared by the pixel of each display point position, then the information carrying capacity of every page data image is less, but the error rate simultaneously in transmitting procedure again can be less; On the contrary, if pixel a*a is less shared by the pixel of each display point position, then the information carrying capacity of every page data image is larger, but while transmitting procedure in the error rate again can be larger.
The data image g of S13, generation blank i(i=1,2,3...n), wherein n is the number of pages of described pending data image; Wherein, newly-generated clear data image is also rectangle, and essential information figure's is measure-alike.
S14, by the binary-coded character of described object transmission file according to described first transformation rule be converted to successively in data image correspondence display.
In this embodiment, first transformation rule is specially: if there is character 1, at display point position display first pigment point of current described pending data image, if there is character 0, at display point position display second pigment point of current described image to be transmitted.Usually, the first pigment point can be taken as black, and the second pigment point can be taken as white, and selected by the first and second pigments, the difference of color is larger, more easily avoids the error rate in transmitting procedure.
S15, often reading convert a binary-coded character, then the position of described display point is moved to the next position;
If the display point position of the current described data image of S16 is finished, then show the data image g that some positions skip to nextpage blank i+1, and repeat step S13 to S15; If the display point position of current described data image is not finished, then repeat step S14 to S15;
If S17 reads and converts all binary-coded characters, generate a 3rd pigment point representing end mark and be presented on the current display point position of described data image.
What represent end mark in this embodiment is a 3rd pigment point, to be different from the first pigment point representing 1 and the second pigment point representing 0.Certainly, the pigment point representing end mark can also be designed to the pixel that is different from the first pigment point and the second pigment point size, then in ensuing scanning reading process, as long as read the pixel being different from the first pigment point and the second pigment point size, be end mark.
Wherein, Fig. 3 is that in the present embodiment, data image first identifies transfer process schematic diagram, and as can be known from Fig. 3, this process is specifically divided into following steps:
S21, to be obtained essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal after, generate scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
S22, open described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
S23, successively scan-data image G described in reading current page ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information of described display point position is converted to binary-coded character.
Wherein, data image G is determined ieffective coverage has been come by the mode reading location pattern.
In this embodiment, second transformation rule is specially: judge interval if the rgb value of described display point position is positioned at described first pigment point, then judge to scan the first pigment point, produce character 1 to export, if the rgb value of described display point position is positioned at described second pigment and judges interval, then judge to scan the second pigment point, produce character 0 to export, if the rgb value of described display point position is positioned at described 3rd pigment point and judges interval, then judge to scan the 3rd pigment point, represent and scan end mark.
If S24 described scan-data image G ithe RGB information of each display point position converts, and does not read described end mark, then open scan-data image G described in lower one page i+1, and repeat step S23;
If S25 reads end mark, then end data image recognition transfer process exiting.
Wherein, Fig. 4 is that in the present embodiment, data image second identifies transfer process schematic diagram, and as can be known from Fig. 4, this data image identification transfer process can also realize in mode synchronous below:
S21, obtain by the image capture device of described second terminal the data image that the screen of described first terminal shows after, generate scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
S22, open described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
S221, simultaneously scan-data image G described in reading current page ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information showing some positions described in each is converted to binary-coded character simultaneously.
Wherein, data image G is determined iwith data image first, effective coverage mode identifies that the related notion in transfer process is identical with the second transformation rule, described in before specifically seeing.
If S222 does not read described end mark, then open scan-data image G described in lower one page i+1, and repeat step S221.
If S223 reads end mark, then end data image recognition transfer process exiting.
Embodiment two
A kind of system being realized file transfer by image recognition mode is disclosed in the present embodiment two, concrete structure composition is as shown in a kind of block diagram of system being realized file transfer by image recognition mode in Fig. 5, comprise (1) data image and generate display module and (2) data image identification modular converter, wherein data image generates display module for being read with binary form by object transmission file, and by the first transformation rule, the string of binary characters of described object transmission file is converted to some page data images, then the essential information figure of generation and data image are presented on the screen of first terminal, wherein data image identification modular converter is for obtaining essential information figure and data image that the screen of described first terminal shows by the image capture device of the second terminal, is then binary object transmission file by the second transformation rule by the Data to Graphic Converting of described acquisition.
(1) data image generates display module, and concrete apparatus structure composition generates as shown in the device composition diagram of display module as data image in Fig. 6, comprising:
1.1) reading device, this device is used for reading described object transmission file with binary form;
Determine data image number of pages device, this device is used for the information carrying capacity according to described object transmission file size and every page data image, and determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number.
1.2) essential information figure generating apparatus, this device is used for the information carrying capacity according to described object transmission file size and every page data image, determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number, then generates essential information figure g 0, described essential information figure g 0comprise the size of described object transmission file, the number of pages n of data image needed for described object transmission file transfer and some location pattern, wherein said location pattern is for marking the datum mark of described essential information figure and described data image.
1.3) the first conversion equipment, this device is used for the correspondence display be converted to successively according to described first transformation rule by the binary-coded character of described object transmission file in data image.
1.4) display point location mobile device, this device is used for often reading converting a binary-coded character, then the position of described display point is moved to the next position.
1.5) first to skip device, if the display point position that this device is used for current described data image is finished, then show the data image g that some positions skip to nextpage blank i+1, and repeat successively to call described blank image generating apparatus, described first conversion equipment and described display point location mobile device; If the display point position of current described data image is not finished, then repeat successively to call described first conversion equipment and described display point location mobile device.
1.6) the first extractor, if this device is used for reading convert all binary-coded characters, generates a 3rd pigment point representing end mark and is presented on the current display point position of described data image.
(2) data image identification modular converter, this module has two kinds of implementations, be respectively the first data image identification modular converter and the second data image identification modular converter, the function of data image identification that what above two kinds of implementations were same complete conversion, just the RGB information of scanning display point position is respectively serial and parallel working method.
Wherein the apparatus structure composition of the first data image identification modular converter is as shown in the device composition diagram of the first data image identification modular converter in Fig. 7, specifically comprises following devices:
2.1) scanning means, this device, after obtained the essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal, generates scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
2.2) device for opening, this device is used for opening described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
2.3) the second conversion equipment, this device is used for reading scan-data image G described in current page successively ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information of described display point position is converted to binary-coded character.
2.4) second to skip device, if this device is used for described scan-data image G ithe RGB information of each display point position converts, and does not read described end mark, then open scan-data image G described in lower one page i+1, and call the second conversion equipment.
2.5) the second extractor, if this device is used for reading end mark, then end data image recognition transfer process exiting.
Wherein the apparatus structure composition of the second data image identification modular converter is as shown in the device composition diagram of the second data image identification modular converter in Fig. 8, specifically comprises following devices:
2.1) scanning means, this device, after obtained the essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal, generates scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
2.2) device for opening, this device is used for opening described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image.
In order to complete the function of data image identification conversion, the second data image identification modular converter also comprises following devices:
2.3.1) the 3rd conversion equipment, this device is used for reading scan-data image G described in current page simultaneously ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information showing some positions described in each is converted to binary-coded character simultaneously.
2.4.1 the 3rd to skip device, if this device is used for not reading described end mark, then open scan-data image G described in lower one page i+1, and call the 3rd conversion equipment.
2.5.1 the 3rd extractor, if this device is used for reading end mark, then end data image recognition transfer process exiting.
Above device can substitute 2.3) the second conversion equipment, 2.4) second to skip device, 2.5) the second extractor, the same function completing data image identification conversion, and can the simultaneously RGB information of all display point positions in disposable reading current page, it is faster more efficient that parallel working method makes reading speed compare the working method of serial in replaced device.
It should be noted that in said system embodiment, included modules and device are carry out dividing according to function logic, but are not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of modules and device, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (10)

1. realized a method for file transfer by image recognition mode, it is characterized in that, comprise the following steps:
S1, data image generate procedure for displaying, object transmission file reads with binary form by this step, and by the first transformation rule, the string of binary characters of described object transmission file is converted to some page data images, then the essential information figure of generation and data image are presented on the screen of first terminal;
S2, data image identification transfer process, this step obtains essential information figure and data image that the screen of described first terminal shows by the image capture device of the second terminal, be then binary object transmission file by the second transformation rule by the Data to Graphic Converting of described acquisition.
2. the method being realized file transfer by image recognition mode according to claim 1, be is characterized in that, described step S1 is specially:
S11, read described object transmission file with binary form;
S12, information carrying capacity according to described object transmission file size and every page data image, determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number, then generates essential information figure g 0, described essential information figure g 0comprise the size of described object transmission file, the number of pages n of data image needed for described object transmission file transfer and some location pattern, wherein said location pattern is for marking the datum mark of described essential information figure and described data image;
The data image g of S13, generation blank i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
S14, by the binary-coded character of described object transmission file according to described first transformation rule be converted to successively in data image correspondence display;
S15, often reading convert a binary-coded character, then the position of described display point is moved to the next position;
If the display point position of the current described data image of S16 is finished, then show the data image g that some positions skip to nextpage blank i+1, and repeat step S13 to S15; If the display point position of current described data image is not finished, then repeat step S14 to S15;
If S17 reads and converts all binary-coded characters, generate a 3rd pigment point representing end mark and be presented on the current display point position of described data image.
3. the method being realized file transfer by image recognition mode according to claim 1, be is characterized in that, described step S2 is specially:
S21, to be obtained essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal after, generate scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
S22, open described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
S23, successively scan-data image G described in reading current page ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information of described display point position is converted to binary-coded character;
If S24 described scan-data image G ithe RGB information of each display point position converts, and does not read described end mark, then open scan-data image G described in lower one page i+1, and repeat step S23;
If S25 reads end mark, then end data image recognition transfer process exiting.
4. the method being realized file transfer by image recognition mode according to claim 3, be is characterized in that, when opening described scan-data image G in described step S22 iafterwards, data image identification conversion can also be completed by following steps, be specially:
S221, simultaneously scan-data image G described in reading current page ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information showing some positions described in each is converted to binary-coded character simultaneously;
If S222 does not read described end mark, then open scan-data image G described in lower one page i+1, and repeat step S221;
If S223 reads end mark, then end data image recognition transfer process exiting.
5. according to the arbitrary described method being realized file transfer by image recognition mode of claims 1 to 3, it is characterized in that, described data image and described essential information figure are rectangle, the location pattern of described essential information figure is three or four, for marking the rectangle size of described data image, and determine the effective coverage of data image simultaneously.
6., according to the arbitrary described method being realized file transfer by image recognition mode of claims 1 to 3, it is characterized in that,
Described first transformation rule is if there is character 1, at display point position display first pigment point of current described pending data image, if there is character 0, at display point position display second pigment point of current described image to be transmitted;
Described second transformation rule is judge interval if the rgb value of described display point position is positioned at described first pigment point, then judge to scan the first pigment point, produce character 1 to export, if the rgb value of described display point position is positioned at described second pigment and judges interval, then judge to scan the second pigment point, produce character 0 and export, judge interval if the rgb value of described display point position is positioned at described 3rd pigment point, then judge to scan the 3rd pigment point, represent and scan end mark.
7. realized a system for file transfer by image recognition mode, it is characterized in that, comprise following modules:
Data image generates display module, this module is used for object transmission file to read with binary form, and by the first transformation rule, the string of binary characters of described object transmission file is converted to some page data images, then the essential information figure of generation and data image are presented on the screen of first terminal;
Data image identification modular converter, the Data to Graphic Converting of described acquisition, for being obtained essential information figure and data image that the screen of described first terminal shows by the image capture device of the second terminal, is then binary object transmission file by the second transformation rule by this module.
8. the system being realized file transfer by image recognition mode according to claim 7, be is characterized in that, described data image generates display module and comprises following devices:
Reading device, this device is used for reading described object transmission file with binary form;
Essential information figure generating apparatus, this device is used for the information carrying capacity according to described object transmission file size and every page data image, determined the number of pages n of the data image needed for described object transmission file transfer, wherein n is natural number, then generates essential information figure g 0, described essential information figure g 0comprise the size of described object transmission file, the number of pages n of data image needed for described object transmission file transfer and some location pattern, wherein said location pattern is for marking the datum mark of described essential information figure and described data image;
Blank image generating apparatus, this device is for generating blank data image g i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
First conversion equipment, this device is used for the correspondence display be converted to successively according to described first transformation rule by the binary-coded character of described object transmission file in data image;
Display point location mobile device, this device is used for often reading converting a binary-coded character, then the position of described display point is moved to the next position;
First skips device, if the display point position that this device is used for current described data image is finished, then shows the data image g that some positions skip to nextpage blank i+1, and repeat successively to call described blank image generating apparatus, described first conversion equipment and described display point location mobile device; If the display point position of current described data image is not finished, then repeat successively to call described first conversion equipment and described display point location mobile device;
First extractor, if this device is used for reading convert all binary-coded characters, generates a 3rd pigment point representing end mark and is presented on the current display point position of described data image.
9. the system being realized file transfer by image recognition mode according to claim 7, be is characterized in that, described data image identification modular converter comprises following devices:
Scanning means, this device, after obtained the essential information figure and data image that the screen of described first terminal shows by the image capture device of described second terminal, generates scanning essential information figure G0 and scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
Device for opening, this device is used for opening described scan-data image G i(i=1,2,3...n), wherein n is the number of pages of described pending data image;
Second conversion equipment, this device is used for reading scan-data image G described in current page successively ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information of described display point position is converted to binary-coded character;
Second skips device, if this device is used for described scan-data image G ithe RGB information of each display point position converts, and does not read described end mark, then open scan-data image G described in lower one page i+1, and call the second conversion equipment;
Second extractor, if this device is used for reading end mark, then end data image recognition transfer process exiting.
10. the system being realized file transfer by image recognition mode according to claim 9, be is characterized in that, described data image identification modular converter also comprises following devices:
3rd conversion equipment, this device is used for reading scan-data image G described in current page simultaneously ithe RGB information of each display point position on effective coverage, and by described second transformation rule, the RGB information showing some positions described in each is converted to binary-coded character simultaneously;
3rd skips device, if this device is used for not reading described end mark, then opens scan-data image G described in lower one page i+1, and call the 3rd conversion equipment;
3rd extractor, if this device is used for reading end mark, then end data image recognition transfer process exiting.
CN201410810945.XA 2014-12-19 2014-12-19 Method and system for transmitting files in image recognition mode Pending CN104539953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410810945.XA CN104539953A (en) 2014-12-19 2014-12-19 Method and system for transmitting files in image recognition mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410810945.XA CN104539953A (en) 2014-12-19 2014-12-19 Method and system for transmitting files in image recognition mode

Publications (1)

Publication Number Publication Date
CN104539953A true CN104539953A (en) 2015-04-22

Family

ID=52855407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410810945.XA Pending CN104539953A (en) 2014-12-19 2014-12-19 Method and system for transmitting files in image recognition mode

Country Status (1)

Country Link
CN (1) CN104539953A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108040098A (en) * 2017-12-05 2018-05-15 北京永亚普信科技有限责任公司 Network Isolation method and system based on visual information one-way transmission
CN108156158A (en) * 2017-12-26 2018-06-12 大连理工大学 A kind of intelligent advertisement information real time propelling movement method and device based on public place
CN111091018A (en) * 2019-10-30 2020-05-01 武汉船用机械有限责任公司 Cross-network data interaction system and method
CN112118307A (en) * 2020-09-14 2020-12-22 珠海格力电器股份有限公司 Method for downloading equipment data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047771A (en) * 2006-03-31 2007-10-03 胡鹏飞 Method for transmitting data form computer to hand mobile equipment with photo taking function
CN102306273A (en) * 2011-08-23 2012-01-04 上海彩码信息科技有限公司 Color barcode identification printing system and method thereof
CN102799920A (en) * 2012-06-28 2012-11-28 王学武 Two-dimensional code generation system and method and two-dimensional code identification system and method in combination with image
CN103632181A (en) * 2012-08-22 2014-03-12 天津网团科技有限公司 Three-dimensional (3D) image code generating and analyzing methods and device thereof
WO2014079318A1 (en) * 2012-11-22 2014-05-30 Tencent Technology (Shenzhen) Company Limited Method and device for parsing images

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047771A (en) * 2006-03-31 2007-10-03 胡鹏飞 Method for transmitting data form computer to hand mobile equipment with photo taking function
CN102306273A (en) * 2011-08-23 2012-01-04 上海彩码信息科技有限公司 Color barcode identification printing system and method thereof
CN102799920A (en) * 2012-06-28 2012-11-28 王学武 Two-dimensional code generation system and method and two-dimensional code identification system and method in combination with image
CN103632181A (en) * 2012-08-22 2014-03-12 天津网团科技有限公司 Three-dimensional (3D) image code generating and analyzing methods and device thereof
WO2014079318A1 (en) * 2012-11-22 2014-05-30 Tencent Technology (Shenzhen) Company Limited Method and device for parsing images

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108040098A (en) * 2017-12-05 2018-05-15 北京永亚普信科技有限责任公司 Network Isolation method and system based on visual information one-way transmission
CN108040098B (en) * 2017-12-05 2020-10-16 北京永亚普信科技有限责任公司 Network isolation method and system based on one-way transmission of visual information
CN108156158A (en) * 2017-12-26 2018-06-12 大连理工大学 A kind of intelligent advertisement information real time propelling movement method and device based on public place
CN108156158B (en) * 2017-12-26 2020-09-29 大连理工大学 Intelligent advertisement information real-time pushing method and device based on public places
CN111091018A (en) * 2019-10-30 2020-05-01 武汉船用机械有限责任公司 Cross-network data interaction system and method
CN111091018B (en) * 2019-10-30 2023-08-22 武汉船用机械有限责任公司 Cross-network data interaction system and method
CN112118307A (en) * 2020-09-14 2020-12-22 珠海格力电器股份有限公司 Method for downloading equipment data
CN112118307B (en) * 2020-09-14 2022-03-15 珠海格力电器股份有限公司 Method for downloading equipment data

Similar Documents

Publication Publication Date Title
CN104539953A (en) Method and system for transmitting files in image recognition mode
CN109934181A (en) Text recognition method, device, equipment and computer-readable medium
CN104268498A (en) Two-dimension code recognition method and terminal
CN107454964A (en) A kind of commodity recognition method and device
CN104008401A (en) Method and device for image character recognition
CN102763117A (en) Data-generating device, data-generating method, data-generating program, and recording medium
CN106845314B (en) A kind of method for rapidly positioning of two dimensional code
CN105426944A (en) Square lattice anti-counterfeit label group, and method and system for reading square lattice anti-counterfeit label group
CN115453275A (en) PRPD map data enhancement method for partial discharge pattern recognition algorithm
CN111767889A (en) Formula recognition method, electronic device and computer readable medium
CN102790430A (en) Visual power grid operation monitoring system
US20200286254A1 (en) Information processing device
CN111008634B (en) Character recognition method and character recognition device based on instance segmentation
CN112990212A (en) Reading method and device of thermal imaging temperature map, electronic equipment and storage medium
CN105323141A (en) Information transmission method and system based on image recognition and mobile terminal
CN101783934A (en) Video anti-fake circuit board
CN101820531A (en) Video anti-counterfeiting monitoring device and monitoring method
RU97199U1 (en) SYSTEM, MOBILE DEVICE AND READING DEVICE FOR TRANSFER OF TEXT INFORMATION USING GRAPHIC IMAGES
CN115953744A (en) Vehicle identification tracking method based on deep learning
CN115909378A (en) Document text detection model training method and document text detection method
CN102129678A (en) Image characteristic model establishment system, method and image processing system using system and method
CN115272846A (en) Improved Orientdrcnn-based rotating target detection method
CN114373078A (en) Target detection method and device, terminal equipment and storage medium
CN106777152A (en) Suitable for the cable passage map methods of exhibiting of mobile terminal
CN111339866A (en) Train ticket image generation method based on DPN and Faster RCNN

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150422