CN105376063B - A kind of data transmission method, device and communication system - Google Patents

A kind of data transmission method, device and communication system Download PDF

Info

Publication number
CN105376063B
CN105376063B CN201510744786.2A CN201510744786A CN105376063B CN 105376063 B CN105376063 B CN 105376063B CN 201510744786 A CN201510744786 A CN 201510744786A CN 105376063 B CN105376063 B CN 105376063B
Authority
CN
China
Prior art keywords
data
equipment
packet
operational order
content
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
CN201510744786.2A
Other languages
Chinese (zh)
Other versions
CN105376063A (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.)
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shirui Electronics Co Ltd
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 Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shirui Electronics Co Ltd
Priority to CN201510744786.2A priority Critical patent/CN105376063B/en
Publication of CN105376063A publication Critical patent/CN105376063A/en
Priority to PCT/CN2016/093653 priority patent/WO2017076091A1/en
Application granted granted Critical
Publication of CN105376063B publication Critical patent/CN105376063B/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
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/52Queue scheduling by attributing bandwidth to queues
    • H04L47/527Quantum based scheduling, e.g. credit or deficit based scheduling or token bank
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of data transmission methods, include the following steps:Receive the first data of the second equipment transmission;Wherein, the first data include the first token packet, the first data packet and the first handshake packet;First data packet includes data content to be shown;The data content in the first data is shown on the first device;The first operational order that the first user handles data content is received by the touching box of the first equipment;The second data are returned to the second equipment, so that after the second equipment receives the second data, processing can be synchronized to data content shown in the second equipment according to the first operational order.The embodiment of the present invention additionally provides a kind of data transmission device and communication system.The embodiment of the present invention can improve the data transmission efficiency between two equipment.

Description

A kind of data transmission method, device and communication system
Technical field
The present invention relates to a kind of multimedia communication technology field more particularly to data transmission method, device and communication systems.
Background technology
In multimedia equipment, it usually needs realize the company between host and slave by the input/output interface of video card It connects and communicates.For video card interface type, main includes mainly including VGA (Video Graphics Array, video image battle array Row), DVI (Digital Visual Interface, digital visual interface), HDMI (High Definition Multimedia Interface, high-definition multimedia interface), these four are more normal by DP (DisplayPort, display interface) The interface seen.However, not all equipment is equipped with VGA or DVI or HDMI or DP interfaces, and there are these interfaces Also not being between equipment can be compatible, such as Apple Computers, and VGA outputs also need to an adapter by miniVGA Interface conversion is at conventional USB interface, therefore, more inconvenient in practical applications.
Since USB interface has versatility, any host can be connected by USB line and slave carries out data interaction.When When by USB interface transmission data, need to be sequentially transmitted token packet, data packet and handshake packet;Wherein, token packet includes for referring to Show that receiving terminal receives the address of the information and receiving terminal of data, data packet includes data content to be transmitted, and handshake packet is for referring to Show the reception result of receiving terminal feedback data.For example, when host needs transmitting video data to slave, need to be sequentially transmitted first Token packet, the first data packet and the first handshake packet;After slave receives three packets, need to be sequentially transmitted the second token packet and second Data packet, to return to the reception result (being included in the second data packet) to video data to host;In addition, when slave is to regarding Frequency needs operational order returning to host according to being handled, when so that host also synchronizing processing to video data, then In addition slave needs transmit third token packet, third data packet and third handshake packet again, to be returned to host to video data Operational order (be included in third data packet in), after host receives these packets that slave returns, be equally also required to pass to slave The 4th token packet and the 4th data packet are sent, is fed back to slave to the reception result of operational order with this.
Inventor in implementing the present invention, it may, find the existing method by USB interface transmission data exist with Lower disadvantage:Transmission token packet, data packet and handshake packet are required for for data exchange process each time, between host and slave, To realize the transmission to data content, recipient also needs to transmit token packet and data packet again later, with feedback log in The reception result of appearance.When needing to carry out multiple data interaction between host and slave, " the reception to data content is transmitted several times As a result " these do not have the packet of actual data content that can cause the waste to transfer resource, to also reduce to data content Efficiency of transmission.
Invention content
In view of the above-mentioned problems of the prior art, the purpose of the present invention is to provide a kind of data transmission method, devices And communication system, the data transmission efficiency between two equipment can be improved.
The embodiment of the present invention provides a kind of data transmission method, includes the following steps:
Receive the first data of the second equipment transmission;Wherein, first data include the first token packet, the first data packet With the first handshake packet;First token packet includes the first letter for being used to indicate the first equipment and receiving data content to be shown It ceases, be used to indicate the address that first equipment returns the second information and first equipment of the first operational order, described the One data packet includes the data content, and first handshake packet is used to indicate the first equipment feedback to the data content Reception result;
The data content in first data is shown on said first device;
The first operation that the first user handles the data content is received by the touching box of first equipment Instruction;
The second data are returned to second equipment, so that after second equipment receives second data, energy Enough according to first operational order, processing is synchronized to the data content shown in second equipment;Wherein, Second data include the second token packet and the second data packet;Second token packet includes the reception to the data content As a result it, is used to indicate the address that second equipment receives the third information and second equipment of first operational order, Second data packet includes first operational order.
As the improvement of said program, second data further include the second handshake packet, and second handshake packet is for referring to Show reception result of the second equipment feedback to first operational order;
Then after returning to the second data to second equipment, further include:
Receive the third data that second equipment is sent;Wherein, the third data include third token packet, and described the Three token packets include address of second equipment to the reception result and first equipment of first operational order.
As the improvement of said program, second data also include the second handshake packet, and second handshake packet is for referring to Show reception result of the second equipment feedback to first operational order;And second token packet also includes to be used to indicate Second equipment returns the 4th information of the second operational order;
Then after returning to the second data to second equipment, further include:
Receive the third data that second equipment is sent;Wherein, the third data include third token packet and third Data packet;The third token packet include second equipment to the reception result of first operational order, be used to indicate institute State the address that the first equipment receives the 5th information and first equipment of second operational order;The third data packet packet Containing second operational order, second operational order is to receive second user to institute by the touching box of second equipment State the instruction that data content is handled;
According to the second operational order in the third data, to the data content shown in first equipment Synchronize processing.
As the improvement of said program, first data packet further includes the school of the true and false for verifying the data content Test code;
Then the data content in first data is shown on said first device, is specifically included:
The data content is parsed from the first data packet of first data;
The data content is verified according to the check code in first data packet;
After verification passes through, the reception result to the data content is determined to receive successfully, and in first equipment On the data content is shown.
As the improvement of said program, the data content include in audio data, video data, picture and word extremely One item missing;
The operational order includes being revised to the data content, opening appointing in next stage menu, play operation One.
The embodiment of the present invention also provides a kind of data transmission device, including:
First receiving unit, the first data for receiving the transmission of the second equipment;Wherein, first data include first Token packet, the first data packet and the first handshake packet;First token packet include be used to indicate the first equipment receive it is to be shown The first information of data content, the second information and described first for being used to indicate the first operational order of the first equipment passback are set Standby address, first data packet include the data content, and it is anti-that first handshake packet is used to indicate first equipment Present the reception result to the data content;
Display unit, for being shown to the data content in first data;
Command unit, the data content is handled for touching box the first user of reception by the machine first Operational order;
Transmission unit, for returning to the second data to second equipment, so that second equipment receives described the After two data, the data content shown in second equipment can be carried out according to first operational order Synchronization process;Wherein, second data include the second token packet and the second data packet;Second token packet includes to described The reception result of data content is used to indicate the third information and described that second equipment receives first operational order The address of two equipment, second data packet include first operational order.
As the improvement of said program, second data further include the second handshake packet, and second handshake packet is for referring to Show reception result of the second equipment feedback to first operational order;
The data transmission device further includes:
Second receiving unit, the third data sent for receiving second equipment;Wherein, the third data include Third token packet, the third token packet include second equipment to the reception result of first operational order and described the The address of one equipment.
As the improvement of said program, second data also include the second handshake packet, and second handshake packet is for referring to Show reception result of the second equipment feedback to first operational order;And second token packet also includes to be used to indicate Second equipment returns the 4th information of the second operational order;
The data transmission device further includes:
Second receiving unit, the third data sent for receiving second equipment;Wherein, the third data include Third token packet and third data packet;The third token packet includes reception of second equipment to first operational order As a result it, is used to indicate the address that first equipment receives the 5th information and first equipment of second operational order, The third data packet includes second operational order;Second operational order is the touching box by second equipment Receive the instruction that second user handles the data content;
Processing unit is used for according to the second operational order in the third data, to the data shown by the machine Content synchronizes processing.
As the improvement of said program, first data packet further includes the school of the true and false for verifying the data content Test code;
The display unit specifically includes:
Parsing subunit, for parsing the data content from the first data packet of first data;
Subelement is verified, for being verified to the data content according to the check code in first data packet;
Subelement is executed, for after verification passes through, determining the reception result to the data content to receive successfully, and The data content is shown.
The present invention also provides a kind of communication systems, including the first equipment and the second equipment;First equipment includes as above The data transmission device stated.
The embodiment of the present invention also provides another data transmission method, includes the following steps:
Second equipment sends the first data to the first equipment;Wherein, first data include the first token packet, the first number According to packet and the first handshake packet;First token packet includes to be used to indicate first equipment to receive data content to be shown The first information is used to indicate the address that first equipment returns the second information and first equipment of the first operational order, First data packet includes the data content, and first handshake packet is used to indicate the first equipment feedback to the number According to the reception result of content;
After first equipment receives first data, the data content is shown;
First equipment receive that the first user handles the data content by the touching box of the machine first Operational order;
First equipment returns to the second data to second equipment;Wherein, second data include the second token Packet and the second data packet;Second token packet includes to the reception result of the data content, is used to indicate described second and sets The address of the standby third information and second equipment for receiving first operational order, second data packet include described the One operational order;
After second equipment receives second data, according to first operational order, set to described second The standby shown data content synchronizes processing.
As the improvement of said program, second data also include the second handshake packet, and second handshake packet is for referring to Show reception result of the second equipment feedback to first operational order;
Then after synchronizing processing to the data content shown in second equipment, further include:
Second equipment returns to third data to first equipment;Wherein, the third data include third token Packet, the third token packet include second equipment to the reception result of first operational order and first equipment Location.
As the improvement of said program, second data also include the second handshake packet, and second handshake packet is for referring to Show reception result of the second equipment feedback to first operational order;And second token packet also includes to be used to indicate Second equipment returns the 4th information of the second operational order;
Then after synchronizing processing to the data content shown in second equipment, further include:
Second equipment receive that second user handles the data content by the touching box of the machine second Operational order;
Second equipment returns to third data to first equipment;Wherein, the third data include third token Packet and third data packet;The third token packet includes reception result, use of second equipment to first operational order The address of the 5th information and first equipment of second operational order, the third are received in instruction first equipment Data packet includes second operational order;
After first equipment receives the third data, according to second operational order, set to described first The standby shown data content synchronizes processing.
As the improvement of said program, first data packet further includes the school of the true and false for verifying the data content Test code;
After then first equipment receives first data, the data content is shown, is specifically included:
After first equipment receives first data, parsed from the first data packet of first data The data content;
First equipment verifies the data content according to the check code in first data packet;
First equipment determines the reception result to the data content to receive successfully, and right after verification passes through The data content is shown.
Data transmission method, device and communication system provided in an embodiment of the present invention, have the advantages that:When second When equipment sends the first data to the first equipment, is added in the token packet of first data and be used to indicate the passback of the first equipment The information of operational order;Wherein, include data content in the data packet of first data.When the first equipment receives first After data, data content is handled, and the second data are returned to the second equipment;Wherein, the token of second data Include the reception result to data content in packet, and includes the first equipment in the data packet of second data to the number According to the operational order of content.After the second equipment receives the second data, processing synchronized to data content, and to first Equipment returns to third data;Wherein, in the token packet of the third data include reception result to operational order, and described Include operational order of second equipment to the data content in the data packet of third data.That is, when the second equipment And first when carrying out a data interaction between equipment, after recipient receives data content, it is " right individually to return These do not have the packet of actual data content to the reception result of data content ", but when recipient returns other data contents, together When subsidiary last " to the reception result of data content " information, return together, so that these do not have real data The packet of content will not individually occupy transfer resource, improve the transmission to data content between the second equipment and the first equipment Efficiency.The case where especially between the first equipment and the second equipment needing that data are transmitted several times, using the embodiment of the present invention, Efficiency of transmission can be greatly improved.
Description of the drawings
In order to illustrate more clearly of technical scheme of the present invention, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is the flow diagram of one embodiment of data transmission method provided by the invention.
Fig. 2 is the structural schematic diagram of one embodiment of data transmission device provided by the invention.
Fig. 3 is the structural schematic diagram of one embodiment of the display unit of data transmission device provided by the invention.
Fig. 4 is the structural schematic diagram of one embodiment of data transmission system provided in an embodiment of the present invention.
Fig. 5 is the flow diagram of another embodiment of data transmission method provided by the invention.
Fig. 6 is the flow diagram of another embodiment of data transmission method provided by the invention.
Fig. 7 is the flow diagram of the still another embodiment of data transmission method provided by the invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, being the flow diagram of one embodiment of data transmission method provided by the invention.
The present invention provides a kind of data transmission method, including step S11 to S14, specific as follows:
S11 receives the first data that the second equipment is sent.
Wherein, first data include the first token packet, the first data packet and the first handshake packet;First token packet It receives the first information of data content to be shown including being used to indicate the first equipment, be used to indicate first equipment passback the The address of second information of one operational order and first equipment, first data packet includes the data content, described First handshake packet is used to indicate reception result of the first equipment feedback to the data content.
Preferably, the data content includes at least one in audio data, video data, picture and word.In addition, The data content can also be other kinds of data, such as table etc..
S12 on the first device shows the data content in first data.
When it is implemented, first data packet can also include the verification of the true and false for verifying the data content Code, then it is described that the data content in first data is shown on the first device, it specifically includes:
First, the data content is parsed from the first data packet of first data.
Then, the data content is verified according to the check code in first data packet.
Finally, after verification passes through, the reception result to the data content is determined to receive successfully, and to the data Content is shown.
After verification passes through, the data content transmission that will be read by the display master chip of first equipment To being decoded in Flash;Decoded data are read by the display master chip again, you can be transmitted to first equipment Display screen is shown.
It should be noted that if the verification of the data content does not pass through, response bag is returned to second equipment, The response bag is the information of reception failure comprising the reception result to the data content and is used to indicate second equipment Retransmit the information of the data content;Then, the data content retransmited to second equipment verifies.Such as Repeatedly verification does not pass through fruit, repeats the above steps, until be to pass through to the check results of the data content received, these Within protection scope of the present invention, details are not described herein for design scheme.
S13, the data content is handled by touching box the first user of reception of first equipment first Operational order.
Preferably, first operational order includes being revised to the data content, opening next stage menu, play Any one of operation.In addition, first operational order can also be other kinds of instruction, such as when the data content For teaching courseware when, first operational order can be the instruction that is annotated to teaching courseware.
S14, to second equipment return the second data so that second equipment receive second data it Afterwards, processing can be synchronized to the data content shown in second equipment according to first operational order.
Wherein, second data include the second token packet and the second data packet;Second token packet includes to described The reception result of data content is used to indicate the third information and described that second equipment receives first operational order The address of two equipment, second data packet include first operational order.
In an embodiment of the invention, second data also include the second handshake packet, second handshake packet It is used to indicate reception result of the second equipment feedback to first operational order;
Then after returning to the second data to second equipment, further include:
Receive the third data that second equipment is sent.
Wherein, the third data include third token packet, and the third token packet includes second equipment to described The address of the reception result of first operational order and first equipment.
In yet another embodiment of the present invention, second data include also the second handshake packet, and described second shakes hands Packet is used to indicate reception result of the second equipment feedback to first operational order;And second token packet also includes It is used to indicate the 4th information that second equipment returns the second operational order;
Then after returning to the second data to second equipment, further include:
Receive the third data that second equipment is sent.
Wherein, the third data include third token packet and third data packet;The third token packet includes described the Two equipment to the reception result of first operational order, be used to indicate first equipment and receive second operational order The address of 5th information and first equipment;The third data packet includes second operational order, second operation Instruction is to receive the instruction that second user handles the data content by the touching box of second equipment.
According to the second operational order in the third data, to the data content shown in first equipment Synchronize processing.
It should be noted that the data transmission method that above-described embodiment provides, can be executed by the first equipment, or by matching A device in the first equipment side is set to execute.
Further, the present invention also provides a kind of data transmission devices, can perform the data transmission that above-described embodiment provides All flows of method.
Referring to Fig. 2, being the structural schematic diagram of one embodiment of data transmission device provided by the invention.
The present invention provides a kind of data transmission device, including the first receiving unit 21, display unit 22, command unit 23, Transmission unit 24 and transmission unit 25, it is specific as follows:
First receiving unit 21, the first data for receiving the transmission of the second equipment.
Wherein, first data include the first token packet, the first data packet and the first handshake packet;First token packet It receives the first information of data content to be shown including being used to indicate the first equipment, be used to indicate first equipment passback the The address of second information of one operational order and first equipment, first data packet includes the data content, described First handshake packet is used to indicate reception result of the first equipment feedback to the data content.
Preferably, the data content includes at least one in audio data, video data, picture and word.In addition, The data content can also be other kinds of data, such as table etc..
Display unit 22, for being shown to the data content in first data.
In an embodiment of the invention, first data packet further includes the true and false for verifying the data content Check code;
It is the structure of one embodiment of the display unit of data transmission device provided by the invention also referring to Fig. 3 Schematic diagram.The display unit 22 includes parsing subunit 221, verification subelement 222 and executes subelement 223, specific as follows:
Parsing subunit 221, for parsing the data content from the first data packet of first data.
Subelement 222 is verified, for being verified to the data content according to the check code in first data packet.
Execute subelement 223, for after verification passes through, determine to the reception result of the data content be receive at Work(, and the data content is shown.
In an embodiment of the invention, specially:After verification passes through, the execution subelement 223 passes through display Master chip will decode in the data content transmission to Flash read;It is read and is decoded by the display master chip again Data afterwards are transmitted to display screen and are shown.
It should be noted that if the verification of the data content does not pass through, the data transmission device 20 is to described Second equipment returns to response bag, and the response bag includes the information and use that the reception result to the data content is reception failure The information of the data content is retransmitted in instruction second equipment;Then, the verification subelement 222 is to described second The data content that equipment retransmits is verified.If repeatedly verification does not pass through, repeat the above steps, until to receiving The data content check results be pass through, these design schemes within protection scope of the present invention, herein no longer It repeats.
Command unit 23, for receiving that the first user handles the data content by the touching box of the machine One operational order.
Preferably, first operational order includes being revised to the data content, opening next stage menu, play Any one of operation.In addition, first operational order can also be other kinds of instruction, such as when the data content For teaching courseware when, first operational order can be the instruction that is annotated to teaching courseware.
Transmission unit 24, for returning to the second data to second equipment so that second equipment receive it is described After second data, can according to first operational order, to the data content shown in second equipment into Row synchronization process.
Wherein, second data include the second token packet and the second data packet;Second token packet includes to described The reception result of data content is used to indicate the third information and described that second equipment receives first operational order The address of two equipment, second data packet include first operational order.
In an embodiment of invention, second data also include the second handshake packet, and second handshake packet is used In instruction the second equipment feedback to the reception result of first operational order;
Then the data transmission device 20 further includes:Second receiving unit 25, for receiving the second equipment transmission Third data.
Wherein, the third data include third token packet, and the third token packet includes second equipment to described The address of the reception result of first operational order and first equipment.
In yet another embodiment of the present invention, second data include also the second handshake packet, and described second shakes hands Packet is used to indicate reception result of the second equipment feedback to first operational order;And second token packet also includes It is used to indicate the 4th information that second equipment returns the second operational order;
Then the data transmission device 20 further includes the second receiving unit 25 and processing unit 26, specific as follows:
Second receiving unit 25, the third data sent for receiving second equipment.
Wherein, the third data include third token packet and third data packet;The third token packet includes described the Two equipment to the reception result of first operational order, be used to indicate first equipment and receive second operational order The address of 5th information and first equipment;The third data packet includes second operational order, second operation Instruction is to receive the instruction that second user handles the data content by the touching box of second equipment.
Processing unit 26 is used for according to the second operational order in the third data, to the number shown by the machine Processing is synchronized according to content.
In addition, the present invention also provides a kind of communication systems.
Referring to Fig. 4, being one embodiment structural schematic diagram of communication system provided in an embodiment of the present invention, the communication System includes the first equipment 100 and the second equipment 200.Wherein, first equipment 100 includes such as above-mentioned data transmission device 20。
Second equipment 200 can be the equipment with structure function identical as first equipment 100, for example, hand Machine, tablet computer, PC, projecting apparatus, these can be configured according to the actual needs, and the present invention does not do specific restriction.It is preferred that , connected by USB transmission line between the first equipment 100 and the second equipment 200, and the first equipment 100 and the second equipment 200 it Between the data transmitted be packaged into the data of USB format and then be transmitted.
Correspondingly, the present invention also provides the data transmission methods of another embodiment, can be applied to above-mentioned communication system In.Referring to Fig. 5, being the flow diagram of another embodiment of data transmission method provided by the invention, including step S51 It is specific as follows to S55:
S51, the second equipment send the first data to the first equipment;Wherein, first data include the first token packet, the One data packet and the first handshake packet;First token packet includes to be used to indicate first equipment to receive in data to be shown The first information of appearance is used to indicate the ground that first equipment returns the second information and first equipment of the first operational order Location, first data packet include the data content, and first handshake packet is used to indicate the first equipment feedback to institute State the reception result of data content.
Preferably, the data content includes at least one in audio data, video data, picture and word.In addition, The data content can also be other kinds of data, such as table etc..
Preferably, the second equipment and the first equipment are carried out data transmission by USB interface, and the data transmission of USB interface can It is realized by hardware, firmware and software synthesis;Wherein, the application program of software section is operated in equipment, with windows or its His operating system is the upper procedure of operating platform, it reads or be written to from the device the real time data of synchronous transfer.
The initial data of the data content is stored in the hard disk of second equipment, when second equipment needs to pass When the defeated data content is to first equipment, the CPU processor of second equipment calls in the data in hard disk The initial data of appearance;Then, the CPU processor showing the original data transmissions of the data content to second equipment It is decoded in card;Then, the application program reads decoded data from video card, be re-encoded as H.264 formatted data with Meet USB transport protocol, and by after coding the data content and time synchronizing signal be packaged into first data together Packet;Wherein, the time synchronizing signal is used to indicate receiving terminal and identifies start-stop of each data frame to induction signal, to ensure to transmit The integrality of signal, the clock for being additionally operable to control and receive end synchronize, and make its clock frequency identical with the holding of transmitting terminal, to protect The accuracy of card transmission signal;Finally, first data packet is transferred to the USB of second equipment and connect by the application program Mouthful.
S52 shows data content after first equipment receives first data.
When it is implemented, first data packet further includes the check code of the true and false for verifying the data content, then After first equipment receives first data, the data content is shown, is specifically included:
First, after first equipment receives first data, from the first data packet of first data Parse the data content.
Then, first equipment verifies the data content according to the check code in first data packet.
Finally, first equipment determines that the reception result of the data content be to receive successfully after verification passes through, And the data content is shown.
First equipment is after verification passes through, data that the display master chip of first equipment will be read It is decoded in content transmission to Flash, then, the display master chip reads decoded data, you can be transmitted to described the The display screen of one equipment is shown.
It should be noted that if the verification of the data content does not pass through, first equipment is set to described second Standby to return to response bag, the response bag is the information of reception failure comprising the reception result to the data content and is used to indicate Second equipment retransmits the information of the data content, and then, first equipment retransmits second equipment The data content verified, if repeatedly verification do not pass through, repeat the above steps, until first equipment interconnection receive To the data content check results be pass through, these design schemes within protection scope of the present invention, herein not It repeats again.
S53, first equipment receive what the first user handled the data content by the touching box of the machine First operational order.
Preferably, first operational order includes being revised to the data content, opening next stage menu, play Any one of operation.In addition, first operational order can also be other kinds of instruction, such as when the data content For teaching courseware when, first operational order can be the instruction that is annotated to teaching courseware.
S54, first equipment return to the second data to second equipment.
Wherein, second data include the second token packet and the second data packet;Second token packet includes to described The reception result of data content is used to indicate the third information and described that second equipment receives first operational order The address of two equipment, second data packet include first operational order.
S55, after second equipment receives second data, according to first operational order, to described The shown data content synchronizes processing in two equipment.
Also referring to Fig. 6, in yet another embodiment of the present invention, second data also include the second handshake packet, Second handshake packet is used to indicate reception result of the second equipment feedback to first operational order;
Further include step then after synchronizing processing to the data content shown in second equipment S66:
S66, second equipment return to third data to first equipment;Wherein, the third data include third Token packet, the third token packet set the reception result of first operational order and described first comprising second equipment Standby address.
Also referring to Fig. 7, in the still another embodiment of the present invention, second data are also shaken hands comprising second Packet, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;And it is described Second token packet also includes the 4th information for being used to indicate second equipment and returning the second operational order;
Further include step then after synchronizing processing to the data content shown in second equipment S76, S77 and S78:
S76, second equipment receive what second user handled the data content by the touching box of the machine Second operational order;
S77, second equipment return to third data to first equipment;Wherein, the third data include third Token packet and third data packet;The third token packet includes reception knot of second equipment to first operational order Fruit is used to indicate the address that first equipment receives the 5th information and first equipment of second operational order, institute It includes second operational order to state third data packet;
S78, after first equipment receives the third data, according to second operational order, to described The shown data content synchronizes processing in one equipment.
Data transmission method, device and communication system provided in an embodiment of the present invention, have the advantages that:When second When equipment sends the first data to the first equipment, is added in the token packet of first data and be used to indicate the passback of the first equipment The information of operational order;Wherein, include data content in the data packet of first data.When the first equipment receives first After data, data content is handled, and the second data are returned to the second equipment;Wherein, the token of second data Include the reception result to data content in packet, and includes the first equipment in the data packet of second data to the number According to the operational order of content.After the second equipment receives the second data, processing synchronized to data content, and to first Equipment returns to third data;Wherein, in the token packet of the third data include reception result to operational order, and described Include operational order of second equipment to the data content in the data packet of third data.That is, when the second equipment And first when carrying out a data interaction between equipment, after recipient receives data content, it is " right individually to return These packets without actual data content of the reception result of data content ", but when recipient returns other data contents, together When subsidiary last " to the reception result of data content " information, return together, so that these are free of real data The packet of content will not individually occupy transfer resource, improve the transmission to data content between the second equipment and the first equipment Efficiency.The case where especially between the second equipment and the first equipment needing that data are transmitted several times, using the embodiment of the present invention, Efficiency of transmission can be greatly improved.
Below for applying the present invention in electronic meeting system and multimedia education system, to two of the present invention Application scenarios are illustrated.
For example, in electronic meeting system, user passes through the mobile terminals such as mobile phone, PC, tablet computer (i.e. the second equipment) A video data is sent to display end (i.e. the first equipment) to be shown, needs to transmit the first token packet, the first data successively Packet and the first handshake packet, wherein the first token packet includes to be used to indicate display end to receive the first information of video data, be used for The address of the second information and display end of the back delivery operations instruction of indication display end, first data packet include video counts According to first handshake packet is used to indicate reception result of the display end feedback to video data;Display end is from the first data Video data is shown after parsing video data in packet, and user is received by local touching box, video is broadcast Put or open the operational order of next stage menu;Then, display end is returned to mobile terminal comprising the reception to video data As a result with the second data of operational order, wherein the second token packet of the second data includes to the reception result of video data, uses The address of the third information and mobile terminal of operational order is received in instruction mobile terminal, the second data packet includes operational order; After mobile terminal receives the second data, according to operational order, processing is synchronized to the video shown by local.Using this hair Bright embodiment can greatly improve the data transmission efficiency between mobile terminal and display end
In another example apply in multimedia education system, teacher side (i.e. the second equipment) is to student side (i.e. the first equipment) Teaching courseware is sent, by transmitting the first token packet, the first data packet and the first handshake packet successively, wherein the first token packet packet Containing be used to indicate student side receive teaching courseware the first information, be used to indicate student side back delivery operations instruction the second information and The address of student side, first data packet include teaching courseware, and first handshake packet is used to indicate student side feedback to religion Learn the reception result of courseware;Student side shows teaching courseware after parsing teaching courseware in the first data packet, and leads to It crosses local touching box and receives the first operational order that student carries out teaching courseware problem annotation;Then, student side is to teacher End is returned comprising to the reception result of teaching courseware and the second data of the first operational order, wherein the second of the second data enables Board packet includes to the reception result of teaching courseware, is used to indicate teacher side and receives the third information of the first operational order, for referring to Show that teacher side returns the address of the 4th information and teacher side of the second operational order, the second data packet includes the first operational order; After teacher side receives the second data, according to the first operational order, processing is synchronized to the teaching courseware shown by local, and It receives teacher by local touching box and the second of annotation is revised or replied to teaching courseware and is operated for problem annotation and refer to It enables;Then, teacher side is returned to student side comprising the third number for receiving result and the second operational order to the first operational order According to;After student side receives third data, according to the second operational order, place is synchronized to the teaching courseware shown by local Reason.Using the embodiment of the present invention, the data transmission efficiency between teacher side and student side can be greatly improved.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (14)

1. a kind of data transmission method, which is characterized in that include the following steps:
Receive the first data of the second equipment transmission;Wherein, first data include the first token packet, the first data packet and the One handshake packet;First token packet includes to be used to indicate the first equipment to receive the first information of data content to be shown, use In the address for the second information and first equipment for indicating the first operational order of the first equipment passback, first data Packet includes the data content, and first handshake packet is used to indicate reception of the first equipment feedback to the data content As a result;
The data content in first data is shown on said first device;
The first operational order that the first user handles the data content is received by the touching box of first equipment;
The second data are returned to second equipment, so that after second equipment receives second data, Neng Gougen According to first operational order, processing is synchronized to the data content shown in second equipment;Wherein, described Second data include the second token packet and the second data packet;Second token packet includes the reception knot to the data content Fruit is used to indicate the address that second equipment receives the third information and second equipment of first operational order, institute It includes first operational order to state the second data packet.
2. a kind of data transmission method as described in claim 1, which is characterized in that second data further include second shaking hands Packet, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;
Then after returning to the second data to second equipment, further include:
Receive the third data that second equipment is sent;Wherein, the third data include third token packet, and the third enables Board packet includes address of second equipment to the reception result and first equipment of first operational order.
3. a kind of data transmission method as described in claim 1, which is characterized in that second data are also shaken hands comprising second Packet, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;And it is described Second token packet also includes the 4th information for being used to indicate second equipment and returning the second operational order;
Receive the third data that second equipment is sent;Wherein, the third data include third token packet and third data Packet;The third token packet includes second equipment to the reception result of first operational order, is used to indicate described the One equipment receives the address of the 5th information and first equipment of second operational order;The third data packet includes institute The second operational order is stated, second operational order is to receive second user to the number by the touching box of second equipment The instruction handled according to content;
According to the second operational order in the third data, the data content shown in first equipment is carried out Synchronization process.
4. a kind of data transmission method as described in any one of claims 1 to 3, which is characterized in that first data packet is also It include the check code of the true and false for verifying the data content;
Then the data content in first data is shown on said first device, is specifically included:
The data content is parsed from the first data packet of first data;
The data content is verified according to the check code in first data packet;
After verification passes through, the reception result to the data content is determined to receive successfully, and right on said first device The data content is shown.
5. a kind of data transmission method as claimed in claim 4, which is characterized in that the data content include audio data, At least one of in video data, picture and word;
The operational order includes any one of being revised to the data content, opening next stage menu, play operation.
6. a kind of data transmission device, which is characterized in that including:
First receiving unit, the first data for receiving the transmission of the second equipment;Wherein, first data include the first token Packet, the first data packet and the first handshake packet;First token packet includes to be used to indicate the first equipment to receive data to be shown The first information of content is used to indicate first equipment and returns the second information of the first operational order and first equipment Address, first data packet include the data content, and first handshake packet is used to indicate the first equipment feedback pair The reception result of the data content;
Display unit, for being shown to the data content in first data;
Command unit, for receiving the first operation that the first user handles the data content by the touching box of the machine Instruction;
Transmission unit, for returning to the second data to second equipment, so that second equipment receives second number According to later, the data content shown in second equipment can be synchronized according to first operational order Processing;Wherein, second data include the second token packet and the second data packet;Second token packet includes to the data The reception result of content is used to indicate second equipment and receives the third information of first operational order and described second and sets Standby address, second data packet include first operational order.
7. a kind of data transmission device as claimed in claim 6, which is characterized in that second data further include second shaking hands Packet, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;
The data transmission device further includes:
Second receiving unit, the third data sent for receiving second equipment;Wherein, the third data include third Token packet, the third token packet set the reception result of first operational order and described first comprising second equipment Standby address.
8. a kind of data transmission device as claimed in claim 6, which is characterized in that second data are also shaken hands comprising second Packet, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;And it is described Second token packet also includes the 4th information for being used to indicate second equipment and returning the second operational order;
Second receiving unit, the third data sent for receiving second equipment;Wherein, the third data include third Token packet and third data packet;The third token packet includes reception knot of second equipment to first operational order Fruit is used to indicate the address that first equipment receives the 5th information and first equipment of second operational order, institute It includes second operational order to state third data packet;Second operational order is connect by the touching box of second equipment Receive the instruction that second user handles the data content;
Processing unit is used for according to the second operational order in the third data, to the data content shown by the machine Synchronize processing.
9. such as a kind of data transmission device of claim 6 to 8 any one of them, which is characterized in that first data packet is also It include the check code of the true and false for verifying the data content;
The display unit specifically includes:
Parsing subunit, for parsing the data content from the first data packet of first data;
Subelement is verified, for being verified to the data content according to the check code in first data packet;
Subelement is executed, for after verification passes through, determining the reception result to the data content to receive successfully, and to institute Data content is stated to be shown.
10. a kind of data transmission method, which is characterized in that include the following steps:
Second equipment sends the first data to the first equipment;Wherein, first data include the first token packet, the first data packet With the first handshake packet;First token packet includes to be used to indicate first equipment to receive the first of data content to be shown Information is used to indicate the address that first equipment returns the second information and first equipment of the first operational order, described First data packet includes the data content, and first handshake packet is used to indicate the first equipment feedback in the data The reception result of appearance;
After first equipment receives first data, the data content is shown;
First equipment receives the first operation that the first user handles the data content by the touching box of the machine Instruction;
First equipment returns to the second data to second equipment;Wherein, second data include the second token packet and Second data packet;Second token packet includes to the reception result of the data content, is used to indicate second equipment and connects The address of the third information and second equipment of first operational order is received, second data packet includes first behaviour It instructs;
After second equipment receives second data, according to first operational order, in second equipment The shown data content synchronizes processing.
11. a kind of data transmission method as claimed in claim 10, which is characterized in that second data are also held comprising second Handbag, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;
Then after synchronizing processing to the data content shown in second equipment, further include:
Second equipment returns to third data to first equipment;Wherein, the third data include third token packet, institute It states third token packet and includes reception result and first device address of second equipment to first operational order.
12. a kind of data transmission method as claimed in claim 10, which is characterized in that second data are also held comprising second Handbag, second handshake packet are used to indicate reception result of the second equipment feedback to first operational order;And institute It includes the 4th information for being used to indicate second equipment and returning the second operational order to state the second token packet also;
Second equipment receives the second operation that second user handles the data content by the touching box of the machine Instruction;
Second equipment returns to third data to first equipment;Wherein, the third data include third token packet and Third data packet;The third token packet is comprising second equipment to the reception result of first operational order, for referring to Show that first equipment receives the address of the 5th information and first equipment of second operational order, the third data Packet includes second operational order;
After first equipment receives the third data, according to second operational order, in first equipment The shown data content synchronizes processing.
13. such as a kind of data transmission method of claim 10 to 12 any one of them, which is characterized in that first data packet It further include the check code of the true and false for verifying the data content;
After then first equipment receives first data, the data content is shown, is specifically included:
After first equipment receives first data, parsed from the first data packet of first data described Data content;
First equipment verifies the data content according to the check code in first data packet;
First equipment determines the reception result to the data content to receive successfully, and to described after verification passes through Data content is shown.
14. a kind of communication system, which is characterized in that including the first equipment and the second equipment;First equipment includes such as right It is required that 6 to 9 any one of them data transmission devices.
CN201510744786.2A 2015-11-03 2015-11-03 A kind of data transmission method, device and communication system Active CN105376063B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510744786.2A CN105376063B (en) 2015-11-03 2015-11-03 A kind of data transmission method, device and communication system
PCT/CN2016/093653 WO2017076091A1 (en) 2015-11-03 2016-08-05 Data transmission method and apparatus, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510744786.2A CN105376063B (en) 2015-11-03 2015-11-03 A kind of data transmission method, device and communication system

Publications (2)

Publication Number Publication Date
CN105376063A CN105376063A (en) 2016-03-02
CN105376063B true CN105376063B (en) 2018-09-18

Family

ID=55377894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510744786.2A Active CN105376063B (en) 2015-11-03 2015-11-03 A kind of data transmission method, device and communication system

Country Status (2)

Country Link
CN (1) CN105376063B (en)
WO (1) WO2017076091A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376063B (en) * 2015-11-03 2018-09-18 广州视睿电子科技有限公司 A kind of data transmission method, device and communication system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968932A (en) * 2010-09-19 2011-02-09 深圳市摩拓触摸科技有限公司 Intelligent interactive multimedia teaching system and implementation method thereof
CN102209080A (en) * 2010-03-30 2011-10-05 刘盛举 Terminal system for synchronous teaching or conferences and control method thereof
CN104200710A (en) * 2014-05-30 2014-12-10 杭州华银教育多媒体科技股份有限公司 Novel wireless multimedia interactive teaching system and fault treatment method
CN104580977A (en) * 2015-02-05 2015-04-29 京东方科技集团股份有限公司 Data-mapping-mode transmission and recognition method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100919708B1 (en) * 2007-12-28 2009-10-06 엠텍비젼 주식회사 Data transmitter and data Receiver
CN105376063B (en) * 2015-11-03 2018-09-18 广州视睿电子科技有限公司 A kind of data transmission method, device and communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102209080A (en) * 2010-03-30 2011-10-05 刘盛举 Terminal system for synchronous teaching or conferences and control method thereof
CN101968932A (en) * 2010-09-19 2011-02-09 深圳市摩拓触摸科技有限公司 Intelligent interactive multimedia teaching system and implementation method thereof
CN104200710A (en) * 2014-05-30 2014-12-10 杭州华银教育多媒体科技股份有限公司 Novel wireless multimedia interactive teaching system and fault treatment method
CN104580977A (en) * 2015-02-05 2015-04-29 京东方科技集团股份有限公司 Data-mapping-mode transmission and recognition method and device

Also Published As

Publication number Publication date
WO2017076091A1 (en) 2017-05-11
CN105376063A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
KR101179912B1 (en) Dummy touch screen system for connecting a plurality of mobile terminal
CN102595239A (en) Multi-screen interactive method, device and intelligent television for terminal system
US8087053B2 (en) System and method for transmitting an animated figure
CN204595844U (en) USB multi-computer switcher
KR102362054B1 (en) Display apparatus consisting a multi display system and control method thereof
CN104158900A (en) Method and system for synchronizing courseware through iPad controlling
CN104063353A (en) Information synchronization method for master device and slave device
CN101593506B (en) Data transmission method,communication system and a display apparatus
CN110088827A (en) Image display, the connection method of image display and multidisplay system
CN203552237U (en) Interactive electronic demonstration system
CN103606367A (en) Signal cascade transmission method and signal cascade device
CN105376063B (en) A kind of data transmission method, device and communication system
CN103345855A (en) Projection switching system and projection switching method for teaching
CN109992556A (en) A kind of I2C driving method and device
TWI740208B (en) Image transmission device, image display system with remote screen capture function, and remote screen capture method
CN111125035A (en) Novel speech system and speech data sharing method based on same
CN117859130A (en) Data transmission method, device, conference system, wireless screen transmitter and storage medium
CN104217182A (en) Display device with mobile high-definition link port and signal processing method thereof
CN110794966B (en) AR display system and method
CN111309657B (en) Electronic equipment, control method thereof and intelligent classroom system
EP3637734B1 (en) Video data display method and device
Hayne Implementing Serial Communication for the Instructional Processor
CN112580313A (en) Courseware annotating method, system, equipment and storage medium
CN104394473A (en) Multimedia transmission method and device
CN108712373A (en) One-way communication method, apparatus, user terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant