CN108462727A - A kind of data transmission method and device - Google Patents
A kind of data transmission method and device Download PDFInfo
- Publication number
- CN108462727A CN108462727A CN201710086955.7A CN201710086955A CN108462727A CN 108462727 A CN108462727 A CN 108462727A CN 201710086955 A CN201710086955 A CN 201710086955A CN 108462727 A CN108462727 A CN 108462727A
- Authority
- CN
- China
- Prior art keywords
- network interface
- interface card
- data packet
- mobile terminal
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6125—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
An embodiment of the present invention provides a kind of data transmission method and device, the data transmission method includes:The former data packet received is pre-processed, to generate the target data packet with preset coded format;Identify that mobile terminal itself whether there is network interface card;If so, target data packet is sent to regarding networked devices by network interface card.To allow to get the video and audio data that mobile terminal receives in real time depending on networked terminals user, and then realize that mobile terminal is synchronous with regarding the data of networked devices.
Description
Technical field
The present invention relates to regarding networking technology field, more particularly to a kind of data transmission method and device.
Background technology
In current UAV system, user can be and right by picture that terminal is shown to watch monitoring unmanned picture
Unmanned plane is controlled.
But be only capable of watching monitoring unmanned picture by terminal in the prior art, and can not be by picture transmission to regarding connection
It is shown and is controlled in net equipment.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Invention content
In view of the above problems, it is proposed that the embodiment of the present invention overcoming the above problem or at least partly in order to provide one kind
A kind of data transmission method and device to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of data transmission methods, are applied to mobile terminal, institute
The method of stating includes:
The former data packet received is pre-processed, to generate the target data packet with preset coded format;
Identify that mobile terminal itself whether there is network interface card;
If so, target data packet is sent to regarding networked devices by network interface card.
In a preferred embodiment of the invention, method further comprises:
By network interface card reception come the packets of audio data for networked devices of considering oneself as.
In a preferred embodiment of the invention, pretreated step is carried out to the data packet received, it is specific to wrap
It includes:
Former data packet is converted into yuv format by CPU;
And the former data packet with yuv format is converted to by the target data with H.264 format by encoder
Packet.
In a preferred embodiment of the invention, the step of identification mobile terminal itself whether there is network interface card, including:
Whether inserted with network interface card in one or more USB ports that detection mobile terminal has;
If so, the corresponding network interface card type of network interface card that identification is inserted into.
It in a preferred embodiment of the invention, will by network interface card if detecting one or more network interface cards
Target data packet is sent to the step of regarding networked devices, specifically includes:
According to load balancing rule network interface card type corresponding with one or more network interface cards is preset, one or one is selected
The above target network interface card, and target data packet is sent to regarding networked devices by one or more target network interface cards.
The present invention also provides a kind of data transmission devices, are applied to mobile terminal, and described device includes:
Preprocessing module, for being pre-processed to the former data packet received, to generate with preset coded format
Target data packet;
Identification module, mobile terminal itself is with the presence or absence of network interface card for identification;
Target data packet is sent to by network interface card and is regarded if being recognized there are network interface card for identification module by sending module
Networked devices.
In a preferred embodiment of the invention, device by network interface card reception come the audio data for networked devices of considering oneself as
Packet.
In a preferred embodiment of the invention, preprocessing module is further used for:
Former data packet is converted into yuv format by CPU;
And the former data packet with yuv format is converted to by the target data with H.264 format by encoder
Packet.
In a preferred embodiment of the invention, identification module is further used for:
Whether inserted with network interface card in one or more USB ports that detection mobile terminal has;
If so, the corresponding network interface card type of network interface card that identification is inserted into.
In a preferred embodiment of the invention, it if identification module recognizes one or more network interface cards, sends out
Module is sent to be further used for:
According to load balancing rule network interface card type corresponding with one or more network interface cards is preset, one or one is selected
The above target network interface card, and target data packet is sent to regarding networked devices by one or more target network interface cards.
In this way, the technical solution in the embodiment of the present invention, by being pre-processed to the former data packet received, to generate
Target data packet with preset coded format;Identify that mobile terminal itself whether there is network interface card;If so, by network interface card by mesh
Mark data packet is sent to regarding networked devices.To allow to regard depending on what networked terminals user got that mobile terminal receives in real time
Frequency and audio data, and then realize that mobile terminal is synchronous with regarding the data of networked devices.
Description of the drawings
Fig. 1 is a kind of networking schematic diagram regarding networking of the present invention;
Fig. 2 is a kind of hardware architecture diagram of node server of the present invention;
Fig. 3 is a kind of hardware architecture diagram of access switch of the present invention;
Fig. 4 is that a kind of Ethernet association of the present invention turns the hardware architecture diagram of gateway;
Fig. 5 is a kind of step flow chart of data transmission method embodiment of the present invention;
Fig. 6 is a kind of specific steps flow chart of data transmission method embodiment of the present invention;
Fig. 7 is the mobile terminal structure block diagram in the embodiment of the present invention;
Fig. 8 is a kind of structure diagram of data transmission device embodiment of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can realize HD video real-time Transmission,
Push numerous the Internet, applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program requests, TV Mail, individual character recording (PVR), Intranet (manage) channel, intelligent video Broadcast Control, information publication by oneself
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, word, communication, data, by TV or
Computer realizes that high-definition quality video plays.
To make those skilled in the art more fully understand the embodiment of the present invention, below to being introduced depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Network technology innovation depending on networking improves traditional ethernet (Ethernet), potential huge on network to face
Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
Switching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technology
Flexible, the simple and low price exchanged, is provided simultaneously with quality and the safety assurance of circuit switching, it is virtually electric to realize the whole network switch type
The seamless connection of road and data format.
Switching technology (Switching Technology)
Depending on two advantages of asynchronous and packet switch networked using Ethernet, it is scarce under the premise of complete be compatible with to eliminate Ethernet
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal directly carries IP data packets.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can realizes at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous Internet video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough include signaling and data transmission.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
State-of-the-art real time operating system is used, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits for typical time to be less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internets ad eundem IP, but
The concurrent flow more than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Structural design depending on networking by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, fire wall generally, has prevented black
The attack of visitor and virus, provide structural carefree secure network to the user.
Service innovative technology (Service Innovation Technology)
Business and transmission are merged by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is substituted using " menu type " with table schema traditional
Complicated applications program, and can use considerably less code that complicated application can be realized, and realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes:Node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and Ethernet can be connected.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes:Metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can be formed regarding networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes depending on the equipment in networking:Server, interchanger (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or
National net, World Wide Web etc.) and access net.
The equipment of 1.2 wherein access mesh portions can be mainly divided into 3 classes:Node server, access switch (including ether
Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The particular hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, including mainly Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine
Module 202;Switching engine module 202 to the packet come in look into the operation of address table 205, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded if meeting the following conditions:1) port
It is less than to send caching;2) the queue package counting facility is more than zero.Disk array module 204 mainly realizes the control to hard disk, including
The operations such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown)
Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, including mainly Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
Corresponding flow identifier (stream-id) is then distributed, and enters switching engine module 303, is otherwise abandoned;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine
Module 303;Switching engine module 303 to the packet come in look into the operation of address table 306, to obtain the navigation information of packet;
It is gone toward uplink network interface if the packet into switching engine module 303 is downstream network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
It is gone toward uplink network interface if the queue is downstream network interface, meets the following conditions and be forwarded:1)
It is less than that the port sends caching;2) the queue package counting facility is more than zero;3) token that rate control module generates is obtained;
It is gone toward uplink network interface if the queue is not downstream network interface, meets the following conditions and be forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is more than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval
The pack buffer queue that interface is gone toward uplink network interface generates token, to control the code check of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, including mainly Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC add modules 409, MAC removing modules 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
The ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, networking mesh way address is regarded
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing modules 410
(2byte), and enter corresponding order caching, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze regarding with networking mesh according to packet
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frametype, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
Include mainly Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board includes mainly Network Interface Module, video encoding engine
Module, CPU module;Memory includes mainly Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes:Node server, node switch, metropolitan area server.
Wherein, node switch includes mainly Network Interface Module, switching engine module and CPU module;Metropolitan area server includes mainly
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
The data packet for accessing net includes mainly following sections:Destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net includes mainly following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The parts payload have different length according to the type of different datagrams, are if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and computational methods follow the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
2 kinds can be all can exceed that between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is unique, is closed to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention:Label uniquely describes a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between device A and equipment B there are two connection, then data packet from device A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to device A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into
0x0001.The networking flow of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution is all dominated by metropolitan area server, and node switch, node server are all passive execution, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) includes mainly following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition:Label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic regarding networking, it is proposed that one of the core concepts of the embodiments of the present invention, it then follows regard the association of networking
View, by mobile terminal by the data received after treatment, be sent to regarding networked devices by network interface card, to realize it is mobile eventually
End and the data interaction between networked devices.
With reference to Fig. 5, show that a kind of step flow chart of data transmission method embodiment of the present invention, this method can answer
For mobile terminal, following steps are can specifically include:
Step 501, the former data packet received is pre-processed, to generate the target data with preset coded format
Packet.
Specifically, in an embodiment of the present invention, mobile terminal receives UAV system or other shiftings by designated port
The data packet (the former data packet i.e. in the embodiment of the present invention) that dynamic terminal is sent.
Then, mobile terminal pre-processes former data packet, to generate the target data packet with preset coded format.
Specific pre-treatment step will be described in detail in the following embodiments.
Step 502, identification mobile terminal itself whether there is network interface card.
Specifically, in an embodiment of the present invention, mobile terminal identifies that itself whether there is network interface card.At one of the present invention
In embodiment, network interface card includes 4G network interface cards and/or wireless network card, also, network interface card is pluggable network interface card.In another of the present invention
In embodiment, 4G network interface cards may include the network interface card type of one or more kinds of standards.
Step 503, if so, target data packet is sent to regarding networked devices by network interface card.
Specifically, in an embodiment of the present invention, if mobile terminal recognizes itself there are one or more network interface cards,
Then target data packet can be sent to regarding networked devices by mobile terminal by the network interface card recognized.In an embodiment of the present invention,
Mobile terminal is different according to network interface card type, and target data packet is sent to and different regards networked devices.Detail will be below
Embodiment be described in detail.
In conclusion the technical solution in the embodiment of the present invention, by being pre-processed to the former data packet received, with
Generate the target data packet with preset coded format;Identify that mobile terminal itself whether there is network interface card;If so, passing through network interface card
Target data packet is sent to regarding networked devices.It is received to allow to get mobile terminal in real time depending on networked terminals user
Video and audio data, and then realize mobile terminal with regard the data of networked devices it is synchronous.
With reference to Fig. 6, a kind of specific steps flow chart of data transmission method embodiment of the present invention is shown, this method can
To be applied to mobile terminal, following steps are can specifically include:
Step 601, the former data packet received is pre-processed, to generate the target data with preset coded format
Packet.
The mobile terminal structure block diagram being illustrated in figure 7 in the embodiment of the present invention, in the figure 7:
HDMI IN modules are for receiving the former data packet from UAV system or other mobile terminals.Wherein, at one
In embodiment, former data packet is the data packet with HDMI formats.
Mobile terminal further includes having CPU module, and CPU module is used to former data packet being converted to yuv format.
And coding module, for will have the former data packet of yuv format to be converted to the number of targets with H.264 format
According to packet.
In one embodiment of the invention, mobile terminal includes HDMI OUT modules, and the module is for own coding in future
Target data packet after module coding is exported to mobile terminal display screen.Keep user straight by the display screen on mobile terminal
Viewing UAV system or the monitor video sent of other mobile terminals or audio are connect, and UAV system is controlled.Its
In, in one embodiment of the invention, display screen can be touch screen, and user can be operated on touch screen with to mobile terminal
Instruction is sent, to control UAV system or other mobile terminals by mobile terminal.
In an embodiment of the present invention, mobile terminal includes power module, to make mobile terminal can unlike external power supply,
Improve mobile terminal convenience.The power module is each module for power supply in mobile terminal, also, is the tool that each module provides
Bulk voltage can be configured according to actual demand, and the present invention does not limit this.
With continued reference to Fig. 6.Step 602, whether it is inserted into one or more USB ports that detection mobile terminal has
There is network interface card.If so, 603 are entered step, if it is not, then terminating this operation.
In an embodiment of the present invention, it as shown in fig. 7, mobile terminal has USB HUB (usb hub), can will move
Dynamic terminal USB interface is extended to multiple.Specific extension number can be configured according to actual demand, and the present invention does not limit this
It is fixed.
In the present embodiment, it is illustrated in detail so that mobile terminal has 9 USB interfaces as an example.Wherein, in the present embodiment
In, a USB network interface makes user that can be moved by Mike's wind direction for accessing microphone, a USB network interface for accessing earphone
Terminal transmitting order to lower levels, and mobile terminal is listened to treated audio by earphone.
Step 603, the corresponding network interface card type of the network interface card of insertion is identified.
Specifically, in an embodiment of the present invention, mobile terminal is after detecting USB interface inserted with network interface card, further
Identify the corresponding network interface card type of network interface card being inserted into.In an embodiment of the present invention, network interface card is pluggable network interface card, that is, Yong Huke
Network interface card is inserted into USB interface according to actual demand.
In the present embodiment, with 7 USB interfaces respectively inserted with 2 mobile standard network interface cards, 2 unicom standard network interface cards, 2
It is described in detail for a telecommunications standard network interface card and 1 WIFI network interface card.
Step 604, target data packet is sent to regarding networked devices by network interface card.
In an embodiment of the present invention, if mobile terminal is carried out data transmission by WIFI network interface cards, can directly pass through
Target data packet is sent to the repeater in networking by WIFI network interface cards, and target data packet is transmitted to regarding networking by repeater
Target data packet is sent to depending on networking Core server and is subsequently located by the gateway device in equipment, then, gateway device
Reason, the present invention repeat no more this.
In the present embodiment, since mobile terminal recognizes WIFI network interface cards and 6 cellular mobile network network interface card (institutes i.e. above
The multiple types network interface card stated), mobile terminal need to carry out the selected of network interface card according to actual demand.If selecting WIFI network interface cards, due to
The bandwidth of WIFI network interface cards is sufficiently large, and therefore, mobile terminal then can directly be carried out data transmission by WIFI network interface cards.But WIFI
There are the limitations of transmission range for network interface card, and therefore, in the case where that can not be transmitted with WiFi network interface cards, mobile terminal can foundation
Default load balancing rule network interface card type corresponding with each network interface card, selects one or more target network interface cards, and pass through one
Or target data packet is sent to regarding networked devices by more than one target network interface card.Specifically, due to the limitation of network signal, respectively
Network interface card type will produce difference in terms of transmission rate, and therefore, target data packet can be split as multiple small datas by mobile terminal
Packet, and select network interface card corresponding with multiple small data packets to carry out data transmission according to load balancing rule, to ensure that video
Transmit the quality requirement of picture.Specific method can be achieved by the prior art, and the present invention does not repeat this.
In addition, in another embodiment of the present invention, mobile terminal can be by network interface card reception come networked devices of considering oneself as
Packets of audio data.That is, mobile terminal can carry out two-way audio data transmission with regarding networked devices.
In conclusion the technical solution in the embodiment of the present invention, by being pre-processed to the former data packet received, with
Generate the target data packet with preset coded format;Identify that mobile terminal itself whether there is network interface card;If so, passing through network interface card
Target data packet is sent to regarding networked devices.It is received to allow to get mobile terminal in real time depending on networked terminals user
Video and audio data, and then realize mobile terminal with regard the data of networked devices it is synchronous.
It should be noted that for embodiment of the method, for simple description, therefore it is all expressed as a series of action group
It closes, but those skilled in the art should understand that, the embodiment of the present invention is not limited by the described action sequence, because according to
According to the embodiment of the present invention, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 8, show that a kind of structure diagram of data transmission device embodiment of the present invention, the device can be applied
In mobile terminal, following module can specifically include:
Preprocessing module 801 has preset coded format for being pre-processed to the former data packet received to generate
Target data packet.
Identification module 802, mobile terminal itself is with the presence or absence of network interface card for identification.
Target data packet is sent to if being recognized there are network interface card for identification module by network interface card by sending module 803
Depending on networked devices.
In a preferred embodiment of the invention, device by network interface card reception come the audio data for networked devices of considering oneself as
Packet.
In a preferred embodiment of the invention, preprocessing module 801 is further used for:
Former data packet is converted into yuv format by CPU;
And the former data packet with yuv format is converted to by the target data with H.264 format by encoder
Packet.
In a preferred embodiment of the invention, identification module 802 is further used for:
Whether inserted with network interface card in one or more USB ports that detection mobile terminal has;
If so, the corresponding network interface card type of network interface card that identification is inserted into.
In a preferred embodiment of the invention, if identification module 802 recognizes one or more network interface cards,
Sending module 803 is further used for:
According to load balancing rule network interface card type corresponding with one or more network interface cards is preset, one or one is selected
The above target network interface card, and target data packet is sent to regarding networked devices by one or more target network interface cards.
In conclusion the device in the embodiment of the present invention, by being pre-processed to the former data packet received, to generate
Target data packet with preset coded format;Identify that mobile terminal itself whether there is network interface card;If so, by network interface card by mesh
Mark data packet is sent to regarding networked devices.To allow to regard depending on what networked terminals user got that mobile terminal receives in real time
Frequency and audio data, and then realize that mobile terminal is synchronous with regarding the data of networked devices.
For device embodiments, since it is basically similar to the method embodiment, so fairly simple, the correlation of description
Place illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generates for realizing in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device of specified function.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In computer-readable memory operate in a specific manner so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or in one box of block diagram or multiple boxes specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also include other elements that are not explicitly listed, or further include for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device including the element.
A kind of data transmission method provided by the present invention and device are described in detail above, it is used herein
Principle and implementation of the present invention are described for specific case, and the explanation of above example is only intended to help to understand this
The method and its core concept of invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, specific
There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention's
Limitation.
Claims (10)
1. a kind of data transmission method is applied to mobile terminal, which is characterized in that the method includes:
The former data packet received is pre-processed, to generate the target data packet with preset coded format;
Identify that the mobile terminal itself whether there is network interface card;
If so, the target data packet is sent to regarding networked devices by the network interface card.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
It is received from the packets of audio data regarding networked devices by the network interface card.
3. according to the method described in claim 1, it is characterized in that, the described pair of data packet received carries out pretreated step
Suddenly, it specifically includes:
The former data packet is converted into yuv format by CPU;
And the former data packet with yuv format is converted to by the target data packet with H.264 format by encoder.
4. according to the method described in claim 1, it is characterized in that, the identification mobile terminal itself whether there is network interface card
The step of, including:
It whether detects in one or more USB ports that the mobile terminal has inserted with network interface card;
If so, the corresponding network interface card type of network interface card that identification is inserted into.
5. if described logical according to the method described in claim 4, it is characterized in that, detect one or more network interface cards
The step of target data packet is sent to regarding networked devices by the network interface card are crossed, are specifically included:
According to load balancing rule network interface card type corresponding with one or more than one network interface card is preset, one or one is selected
The above target network interface card, and the target data packet is sent to by described regard by one or more than one target network interface card and is networked
Equipment.
6. a kind of data transmission device, it is applied to mobile terminal, which is characterized in that described device includes:
Preprocessing module, for being pre-processed to the former data packet received, to generate the target with preset coded format
Data packet;
Identification module, the mobile terminal itself is with the presence or absence of network interface card for identification;
Sending module, if being recognized there are network interface card for the identification module, by the network interface card by the target data packet
It is sent to and regards networked devices.
7. device according to claim 6, which is characterized in that described device is received by the network interface card and regards connection from described
The packets of audio data of net equipment.
8. device according to claim 6, which is characterized in that the preprocessing module is further used for:
The former data packet is converted into yuv format by CPU;
And the former data packet with yuv format is converted to by the target data packet with H.264 format by encoder.
9. device according to claim 6, which is characterized in that the identification module is further used for:
It whether detects in one or more USB ports that the mobile terminal has inserted with network interface card;
If so, the corresponding network interface card type of network interface card that identification is inserted into.
10. device according to claim 9, which is characterized in that if the identification module recognizes one or more
Network interface card, then the sending module be further used for:
According to load balancing rule network interface card type corresponding with one or more than one network interface card is preset, one or one is selected
The above target network interface card, and the target data packet is sent to by described regard by one or more than one target network interface card and is networked
Equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086955.7A CN108462727A (en) | 2017-02-17 | 2017-02-17 | A kind of data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710086955.7A CN108462727A (en) | 2017-02-17 | 2017-02-17 | A kind of data transmission method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108462727A true CN108462727A (en) | 2018-08-28 |
Family
ID=63221686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710086955.7A Pending CN108462727A (en) | 2017-02-17 | 2017-02-17 | A kind of data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462727A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151058A (en) * | 2018-09-27 | 2019-01-04 | 视联动力信息技术股份有限公司 | A kind of data transmission method and device |
CN109756693A (en) * | 2018-11-27 | 2019-05-14 | 视联动力信息技术股份有限公司 | A kind of information processing system of view networking meeting |
CN110366113A (en) * | 2019-06-04 | 2019-10-22 | 视联动力信息技术股份有限公司 | Unmanned plane information displaying method and system |
CN110380876A (en) * | 2019-06-26 | 2019-10-25 | 视联动力信息技术股份有限公司 | Group chat service implementation method, device, system, terminal, server and medium |
CN110460366A (en) * | 2019-07-12 | 2019-11-15 | 视联动力信息技术股份有限公司 | A kind of Unmanned Aerial Vehicle Data interconnection method, system, electronic equipment and storage medium |
CN110572361A (en) * | 2019-08-02 | 2019-12-13 | 视联动力信息技术股份有限公司 | video networking network card selection method and system |
CN110650120A (en) * | 2019-08-20 | 2020-01-03 | 视联动力信息技术股份有限公司 | Data format switching method and device |
CN110896461A (en) * | 2019-10-24 | 2020-03-20 | 视联动力信息技术股份有限公司 | Unmanned aerial vehicle shooting video display method, device and system |
CN111343671A (en) * | 2020-02-20 | 2020-06-26 | 北京小米移动软件有限公司 | Information processing method, device and storage medium |
WO2020215182A1 (en) * | 2019-04-22 | 2020-10-29 | 深圳市大疆创新科技有限公司 | Image data processing method, transmission method, transmission apparatus and data interface switching apparatus |
CN112787879A (en) * | 2019-11-08 | 2021-05-11 | 西安诺瓦星云科技股份有限公司 | Gigabit Ethernet packet loss detection method and device thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964904A (en) * | 2010-10-11 | 2011-02-02 | 北京中科大洋科技发展股份有限公司 | Method for realizing live broadcast of television news by using wireless communication network |
CN102740217A (en) * | 2012-07-13 | 2012-10-17 | 中国铁路通信信号上海工程集团有限公司 | GSM-R (Global System for Mobile Communications for Railway) emergency system and method |
CN106161335A (en) * | 2015-03-25 | 2016-11-23 | 北京视联动力国际信息技术有限公司 | A kind for the treatment of method and apparatus of network packet |
CN106303359A (en) * | 2015-05-14 | 2017-01-04 | 北京视联动力国际信息技术有限公司 | The processing method of a kind of network conversion and equipment |
CN106331581A (en) * | 2015-07-06 | 2017-01-11 | 北京视联动力国际信息技术有限公司 | Method and device for communication between mobile terminal and video networking terminal |
-
2017
- 2017-02-17 CN CN201710086955.7A patent/CN108462727A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964904A (en) * | 2010-10-11 | 2011-02-02 | 北京中科大洋科技发展股份有限公司 | Method for realizing live broadcast of television news by using wireless communication network |
CN102740217A (en) * | 2012-07-13 | 2012-10-17 | 中国铁路通信信号上海工程集团有限公司 | GSM-R (Global System for Mobile Communications for Railway) emergency system and method |
CN106161335A (en) * | 2015-03-25 | 2016-11-23 | 北京视联动力国际信息技术有限公司 | A kind for the treatment of method and apparatus of network packet |
CN106303359A (en) * | 2015-05-14 | 2017-01-04 | 北京视联动力国际信息技术有限公司 | The processing method of a kind of network conversion and equipment |
CN106331581A (en) * | 2015-07-06 | 2017-01-11 | 北京视联动力国际信息技术有限公司 | Method and device for communication between mobile terminal and video networking terminal |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151058A (en) * | 2018-09-27 | 2019-01-04 | 视联动力信息技术股份有限公司 | A kind of data transmission method and device |
CN109756693A (en) * | 2018-11-27 | 2019-05-14 | 视联动力信息技术股份有限公司 | A kind of information processing system of view networking meeting |
CN109756693B (en) * | 2018-11-27 | 2021-09-07 | 视联动力信息技术股份有限公司 | Information processing system of video networking conference |
WO2020215182A1 (en) * | 2019-04-22 | 2020-10-29 | 深圳市大疆创新科技有限公司 | Image data processing method, transmission method, transmission apparatus and data interface switching apparatus |
CN110366113A (en) * | 2019-06-04 | 2019-10-22 | 视联动力信息技术股份有限公司 | Unmanned plane information displaying method and system |
CN110380876A (en) * | 2019-06-26 | 2019-10-25 | 视联动力信息技术股份有限公司 | Group chat service implementation method, device, system, terminal, server and medium |
CN110380876B (en) * | 2019-06-26 | 2022-02-18 | 视联动力信息技术股份有限公司 | Group chat service implementation method, device, system, terminal, server and medium |
CN110460366A (en) * | 2019-07-12 | 2019-11-15 | 视联动力信息技术股份有限公司 | A kind of Unmanned Aerial Vehicle Data interconnection method, system, electronic equipment and storage medium |
CN110572361B (en) * | 2019-08-02 | 2021-11-02 | 视联动力信息技术股份有限公司 | Method, system, equipment and storage medium for selecting video network card |
CN110572361A (en) * | 2019-08-02 | 2019-12-13 | 视联动力信息技术股份有限公司 | video networking network card selection method and system |
CN110650120A (en) * | 2019-08-20 | 2020-01-03 | 视联动力信息技术股份有限公司 | Data format switching method and device |
CN110650120B (en) * | 2019-08-20 | 2022-02-25 | 视联动力信息技术股份有限公司 | Data format switching method and device |
CN110896461A (en) * | 2019-10-24 | 2020-03-20 | 视联动力信息技术股份有限公司 | Unmanned aerial vehicle shooting video display method, device and system |
CN112787879A (en) * | 2019-11-08 | 2021-05-11 | 西安诺瓦星云科技股份有限公司 | Gigabit Ethernet packet loss detection method and device thereof |
CN111343671A (en) * | 2020-02-20 | 2020-06-26 | 北京小米移动软件有限公司 | Information processing method, device and storage medium |
CN111343671B (en) * | 2020-02-20 | 2024-04-09 | 北京小米移动软件有限公司 | Information processing method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108173804B (en) | A kind of networked by view accesses the method and view connection cat client of internet | |
CN108462727A (en) | A kind of data transmission method and device | |
CN108012106B (en) | A kind of method and system regarding networking monitoring source synchronous | |
CN108462678A (en) | A kind of method and apparatus of checking monitoring video recording | |
CN108632525A (en) | A kind of method and system of business processing | |
CN108737768A (en) | A kind of monitoring method and monitoring device based on monitoring system | |
CN108063745B (en) | A kind of video call method and its system based on Android device | |
CN108965040A (en) | A kind of business monitoring method and device of view networking | |
CN108322809A (en) | The method and system that control video file plays under depending on networking under a kind of internet | |
CN108616328A (en) | A kind of audio/video flow loss recovery method and audio/video flow transmitting terminal and receiving terminal | |
CN109996086A (en) | A kind of view networking service method for inquiring status and device | |
CN108124165A (en) | A kind of code stream recording method and its system based on regarding networking | |
CN108989078A (en) | A kind of view networking interior joint equipment fault detection method and device | |
CN109547731A (en) | A kind of methods of exhibiting and system of video conference | |
CN108632559A (en) | A kind of video data handling procedure and device | |
CN108616487A (en) | Based on the sound mixing method and device regarding networking | |
CN110049346A (en) | A kind of method and system of net cast | |
CN108809921A (en) | A kind of audio-frequency processing method regards networked server and regards networked terminals | |
CN110062195A (en) | A kind of video conference cut-in method and system | |
CN108243343A (en) | A kind of point bit distribution statistical method and its server based on regarding networking | |
CN108574816A (en) | It is a kind of to regard networked terminals and based on communication means, the device regarding networked terminals | |
CN110149305A (en) | A kind of method and transfer server of the multi-party playing audio-video based on view networking | |
CN109743555A (en) | A kind of information processing method and system based on view networking | |
CN109873864A (en) | A kind of communication connection method for building up and system based on view networking | |
CN109491783A (en) | A kind of acquisition methods and system of memory usage |
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 | ||
CB02 | Change of applicant information |
Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building. Applicant after: Video Link Power Information Technology Co., Ltd. Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113 Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |
|
RJ01 | Rejection of invention patent application after publication |