CN102841928A - Method and device for securely transmitting and receiving inter-network file - Google Patents

Method and device for securely transmitting and receiving inter-network file Download PDF

Info

Publication number
CN102841928A
CN102841928A CN201210249765XA CN201210249765A CN102841928A CN 102841928 A CN102841928 A CN 102841928A CN 201210249765X A CN201210249765X A CN 201210249765XA CN 201210249765 A CN201210249765 A CN 201210249765A CN 102841928 A CN102841928 A CN 102841928A
Authority
CN
China
Prior art keywords
file
coded
character
encoded radio
net
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210249765XA
Other languages
Chinese (zh)
Other versions
CN102841928B (en
Inventor
李�杰
刘澎
姬海啸
宋波
肖国栋
樊磊
许振峰
王宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHINA NATIONAL RADIO
Original Assignee
CHINA NATIONAL RADIO
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 CHINA NATIONAL RADIO filed Critical CHINA NATIONAL RADIO
Priority to CN201210249765.XA priority Critical patent/CN102841928B/en
Publication of CN102841928A publication Critical patent/CN102841928A/en
Application granted granted Critical
Publication of CN102841928B publication Critical patent/CN102841928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention claims a method and a device for transmitting and receiving an inter-network file. The method comprises the steps of encoding the file to be transported, and then converting the code character contained in the coded value in the coded file into a corresponding colour key according to the pre-arranged corresponding relationship between the code character and the colour key, and displaying the corresponding colour key on the screen and transmitting the colour key; and then receiving the information displayed on the screen, storing the information displayed on the screen into the image file; and then obtaining the pre-arranged corresponding relationship between the code character and the colour key from the image file, and converting the colour key of the image file into the corresponding code character to obtain the coded value according to the pre-arranged corresponding relationship between the code character and the colour key, and then forming the coded file; and finally, decoding the coded value contained in the coded files to obtain the corresponding character, and forming the result file. The technical solution is utilized to guarantee the security of the data and meanwhile guarantee the efficiency; the technical solution realises secure and high-efficiency file transportation without network connection.

Description

File security sending, receiving method and device between net
Technical field
The present invention relates to communication technical field, relate in particular to file security sending, receiving method and device between a kind of net.
Background technology
In the prior art for the technology of the file transfer between the internal-external network; Mainly be through FTP (File Transfer Protocol; FTP), secure file transportation protocol (Secure File Transfer Protocol; SFTP), TFTP (Trivial File Transfer Protocol; TFTP), HTTP (hypertext transport protocol, HTTP), the network under the terminal, Windows shares agreement, E-Mail or utilize various instantaneous transmission instruments (IM) etc. directly to carry out the Network Transmission between point-to-point; This technical transmission speed and efficient are higher, but relative security is lower.The field of especially having relatively high expectations for data security, prior art can't reach had both taken into account efficient, can realize the target of higher security again.
Summary of the invention
Goal of the invention of the present invention is the defective that can't guarantee transfer efficiency and security to prior art simultaneously, proposes literal safe transmission method and system between net, in order to realize the not having manuscript transmission that network connects safely, efficiently.
According to an aspect of the present invention, the invention provides file security sending method between a kind of net, this method may further comprise the steps: at first obtain assignment file waiting for transmission; Then the character that said assignment file comprised is encoded, obtain the corresponding codes value, form coded file, wherein, said encoded radio is made up of coded character; Then according to the pre-configured coded character and the corresponding relation of chroma key; Convert the coded character that encoded radio comprised in the said coded file into corresponding chroma key; Then with the mode of screen display one page encoded radio; The chroma key that coded character is corresponding is presented on the screen page by page, and simultaneously at the pre-configured coded character of this screen display and the corresponding relation of chroma key; Send said transient copy at last.
According to another aspect of the present invention, the invention provides file security method of reseptance between a kind of net, this method may further comprise the steps: at first receive the information of screen display, said transient copy is saved as image file; Then from said image file, obtain the pre-configured coded character and the corresponding relation of chroma key; According to the said pre-configured coded character and the corresponding relation of chroma key; Convert the chroma key of said image file into the respective coding character, obtain encoded radio, form coded file; At last the encoded radio that coded file comprised is decoded, obtain corresponding characters, form destination file.
According to an aspect of the present invention, the invention provides file security dispensing device between a kind of net, it comprises: acquisition module, coding module, display module, sending module.
Wherein acquisition module is used to obtain assignment file waiting for transmission; Coding module, the character that is used for said assignment file is comprised is encoded, and obtains the corresponding codes value, forms coded file, and wherein, said encoded radio is made up of coded character; Display module; Be used for according to the pre-configured coded character and the corresponding relation of chroma key; Convert the coded character that encoded radio comprised in the said coded file into corresponding chroma key; With the mode of screen display one page encoded radio, the chroma key that coded character is corresponding is presented on the screen page by page then, and simultaneously at the pre-configured coded character of this screen display and the corresponding relation of chroma key; Sending module is used to send said transient copy.
According to another aspect of the present invention, the invention provides file security receiving trap between a kind of net, comprising: receiver module, modular converter and decoder module.
Wherein, receiver module is used to receive the information of screen display, and said transient copy is saved as image file; Modular converter; Be used for obtaining the pre-configured coded character and the corresponding relation of chroma key,, convert the chroma key of said image file into the respective coding character according to the said pre-configured coded character and the corresponding relation of chroma key from said image file; Obtain encoded radio, form coded file; Decoder module, the encoded radio that is used for coded file is comprised is decoded, and obtains corresponding characters, forms destination file.
Literal safe transmission method and system between net provided by the invention through the character that assignment file comprised is encoded, convert encoded radio into chroma key and are presented on the screen; Directly transmit the information of screen display; Rather than directly transmit manuscript through network, adopt this technical scheme, when taking into account efficient; Guaranteed safety of data, realized safety, do not had a manuscript transmission that network connects efficiently.
Description of drawings
Fig. 1 is the process flow diagram of the embodiment of file security sending method between net of the present invention;
Fig. 2 is the synoptic diagram of screen divider among the present invention;
Fig. 3 is the process flow diagram of the embodiment of file security method of reseptance between net of the present invention;
Fig. 4 is the life cycle figure of check code in transmission course;
Fig. 5 is the structural drawing of the embodiment of file security dispensing device between net of the present invention;
Fig. 6 is the structural drawing of the embodiment of file security receiving trap between net of the present invention;
Wherein, the explanation of accompanying drawing main mark is as follows:
1 logo area
2 expansion areas
3 legend areas
4 content regions
5 end zones
10 acquisition modules
11 coding modules
12 display modules
13 sending modules
20 receiver modules
21 modular converters
22 decoder modules
111 first coding units
112 second coding units
113 preservation unit
220 decoding units
221 verification unit
222 preservation unit
Embodiment
Below in conjunction with accompanying drawing and preferred implementation technical scheme of the present invention is elaborated.
Fig. 1 is the process flow diagram of the embodiment of file security sending method between net of the present invention.Present embodiment is a preferred embodiment of the present invention, and this method may further comprise the steps:
Step 101 is obtained assignment file waiting for transmission.
Assignment file according to the invention is the urtext file of when submitting transformation task to, being uploaded by the third party system.The present invention defines as follows the Naming conventions of assignment file:
Level_YYYYmmddHHMMSS__CRCCODE_ONLYCODE.txt
Each section defines as follows:
Like filename: 0_20110101120101_84943561_2ace4367.txt." can repeat " to be meant that different files can have corresponding identical data value.
In addition; Present embodiment has also carried out text filtering at the character that assignment file comprised that transmitting terminal sends request; It is to filter according to specific character set that the text is filtered; The purpose of filtering is exactly the reliability of the file that transmits in order to guarantee, thereby improves the security and the stability of system.
Step 102 is encoded the character that assignment file comprises, and obtains the corresponding codes value, forms coded file.
After obtaining the assignment file that the third party system uploads, through the coding service this assignment file is encoded, form coded file, coded file is the file that by coding service of the present invention assignment file is carried out depositing after the Unified coding encoded radio.Detailed process is following:
The coding service is corresponding UCS or a Unicode encoded radio of each character with each character conversion of content of text of assignment file, and these encoded radios are saved in the coded file, waits service to be sent to show and sends.In cataloged procedure, the coding service is divided into two links to the coding of assignment file:
Encode for the first time: each character conversion that assignment file comprised is corresponding UCS encoded radio;
The purpose of this step is that assignment file is become the Unicode coding from non-Unicode code conversion.Unicode be international organization formulate can hold the character coding method of all literal and symbol in the world; (Universal Character Set UCS) is ISO 10646 (or claiming ISO/IEC 10646) the defined standard character collection of being formulated by ISO of standard to universal character set.Wherein, UCS comprises UCS-2 and two kinds of encoding schemes of UCS-4, and UCS-2 is with two byte codes, and UCS-4 is with 4 byte codes.The most significant digit of UCS-4 is necessary for 0; So highest byte has 2^7=128 encoded radio; Can all encoded radios of UCS-4 be divided into 128 groups (group); Each group is divided into 256 planes (plane) according to time high byte again, and each plane is divided into 256 row (row) according to the 3rd byte, and every row comprises 256 unit (cells).Unit with delegation is that last byte is different, and all the other are all identical.The plane0 of group0 is known as basic multilingual plane, and (Basic Multilingual Plane, BMP), high-order two bytes are that 0 sign indicating number position is known as BMP among the UCS-4 in other words.Two zero bytes the BMP of UCS-4 being removed the front have just obtained UCS-2.Also do not have the task character to be dispensed on outside the BMP in the present UCS-4 standard, thus, so far, UCS-2 is consistent with the character range that UCS-4 representes, just UCS-4 can support expanded arrive bigger character set scope.
Based on the consideration of present character set and transfer efficiency, the encoding scheme that present embodiment adopted is the UCS-2 coding criterion, and implementation use Unicode format transformation (Unicode Transformation Format, UTF)-16LE.That is: the encoded radio of each character accounts for 2 bytes, is shown as X with 16 systems 1X 2X 3X 4, its figure place is 4, X iSpan is 0-9, A-F.Coding is accomplished assignment file is become the Unicode coding from non-Unicode code conversion for the first time.
Encode for the second time: in the corresponding UCS encoded radio of each character, increase check bit.
In order to guarantee coded data verification and the self-correcting in the transmission course, therefore to the first time UCS-2 coding carry out secondary coding.Concrete standard is: if 16 systems of the UCS-2 of certain character coding are shown as X1X2X3X4 (fixing four, the Xi span is 0-9, A-F), through behind the secondary coding; Encoded radio is: X1X2X3X4EFG, and wherein X1X2X3X4 is the 16 systems demonstration of the original UCS-2 coding of character, the check bit of EFG for increasing; Wherein E is the even parity check of X1X2X3X4 coding; F=X1^X2 (being the XOR value of X1 and X2), G=X3^X4 (being the XOR value of X3 and X4) is through F and G position; When having any generation wrong in 7 characters, can proofread and correct through correcting algorithm.
The title standard of corresponding codes file of the present invention is:
Level_YYYYmmddHHMMSS__CRCCODE_ONLYCODE.cde
Each section defines as follows:
Figure BDA00001903226800061
By name like assignment file 0_20110101120101_84943561_2ace4367.txt corresponding codes file: 0_20110101120101_927001_2ace4367.cde
Step 103 according to the pre-configured coded character and the corresponding relation of chroma key, converts the coded character that each encoded radio comprised in the coded file to corresponding chroma key.
Chroma key is defined herein as: the color that the screen appointed area shows.
After coding, coded file is read in the service of transmission, according to the corresponding relation of coded character and chroma key, converts fixing 16 coded characters (0-9, A-F) that use in the coded file to 16 chroma keys.
Step 104, with the mode of screen display one page encoded radio, the chroma key that coded character is corresponding is presented on the screen page by page, and simultaneously at the pre-configured coded character of this screen display and the corresponding relation of chroma key.
After converting coded character to chroma key corresponding with it; Calculate the total page number that sends; With the mode of screen display one page encoded radio, the chroma key that coded character is corresponding is presented on the screen according to the cycle page by page, and it is a frame that the present invention defines a transient copy.According to definition, the corresponding one page encoded radio of a frame.
Fig. 2 is the synoptic diagram of screen divider among the present invention, and the present invention does not limit the resolution of transmitting terminal and receiving end screen, and transmission system should be able to be done the self-adaptation adjustment according to the supported resolution of current hardware.With the pixel is unit, and setting ScreenCX is a screen width, and ScreenCY is a screen height.According to position and function, be: logo area 1, extension flag district 2, legend area 3, content regions 4 and end zone 5 with screen divider.Wherein extension flag district 2 is the zone of optional setting with end zone 5.Each regional chroma key color is defined by transmitting terminal.In the following description, and RECT (left, top, right, bottom) upper left corner coordinate of expression is that (lower right corner coordinate is that (right is bottom) between a rectangle region of (unit is a pixel) for left, top) (unit is a pixel).
Logo area 1, regional extent are RECT (0,0, SreenCX/4,20), and the one's respective area is used to show the type of current page displayed, and particularly, what the one's respective area showed is the type (definition of the type of frame will be described below) of frame.
Extension flag district 2, regional extent is RECT (ScreenCX/4,0, ScreenCX/2,20), the one's respective area supplies system extension to use, temporary transient at present the reservation.
Legend area 3, regional extent are RECT (ScreenCX/2,0, ScreenCX, 20), and the one's respective area is used to show the pre-configured coded character and the corresponding relation of chroma key, use so that receiving end obtains color configuration, thus correct recognition image file.Legend area shows 32 legends altogether, following table definition the regional location and the function of each chroma key:
Figure BDA00001903226800071
Figure BDA00001903226800081
Content regions 4, regional extent be RECT (0,20, ScreenCX, ScreenCY-4), the chroma key that encoded radio comprised in the code displaying file of one's respective area coded character is corresponding.Each chroma key accounts for the pixel coverage of 1*1 ~ 15*15, and the occurrence of this pixel coverage is confirmed through legend area [7] [8].Like this, (0,20, ScreenCX ScreenCY-4) in the zone, can show the chroma key that ScreenCX*ScreenCY/7 ~ ScreenCX*ScreenCY/7/15/15 coded character is corresponding approximately at RECT.If the resolution of video card is 1280*1024, to calculate according to the transfer rate of per second one page, transmission character (Chinese character or a letter) speed is about 183K word/second ~ 0.85K word/between second.
End zone 5, one's respective area represent that current page finishes.
Step 105 is sent transient copy.
Transmitting terminal and receiving end and network are isolated in the present embodiment; Can pass through Video Graphics Array (Video Graphics Array between the two; Hereinafter to be referred as: VGA) or digital visual interface (Digital Visual Interface; Hereinafter to be referred as: DVI) or HDMI (High Definition Multimedia Interface, hereinafter to be referred as: HDMI) transmit the information of screen display.Need to prove that the present invention is not limited only to adopt the video line of the above-mentioned type to transmit the information of screen display, can also adopt other video line, the present invention does not limit this.
Transmitting terminal is that unit sends transient copy with the frame; The type of frame can be done as giving a definition: the data channel carrier is a Zhang Lianxu transmission and decodable image; With reference to the definition of video, each page data (or picture) that sends in the definition transmission course is a frame.Different according to effect, frame can be divided into: test frame, start frame, recto Frame, verso Frame, stop frame, idle frame.Wherein:
Test frame is used to send test data.The content regions no datat of test frame, only logo area, legend area have data, in order to confirm the correct no repetition of chroma key configuration and can discern.Test frame mainly uses in the installation of file security transmission system, configuration, debug phase.
Start frame, when transmitting terminal sends a new task text, at first send and start frame, begin to identify new transformation task.The logo area, legend area and the content regions that start frame all have data.Wherein, logo area shows the chroma key that starts the frame correspondence, contents such as the corresponding relation of legend area code displaying character and chroma key and current page number information; Content regions is used to send the descriptor of assignment file, comprising: text title, content total page number; User's (code) under the total size of content (byte), text, the coded file check code; Text sequence sign indicating number (generating automatically by sending order) by the service of sending, text source operation system, metadata such as text target service system and growth data.These descriptors also are to obtain the corresponding codes value through coding, convert the coded character that encoded radio comprised into corresponding chroma key then, are presented in the content regions.This partial data encapsulates with the XML form, the form agree as follows:
The recto Frame, the encoded radio of transmission recto coded file.The logo area of recto Frame, legend area and content regions all have data.Wherein logo area shows the chroma key that the recto Frame is corresponding, and contents such as the corresponding relation of legend area code displaying character and chroma key and current page number information, content regions show the corresponding chroma key of coded character that encoded radio comprises of this page.
The verso Frame, the encoded radio of transmission verso coded file.The logo area of verso Frame, legend area and content regions all have data.Wherein logo area shows the chroma key that the verso Frame is corresponding, and contents such as the corresponding relation of legend area code displaying character and chroma key and current page number information, content regions show the corresponding chroma key of coded character that encoded radio comprises of this page.
Stop frame, stop coded file of frame identification and send completion.
Idle frame, idle frame are represented current no transformation task.
Fig. 3 is the process flow diagram of the embodiment of file security method of reseptance between net of the present invention.Because the embodiment of method of reseptance is corresponding with the embodiment of sending method of the present invention, so schematic illustration is following, this method may further comprise the steps:
Step 201 saves as image file with transient copy.
Receiving end receives the information of screen display page by page according to the cycle, and the information that receives is preserved page by page, forms image file; Wherein, One transient copy saves as an image file, and such coded file will form a series of images file through after the transmission.Image file is corresponding to a frame of transmitting terminal.Image file can be to gather the static bit map file that vision signal is caught by reception service of the present invention.
For test frame, when receiving end is received the frame of the type, receiving end interface display testing result, if illegal problem is arranged, the receiving end interface will clearly mark, up to the frame that receives other type.
For recto Frame and verso Frame, will follow execution in step 202.
For stopping frame, when receiving end is received the frame of the type, call decoding task creation procedure (different process) with the reception program, create decoding task, execution in step 203.
For idle frame, when receiving end is received the frame of the type, will not process.
Above-mentioned a series of images file can be stored in the same catalogue, and the directory name standard is:
YYYYmmddHHMMSS_ONLYCODE
Each section defines as follows:
Figure BDA00001903226800111
The image file Naming conventions is following:
number.bmp
Each section defines as follows:
Figure BDA00001903226800121
As: 4.bmp
Step 202 is obtained the pre-configured coded character and the corresponding relation of chroma key from image file, according to this corresponding relation, convert the chroma key in the image file to coded character, obtains encoded radio, thereby forms coded file.
Step 203 is decoded the encoded radio that comprises in the coded file, obtains corresponding characters, forms destination file.
After decoding program is received decoding task, accomplish data decode, and destination file is written into document transmission system data center by it.Destination file be by decoding service of the present invention to image file discern, decoded text.
The destination file Naming conventions is following:
YYYYmmddHHMMSS_CRCCODE_ONLYCODE.DYNEXT
Each section defines as follows:
Figure BDA00001903226800122
Figure BDA00001903226800131
Like file: 20110101120101_4934552_1adf4234.x9fkef0w
Corresponding with the coding service of transmitting terminal is that the decoding of this step can comprise: convert the UCS encoded radio that coded file comprised into corresponding characters; According to the check bit in the UCS encoded radio, the character that is converted to is carried out verification; The character that verification is correct is saved in the destination file.According to the explanation to check bit of when coding, whether those skilled in the art are easy to expect that the C programmer with following realizes, if we can delete following c program at suggestion so, and please inventor's affirmation.
Checking algorithm is following with pseudo-C language description:
Figure BDA00001903226800132
Figure BDA00001903226800141
Figure BDA00001903226800151
In said procedure, (a, b) function is operation parameter b carries out even parity check to parameter a a function to Check.(a b) carries out the function by the byte exclusive or check for operation parameter b to parameter a to Check2.A^B refers to that A and B carry out the step-by-step XOR.
In the transmission and receiving course of file; The present invention can also adopt assignment file check code, coded file check code and destination file check code to carry out verification respectively to assignment file, coded file and destination file, in order to the inspection file whether change is arranged in former and later two links in transmission course.Here verification can be used the CRC check algorithm.Fig. 4 is the life cycle synoptic diagram of three check codes in transfer process among the present invention.
The assignment file check code is deposited in the filename of assignment file of submission; Create according to Naming conventions by the third party system; Before the character that assignment file comprised is encoded; The coding service is carried out verification to the assignment file check code, in the submission process, reaches the change that whether meets accident before the coding of submission back to detect assignment file.
The coded file check code is deposited in the filename of coded file; By the coding service-creation; The coded character that encoded radio comprised in coded file converts into before the corresponding chroma key; The service of transmission is carried out verification to the coded file check code, to detect the mistake whether coded file met accident before sending.When sending; The coded file check code also can send to receiving end; This coded file check code is preserved in the service of reception; Before the encoded radio that coded file comprised was decoded, the decoding service was carried out verification to the coded file check code, to detect the mistake whether coded file meets accident in the process of transmission.
The destination file check code is deposited in the filename of destination file, and by the decoding service-creation, the third party system carries out verification to the destination file check code after obtaining destination file, the change that after establishment, whether meets accident with the testing result file.
According to above-mentioned definition, but data in all self checkings of all transmission links, the data accident is distorted, the situation of mistake if in transmission course, occur, next link is failed verification, then this task is carried out failure, system can write down corresponding daily record.The mechanism of this ring ring verification has been guaranteed the consistance of data from origin-to-destination, has evaded unexpected possibility of distorting, and guarantees the accuracy rate of destination file, has improved transmission security.
The file that present embodiment provides receives and sending method; Through the character that assignment file comprised is encoded, convert encoded radio into chroma key and be presented on the screen, directly transmit the information of screen display; This transmission can be adopted the video transmission interface; Like VGA or DVI or HDMI interface, need not network and connect, realize safety, do not had a file transfer that network connects efficiently.In addition, transmitting terminal to receiving end can one-way transmission, under the prerequisite that guarantees the transmission high-accuracy, takes into account transfer efficiency, and transmission link adopts the design of operating system isomery, transmits whole process and can keep the detailed process record.
Fig. 5 is the structural representation of file security dispensing device between net provided by the invention.As shown in Figure 5, this device comprises: acquisition module 10, coding module 11, display module 12, sending module 13.Wherein, obtain mould 10 and be used to obtain assignment file waiting for transmission; The character that coding module 11 is used for said assignment file is comprised is encoded, and obtains the corresponding codes value, forms coded file, and wherein, said encoded radio is made up of coded character; Display module 12 is used for according to the pre-configured coded character and the corresponding relation of chroma key; Convert the coded character that encoded radio comprised in the said coded file into corresponding chroma key; Then with the mode of screen display one page encoded radio; The chroma key that coded character is corresponding is presented on the screen page by page, and simultaneously at the pre-configured coded character of this screen display and the corresponding relation of chroma key; Sending module 13 is used to send said transient copy.
Preferably, above-mentioned coding module 11 can comprise first coding unit 111, second coding unit 112 and preserve unit 113 that wherein, each character conversion that first coding unit 111 is used for said assignment file is comprised is corresponding UCS encoded radio; Second coding unit 112 is used for increasing check bit at the corresponding UCS encoded radio of each character; Preserving unit 113 is used for the UCS encoded radio that has increased check bit is saved to coded file.
Preferably, acquisition module 10 also is used for creation task file verification sign indicating number, and coding module 11 also is used to create the coded file check code.The file security dispensing device can comprise assignment file verification module and coded file verification module between above-mentioned net, and wherein, assignment file verification module is used for the assignment file check code according to acquisition module 10 establishments, and assignment file is carried out verification; Coded file verification module is used for the coded file check code according to coding module 11 establishments, and coded file is carried out verification.
Preferably, the sending module 13 of file security dispensing device passes through VGA or DVI or HDMI interface transmission transient copy between above-mentioned net.
Fig. 6 is the structural representation of file security receiving trap between net provided by the invention.As shown in Figure 6, this device comprises: receiver module 20, modular converter 21 and decoder module 22.Wherein, receiver module 20 is used to receive the information of screen display, and said transient copy is saved as image file; Modular converter 21 is used for obtaining the pre-configured coded character and the corresponding relation of chroma key from said image file; According to the said pre-configured coded character and the corresponding relation of chroma key; Convert the chroma key of said image file into the respective coding character, obtain encoded radio, form coded file; The encoded radio that decoder module 22 is used for coded file is comprised is decoded, and obtains corresponding characters, forms destination file.
Preferably, above-mentioned decoder module 22 can comprise: decoding unit 220, verification unit 221 and preservation unit 222.Wherein, the decoding unit 220 UCS encoded radio that is used for coded file is comprised converts corresponding characters into; Verification unit 221 is used for the check bit according to the UCS encoded radio, and the character that is converted to is carried out verification; Preservation unit 222 is used for the character that verification is correct and is saved in destination file.
Preferably, decoder module 22 also is used to create the destination file check code.The file security receiving trap can also comprise between above-mentioned net: coded file verification module and destination file verification module.Wherein, the coded file check code of creating when coded file verification module is used for according to transmitting terminal formation coded file carries out verification to coded file; Destination file verification module is used for the destination file check code according to decoder module 22 establishments, and destination file is carried out verification.
Preferably, the receiver module 20 of file security receiving trap passes through the information that VGA or DVI or HDMI interface receive screen display between above-mentioned net.
The file that present embodiment provides receives and dispensing device; Modular design is adopted in relevant coding, transmission, reception, decoding service, through the character that assignment file comprised is encoded, converts encoded radio into chroma key and is presented on the screen; Directly transmit the information of screen display through VGA or DVI or HDMI interface; Rather than directly transmit manuscript through network, adopt this technical scheme, when taking into account efficient; Guaranteed safety of data, realized safety, do not had a file transfer that network connects efficiently.
Although described the present invention in conjunction with the specific embodiments, be not to be defined in particular form described herein.But scope of the present invention is only limited by accompanying Claim.In claim, term " comprises " does not get rid of other parts of existence or step.In addition, although each characteristic can be included in the different claims, these characteristics can advantageously be made up, and the content that in different claims, comprises does not mean that combination of features is infeasible and/or disadvantageous.In addition, single implication is not got rid of a plurality of.Therefore, the implication of " ", " first ", " second " etc. is not got rid of a plurality of.
The above only is an embodiment of the present invention; Should be noted that; For the person of ordinary skill of the art; Under the prerequisite that does not break away from spirit of the present invention, can make some improvement, modification and distortion, these improve, revise and distortion all should be regarded as dropping in the application's the protection domain.

Claims (18)

1. file security sending method between a net is characterized in that, may further comprise the steps:
Obtain assignment file waiting for transmission;
The character that said assignment file comprised is encoded, obtain the corresponding codes value, form coded file, wherein, said encoded radio is made up of coded character;
According to the pre-configured coded character and the corresponding relation of chroma key; Convert the coded character that encoded radio comprised in the said coded file into corresponding chroma key; Then with the mode of screen display one page encoded radio; The chroma key that coded character is corresponding is presented on the screen page by page, and simultaneously at the pre-configured coded character of this screen display and the corresponding relation of chroma key;
Send said transient copy.
2. file security sending method between net as claimed in claim 1 is characterized in that, said the character that said assignment file comprised is encoded, and obtains the corresponding codes value, forms coded file and comprises:
Each character conversion that said assignment file comprised is corresponding UCS encoded radio;
In the corresponding UCS encoded radio of each character, increase check bit;
The UCS encoded radio that has increased check bit is saved in the coded file.
3. file security sending method between net as claimed in claim 1 is characterized in that, is logo area, legend area and content regions with said screen divider;
Said logo area is used to show the type of current page displayed;
Said legend area is used to show the pre-configured coded character and the corresponding relation of chroma key;
Said content regions is used for showing the corresponding chroma key of coded character that said coded file encoded radio is comprised.
4. file security sending method between net as claimed in claim 1 is characterized in that:
Creation task file verification sign indicating number when obtaining assignment file waiting for transmission;
Comprise before the said character that said assignment file comprised is encoded:, assignment file is carried out verification according to said assignment file check code;
Said method also comprises: when forming coded file, create the coded file check code;
, the said coded character that encoded radio comprised in said coded file comprises before converting corresponding chroma key into:, coded file is carried out verification according to said coded file check code.
5. file security sending method between net as claimed in claim 1 is characterized in that, said transmission transient copy is specially: through VGA or DVI or HDMI interface transmission transient copy.
6. file security sending method between net as claimed in claim 2 is characterized in that, also comprise before the said character that said assignment file comprised is encoded: the character to assignment file comprised carries out text filtering.
7. file security method of reseptance between a net is characterized in that, may further comprise the steps:
Receive the information of screen display, said transient copy is saved as image file;
From said image file, obtain the pre-configured coded character and the corresponding relation of chroma key; According to the said pre-configured coded character and the corresponding relation of chroma key; Convert the chroma key of said image file into the respective coding character, obtain encoded radio, form coded file;
The encoded radio that coded file comprised is decoded, obtain corresponding characters, form destination file.
8. file security method of reseptance between net as claimed in claim 7 is characterized in that, said the encoded radio that coded file comprised is decoded, and obtains corresponding characters, forms destination file and comprises:
Convert the UCS encoded radio that coded file comprised into corresponding characters;
According to the check bit in the UCS encoded radio, the character that is converted to is carried out verification;
The character that verification is correct is saved in the destination file.
9. file security method of reseptance between net as claimed in claim 7 is characterized in that,
Comprise before the said encoded radio that coded file comprised is decoded: the coded file check code of creating when forming coded file according to transmitting terminal, carry out verification to coded file;
Said method also comprises: when forming destination file, create the destination file check code;
After said formation destination file, comprise:, destination file is carried out verification according to said destination file check code.
10. file security method of reseptance between net as claimed in claim 7 is characterized in that, the information of said reception screen display is specially: through the information of VGA or DVI or HDMI interface reception screen display.
11. file security dispensing device between a net is characterized in that, comprising:
Acquisition module is used to obtain assignment file waiting for transmission;
Coding module, the character that is used for said assignment file is comprised is encoded, and obtains the corresponding codes value, forms coded file, and wherein, said encoded radio is made up of coded character;
Display module; Be used for according to the pre-configured coded character and the corresponding relation of chroma key; Convert the coded character that encoded radio comprised in the said coded file into corresponding chroma key; With the mode of screen display one page encoded radio, the chroma key that coded character is corresponding is presented on the screen page by page then, and simultaneously at the pre-configured coded character of this screen display and the corresponding relation of chroma key;
Sending module is used to send said transient copy.
12. the file security dispensing device is characterized in that between net as claimed in claim 11, said coding module comprises:
First coding unit, each character conversion that is used for said assignment file is comprised is corresponding UCS encoded radio;
Second coding unit is used for increasing check bit at the corresponding UCS encoded radio of each character;
Preserve the unit, be used for the UCS encoded radio that has increased check bit is saved to coded file.
13. file security dispensing device between net as claimed in claim 11 is characterized in that:
Said acquisition module also is used for creation task file verification sign indicating number; Said coding module also is used to create the coded file check code;
Said device also comprises:
Assignment file verification module is used for according to said assignment file check code assignment file being carried out verification;
Coded file verification module is used for according to said coded file check code coded file being carried out verification.
14. the file security dispensing device is characterized in that between net as claimed in claim 11, said sending module specifically is used for through VGA or DVI or HDMI interface transmission transient copy.
15. file security receiving trap between a net is characterized in that, comprising:
Receiver module is used to receive the information of screen display, and said transient copy is saved as image file;
Modular converter; Be used for obtaining the pre-configured coded character and the corresponding relation of chroma key,, convert the chroma key of said image file into the respective coding character according to the said pre-configured coded character and the corresponding relation of chroma key from said image file; Obtain encoded radio, form coded file;
Decoder module, the encoded radio that is used for coded file is comprised is decoded, and obtains corresponding characters, forms destination file.
16. the file security receiving trap is characterized in that between net as claimed in claim 15, said decoder module comprises:
Decoding unit, the UCS encoded radio that is used for coded file is comprised converts corresponding characters into;
Verification unit is used for the check bit according to the UCS encoded radio, and the character that is converted to is carried out verification;
Preserve the unit, be used for the character that verification is correct and be saved in destination file.
17. file security receiving trap between net as claimed in claim 15 is characterized in that:
Said decoder module also is used to create the destination file check code;
Said device also comprises:
Coded file verification module, the coded file check code of creating when being used for according to transmitting terminal formation coded file carries out verification to coded file;
Destination file verification module is used for according to said destination file check code destination file being carried out verification.
18. the file security receiving trap is characterized in that between net as claimed in claim 15, said receiver module specifically is used for the information through VGA or DVI or HDMI interface reception screen display.
CN201210249765.XA 2012-07-18 2012-07-18 File security sending, receiving method and device between net Active CN102841928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210249765.XA CN102841928B (en) 2012-07-18 2012-07-18 File security sending, receiving method and device between net

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210249765.XA CN102841928B (en) 2012-07-18 2012-07-18 File security sending, receiving method and device between net

Publications (2)

Publication Number Publication Date
CN102841928A true CN102841928A (en) 2012-12-26
CN102841928B CN102841928B (en) 2015-12-09

Family

ID=47369292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210249765.XA Active CN102841928B (en) 2012-07-18 2012-07-18 File security sending, receiving method and device between net

Country Status (1)

Country Link
CN (1) CN102841928B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580243A (en) * 2015-01-23 2015-04-29 中国兵器工业集团第五三研究所 Device and method for implementing data transmission between physical isolation networks based on hexadecimal codes
CN108040098A (en) * 2017-12-05 2018-05-15 北京永亚普信科技有限责任公司 Network Isolation method and system based on visual information one-way transmission
CN108616711A (en) * 2018-04-03 2018-10-02 北京华纬讯电信技术有限公司 A kind of exchange method solving information network isolation based on vision signal
CN110942057A (en) * 2018-09-25 2020-03-31 杭州海康威视数字技术股份有限公司 Container number identification method and device and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301378A (en) * 1998-03-31 2001-06-27 皇家菲利浦电子有限公司 Pixel colour value encoding and decoding
CN1317774A (en) * 2001-05-15 2001-10-17 郭宝平 Enciphering method of photoelectric information
CN1710929A (en) * 2005-07-11 2005-12-21 北京中星微电子有限公司 Data communication system and method of hand-held apparatus
US20050285761A1 (en) * 2004-06-28 2005-12-29 Microsoft Corporation System and method for encoding high density geometric symbol set
CN101414453A (en) * 2007-10-16 2009-04-22 瑞昱半导体股份有限公司 Bidirectional data transmission system and method, display device and microcomputer
CN101626415A (en) * 2008-07-11 2010-01-13 深圳富泰宏精密工业有限公司 Method for displaying characters on bluetooth earphones by using mobile phone and mobile phone thereof
CN101860686A (en) * 2009-04-08 2010-10-13 三菱电机株式会社 Image display system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1301378A (en) * 1998-03-31 2001-06-27 皇家菲利浦电子有限公司 Pixel colour value encoding and decoding
CN1317774A (en) * 2001-05-15 2001-10-17 郭宝平 Enciphering method of photoelectric information
US20050285761A1 (en) * 2004-06-28 2005-12-29 Microsoft Corporation System and method for encoding high density geometric symbol set
CN1710929A (en) * 2005-07-11 2005-12-21 北京中星微电子有限公司 Data communication system and method of hand-held apparatus
CN101414453A (en) * 2007-10-16 2009-04-22 瑞昱半导体股份有限公司 Bidirectional data transmission system and method, display device and microcomputer
CN101626415A (en) * 2008-07-11 2010-01-13 深圳富泰宏精密工业有限公司 Method for displaying characters on bluetooth earphones by using mobile phone and mobile phone thereof
CN101860686A (en) * 2009-04-08 2010-10-13 三菱电机株式会社 Image display system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580243A (en) * 2015-01-23 2015-04-29 中国兵器工业集团第五三研究所 Device and method for implementing data transmission between physical isolation networks based on hexadecimal codes
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
CN108616711A (en) * 2018-04-03 2018-10-02 北京华纬讯电信技术有限公司 A kind of exchange method solving information network isolation based on vision signal
CN110942057A (en) * 2018-09-25 2020-03-31 杭州海康威视数字技术股份有限公司 Container number identification method and device and computer equipment

Also Published As

Publication number Publication date
CN102841928B (en) 2015-12-09

Similar Documents

Publication Publication Date Title
AU2010239821B2 (en) Data communication using 2D bar codes
JP2516294B2 (en) Method and apparatus for transmitting alphanumeric information along with document image information
CN105743616B (en) Long message segmentation and reliable communication method based on Big Dipper short message communication
US7543748B2 (en) Method and system for creating and using redundant and high capacity barcodes
CN202353700U (en) Image output device, image processing device and image pickup device
US20100327066A1 (en) Network based reliable decoding of bar codes
CN103383738A (en) Embedding visual information in a two-dimensional bar code
US20030163580A1 (en) Data transmission protocol using short message service
CN103416080A (en) Device and method for providing emergency alert service through mobile broadcast
CN102841928B (en) File security sending, receiving method and device between net
CN103209054B (en) The method of protection signaling information
CN106127822A (en) At physical isolation terminal room based on encoding of graphs one-way data transmission method and system
WO2014140893A2 (en) Documents and data backup using color space encoded image
Fath et al. Wireless data transmission using visual codes
US20160034806A1 (en) Information broadcast using color space encoded image
US20090166439A1 (en) Preamble Data Generating Method and Related Apparatus for Quick Response Code
CN105393480A (en) Apparatus and method for sending/receiving packet in multimedia communication system
CN106330289A (en) Big data satellite network transmission system
US20160155038A1 (en) Information exchange using color space encoded image
CN1321538C (en) Short message network address communication system based on two-dimensional bar code identification technology
US20140263651A1 (en) Book using color space encoded image
CN102970661A (en) Method and device for code conversion of short messages
CN102341784A (en) Method for quick map recovery in case of error in moca
CN110784620A (en) Equipment data intercommunication method
US9275166B2 (en) Off-line delivery of content through an active screen display

Legal Events

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