CN111866131A - Wireless auxiliary stream data processing method and system based on network protocol stack - Google Patents

Wireless auxiliary stream data processing method and system based on network protocol stack Download PDF

Info

Publication number
CN111866131A
CN111866131A CN202010698947.XA CN202010698947A CN111866131A CN 111866131 A CN111866131 A CN 111866131A CN 202010698947 A CN202010698947 A CN 202010698947A CN 111866131 A CN111866131 A CN 111866131A
Authority
CN
China
Prior art keywords
network
wireless
auxiliary stream
wireless auxiliary
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010698947.XA
Other languages
Chinese (zh)
Inventor
江虎
欧阳志忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology 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 Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202010698947.XA priority Critical patent/CN111866131A/en
Publication of CN111866131A publication Critical patent/CN111866131A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a wireless auxiliary stream data processing method and a system based on a network protocol stack. And after the virtual network card in the wireless auxiliary flow equipment carries out NAT (network address translation) conversion on the first network data packet, a second network data packet is obtained, and then the wireless network card sends the second network data packet to the screen projection equipment. And the screen projection equipment analyzes the second network data packet, and acquires and projects the audio and video data to be projected. By adopting the technical scheme of the invention, the problem of possible USB packet loss of the wireless auxiliary flow equipment can be avoided, and the expansibility and the screen projection quality are improved.

Description

Wireless auxiliary stream data processing method and system based on network protocol stack
Technical Field
The invention relates to the technical field of computers, in particular to a wireless auxiliary stream data processing method and system based on a network protocol stack.
Background
Since a general user terminal (e.g., a PC terminal) does not have a wireless screen projection function, the screen projection device generally configures a corresponding wireless auxiliary streaming device for the PC terminal. The PC end is connected with the wireless auxiliary streaming device through the USB interface, the PC end calls the self-developed API, and the wireless auxiliary streaming device is used as the HID device, so that the wireless auxiliary streaming device can read data transmitted from the PC end through the HID interface. The wireless auxiliary stream equipment packetizes and packages the data, acquires a complete data, and then creates a socket to convert the socket into a network packet. And the wireless network card in the wireless auxiliary flow device sends the network packet to the screen projection device to realize screen projection.
However, the existing scheme only supports the designed functions because of the self-developed API, and the expandability is not high; and the data after the USB HID is packaged is transmitted between the PC end and the wireless auxiliary streaming device, packet loss may occur, and the screen projection experience is not good under the condition of packet loss.
Disclosure of Invention
The embodiment of the invention provides a wireless auxiliary stream data processing method and system based on a network protocol stack, which can avoid the possible USB packet loss problem of wireless auxiliary stream equipment and improve the expansibility and the screen projection quality.
The invention provides a wireless auxiliary stream data processing method based on a network protocol stack, which is suitable for a wireless auxiliary stream screen projection system; wherein, the wireless auxiliary stream screen projection system comprises: the system comprises a user terminal, wireless auxiliary stream equipment and screen projection equipment; the user terminal is connected with the wireless auxiliary stream equipment through a USB interface; the wireless auxiliary stream equipment is connected with the screen projection equipment through a wireless network;
the wireless auxiliary stream data processing method comprises the following steps:
the wireless auxiliary stream equipment receives a first network data packet sent by the user terminal through the USB interface; the first network data packet is formed by converting audio and video data to be projected into a screen by the user terminal according to a preset network protocol stack;
The wireless auxiliary flow equipment sends the first network data packet to a virtual network card, so that the virtual network card performs NAT (network address translation) conversion on the first network data packet to obtain a second network data packet, and the second network data packet is transmitted to the wireless network card; the wireless auxiliary streaming device comprises the virtual network card and the wireless network card;
and the wireless network card sends the second network data packet to the screen projection equipment through the wireless network, so that the screen projection equipment can analyze the second network data packet and acquire and project the audio and video data of the screen to be projected.
Further, the user terminal is connected to the wireless auxiliary streaming device through a USB interface, specifically:
the wireless auxiliary stream equipment is connected with the user terminal through a USB interface and is used as HID equipment of the user terminal.
Correspondingly, the invention provides a wireless auxiliary stream data processing system based on a network protocol stack, which comprises: the system comprises a user terminal, wireless auxiliary stream equipment and at least one screen projection equipment; the user terminal is connected with the wireless auxiliary stream equipment through a USB interface; the wireless auxiliary stream equipment is connected with the screen projection equipment through a wireless network;
The wireless auxiliary stream data processing system performs the wireless auxiliary stream data processing method of any one of claims 1-2.
Further, the user terminal is a PC terminal.
In view of the above, the method and system for processing wireless auxiliary stream data based on a network protocol stack provided by the invention firstly convert audio and video data to be projected into a first network data packet by a user terminal according to the network protocol stack, and send the first network data packet to a wireless auxiliary stream device. And after the virtual network card in the wireless auxiliary flow equipment carries out NAT (network address translation) conversion on the first network data packet, a second network data packet is obtained, and then the wireless network card sends the second network data packet to the screen projection equipment. And the screen projection equipment analyzes the second network data packet, and acquires and projects the audio and video data to be projected. Compared with the possibility of packet loss in the prior art, the transmission data of the whole screen projection process is a network data packet without data packaging, so that the possible USB packet loss problem of the wireless auxiliary flow equipment is avoided, and the expansibility and the screen projection quality are improved.
Drawings
Fig. 1 is a schematic flowchart of an embodiment of a wireless auxiliary stream data processing method based on a network protocol stack according to the present invention;
Fig. 2 is a schematic structural diagram of an embodiment of a wireless auxiliary stream data processing system based on a network protocol stack provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flowchart of an embodiment of a wireless auxiliary stream data processing method based on a network protocol stack according to the present invention. The wireless auxiliary stream data processing method is suitable for a wireless auxiliary stream screen projection system; wherein, wireless stream of assisting throws screen system and includes: the system comprises a user terminal 1, a wireless auxiliary stream device 2 and a screen projection device 3; the user terminal 1 is connected with the wireless auxiliary stream equipment 2 through a USB interface; the wireless auxiliary streaming device 2 and the screen projection device 3 are connected through a wireless network. As shown in fig. 1, the method includes steps 101 to 103, and each step is as follows:
Step 101: the wireless auxiliary stream equipment receives a first network data packet sent by a user terminal through the USB interface; the first network data packet is formed by converting audio and video data to be projected into a screen by the user terminal according to a preset network protocol stack.
In this embodiment, the user terminal is connected to the wireless auxiliary streaming device through a USB interface, which specifically includes: the wireless auxiliary stream equipment is connected with the user terminal through a USB interface and is used as HID equipment of the user terminal. The USB interface of the wireless auxiliary stream device is realized as a universal HID device, and the HID device is used for data transmission between the user terminal and the wireless auxiliary stream. The data transmitted by the invention is a network data packet, and unpacking, packing and packaging are not required to be carried out like the prior art, so that the possibility of packet loss is avoided.
In this embodiment, the user terminal may transplant a general network protocol stack to be used by the screen projection software, so that the data sent by the screen projection software is converted into the first network data packet.
Step 102: the wireless auxiliary flow equipment sends the first network data packet to the virtual network card so that the virtual network card can perform NAT (network address translation) conversion on the first network data packet to obtain a second network data packet and transmit the second network data packet to the wireless network card; the wireless auxiliary streaming device comprises a virtual network card and a wireless network card.
In this embodiment, a method for the virtual network card to perform NAT conversion on the first network data packet is prior art and will not be described herein again.
Step 103: and the wireless network card sends the second network data packet to the screen projection equipment through a wireless network, so that the screen projection equipment can analyze the second network data packet to obtain and project the audio and video data to be projected on the screen.
Correspondingly, referring to fig. 2, fig. 2 is a schematic structural diagram of an embodiment of the wireless auxiliary stream data processing system based on the network protocol stack provided in the present invention. As shown in fig. 2, the system includes: the system comprises a user terminal 1, a wireless auxiliary streaming device 2 and at least one screen projection device 3.
In this embodiment, the screen projection device 3 may be multiple, so that multiple positions can be projected simultaneously. If the screen projection is realized in different rooms simultaneously, only two or more screen projection devices 3 are needed.
As an example of the present embodiment, the user terminal 1 may be, but is not limited to, a PC.
Further details of the working principles and the process steps of the present system may be found in, but are not limited to, the description above.
In view of the above, the method and system for processing wireless auxiliary stream data based on a network protocol stack provided by the invention firstly convert audio and video data to be projected into a first network data packet by a user terminal according to the network protocol stack, and send the first network data packet to a wireless auxiliary stream device. And after the virtual network card in the wireless auxiliary flow equipment carries out NAT (network address translation) conversion on the first network data packet, a second network data packet is obtained, and then the wireless network card sends the second network data packet to the screen projection equipment. And the screen projection equipment analyzes the second network data packet, and acquires and projects the audio and video data to be projected. Compared with the possibility of packet loss in the prior art, the transmission data of the whole screen projection process is a network data packet without data packaging, so that the possible USB packet loss problem of the wireless auxiliary flow equipment is avoided, and the expansibility and the screen projection quality are improved.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (4)

1. A wireless auxiliary stream data processing method based on a network protocol stack is characterized in that the method is suitable for a wireless auxiliary stream screen projection system; wherein, the wireless auxiliary stream screen projection system comprises: the system comprises a user terminal, wireless auxiliary stream equipment and screen projection equipment; the user terminal is connected with the wireless auxiliary stream equipment through a USB interface; the wireless auxiliary stream equipment is connected with the screen projection equipment through a wireless network;
The wireless auxiliary stream data processing method comprises the following steps:
the wireless auxiliary stream equipment receives a first network data packet sent by the user terminal through the USB interface; the first network data packet is formed by converting audio and video data to be projected into a screen by the user terminal according to a preset network protocol stack;
the wireless auxiliary flow equipment sends the first network data packet to a virtual network card, so that the virtual network card performs NAT (network address translation) conversion on the first network data packet to obtain a second network data packet, and the second network data packet is transmitted to the wireless network card; the wireless auxiliary streaming device comprises the virtual network card and the wireless network card;
and the wireless network card sends the second network data packet to the screen projection equipment through the wireless network, so that the screen projection equipment can analyze the second network data packet and acquire and project the audio and video data of the screen to be projected.
2. The method for processing wireless auxiliary stream data based on the network protocol stack according to claim 1, wherein the user terminal is connected to the wireless auxiliary stream device through a USB interface, specifically:
the wireless auxiliary stream equipment is connected with the user terminal through a USB interface and is used as HID equipment of the user terminal.
3. A wireless auxiliary stream data processing system based on a network protocol stack, comprising: the system comprises a user terminal, wireless auxiliary stream equipment and at least one screen projection equipment; the user terminal is connected with the wireless auxiliary stream equipment through a USB interface; the wireless auxiliary stream equipment is connected with the screen projection equipment through a wireless network;
the wireless auxiliary stream data processing system performs the wireless auxiliary stream data processing method of any one of claims 1-2.
4. The wireless auxiliary stream data processing system based on network protocol stack of claim 3, wherein the user terminal is a PC terminal.
CN202010698947.XA 2020-07-20 2020-07-20 Wireless auxiliary stream data processing method and system based on network protocol stack Pending CN111866131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010698947.XA CN111866131A (en) 2020-07-20 2020-07-20 Wireless auxiliary stream data processing method and system based on network protocol stack

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010698947.XA CN111866131A (en) 2020-07-20 2020-07-20 Wireless auxiliary stream data processing method and system based on network protocol stack

Publications (1)

Publication Number Publication Date
CN111866131A true CN111866131A (en) 2020-10-30

Family

ID=73002342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010698947.XA Pending CN111866131A (en) 2020-07-20 2020-07-20 Wireless auxiliary stream data processing method and system based on network protocol stack

Country Status (1)

Country Link
CN (1) CN111866131A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079578A (en) * 2021-03-29 2021-07-06 成都飞鱼星科技股份有限公司 Smart screen wireless screen projection data priority transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442015A (en) * 2013-09-04 2013-12-11 深圳市华讯方舟科技有限公司 Method and system for processing capwap tunnel data on wireless network controller based on linux virtual network card
US20170214807A1 (en) * 2016-01-26 2017-07-27 Qsc, Llc Peripheral bus video communication using internet protocal
CN109348167A (en) * 2018-12-17 2019-02-15 厦门亿联网络技术股份有限公司 Wireless secondary flow data transmission method and system based on video conferencing system
CN110022161A (en) * 2019-04-23 2019-07-16 京东方科技集团股份有限公司 Transmitter, transmitting equipment, transmission device and the wireless method for throwing screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442015A (en) * 2013-09-04 2013-12-11 深圳市华讯方舟科技有限公司 Method and system for processing capwap tunnel data on wireless network controller based on linux virtual network card
US20170214807A1 (en) * 2016-01-26 2017-07-27 Qsc, Llc Peripheral bus video communication using internet protocal
CN109348167A (en) * 2018-12-17 2019-02-15 厦门亿联网络技术股份有限公司 Wireless secondary flow data transmission method and system based on video conferencing system
CN110022161A (en) * 2019-04-23 2019-07-16 京东方科技集团股份有限公司 Transmitter, transmitting equipment, transmission device and the wireless method for throwing screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113079578A (en) * 2021-03-29 2021-07-06 成都飞鱼星科技股份有限公司 Smart screen wireless screen projection data priority transmission method and system

Similar Documents

Publication Publication Date Title
US9594536B2 (en) Method and apparatus for electronic device communication
JP4564665B2 (en) Method and apparatus for extending the range of general serial bus protocols
US20050233768A1 (en) Wireless transmitter and earphone based on 802.11a/b/g standard
CN102904939A (en) Method and associated device of screen sharing
WO2020233722A1 (en) Wireless screen projection transfer device and wireless screen projection system
KR20090033318A (en) Apparatus having mobile terminal as input/output device of computer and related system and method
CN104683863A (en) Method and equipment for multimedia data transmission
CN108449360B (en) Intelligent interaction all-in-one machine
CN103442381A (en) Optimizing method, terminal and system of Wifi display
JP6665190B2 (en) Network sharing implementation method and apparatus
CN112187939A (en) Method and equipment for sending and receiving control instruction in long-distance transmission scene
CN111866131A (en) Wireless auxiliary stream data processing method and system based on network protocol stack
CN102223406B (en) System and method for network-based digitalized real-time transmission of video information
CN109361915B (en) Wired network camera installation test method
CN101272295B (en) Virtual network projection system and method supporting multi-projection source
JP2015162903A (en) Monitoring system and operation method thereof
CN203027289U (en) System for realizing serial communication among computer, host computer and slave computer
CN103167345A (en) System and method for enabling audio and video to be transmitted to mobile phone to conduct real-time output playing based on Bluetooth
TW202209857A (en) Device for transmitting video and audio
CN211742101U (en) MIDI device networking system
CN100383709C (en) Communicating card
CN105450264A (en) Data transmission method and device
CN111225052B (en) Device function expanding method, device and storage medium
CN108710481B (en) USB wired co-screen system
CN213960336U (en) Multifunctional all-in-one machine device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030

RJ01 Rejection of invention patent application after publication