CN106506379A - A kind of based on the data transmission method of LAN, system and transmitting terminal - Google Patents
A kind of based on the data transmission method of LAN, system and transmitting terminal Download PDFInfo
- Publication number
- CN106506379A CN106506379A CN201610839907.6A CN201610839907A CN106506379A CN 106506379 A CN106506379 A CN 106506379A CN 201610839907 A CN201610839907 A CN 201610839907A CN 106506379 A CN106506379 A CN 106506379A
- Authority
- CN
- China
- Prior art keywords
- receiving terminal
- lists
- packet
- receiving
- transmission data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/30—Managing network names, e.g. use of aliases or nicknames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The present invention relates to LAN field, more particularly to a kind of based on the data transmission method of LAN, system and transmitting terminal.The data transmission method based on LAN includes:Step 1, establishment receiving terminal ID lists, broadcast to LAN after receiving terminal ID lists and transmission data are packaged into the first packet;ID of the receiving terminal ID lists for all receiving terminals for receiving transmission datas that are stored with;Step 2, reception first packet, parse first packet and obtain the receiving terminal ID lists;Step 3, judge that the ID of the receiving terminal for receiving first packet, whether in the receiving terminal ID lists, if so, parses first packet and obtains transmission data.Broadcast to LAN after receiving terminal ID lists and transmission data are packaged into the first packet, only No. ID receiving terminal in receiving terminal ID lists could obtain transmission data, make transmitting terminal without the need for session is set up with receiving terminal in advance, save a large amount of durations.
Description
Technical field
The present invention relates to LAN field, more particularly to a kind of based on the data transmission method of LAN, system and transmission
End.
Background technology
LAN (Local Area Network) be in the geographic range of a local (as a school, factory and
In machine-operated), the computer communication network that various computers, external equipment and database are interconnected composition, referred to as
LAN.It can pass through data communication network or exclusive data circuit, and the LAN, database or processing center with a distant place is connected,
Constitute a large-scale information processing system.
But when carrying out one-to-many in the LAN and transmitting, be required for preferentially setting up both sides' session, that is, before transmission
Sender needs and some information of the independent communication protocol of recipient, but conversation establishing is time-consuming longer at present, particularly works as needs
When the information content of transmission is less, it is much more more than the time of transmission information to set up the time is lost by session, substantially reduces user
Experience.
Content of the invention
The technical problem to be solved is:There is provided a kind of need not set up transmission data by session based on local
The data transmission method of net, system and transmitting terminal.
In order to solve above-mentioned technical problem, the first technical scheme that the present invention is adopted for:A kind of data based on LAN
Transmission method, including:
Step 1, establishment receiving terminal ID lists, receiving terminal ID lists and transmission data are packaged into after the first packet
Broadcast to LAN;
ID of the receiving terminal ID lists for all receiving terminals for receiving transmission datas that are stored with;
Step 2, reception first packet, parse first packet and obtain the receiving terminal ID lists;
Step 3, the ID of the receiving terminal for receiving first packet is judged whether in the receiving terminal ID lists, if
It is to parse first packet to obtain transmission data.
The second technical scheme for adopting of the present invention for:A kind of data transmission system based on LAN, including:Send mould
Block, receiver module and the first judge module;
The sending module, for creating receiving terminal ID lists, receiving terminal ID lists and transmission data is packaged into
Broadcast to LAN after first packet;Receiving terminal ID lists are used for all receiving terminals for receiving transmission data that are stored with
ID;
The receiver module, for receiving first packet, parses first packet and obtains the receiving terminal
ID lists;
Whether first judge module, for judging the ID of the receiving terminal for receiving first packet in the reception
In the ID lists of end, if so, parse first packet and obtain transmission data.
The 3rd technical scheme that adopts of the present invention for:A kind of transmitting terminal of the data transfer based on LAN, the transmission
End includes creating unit, the first packaged unit and radio unit;
The creating unit is used for creating receiving terminal ID lists;Receiving terminal ID lists are used for all reception biographies that are stored with
The ID of the receiving terminal of transmission of data;
First packaged unit is used for for receiving terminal ID lists and transmission data being packaged into the first packet;
The radio unit is used for the first data packet broadcast to LAN.
The beneficial effects of the present invention is:The ID (as unique mark) for being intended to the receiving terminal of reception creates into receiving terminal ID
List, and in broadcasting to LAN after being packaged into the first packet with transmission data, all of receiving terminal can receive first
Packet, but only No. ID receiving terminal in receiving terminal ID lists could obtain transmission data, and therefore transmitting terminal is without the need in advance
Session is set up with receiving terminal, a large amount of durations is saved, although receiving terminal ID lists and transmission data are packaged with broadcast can increase
Plus the data volume for sending, but the ID of receiving terminal is generally network address host number (generally 1 byte), much smaller than transmission data
Data volume, therefore the present invention provide based on the data transmission method of LAN, system and transmitting terminal, need not set up session is carried out
One-to-many is transmitted, and receiving terminal ID is added in transmission data, receiving terminal is transmitted directly to, and is greatlyd save and is set up session and taken
Between.
Description of the drawings
The step of Fig. 1 is a kind of data transmission method based on LAN of present invention flow chart;
Fig. 2 is a kind of structural representation of data transmission system based on LAN of the present invention;
Fig. 3 is a kind of structural representation of the transmitting terminal of data transfer based on LAN of the present invention;
Label declaration:
1st, sending module;2nd, receiver module;3rd, the first judge module;4th, creating unit;5th, the first packaged unit;6th, broadcast
Unit.
Specific embodiment
By describing the technology contents of the present invention in detail, realizing purpose and effect, below in conjunction with embodiment and coordinate attached
Figure is explained.
The design of most critical of the present invention is:After packing receiving terminal ID lists with transmission data, it is transmitted directly to receive
End, need not set up session carries out one-to-many transmission, greatlys save the time required to setting up session.
Refer to Fig. 1, a kind of data transmission method based on LAN that the present invention is provided, including:
Step 1, establishment receiving terminal ID lists, receiving terminal ID lists and transmission data are packaged into after the first packet
Broadcast to LAN;ID of the receiving terminal ID lists for all receiving terminals for receiving transmission datas that are stored with;
Step 2, reception first packet, parse first packet and obtain the receiving terminal ID lists;
Step 3, the ID of the receiving terminal for receiving first packet is judged whether in the receiving terminal ID lists, if
It is to parse first packet to obtain transmission data.
Knowable to foregoing description, the beneficial effects of the present invention is:The ID of the receiving terminal of reception is intended to (as unique mark
Know) receiving terminal ID lists are created into, and in broadcasting to LAN after being packaged into the first packet with transmission data, all of reception
End can receive the first packet, but only No. ID receiving terminal in receiving terminal ID lists could obtain transmission data, because
This transmitting terminal saves a large amount of durations without the need for setting up session with receiving terminal in advance, although beat receiving terminal ID lists and transmission data
Being wrapped together broadcast can increase the data volume of transmission, but the ID of receiving terminal is generally network address host number (generally 1 byte),
Much smaller than the data volume of transmission data, the data transmission method based on LAN that therefore present invention is provided, session need not be set up
One-to-many transmission is carried out, receiving terminal ID is added in transmission data, receiving terminal is transmitted directly to, greatlyd save and set up session institute
Take time.
Further, broadcast to LAN after receiving terminal ID lists and transmission data being packaged into the first packet,
Specially:
Transmission data is carried out the transmission data after being encrypted for the first time;
The first packet is packaged into after transmission data after receiving terminal ID lists and encryption is carried out second encryption
After broadcast to LAN;
Parse first packet and obtain the receiving terminal ID lists, judge the receiving terminal for receiving first packet
ID whether in the receiving terminal ID lists, if so, parse first packet and obtain transmission data, specially:
Decrypt first packet for the first time and obtain receiving terminal ID lists and the transmission data after encryption;
Judge that the ID of the receiving terminal for receiving first packet, whether in the receiving terminal ID lists, is if so, parsed
First packet encrypted after transmission data, decrypt for the second time the transmission data after the encryption obtain transmit number
According to.
Seen from the above description, as all of receiving terminal can pass through to monitor and receive the first packet, but in order to
The security of transmission data is improved, carries out carrying out again adding after first time encryption with receiving terminal ID lists for the second time by transmission data
Close, even across once decrypting, receiving terminal ID lists and the transmission data after encryption can only be also got, therefore by secondary
Encryption can lift the security of data transfer and receiving terminal.
Decryption mentioned here is corresponding with above-mentioned encryption, encrypts corresponding decryption for the first time and solves for second
Close, corresponding decryption is encrypted for the second time for decryption for the first time.Even across once decrypting, receiving terminal ID lists can only be also got
And the transmission data after encryption, the security of data transfer and receiving terminal therefore can be lifted by secondary encryption and decryption.
Further, also include step 4 after the step 3, the step 4 includes:
Step 41, receive transmission data after, return feedback information;
Step 42, judge feedback that all receiving terminals in the receiving terminal ID lists whether are received in preset time range
Information, if so, then terminates to broadcast;
If it is not, will then not receive the ID of the receiving terminal of feedback information as the receiving terminal in new receiving terminal ID lists
ID, broadcasts to LAN after the new receiving terminal ID lists and transmission data are packaged into the second packet;
Step 43, reception second packet, parse second packet and obtain the new receiving terminal ID lists;
Step 44, judge the ID of the receiving terminal for receiving second packet whether in the new receiving terminal ID lists
Interior, if so, parse second packet and obtain transmission data, return to step 42;If it is not, deleting second packet.
Feedback mechanism is additionally added in data transmission procedure, after receiving terminal receives transmission data, can feed back one instead
Feedforward information (for example having been received by) to transmitting terminal, transmitting terminal then carry out judging whether that all receiving terminals to be sent all have been received by
Transmission data, if all having been received by, transmitting terminal terminates to broadcast, and represents this DTD;If also there is connecing of not receiving
Receiving end, then send and can update receiving terminal ID lists, that is, the ID for not receiving the receiving terminal of feedback information is connect as new
The ID of the receiving terminal in the list of receiving end ID, is broadcasted again, until all of receiving terminal all receives transmission data, although all of
Receiving terminal all can receive the first new packet again, but the data in receiving terminal ID lists have renewal, receive
The receiving terminal of transmission data when therefore sending for second, would not have been received by connecing for transmission data in receiving terminal ID lists
Receiving end then will not receiving data (because receiving terminal ID lists in do not exist) again, and then prevent repeatedly reception.
Refer to Fig. 2, a kind of data transmission system based on LAN that the present invention is also provided, including:Sending module 1,
Receiver module 2 and the first judge module 3;
The sending module 1, for creating receiving terminal ID lists, receiving terminal ID lists and transmission data is packaged into
Broadcast to LAN after first packet;Receiving terminal ID lists are used for all receiving terminals for receiving transmission data that are stored with
ID;
The receiver module 2, for receiving first packet, parses first packet and obtains the receiving terminal
ID lists;
First judge module 3, for judging whether the ID of the receiving terminal for receiving first packet is connect described
In the list of receiving end ID, if so, parse first packet and obtain transmission data.
Knowable to foregoing description, the beneficial effects of the present invention is:The ID of the receiving terminal of reception is intended to (as unique mark
Know) receiving terminal ID lists are created into, and in broadcasting to LAN after being packaged into the first packet with transmission data, all of reception
End can receive the first packet, but only No. ID receiving terminal in receiving terminal ID lists could obtain transmission data, because
This transmitting terminal saves a large amount of durations without the need for setting up session with receiving terminal in advance, although beat receiving terminal ID lists and transmission data
Being wrapped together broadcast can increase the data volume of transmission, but the ID of receiving terminal is generally network address host number (generally 1 byte),
Much smaller than the data volume of transmission data, the data transmission system based on LAN that therefore present invention is provided, session need not be set up
One-to-many transmission is carried out, receiving terminal ID is added in transmission data, receiving terminal is transmitted directly to, greatlyd save and set up session institute
Take time.
Further, the sending module includes the first ciphering unit and the second ciphering unit;
First ciphering unit, for carrying out the transmission data after being encrypted for the first time by transmission data;
Second ciphering unit, adds for the transmission data after receiving terminal ID lists and encryption is carried out second
Broadcast to LAN after being packaged into the first packet after close;
The receiver module, is additionally operable to for the first time to decrypt first packet and obtains receiving terminal ID lists and encryption
Transmission data afterwards;
First judge module, is additionally operable to judge whether the ID of the receiving terminal for receiving first packet is connect described
In the list of receiving end ID, the transmission data after first packet is encrypted if so, is parsed, after decrypting the encryption for the second time
Transmission data obtain transmission data.
Seen from the above description, as all of receiving terminal can pass through to monitor and receive the first packet, but in order to
The security of transmission data is improved, carries out carrying out again adding after first time encryption with receiving terminal ID lists for the second time by transmission data
Close, even across once decrypting, receiving terminal ID lists and the transmission data after encryption can only be also got, therefore by secondary
Encryption can lift the security of data transfer and receiving terminal.Decryption mentioned here with above-mentioned encryption be corresponding, the
Corresponding decryption is once encrypted for decrypting for the second time, corresponding decryption is encrypted for the second time for decryption for the first time.Even across once
Decryption, can only also get receiving terminal ID lists and the desire transmission data after encryption, therefore can be lifted by secondary encryption and decryption
Data transfer and the security of receiving terminal.
Further, also include the second judge module;Second judge module includes that the first receiving unit, first judge
Unit, the second receiving unit and the second judging unit;
First receiving unit, for receiving after transmission data, returns feedback information;
First judging unit, for judging whether receive institute in the receiving terminal ID lists in preset time range
There is the feedback information of receiving terminal, if so, then terminate to broadcast;If it is not, will then not receive the ID of the receiving terminal of feedback information as
The new receiving terminal ID lists and transmission data are packaged into the second data by the ID of the receiving terminal in new receiving terminal ID lists
Broadcast to LAN after bag;
Second receiving unit, for receiving second packet, parsing second packet obtains described new
Receiving terminal ID lists;
Whether second judging unit, for judging the ID of the receiving terminal for receiving second packet described new
In receiving terminal ID lists, if so, parse second packet and obtain transmission data, return the first judging unit;If it is not, deleting
Second packet.
Feedback mechanism is additionally added in data transmission procedure, after receiving terminal receives transmission data, can feed back one instead
Feedforward information (for example having been received by) to transmitting terminal, transmitting terminal then carry out judging whether that all receiving terminals to be sent all have been received by
Transmission data, if all having been received by, transmitting terminal terminates to broadcast, and represents this DTD;If also there is connecing of not receiving
Receiving end, then send and can update receiving terminal ID lists, that is, the ID for not receiving the receiving terminal of feedback information is connect as new
The ID of the receiving terminal in the list of receiving end ID, is broadcasted again, until all of receiving terminal all receives transmission data, although all of
Receiving terminal all can receive the first new packet again, but the data in receiving terminal ID lists have renewal, receive
The receiving terminal of transmission data when therefore sending for second, would not have been received by the receiving terminal of data in receiving terminal ID lists
Then will not receiving data (because receiving terminal ID lists in do not exist) again, and then prevent repeatedly reception.
Fig. 3 is referred to, a kind of transmitting terminal of data transfer based on LAN that the present invention is also provided, the transmitting terminal include
Creating unit 4, the first packaged unit 5 and radio unit 6;
The creating unit 4 is used for creating receiving terminal ID lists;Receiving terminal ID lists are used for all receptions that are stored with
The ID of the receiving terminal of transmission data;
First packaged unit 5 is used for for receiving terminal ID lists and transmission data being packaged into the first packet;
The radio unit 6 is used for the first data packet broadcast to LAN.
The transmitting terminal of the data transfer based on LAN of the present invention (is used as only by being intended to the ID of the receiving terminal for receiving
One mark) receiving terminal ID lists are created into, and in broadcasting to LAN after being packaged into the first packet with transmission data, all of
Receiving terminal can receive the first packet, but only No. ID receiving terminal in receiving terminal ID lists could obtain transmission number
According to therefore transmitting terminal saves a large amount of durations without the need for setting up session with receiving terminal in advance, although by receiving terminal ID lists and transmission number
The data volume of transmission can be increased according to being packaged with broadcasting, but the ID of receiving terminal is generally network address host number (generally 1 word
Section), much smaller than the data volume of transmission data, need not set up session carries out one-to-many transmission, and receiving terminal ID is added to transmission data
In, receiving terminal is transmitted directly to, is greatlyd save the time required to setting up session.
Further, the transmitting terminal also includes the first ciphering unit and the second ciphering unit;
First ciphering unit is used for for transmission data carrying out the transmission data after being encrypted for the first time;
Second ciphering unit is used for carrying out adding for the second time by the transmission data after receiving terminal ID lists and encryption
Close.
Further, the transmitting terminal also include receiving unit, judging unit, go off the air unit and the second packaged unit;
The receiving unit is used for receiving feedback information;
The judging unit is used for judging whether receive all in the receiving terminal ID lists connecing in preset time range
The feedback information of receiving end;
If the unit of going off the air is used for receiving all receptions in the receiving terminal ID lists in preset time range
The feedback information at end, then terminate to broadcast;
If second packaged unit is all in the receiving terminal ID lists for being not received by preset time range
The feedback information of receiving terminal, then will not receive the ID of the receiving terminal of feedback information as the reception in new receiving terminal ID lists
The ID at end, broadcasts to LAN after the new receiving terminal ID lists and transmission data are packaged into the second packet.
Fig. 1-3 are refer to, embodiments of the invention one are:
A kind of data transmission method based on LAN that the present invention is provided, including:
Step 1, establishment receiving terminal ID lists, receiving terminal ID lists and transmission data are packaged into after the first packet
Broadcast to LAN;ID of the receiving terminal ID lists for all receiving terminals for receiving transmission datas that are stored with;
Step 2, reception first packet, parse first packet and obtain the receiving terminal ID lists;
Step 3, the ID of the receiving terminal for receiving first packet is judged whether in the receiving terminal ID lists, if
It is to parse first packet to obtain transmission data.
Wherein, broadcast after receiving terminal ID lists and transmission data being packaged into the first packet to LAN, specifically
For:
Transmission data is carried out the transmission data after being encrypted for the first time;
The first packet is packaged into after transmission data after receiving terminal ID lists and encryption is carried out second encryption
After broadcast to LAN;
Parse first packet and obtain the receiving terminal ID lists, judge the receiving terminal for receiving first packet
ID whether in the receiving terminal ID lists, if so, parse first packet and obtain transmission data, specially:
Decrypt first packet for the first time and obtain receiving terminal ID lists and the transmission data after encryption;
Judge that the ID of the receiving terminal for receiving first packet, whether in the receiving terminal ID lists, is if so, parsed
First packet encrypted after transmission data, decrypt for the second time the transmission data after the encryption obtain transmit number
According to.
As all of receiving terminal can pass through to monitor and receive the first packet, but in order to improve the peace of transmission data
Transmission data is carried out carrying out second encryption with receiving terminal ID lists again after first time encryption by Quan Xing, even across once solving
Close, receiving terminal ID lists and the transmission data after encryption can only be also got, data biography can be lifted by secondary encryption therefore
The security of defeated and receiving terminal.
Decryption mentioned here is corresponding with above-mentioned encryption, encrypts corresponding decryption for the first time and solves for second
Close, corresponding decryption is encrypted for the second time for decryption for the first time.Even across once decrypting, receiving terminal ID lists can only be also got
And the transmission data after encryption, the security of data transfer and receiving terminal therefore can be lifted by secondary encryption and decryption.
Wherein, also include step 4 after the step 3, the step 4 includes:
Step 41, receive transmission data after, return feedback information;
Step 42, judge feedback that all receiving terminals in the receiving terminal ID lists whether are received in preset time range
Information, if so, then terminates to broadcast;
If it is not, will then not receive the ID of the receiving terminal of feedback information as the receiving terminal in new receiving terminal ID lists
ID, broadcasts to LAN after the new receiving terminal ID lists and transmission data are packaged into the second packet;
Step 43, reception second packet, parse second packet and obtain the new receiving terminal ID lists;
Step 44, judge the ID of the receiving terminal for receiving second packet whether in the new receiving terminal ID lists
Interior, if so, parse second packet and obtain transmission data, return to step 42;If it is not, deleting second packet.
Feedback mechanism is additionally added in data transmission procedure, after receiving terminal receives transmission data, can feed back one instead
Feedforward information (for example having been received by) to transmitting terminal, transmitting terminal then carry out judging whether that all receiving terminals to be sent all have been received by
Transmission data, if all having been received by, transmitting terminal terminates to broadcast, and represents this DTD;If also there is connecing of not receiving
Receiving end, then send and can update receiving terminal ID lists, that is, the ID for not receiving the receiving terminal of feedback information is connect as new
The ID of the receiving terminal in the list of receiving end ID, is broadcasted again, until all of receiving terminal all receives transmission data, although all of
Receiving terminal all can receive the first new packet again, but the data in receiving terminal ID lists have renewal, receive
The receiving terminal of transmission data when therefore sending for second, would not have been received by connecing for transmission data in receiving terminal ID lists
Receiving end then will not receiving data (because receiving terminal ID lists in do not exist) again, and then prevent repeatedly reception.
Prior art is that transmitting terminal is needed to generate before sending data message based on setting up session and carry out the transmission technology of one-to-many
Session id is used for identifying this transmission (as long as the information of energy unique mark transmitting procedure can serve as session id), then sends
End needs individually to send session id (be not that is this receiving terminal be without session id information) to this all receiving terminal,
All feed back etc. all receiving terminals and had transmitting terminal after session id and just start transmission information, before set up conversation procedure with connecing
Receiving end quantity increase and increase, when transmitting terminal transmission data volume less when, set up session the spent time increase significantly whole
Individual transmission time.
And the present invention is then one-to-many transmission to be carried out based on need not set up session, receiving terminal ID is gathered and is added to transmission information
In, receiving terminal is transmitted directly to, is greatlyd save the time required to setting up session.Due to not setting up session, need to be by all receiving terminals
ID is transmitted together as data, increases transmitted data amount, and network host number may be selected as receiving terminal ID, network host
Number be usually 1 byte, for transmission data volume be very little.
In sum, the present invention provide based on the data transmission method of LAN, system and transmitting terminal, be intended to receive
The ID of receiving terminal creates into receiving terminal ID lists, and in broadcasting to LAN after being packaged into the first packet with transmission data, institute
Some receiving terminals can receive the first packet, but only No. ID receiving terminal in receiving terminal ID lists could obtain transmission
Data, therefore transmitting terminal without the need for setting up session, a large amount of durations of saving, although by receiving terminal ID lists and transmission in advance with receiving terminal
Data are packaged with broadcasting the data volume that can increase transmission, but the ID of receiving terminal is generally network address host number, is much smaller than
The data volume of transmission data, therefore the present invention provide based on the data transmission method of LAN, system and transmitting terminal, need not build
Vertical session carries out one-to-many transmission, and receiving terminal ID is added in transmission data, receiving terminal is transmitted directly to, and greatlys save foundation
The time required to session.
Embodiments of the invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, every using this
The equivalents made by bright specification and accompanying drawing content, or the technical field of correlation is directly or indirectly used in, include in the same manner
In the scope of patent protection of the present invention.
Claims (9)
1. a kind of data transmission method based on LAN, it is characterised in that include:
Step 1, establishment receiving terminal ID lists, receiving terminal ID lists and transmission data are packaged into after the first packet and are broadcasted
To LAN;ID of the receiving terminal ID lists for all receiving terminals for receiving transmission datas that are stored with;
Step 2, reception first packet, parse first packet and obtain the receiving terminal ID lists;
Step 3, judge that the ID of the receiving terminal for receiving first packet, whether in the receiving terminal ID lists, is if so, solved
Analyse first packet and obtain transmission data.
2. the data transmission method based on LAN according to claim 1, it is characterised in that the receiving terminal ID is arranged
Table and transmission data are broadcasted after being packaged into the first packet to LAN, specially:
Transmission data is carried out the transmission data after being encrypted for the first time;
It is packaged into after the first packet after transmission data after receiving terminal ID lists and encryption is carried out second encryption wide
Cast to LAN;
Parse first packet and obtain the receiving terminal ID lists, judge the ID of the receiving terminal of reception first packet
Whether in the receiving terminal ID lists, if so, parse first packet and obtain transmission data, specially:
Decrypt first packet for the first time and obtain receiving terminal ID lists and the transmission data after encryption;
The ID of the receiving terminal for receiving first packet is judged whether in the receiving terminal ID lists, if so, parse described
First packet encrypted after transmission data, decrypt the transmission data after the encryption for the second time and obtain transmission data.
3. the data transmission method based on LAN according to claim 1, it is characterised in that after the step 3 also
Including step 4, the step 4 includes:
Step 41, receive transmission data after, return feedback information;
Step 42, judge feedback letter that all receiving terminals in the receiving terminal ID lists whether are received in preset time range
Breath, if so, then terminates to broadcast;
If it is not, the ID of the ID of the receiving terminal of feedback information as the receiving terminal in new receiving terminal ID lists will not be received then,
Broadcast to LAN after the new receiving terminal ID lists and transmission data are packaged into the second packet;
Step 43, reception second packet, parse second packet and obtain the new receiving terminal ID lists;
Step 44, the ID of the receiving terminal for receiving second packet is judged whether in the new receiving terminal ID lists, if
It is to parse second packet to obtain transmission data, return to step 42;If it is not, deleting second packet.
4. a kind of data transmission system based on LAN, it is characterised in that include:Sending module, receiver module and first are sentenced
Disconnected module;
Receiving terminal ID lists and transmission data, for creating receiving terminal ID lists, are packaged into first by the sending module
Broadcast to LAN after packet;ID of the receiving terminal ID lists for all receiving terminals for receiving transmission datas that are stored with;
The receiver module, for receiving first packet, parses first packet and obtains the receiving terminal ID row
Table;
Whether first judge module, for judging the ID of the receiving terminal for receiving first packet in the receiving terminal ID
In list, if so, parse first packet and obtain transmission data.
5. the data transmission system based on LAN according to claim 4, it is characterised in that the sending module includes
First ciphering unit and the second ciphering unit;
First ciphering unit, for carrying out the transmission data after being encrypted for the first time by transmission data;
Second ciphering unit, for carrying out the transmission data after receiving terminal ID lists and encryption after second encryption
Broadcast to LAN after being packaged into the first packet;
The receiver module, is additionally operable to decrypt for the first time after first packet obtains receiving terminal ID lists and encryption
Transmission data;
Whether first judge module, be additionally operable to judge the ID of the receiving terminal for receiving first packet in the receiving terminal
In ID lists, the transmission data after first packet is encrypted if so, is parsed, the biography after the encryption is decrypted for the second time
Transmission of data obtains transmission data.
6. the data transmission system based on LAN according to claim 4, it is characterised in that also include the second judgement mould
Block;Second judge module includes the first receiving unit, the first judging unit, the second receiving unit and the second judging unit;
First receiving unit, for receiving after transmission data, returns feedback information;
First judging unit, for judging whether receive all in the receiving terminal ID lists connecing in preset time range
The feedback information of receiving end, if so, then terminates to broadcast;If it is not, will then not receive the ID of the receiving terminal of feedback information as new
The ID of the receiving terminal in receiving terminal ID lists, the new receiving terminal ID lists and transmission data are packaged into after the second packet
Broadcast to LAN;
Second receiving unit, for receiving second packet, parses second packet and obtains described new connecing
The list of receiving end ID;
Whether second judging unit, for judging the ID of the receiving terminal for receiving second packet in the new reception
In the ID lists of end, if so, parse second packet and obtain transmission data, return the first judging unit;If it is not, deleting described
Second packet.
7. a kind of transmitting terminal of the data transfer based on LAN, it is characterised in that the transmitting terminal include creating unit, first
Packaged unit and radio unit;
The creating unit is used for creating receiving terminal ID lists;Receiving terminal ID lists are used for all reception transmission numbers that are stored with
According to receiving terminal ID;
First packaged unit is used for for receiving terminal ID lists and transmission data being packaged into the first packet;
The radio unit is used for the first data packet broadcast to LAN.
8. the transmitting terminal of the data transfer based on LAN according to claim 7, it is characterised in that the transmitting terminal is also
Including the first ciphering unit and the second ciphering unit;
First ciphering unit is used for for transmission data carrying out the transmission data after being encrypted for the first time;
Second ciphering unit is used for for the transmission data after receiving terminal ID lists and encryption carrying out second encryption.
9. the transmitting terminal of the data transfer based on LAN according to claim 7, it is characterised in that the transmitting terminal is also
Including receiving unit, judging unit, go off the air unit and the second packaged unit;
The receiving unit is used for receiving feedback information;
The judging unit is used for judging whether receive all receiving terminals in the receiving terminal ID lists in preset time range
Feedback information;
If the unit of going off the air is used for receiving all receiving terminals in the receiving terminal ID lists in preset time range
Feedback information, then terminate to broadcast;
If second packaged unit is used for being not received by all receptions in the receiving terminal ID lists in preset time range
The feedback information at end, then will not receive the ID of the receiving terminal of feedback information as the receiving terminal in new receiving terminal ID lists
ID, broadcasts to LAN after the new receiving terminal ID lists and transmission data are packaged into the second packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610839907.6A CN106506379A (en) | 2016-09-22 | 2016-09-22 | A kind of based on the data transmission method of LAN, system and transmitting terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610839907.6A CN106506379A (en) | 2016-09-22 | 2016-09-22 | A kind of based on the data transmission method of LAN, system and transmitting terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106506379A true CN106506379A (en) | 2017-03-15 |
Family
ID=58290919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610839907.6A Pending CN106506379A (en) | 2016-09-22 | 2016-09-22 | A kind of based on the data transmission method of LAN, system and transmitting terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106506379A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756496A (en) * | 2018-12-29 | 2019-05-14 | 播金信息科技(上海)有限公司 | Data network transmission method for security protection and computer readable storage medium based on DNA characteristics and block chain |
CN112887214A (en) * | 2021-01-08 | 2021-06-01 | 北京灵汐科技有限公司 | Broadcasting method, first node, network on chip, transmission method, device and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968117A (en) * | 2005-11-19 | 2007-05-23 | 腾讯科技(深圳)有限公司 | Method for adding LAN subscriber into group communication in instant communication |
CN101035318A (en) * | 2007-03-27 | 2007-09-12 | 中兴通讯股份有限公司 | Method for mark setting of the remote device and allocation of the communication address |
CN101420287A (en) * | 2007-10-22 | 2009-04-29 | 中兴通讯股份有限公司 | Method for enhancing timer efficiency |
CN101645766A (en) * | 2009-09-09 | 2010-02-10 | 成都市华为赛门铁克科技有限公司 | Method, device and system for realizing data packet retransmission |
CN101707741A (en) * | 2009-12-07 | 2010-05-12 | 深圳华为通信技术有限公司 | Method and device for group short message sending |
JP5364427B2 (en) * | 2009-04-16 | 2013-12-11 | 日本電信電話株式会社 | Network connection device and control method thereof |
CN105245528A (en) * | 2015-10-20 | 2016-01-13 | 北京小鸟听听科技有限公司 | User datagram protocol (UDP)-based control command transmission method, sending end and receiving end |
CN105897814A (en) * | 2015-07-08 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Push message detection method and device |
CN105939230A (en) * | 2016-04-27 | 2016-09-14 | 杭州迪普科技有限公司 | Multipoint remote monitoring method and device |
-
2016
- 2016-09-22 CN CN201610839907.6A patent/CN106506379A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968117A (en) * | 2005-11-19 | 2007-05-23 | 腾讯科技(深圳)有限公司 | Method for adding LAN subscriber into group communication in instant communication |
CN101035318A (en) * | 2007-03-27 | 2007-09-12 | 中兴通讯股份有限公司 | Method for mark setting of the remote device and allocation of the communication address |
CN101420287A (en) * | 2007-10-22 | 2009-04-29 | 中兴通讯股份有限公司 | Method for enhancing timer efficiency |
JP5364427B2 (en) * | 2009-04-16 | 2013-12-11 | 日本電信電話株式会社 | Network connection device and control method thereof |
CN101645766A (en) * | 2009-09-09 | 2010-02-10 | 成都市华为赛门铁克科技有限公司 | Method, device and system for realizing data packet retransmission |
CN101707741A (en) * | 2009-12-07 | 2010-05-12 | 深圳华为通信技术有限公司 | Method and device for group short message sending |
CN105897814A (en) * | 2015-07-08 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Push message detection method and device |
CN105245528A (en) * | 2015-10-20 | 2016-01-13 | 北京小鸟听听科技有限公司 | User datagram protocol (UDP)-based control command transmission method, sending end and receiving end |
CN105939230A (en) * | 2016-04-27 | 2016-09-14 | 杭州迪普科技有限公司 | Multipoint remote monitoring method and device |
Non-Patent Citations (1)
Title |
---|
郑凯: ""移动 Ad hoc 网络QoS 策略和路由方案的研究"", 《中国优秀博士学位论文全文数据库 信息科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756496A (en) * | 2018-12-29 | 2019-05-14 | 播金信息科技(上海)有限公司 | Data network transmission method for security protection and computer readable storage medium based on DNA characteristics and block chain |
CN109756496B (en) * | 2018-12-29 | 2022-02-01 | 播金信息科技(上海)有限公司 | Data network transmission security protection method based on DNA characteristics and block chains and computer readable storage medium |
CN112887214A (en) * | 2021-01-08 | 2021-06-01 | 北京灵汐科技有限公司 | Broadcasting method, first node, network on chip, transmission method, device and medium |
CN112887214B (en) * | 2021-01-08 | 2022-10-25 | 北京灵汐科技有限公司 | Broadcasting method, first node, network on chip, transmission method, device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102130768B (en) | Terminal equipment having capability of encrypting and decrypting link layer and data processing method thereof | |
EP3213486B1 (en) | Device to device communication between user equipments | |
CN104994112A (en) | Method for encrypting communication data chain between unmanned aerial vehicle and ground station | |
CN102035845B (en) | Switching equipment for supporting link layer secrecy transmission and data processing method thereof | |
CN103906000B (en) | The communication means and system of a kind of mobile terminal and POS terminal | |
MY159588A (en) | Method and apparatus for transfer of a message on a common control channel for random access in a wireless communication network | |
SG163608A1 (en) | Wireless communication system and method of implementing an evolved system attachment procedure | |
CN107787025A (en) | Method, control terminal and the system of equipment access network | |
CN106412886A (en) | Method, device and system for secure access of intelligent device to wireless network | |
WO2011028565A4 (en) | Galois/counter mode encryption in a wireless network | |
EP1195965A3 (en) | System and method for secure over-the-air administration of a wireless mobile station | |
GB0502888D0 (en) | Key delivery method and apparatus in a communications system | |
CN207766561U (en) | A kind of system of control terminal and equipment access network | |
CN105933895A (en) | Transmission method of WIFI network configuration data, intelligent device, and intelligent terminal | |
CN109714291A (en) | A kind of data transmission method and device | |
US20240107313A1 (en) | Control frame processing method, control frame generating method, station, access point, and storage medium | |
TW200503497A (en) | Wireless network and methods for communicating in a wireless network | |
CA2537083A1 (en) | Early detection system and method for encrypted signals within packet networks | |
CN108683641A (en) | A kind of data communications method, device, unmanned plane and computer storage media | |
CN110943835A (en) | Distribution network encryption method and system for sending wireless local area network information | |
CN102026186B (en) | Service network detection system and method | |
CN106506379A (en) | A kind of based on the data transmission method of LAN, system and transmitting terminal | |
CN101052029B (en) | For transmitting the method for the message comprising extensible markup language information | |
CN108449758A (en) | A kind of binding method and system of Intelligent hardware | |
CN106851859A (en) | A kind of inter-network data communications method based on wireless self-networking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170315 |