CN105897885B - Across a network data transmission method and device - Google Patents

Across a network data transmission method and device Download PDF

Info

Publication number
CN105897885B
CN105897885B CN201610213664.5A CN201610213664A CN105897885B CN 105897885 B CN105897885 B CN 105897885B CN 201610213664 A CN201610213664 A CN 201610213664A CN 105897885 B CN105897885 B CN 105897885B
Authority
CN
China
Prior art keywords
picture
transmitted
document
text
transmitting terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610213664.5A
Other languages
Chinese (zh)
Other versions
CN105897885A (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.)
Yongxing Shenzhen Polytron Technologies Inc
Original Assignee
Yongxing Shenzhen Polytron Technologies Inc
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 Yongxing Shenzhen Polytron Technologies Inc filed Critical Yongxing Shenzhen Polytron Technologies Inc
Priority to CN201610213664.5A priority Critical patent/CN105897885B/en
Publication of CN105897885A publication Critical patent/CN105897885A/en
Application granted granted Critical
Publication of CN105897885B publication Critical patent/CN105897885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Abstract

The invention discloses a kind of across a network data transmission methods, which comprises transmitting terminal obtains data to be transmitted, determines the type of the data to be transmitted;The data to be transmitted is converted into corresponding picture to be transmitted according to the type of the data to be transmitted;The picture to be transmitted is shown in the display area of transmitting terminal, so that receiving end obtains the picture to be transmitted, and the picture to be transmitted is parsed, obtains the data to be transmitted.The invention also discloses a kind of across a network data transmission devices.The present invention realizes during across a network carries out data transmission, without exchange or switch by hand, it can carry out data transmission between different networks quickly, in time, it does not need staff to carry out exchanging data by hand between the different networks, reduces the workload of staff;It does not need to increase unidirectional introducing equipment, security boundary equipment etc. simultaneously yet, simplifies the deployment of the equipment carried out data transmission between the different networks.

Description

Across a network data transmission method and device
Technical field
The present invention relates to network communication technology field more particularly to a kind of across a network data transmission methods and device.
Background technique
In recent years, Information and Communication Technology application each corner all over the world, be permeated with people production, life Every aspect, as the foundation stone of information technology application, network is general extensively between enterprise, government bodies, school and individual And and internetwork communication have become between mechanism, between individual business contact, information interchange basic tool.It can be said that We come into or will enter comprehensive information-intensive society.
Due to the needs inside each service unit, network does not ensure that interconnecting physically.For physics every From network between data transmission or other cannot be carried out data transmission by computer network protocol the case where, it is most main at present The means wanted include manual exchange and switch.Manual data exchange is using storage medium or imprints CDs as depositing The medium of storage exchange information realizes importing and exporting for across a network data by manual intervention, and major defect is staff's work Measure larger, information is believed not high in real time.It needs to be transformed network using switch, is related to information security, sometimes Also need to increase unidirectional introducing equipment, security boundary equipment etc., deployment implementation is complex, invests also relatively high.
Summary of the invention
The main purpose of the present invention is to provide a kind of across a network data transmission method and devices, it is intended to solve it is existing across Network data transmission data are transmitted not in time, the complicated problem of transmission device deployment.
To achieve the above object, a kind of across a network data transmission method provided by the invention, the across a network data transmission Method includes:
Transmitting terminal obtains data to be transmitted, determines the type of the data to be transmitted;
The data to be transmitted is converted into corresponding picture to be transmitted according to the type of the data to be transmitted;
The picture to be transmitted is shown in the display area of transmitting terminal, so that receiving end obtains the picture to be transmitted, And the picture to be transmitted is parsed, obtain the data to be transmitted.
Preferably, after the step of transmitting terminal obtains data to be transmitted, determines the type of the data to be transmitted, also Include:
If the data to be transmitted is document, judge in the document with the presence or absence of picture;
If not there is no picture in the document, the type according to the data to be transmitted is by the data to be transmitted The step of being converted into corresponding picture to be transmitted include:
According to the information capacity that picture to be transmitted may store, the document is converted into text picture to be transmitted;
It is described to show the picture to be transmitted in the display area of transmitting terminal, so that receiving end obtains the figure to be transmitted Piece, and the step of parsing the picture to be transmitted, obtaining the data to be transmitted includes:
The text picture is shown in the display area of the transmitting terminal, so that the receiving end is according to the text figure The sequencing of piece conversion obtains the text picture, parses the text picture, obtains document to be transmitted.
Preferably, if the data to be transmitted is document, the step of judgement in the document with the presence or absence of picture Later, further includes:
If there are picture, the information capacities that may store according to picture to be transmitted, by the text in the document Shelves the step of being converted into text picture to be transmitted includes:
The picture in the document is extracted, and marks the position of picture within said document in the document;
According to the information capacity that picture to be transmitted may store, by the text conversion in the document at text to be transmitted Picture;
It is described to show the picture to be transmitted in the display area of transmitting terminal, so that receiving end obtains the figure to be transmitted Piece, and the step of parsing the picture to be transmitted, obtaining the data to be transmitted includes:
By in the document picture and the text picture show in the display area of the transmitting terminal, for receiving end According to text described in the position acquisition of the picture in the sequencing and the document of text picture conversion within said document Picture and the text picture in shelves, and the picture in the document and the text picture are parsed, obtain packet to be transmitted Document containing picture.
Preferably, after the step of transmitting terminal obtains data to be transmitted, determines the type of the data to be transmitted, also Include:
If the data to be transmitted is audio or video, it is described according to the type of the data to be transmitted will it is described to Data conversion, which is transmitted, into the step of corresponding picture to be transmitted includes:
According to the information capacity that the picture to be transmitted may store, by the audio or Video Quality Metric at corresponding two Tie up code picture.
Preferably, described to show the picture to be transmitted in the display area of transmitting terminal, for described in the acquisition of receiving end Picture to be transmitted, and after the step of parsing the picture to be transmitted, obtaining the data to be transmitted, further includes:
If receiving the prompting message of acquisition or the parsing picture failure to be transmitted that the receiving end is sent, weigh The picture to be transmitted that the receiving end obtains or parsing failure is corresponding is newly shown in the display area of the transmitting terminal.
In addition, to achieve the above object, the present invention also provides a kind of across a network data transmission device, the across a network data Transmitting device includes:
It obtains module and determines the type of the data to be transmitted for obtaining data to be transmitted;
The data to be transmitted is converted into corresponding to be passed by conversion module for the type according to the data to be transmitted Defeated picture;
Display module, for showing the picture to be transmitted in the display area of transmitting terminal, so that receiving end obtains institute Picture to be transmitted is stated, and parses the picture to be transmitted, obtains the data to be transmitted.
Preferably, the across a network data transmission device further include:
Judgment module judges in the document if being document for the data to be transmitted with the presence or absence of picture;
The conversion module may store if being also used to not there is no picture in the document according to picture to be transmitted The document is converted into text picture to be transmitted by information capacity;
The display module is also used to show the text picture in the display area of the transmitting terminal, for described The sequencing that receiving end is converted according to the text picture obtains the text picture, parses the text picture, obtain to The document of transmission.
Preferably, the conversion module, if being also used in the document, there are pictures, extract the figure in the document Piece, and mark the position of picture within said document in the document;
The conversion module is also used to the information capacity that may store according to picture to be transmitted, by the text in the document Word is converted into text picture to be transmitted;
The display module, be also used to by the document picture and the text picture show in the transmitting terminal Display area, the picture in sequencing and the document converted for receiving end according to the text picture is in the document In position acquisition described in picture and the text picture in document, and parse the picture in the document and the text figure Piece obtains the document to be transmitted comprising picture.
Preferably, the conversion module, if being also used to the data to be transmitted is audio or video, according to it is described to The information capacity that transmission picture may store, by the audio or Video Quality Metric at corresponding two-dimension code image.
Preferably, the across a network data transmission device further include:
Receiving module, if for receiving the acquisition or parse the picture failure to be transmitted that the receiving end is sent Prompting message then shows that the receiving end is obtained or parsed corresponding to failure in the display area of the transmitting terminal again Picture to be transmitted.
The present invention, will be described according to the type of the data to be transmitted by when receiving end gets data to be transmitted Data to be transmitted is converted into corresponding picture to be transmitted, and the picture to be transmitted is shown in the display area of transmitting terminal, with The data to be transmitted is obtained for receiving end.Realize during across a network carries out data transmission, without by hand exchange or Switch can carry out data transmission between different networks quickly, in time, not need staff in difference Exchange data by hand are carried out between network, reduce the workload of staff;Simultaneously do not need yet increase unidirectional introducing equipment, Security boundary equipment etc. simplifies the deployment of the equipment carried out data transmission between the different networks.
Detailed description of the invention
Fig. 1 is the flow diagram of the first embodiment of across a network data transmission method of the present invention;
Fig. 2 is the flow diagram of the second embodiment of across a network data transmission method of the present invention;
Fig. 3 is the flow diagram of the 3rd embodiment of across a network data transmission method of the present invention;
Fig. 4 is the functional block diagram of the first embodiment of across a network data transmission device of the present invention;
Fig. 5 is the functional block diagram of the second embodiment of across a network data transmission device of the present invention;
Fig. 6 is the functional block diagram of the 3rd embodiment of across a network data transmission device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of across a network data transmission method.
Referring to Fig.1, Fig. 1 is the flow diagram of across a network data transmission method first embodiment of the present invention.
In the present embodiment, the across a network data transmission method includes:
Step S10, transmitting terminal obtain data to be transmitted, determine the type of the data to be transmitted;
When transmitting terminal needs to carry out data transmission with receiving end, the transmitting terminal acquisition will be sent to the to be passed of receiving end Transmission of data, and determine the type of the data to be transmitted.It should be noted that the transmitting terminal and the receiving end include but not It is limited to smart phone, personal computer and palm PC etc..The transmitting terminal and the receiving end belong to different networks, such as institute It states transmitting terminal and belongs to network A, and the receiving end belongs to network B.The type of the data to be transmitted include but is not limited to document, Picture, video or audio.
The data to be transmitted is converted into corresponding figure to be transmitted according to the type of the data to be transmitted by step S20 Piece;
When the transmitting terminal determines the type of the data to be transmitted, the transmitting terminal is according to the data to be transmitted The data to be transmitted is converted into picture to be transmitted by type.The format of the picture to be transmitted includes but is not limited to BMP (BitmaP, bitmap), TIFF (Tagged Image File Format, image file format) and GIF (Graphics Interchange Format, GIF(Graphic Interchange format)) etc..The form of the picture to be transmitted can be bar code or two dimensional code Deng.Further, the data to be transmitted is converted into corresponding picture to be transmitted according to predetermined manner by the transmitting terminal.It is described Predetermined manner is the information capacity that may store according to the picture to be transmitted, the elder generation arranged according to the data to be transmitted content The data to be transmitted is converted into picture to be transmitted by sequence afterwards.Such as when the data to be transmitted be a pure words document, And one the information capacity that may store of picture to be transmitted described in width be a, and when the one of the document shares 10 paragraghs, when The transmitting terminal detects that the informational capacity of the word content of the first and second paragragh of the document is b, and b is less than a, still First and second and three informational capacities of word content of paragragh when being c of the document, and when c is greater than a, the transmitting terminal will The word content of first and second paragragh is converted into a picture to be transmitted.Such as when the word content of the Third Nature section Informational capacity be d, and when dc is greater than a, the transmitting terminal can analyze the word content of the Third Nature section of the document, suitable It closes the place split to split the word content of the Third Nature section, such as carries out splitting the third in the position of fullstop The word content of paragragh obtains two parts word content, and the word content of first part is converted into picture to be transmitted, if this When second part word content plus the document the 4th paragragh word content informational capacity close to a, then by the The word content of the word content of the second part of three paragraghs and the 4th paragragh is converted into picture to be transmitted together.
Step S30 shows the picture to be transmitted in the display area of transmitting terminal, so that receiving end acquisition is described to be passed Defeated picture, and the picture to be transmitted is parsed, obtain the data to be transmitted.
When the transmitting terminal obtains the picture to be transmitted, the transmitting terminal shows the picture to be transmitted described The display area of transmitting terminal, so that receiving end obtains the picture to be transmitted.Exist when the receiving end gets the transmitting terminal When the picture to be transmitted that display area is shown, converted according to the transmitting terminal to be passed described in the rule parsing of the data to be transmitted Defeated picture obtains the data to be transmitted.
Further, the transmitting terminal shows the picture to be transmitted according to the sequencing for obtaining the picture to be transmitted Show in the display area of the transmitting terminal.The receiving end is according to the picture to be transmitted in the aobvious of the transmitting terminal display area Show that sequence obtains the picture to be transmitted, and parses the figure to be transmitted according to the sequencing for obtaining the picture to be transmitted Piece splices the rear data to be transmitted once parsed from the picture to be transmitted preceding once from the picture to be transmitted It is middle to parse obtained data to be transmitted.
Further, the safety transmitted to guarantee the data to be transmitted between the transmitting terminal and the receiving end Property, when the data to be transmitted is being converted into corresponding figure to be transmitted according to the type of the data to be transmitted by the transmitting terminal When during piece, the transmitting terminal can be encrypted to resulting picture to be transmitted is converted.It is got in the receiving end The picture to be transmitted needs just decrypt using decryption method corresponding with the transmitting terminal encryption picture to be transmitted The picture to be transmitted.Only the picture to be transmitted described in the receiving end successful decryption when, the receiving end just can parse The picture to be transmitted, obtains the data to be transmitted.
The present embodiment is by when receiving end gets data to be transmitted, according to the type of the data to be transmitted, by institute It states data to be transmitted and is converted into corresponding picture to be transmitted, and the picture to be transmitted is shown in the display area of transmitting terminal, So that receiving end obtains the data to be transmitted.Realize during across a network carries out data transmission, without by hand exchange or Person's switch can carry out data transmission between different networks quickly, in time, not need staff not With exchange data by hand are carried out between network, the workload of staff is reduced;It does not need to increase simultaneously unidirectionally to import yet and set Standby, security boundary equipment etc., simplifies the deployment of the equipment carried out data transmission between the different networks.
Referring to Fig. 2, Fig. 2 is the flow diagram of the second embodiment of across a network data transmission method of the present invention, is based on the One embodiment proposes the second embodiment of across a network data transmission method of the present invention.
In the present embodiment, the across a network data transmission method further include:
Step S40 judges in the document if the data to be transmitted is document with the presence or absence of picture;
When the transmitting terminal gets data to be transmitted, the transmitting terminal determines the type of the data to be transmitted, if The data to be transmitted is document, and the transmitting terminal then judges in the document with the presence or absence of picture.
If not there is no picture in the document, the step S20 includes:
The document is converted into text to be transmitted according to the information capacity that picture to be transmitted may store by step S21 Picture;
Picture is not present in the document when the transmitting terminal determines, i.e., it is described when the described document is the document of pure words The information capacity that transmitting terminal may store according to the picture to be transmitted, according to the sequencing of the document content by the text Shelves are converted into text picture to be transmitted, and the text picture includes but is not limited to bar code either two dimensional code.
The step S30 includes:
Step S31 shows the text picture in the display area of the transmitting terminal, so that the receiving end is according to institute The sequencing for stating the conversion of text picture obtains the text picture, parses the text picture, obtains document to be transmitted.
When the transmitting terminal obtains the text picture to be transmitted, the transmitting terminal is according to obtaining the text to be transmitted The sequencing of word picture shows the text picture to be transmitted in the display area of the transmitting terminal.Based on the transmission The connection that end is established with the receiving end, the receiving end is in the display area of the transmitting terminal according to the text to be transmitted The sequencing that picture is shown obtains the text picture, and parses the text picture, once from the text picture by after The middle obtained data to be transmitted that parses is spliced in the preceding data to be transmitted once parsed from the text picture, and institute is obtained State document to be transmitted.
If there are picture in the document, the step S20 includes:
Step S22 extracts the picture in the document, and marks the position of picture within said document in the document It sets;
When the transmitting terminal determines that the transmitting terminal extracts the picture in the document there are when picture in the document, And detect the position of picture within said document in the document.When the transmitting terminal determines the picture in the document in institute When stating the position in document, the transmitting terminal marks the position of picture within said document in the document.
Step S23, according to the information capacity that picture to be transmitted may store, by the text conversion in the document to be passed Defeated text picture;
The information capacity that the transmitting terminal may store according to the picture to be transmitted, according to the successive of the document content The text information of the document is converted into a width or several text pictures to be transmitted by sequence.
The step S30 includes:
Step S32, by the document picture and the text picture show in the display area of the transmitting terminal, with It obtains the position of the picture in sequencing and the document converted for receiving end according to the text picture within said document Take the picture and the text picture in the document, and parse the picture in the document and the text picture, obtain to The document comprising picture of transmission.
When the transmitting terminal obtains the picture in the text picture to be transmitted and the document, the transmitting terminal root It is determined according to the position of the picture in the sequencing and the document for being converted to the text picture to be transmitted described to be passed The sequencing of defeated text picture and the picture in the document, according in the text picture to be transmitted and the document The sequencing of picture shown in the text picture to be transmitted and the document in the display area of the transmitting terminal Picture.The receiving end is shown in the text picture to be transmitted and the document according to the display area of the transmitting terminal The sequencing of picture obtains the picture in the text picture to be transmitted and the document, and described to be transmitted according to obtaining Text picture and the sequencing of the picture in the document parse in the text picture to be transmitted and the document Picture, to obtain document to be transmitted containing picture.
Further, the across a network data transmission method further include:
If the data to be transmitted is audio or video, it is described according to the type of the data to be transmitted will it is described to Data conversion, which is transmitted, into the step of corresponding picture to be transmitted includes:
According to the information capacity that the picture to be transmitted may store, by the audio or Video Quality Metric at corresponding two Tie up code picture.
Further, when the transmitting terminal determines that the data to be transmitted is audio or video, the transmitting terminal root According to the information capacity that every width two-dimension code image is stored, by the audio to be transmitted or video according to the sequencing of broadcasting It is converted into corresponding two-dimension code image, shows the two-dimension code image according to the sequencing for obtaining the two-dimension code image In the display area of the transmitting terminal.
Further, it when the transmitting terminal determines that the data to be transmitted is document, and detects and exists in the document Audio perhaps video when the transmitting terminal then by the document sound intermediate frequency to be transmitted or Video Quality Metric at two-dimension code image, will Text information in the document to be transmitted is converted into text picture.
The present embodiment obtains picture to be transmitted using different methods according to data to be transmitted type by transmitting terminal, and Picture to be transmitted is shown in the display area of transmitting terminal in a certain order, allow receiving end according to the sequence obtain to Picture is transmitted, picture to be transmitted is parsed.Improve the speed that receiving end parses picture to be transmitted.
Referring to Fig. 3, Fig. 3 is the flow diagram of the 3rd embodiment of across a network data transmission method of the present invention, is based on the One embodiment proposes the 3rd embodiment of across a network data transmission method of the present invention.
In the present embodiment, the across a network data transmission method further include:
Step S50, if receiving the prompt of acquisition or the parsing picture failure to be transmitted that the receiving end is sent It is to be passed corresponding to failure then to show that the receiving end obtains or parses in the display area of the transmitting terminal again for message Defeated picture.
During the picture to be transmitted shown by the acquisition transmitting terminal display area of the receiving end, fail whole The picture to be transmitted is obtained, i.e., perhaps several pictures to be transmitted obtain failure to a certain width or the receiving end successfully obtains Picture to be transmitted shown by the transmitting terminal display area, but the receiving end is when parsing the picture to be transmitted, not When can successfully parse a certain width or several described pictures to be transmitted, the receiving end then sends prompting message to the transmission End, to prompt the transmitting terminal, the receiving end fails to obtain or fail and parse in the picture to be transmitted A certain width or several pictures to be transmitted.When the transmitting terminal receives the prompting message, the transmitting terminal is described aobvious Show region show again the receiving end fail acquisition or the parsing that fails picture to be transmitted, for the reception End picture to be transmitted according to the transmitting terminal display area obtains complete data to be transmitted.
The present embodiment by when receiving end fail acquisition or certain parsed in the picture to be transmitted that fails One width perhaps several pictures to be transmitted when transmitting terminal display area show again the receiving end fail acquisition or not Can succeed the picture to be transmitted parsed.Receiving end does not need to reacquire whole picture to be transmitted corresponding to data to be transmitted, It only needs to obtain to fail to obtain or fail and parses a corresponding width or several pictures to be transmitted, improve difference Message transmission rate between transmitting terminal and receiving end between network.
The present invention further provides a kind of across a network data transmission devices.
It is the functional block diagram of the first embodiment of across a network data transmission device of the present invention referring to Fig. 4, Fig. 4.
In the present embodiment, the across a network data transmission device includes:
It obtains module 10 and determines the type of the data to be transmitted for obtaining data to be transmitted;
When transmitting terminal needs to carry out data transmission with receiving end, the transmitting terminal acquisition will be sent to the to be passed of receiving end Transmission of data, and determine the type of the data to be transmitted.It should be noted that the transmitting terminal and the receiving end include but not It is limited to smart phone, personal computer and palm PC etc..The transmitting terminal and the receiving end belong to different networks, such as institute It states transmitting terminal and belongs to network A, and the receiving end belongs to network B.The type of the data to be transmitted include but is not limited to document, Picture, video or audio.
Conversion module 20, for according to the type of the data to be transmitted by the data to be transmitted be converted into it is corresponding to Transmit picture;
When the transmitting terminal determines the type of the data to be transmitted, the transmitting terminal is according to the data to be transmitted The data to be transmitted is converted into picture to be transmitted by type.The format of the picture to be transmitted includes but is not limited to BMP (BitmaP, bitmap), TIFF (Tagged Image File Format, image file format) and GIF (Graphics Interchange Format, GIF(Graphic Interchange format)) etc..The form of the picture to be transmitted can be bar code or two dimensional code Deng.Further, the data to be transmitted is converted into corresponding picture to be transmitted according to predetermined manner by the transmitting terminal.It is described Predetermined manner is the information capacity that may store according to the picture to be transmitted, the elder generation arranged according to the data to be transmitted content The data to be transmitted is converted into picture to be transmitted by sequence afterwards.Such as when the data to be transmitted be a pure words document, And one the information capacity that may store of picture to be transmitted described in width be a, and when the one of the document shares 10 paragraghs, when The transmitting terminal detects that the informational capacity of the word content of the first and second paragragh of the document is b, and b is less than a, still First and second and three informational capacities of word content of paragragh when being c of the document, and when c is greater than a, the transmitting terminal will The word content of first and second paragragh is converted into a picture to be transmitted.Such as when the word content of the Third Nature section Informational capacity be d, and when dc is greater than a, the transmitting terminal can analyze the word content of the Third Nature section of the document, suitable It closes the place split to split the word content of the Third Nature section, such as carries out splitting the third in the position of fullstop The word content of paragragh obtains two parts word content, and the word content of first part is converted into picture to be transmitted, if this When second part word content plus the document the 4th paragragh word content informational capacity close to a, then by the The word content of the word content of the second part of three paragraghs and the 4th paragragh is converted into picture to be transmitted together.
Display module 30, for showing the picture to be transmitted in the display area of transmitting terminal, for receiving end acquisition The picture to be transmitted, and the picture to be transmitted is parsed, obtain the data to be transmitted.
When the transmitting terminal obtains the picture to be transmitted, the transmitting terminal shows the picture to be transmitted described The display area of transmitting terminal, so that receiving end obtains the picture to be transmitted.Exist when the receiving end gets the transmitting terminal When the picture to be transmitted that display area is shown, converted according to the transmitting terminal to be passed described in the rule parsing of the data to be transmitted Defeated picture obtains the data to be transmitted.
Further, the transmitting terminal shows the picture to be transmitted according to the sequencing for obtaining the picture to be transmitted Show in the display area of the transmitting terminal.The receiving end is according to the picture to be transmitted in the aobvious of the transmitting terminal display area Show that sequence obtains the picture to be transmitted, and parses the figure to be transmitted according to the sequencing for obtaining the picture to be transmitted Piece splices the rear data to be transmitted once parsed from the picture to be transmitted preceding once from the picture to be transmitted It is middle to parse obtained data to be transmitted.
Further, the safety transmitted to guarantee the data to be transmitted between the transmitting terminal and the receiving end Property, when the data to be transmitted is being converted into corresponding figure to be transmitted according to the type of the data to be transmitted by the transmitting terminal When during piece, the transmitting terminal can be encrypted to resulting picture to be transmitted is converted.It is got in the receiving end The picture to be transmitted needs just decrypt using decryption method corresponding with the transmitting terminal encryption picture to be transmitted The picture to be transmitted.Only the picture to be transmitted described in the receiving end successful decryption when, the receiving end just can parse The picture to be transmitted, obtains the data to be transmitted.
The present embodiment is by when receiving end gets data to be transmitted, according to the type of the data to be transmitted, by institute It states data to be transmitted and is converted into corresponding picture to be transmitted, and the picture to be transmitted is shown in the display area of transmitting terminal, So that receiving end obtains the data to be transmitted.Realize during across a network carries out data transmission, without by hand exchange or Person's switch can carry out data transmission between different networks quickly, in time, not need staff not With exchange data by hand are carried out between network, the workload of staff is reduced;It does not need to increase simultaneously unidirectionally to import yet and set Standby, security boundary equipment etc., simplifies the deployment of the equipment carried out data transmission between the different networks.
It is the functional block diagram of the second embodiment of across a network data transmission device of the present invention, base referring to Fig. 5, Fig. 5 The second embodiment of across a network data transmission device of the present invention is proposed in first embodiment.
In the present embodiment, the across a network data transmission device further include:
Judgment module 40 judges in the document if being document for the data to be transmitted with the presence or absence of picture;
When the transmitting terminal gets data to be transmitted, the transmitting terminal determines the type of the data to be transmitted, if The data to be transmitted is document, and the transmitting terminal then judges in the document with the presence or absence of picture.
The conversion module 20, if may store for not there is no picture in the document according to picture to be transmitted The document is converted into text picture to be transmitted by information capacity;
Picture is not present in the document when the transmitting terminal determines, i.e., it is described when the described document is the document of pure words The information capacity that transmitting terminal may store according to the picture to be transmitted, according to the sequencing of the document content by the text Shelves are converted into text picture to be transmitted, and the text picture includes but is not limited to bar code either two dimensional code.
The display module 30, for showing the text picture in the display area of the transmitting terminal, for described The sequencing that receiving end is converted according to the text picture obtains the text picture, parses the text picture, obtain to The document of transmission.
When the transmitting terminal obtains the text picture to be transmitted, the transmitting terminal is according to obtaining the text to be transmitted The sequencing of word picture shows the text picture to be transmitted in the display area of the transmitting terminal.Based on the transmission The connection that end is established with the receiving end, the receiving end is in the display area of the transmitting terminal according to the text to be transmitted The sequencing that picture is shown obtains the text picture, and parses the text picture, once from the text picture by after The middle obtained data to be transmitted that parses is spliced in the preceding data to be transmitted once parsed from the text picture, and institute is obtained State document to be transmitted.
The conversion module 20, if being also used in the document extract the picture in the document, and mark there are picture Remember the position of picture within said document in the document;
When the transmitting terminal determines that the transmitting terminal extracts the picture in the document there are when picture in the document, And detect the position of picture within said document in the document.When the transmitting terminal determines the picture in the document in institute When stating the position in document, the transmitting terminal marks the position of picture within said document in the document.
The conversion module 20, is also used to the information capacity that may store according to picture to be transmitted, will be in the document Text conversion is at text picture to be transmitted;
The information capacity that the transmitting terminal may store according to the picture to be transmitted, according to the successive of the document content The text information of the document is converted into a width or several text pictures to be transmitted by sequence.
The display module 30, be also used to by the document picture and the text picture show in the transmitting terminal Display area, the picture in sequencing and the document converted for receiving end according to the text picture is in the text Picture and the text picture in document described in position acquisition in shelves, and parse the picture in the document and the text Picture obtains the document to be transmitted comprising picture.
When the transmitting terminal obtains the picture in the text picture to be transmitted and the document, the transmitting terminal root It is determined according to the position of the picture in the sequencing and the document for being converted to the text picture to be transmitted described to be passed The sequencing of defeated text picture and the picture in the document, according in the text picture to be transmitted and the document The sequencing of picture shown in the text picture to be transmitted and the document in the display area of the transmitting terminal Picture.The receiving end is shown in the text picture to be transmitted and the document according to the display area of the transmitting terminal The sequencing of picture obtains the picture in the text picture to be transmitted and the document, and described to be transmitted according to obtaining Text picture and the sequencing of the picture in the document parse in the text picture to be transmitted and the document Picture, to obtain document to be transmitted containing picture.
Further, the across a network data transmission device further include:
The conversion module 20, if being also used to the data to be transmitted is audio or video, according to described to be transmitted The information capacity that picture may store, by the audio or Video Quality Metric at corresponding two-dimension code image.
Further, when the transmitting terminal determines that the data to be transmitted is audio or video, the transmitting terminal root According to the information capacity that every width two-dimension code image is stored, by the audio to be transmitted or video according to the sequencing of broadcasting It is converted into corresponding two-dimension code image, shows the two-dimension code image according to the sequencing for obtaining the two-dimension code image In the display area of the transmitting terminal.
Further, it when the transmitting terminal determines that the data to be transmitted is document, and detects and exists in the document Audio perhaps video when the transmitting terminal then by the document sound intermediate frequency to be transmitted or Video Quality Metric at two-dimension code image, will Text information in the document to be transmitted is converted into text picture.
The present embodiment obtains picture to be transmitted using different methods according to data to be transmitted type by transmitting terminal, and Picture to be transmitted is shown in the display area of transmitting terminal in a certain order, allow receiving end according to the sequence obtain to Picture is transmitted, picture to be transmitted is parsed.Improve the speed that receiving end parses picture to be transmitted.
It is the functional block diagram of the 3rd embodiment of across a network data transmission device of the present invention, base referring to Fig. 6, Fig. 6 The 3rd embodiment of across a network data transmission device of the present invention is proposed in first embodiment.
In the present embodiment, the across a network data transmission device further include:
Receiving module 50, if for receiving the acquisition or the parsing picture failure to be transmitted that the receiving end is sent Prompting message, then shown in the display area of the transmitting terminal again the receiving end obtain or parsing failure corresponding to Picture to be transmitted.
During the picture to be transmitted shown by the acquisition transmitting terminal display area of the receiving end, fail whole The picture to be transmitted is obtained, i.e., perhaps several pictures to be transmitted obtain failure to a certain width or the receiving end successfully obtains Picture to be transmitted shown by the transmitting terminal display area, but the receiving end is when parsing the picture to be transmitted, not When can successfully parse a certain width or several described pictures to be transmitted, the receiving end then sends prompting message to the transmission End, to prompt the transmitting terminal, the receiving end fails to obtain or fail and parse in the picture to be transmitted A certain width or several pictures to be transmitted.When the transmitting terminal receives the prompting message, the transmitting terminal is described aobvious Show region show again the receiving end fail acquisition or the parsing that fails picture to be transmitted, for the reception End picture to be transmitted according to the transmitting terminal display area obtains complete data to be transmitted.
The present embodiment by when receiving end fail acquisition or certain parsed in the picture to be transmitted that fails One width perhaps several pictures to be transmitted when transmitting terminal display area show again the receiving end fail acquisition or not Can succeed the picture to be transmitted parsed.Receiving end does not need to reacquire whole picture to be transmitted corresponding to data to be transmitted, It only needs to obtain to fail to obtain or fail and parses a corresponding width or several pictures to be transmitted, improve difference Message transmission rate between transmitting terminal and receiving end between network.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including Some instructions are used so that a terminal device (can be mobile phone, computer, server or the network equipment etc.) executes this hair Method described in bright each embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of across a network data transmission method, which is characterized in that the across a network data transmission method includes:
Transmitting terminal obtains data to be transmitted, determines the type of the data to be transmitted;
If the data to be transmitted is document, judge in the document with the presence or absence of picture;
If there are pictures in the document, the picture in the document is extracted, and marks the picture in the document described Position in document;
According to the information capacity that picture to be transmitted may store, by the text conversion in the document at text figure to be transmitted Piece;
By in the document picture and the text picture show in the display area of the transmitting terminal, for receiving end according to In document described in the position acquisition of picture within said document in the sequencing and the document of the text picture conversion Picture and the text picture, and parse the picture in the document and the text picture, obtain to be transmitted comprising figure The document of piece.
2. across a network data transmission method as described in claim 1, which is characterized in that if the data to be transmitted is text Shelves, then after the step of judging in the document with the presence or absence of picture, further includes:
If not there is no picture in the document, according to the information capacity that picture to be transmitted may store, the document is converted At text picture to be transmitted;
The text picture is shown in the display area of the transmitting terminal, so that the receiving end turns according to the text picture The sequencing changed obtains the text picture, parses the text picture, obtains document to be transmitted.
3. across a network data transmission method as described in claim 1, which is characterized in that the transmitting terminal obtains number to be transmitted According to after the step of determining the type of the data to be transmitted, further includes:
If the data to be transmitted is that audio or video will according to the information capacity that the picture to be transmitted may store The audio or Video Quality Metric are at corresponding two-dimension code image.
4. across a network data transmission method as described in any one of claims 1 to 3, which is characterized in that described by the document In picture and the text picture be shown in the display area of the transmitting terminal, so that receiving end turns according to the text picture Picture and the text in document described in the position acquisition of the picture in sequencing and the document changed within said document Word picture, and parse the picture in the document and the text picture obtains the step of including the document of picture to be transmitted Later, further includes:
If receiving the prompting message of acquisition or the parsing picture failure to be transmitted that the receiving end is sent, exist again The picture to be transmitted that the receiving end obtains or parsing failure is corresponding is shown in the display area of the transmitting terminal.
5. a kind of across a network data transmission device, which is characterized in that the across a network data transmission device includes:
It obtains module and determines the type of the data to be transmitted for obtaining data to be transmitted;
Judgment module judges in the document if being document for the data to be transmitted with the presence or absence of picture;
Conversion module, if extracting the picture in the document, and mark in the document for there are pictures in the document Picture position within said document;
The conversion module is also used to the information capacity that may store according to picture to be transmitted, and the text in the document is turned Change text picture to be transmitted into;
Display module, for by the document picture and the text picture show in the display area of transmitting terminal, for The position acquisition of the picture in sequencing and the document that receiving end is converted according to the text picture within said document Picture and the text picture in the document, and the picture in the document and the text picture are parsed, it obtains to be passed The defeated document comprising picture.
6. across a network data transmission device as claimed in claim 5, which is characterized in that the across a network data transmission device is also Include:
The conversion module, if being also used to not there is no picture in the document, the information that may store according to picture to be transmitted The document is converted into text picture to be transmitted by capacity;
The display module is also used to show the text picture in the display area of the transmitting terminal, for the reception End obtains the text picture according to the sequencing that the text picture is converted, and parses the text picture, obtains to be transmitted Document.
7. across a network data transmission device as claimed in claim 5, which is characterized in that the conversion module, if being also used to institute Stating data to be transmitted is audio or video, the then information capacity that may store according to the picture to be transmitted, by the audio Or Video Quality Metric is at corresponding two-dimension code image.
8. such as the described in any item across a network data transmission devices of claim 5 to 7, which is characterized in that the across a network data Transmitting device further include:
Receiving module, if the prompt for receiving acquisition or the parsing picture failure to be transmitted that the receiving end is sent It is to be passed corresponding to failure then to show that the receiving end obtains or parses in the display area of the transmitting terminal again for message Defeated picture.
CN201610213664.5A 2016-04-07 2016-04-07 Across a network data transmission method and device Active CN105897885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610213664.5A CN105897885B (en) 2016-04-07 2016-04-07 Across a network data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610213664.5A CN105897885B (en) 2016-04-07 2016-04-07 Across a network data transmission method and device

Publications (2)

Publication Number Publication Date
CN105897885A CN105897885A (en) 2016-08-24
CN105897885B true CN105897885B (en) 2019-04-02

Family

ID=57012251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610213664.5A Active CN105897885B (en) 2016-04-07 2016-04-07 Across a network data transmission method and device

Country Status (1)

Country Link
CN (1) CN105897885B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948038A (en) * 2017-10-13 2018-04-20 南京中冠智能科技有限公司 A kind of LAN interoperability methods
CN108040098B (en) * 2017-12-05 2020-10-16 北京永亚普信科技有限责任公司 Network isolation method and system based on one-way transmission of visual information
CN110515575B (en) * 2018-05-21 2021-08-24 北京仁光科技有限公司 Apparatus and method for interacting computers within a subnet
CN110730191A (en) * 2019-10-26 2020-01-24 海南大学 Intent-oriented OSI seven-layer network protocol model based on data, information and knowledge objects
CN110719297A (en) * 2019-10-26 2020-01-21 海南大学 Intent-oriented TCP/IP four-layer network protocol model based on data, information and knowledge objects
CN111831975B (en) * 2020-07-14 2021-02-23 甘肃携谷云智文化传媒有限公司 Network novel display method for preventing piracy, computer equipment and storage medium
CN111899173B (en) * 2020-07-24 2021-04-27 自然资源部第一海洋研究所 Data transmission method and device and electronic equipment
CN115174255B (en) * 2022-07-26 2023-05-05 河北能瑞科技有限公司 Industrial Internet platform data transmission safety protection system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799571A (en) * 2011-05-23 2012-11-28 成都科创知识产权研究所 Word document image generating method and system
CN105471940A (en) * 2014-08-22 2016-04-06 中兴通讯股份有限公司 Data processing method, data transmitting and receiving terminal and data transmission system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546326A (en) * 2008-03-25 2009-09-30 鸿富锦精密工业(深圳)有限公司 System and method for capacity-reduction and backup of file
CN103346960A (en) * 2013-06-18 2013-10-09 万达信息股份有限公司 Recognizable figure-based data transmission method across networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799571A (en) * 2011-05-23 2012-11-28 成都科创知识产权研究所 Word document image generating method and system
CN105471940A (en) * 2014-08-22 2016-04-06 中兴通讯股份有限公司 Data processing method, data transmitting and receiving terminal and data transmission system

Also Published As

Publication number Publication date
CN105897885A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN105897885B (en) Across a network data transmission method and device
CN109450649A (en) Gateway verification method and device based on application program interface and electronic equipment
CN101867898B (en) Short message encrypting communication system, method and secret key center
JP3838506B2 (en) Communication method and apparatus using image
CN104967597B (en) A kind of third-party application message authentication method and system based on safe channel
CN104495545B (en) Electronic elevator maintenance supervision and management system and method for elevator maintenance based on dynamic two-dimensional codes
US20170078876A1 (en) Wireless Network Connection Method, Apparatus, And System
US20150134959A1 (en) Instant Communication Method and System
CN107169364B (en) A kind of data security method and related system
CN102420778A (en) Method and system for marking instant communication read message as unread state
CN101964722A (en) Be used for method for communicating and system
US20150124969A1 (en) Method and Device for Obtaining a Security Key
CN108346060A (en) One kind discerning put on record method and its system based on the block chain art work
CN108039173A (en) Voice messaging input method, mobile terminal, system and readable storage medium storing program for executing
CN104270800B (en) The method and system of communication connection are established with terminal
CN102882851A (en) Generating method of address book and server
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
Rafat Enhanced text steganography in SMS
CN104184652A (en) Method and system for information interaction between terminals
CN104168362A (en) Terminal, two-dimensional management apparatus, and electronic card management method
CN103731654B (en) A kind of information insertion system and information extracting system using 2D/3D video
Beji et al. Security ontology proposal for mobile applications
CN112905464B (en) Application running environment data processing method and device
CN111818521B (en) Authority authentication method and system based on data center 5G network encryption multicast
CN104994078B (en) Information transmission, acquisition methods and device, information processing system in local area network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518057 Shenzhen Software Park, Nanshan District high tech Industrial Park, Guangdong, China,, 6 401-402

Applicant after: Yongxing Shenzhen Polytron Technologies Inc

Address before: 518057 Shenzhen Software Park, Nanshan District high tech Industrial Park, Guangdong, China,, 6 401-402

Applicant before: Shenzhen Longrise Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant