CN110166443B - Data transmission method, device, system, network equipment and storage medium - Google Patents

Data transmission method, device, system, network equipment and storage medium Download PDF

Info

Publication number
CN110166443B
CN110166443B CN201910365354.9A CN201910365354A CN110166443B CN 110166443 B CN110166443 B CN 110166443B CN 201910365354 A CN201910365354 A CN 201910365354A CN 110166443 B CN110166443 B CN 110166443B
Authority
CN
China
Prior art keywords
video network
identity
video
network terminal
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910365354.9A
Other languages
Chinese (zh)
Other versions
CN110166443A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910365354.9A priority Critical patent/CN110166443B/en
Publication of CN110166443A publication Critical patent/CN110166443A/en
Application granted granted Critical
Publication of CN110166443B publication Critical patent/CN110166443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0853Network architectures or network communication protocols for network security for authentication of entities using an additional device, e.g. smartcard, SIM or a different communication terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a data transmission method, a device, a system, network equipment and a storage medium, wherein the method is applied to a video network and comprises the following steps: receiving an identity reading instruction sent by a first video network terminal, wherein the identity reading instruction comprises the following steps: the terminal number or the video networking number of the second video networking terminal; sending the identity reading instruction to the second video network terminal so that the second video network terminal can read identity data information through an identity card reader; receiving the identity data information sent by the second video network terminal through a video network protocol; and sending the identity data information to the first video network terminal. In the embodiment of the invention, based on the video networking environment, the identity data information read by the identity card reader can be transmitted between the video networking terminals, so that the transmission efficiency is improved, the consumption of transmission resources is reduced, and the performance and the user satisfaction of the video networking terminals are improved.

Description

Data transmission method, device, system, network equipment and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a data transmission method, apparatus, system, network device, and computer-readable storage medium.
Background
With the development of science and technology, the video networking technology is widely applied to various industries, such as the fields of office work, telemedicine, security protection, emergency command and the like, and the application of the video networking technology brings great convenience to life and work.
In the prior art, data in the identity card reader is transmitted by a terminal in an internet environment, and cannot be transmitted by a video network terminal based on the video network, so that the performance of the video network terminal is reduced.
Therefore, how to transmit data in the id card reader through the internet of view is a technical problem to be solved at present.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a data transmission method, so as to solve the technical problem in the prior art that the performance of a terminal of a video network and the satisfaction of a user are reduced because data in an identity card reader cannot be transmitted in the video network.
Correspondingly, the embodiment of the invention also provides a data transmission device, a system, network equipment and a computer readable storage medium, which are used for ensuring the realization and the application of the method.
In order to solve the problems, the invention is realized by the following technical scheme:
a first aspect provides a data transmission method, which is applied to a video network, and includes:
receiving an identity reading instruction sent by a first video network terminal, wherein the identity reading instruction comprises: the terminal number or the video networking number of the second video networking terminal;
sending the identity reading instruction to the second video network terminal so that the second video network terminal can read identity data information through an identity card reader;
receiving the identity data information sent by the second video networking terminal through a video networking protocol;
and sending the identity data information to the first video network terminal.
Optionally, before sending the identity reading instruction to the second internet of things terminal, the method further includes:
detecting whether the second video network terminal is in an online state or not; and if the terminal is in the online state, the step of sending the identity reading instruction to the second video network terminal is executed.
A second aspect provides a data transmission method, which is applied to a video network, and includes:
the second video network terminal receives an identity reading instruction sent by the video network server, wherein the identity reading instruction is sent by the first video network terminal;
the second video network terminal sends the identity reading instruction to an identity card reader;
the second video network terminal receives the read identity data information sent by the identity card reader;
the second video network terminal encapsulates the identity data information by using a video network protocol to obtain encapsulated identity data information;
and the second video network terminal sends the encapsulated identity data information to the video network server so that the video network server can send the encapsulated identity data information to the first video network terminal.
Optionally, before the second video networking terminal receives the identity reading instruction sent by the video network server, the method further includes:
and the second video network terminal sends heartbeat to the video network server to inform the video network server that the second video network terminal is in an online state.
A third aspect provides a data transmission apparatus, which is applied in a video network, and includes:
the first receiving module is configured to receive an identity reading instruction sent by a first video network terminal, where the identity reading instruction includes: the terminal number or the video networking number of the second video networking terminal;
the first sending module is used for sending the identity reading instruction to the second video network terminal so that the second video network terminal can read identity data information through an identity card reader;
the second receiving module is used for receiving the identity data information sent by the second video network terminal through a video network protocol;
and the second sending module is used for sending the identity data information to the first video network terminal.
Optionally, the apparatus further comprises:
the detection module is used for detecting whether the second video network terminal is in an online state or not before the first sending module sends the identity reading instruction to the second video network terminal;
the first sending module is further configured to send the identity reading instruction to the second video network terminal when the detection module detects that the second video network terminal is in an online state.
A fourth aspect provides a data transmission apparatus, which is applied in a video network, the apparatus comprising:
the first receiving module is used for receiving an identity reading instruction sent by the video network server, wherein the identity reading instruction is sent by a first video network terminal;
the first sending module is used for sending the identity reading instruction to an identity card reader;
the second receiving module is used for receiving the read identity data information sent by the identity card reader;
the packaging module is used for packaging the identity data information by using a video networking protocol to obtain the packaged identity data information;
and the second sending module is used for sending the encapsulated identity data information to the video network server so that the video network server can send the encapsulated identity data information to the first video network terminal.
Optionally, the apparatus further comprises:
and the third sending module is used for sending a heartbeat to the video network server to inform the video network server that the video network server is in an online state before the first receiving module receives the identity reading instruction sent by the video network server.
A fifth aspect provides a data transmission system, the system comprising: a video network server, a first video network terminal and a second video network terminal which are connected with the video network server through a video network, the second video network terminal is connected with an identity card reader through the video network, wherein,
the first video network terminal is configured to send an identity reading instruction to the video network server, where the identity reading instruction includes: the terminal number or the video networking number of the second video networking terminal;
the video network server is used for sending the identity reading instruction to the second video network terminal;
the second video network terminal is used for sending the identity reading instruction to an identity card reader;
the identity card reader is used for reading identity data information and sending the identity data information to the second video network terminal;
the second video network terminal is also used for packaging the received identity data information through a video network protocol and sending the packaged identity data information to the video network server;
the video network server is also used for sending the received and packaged identity data information to the first video network terminal;
the first video network terminal is also used for de-encapsulating the received identity data information to obtain the identity data information.
A sixth aspect provides a network device, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the data transmission method as described above.
A seventh aspect provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the data transmission method as described above.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, when an identity reading instruction sent by a first video network terminal is received, the identity reading instruction is sent to a second video network terminal so that the second video network terminal can read identity data information through an identity card reader; and when receiving the identity data information which is read by the second video network terminal and sent by the video network protocol, sending the identity data information to the first video network terminal. That is to say, in the embodiment of the present invention, based on the video networking environment, the identity data information read by the identity card reader can be transmitted between the video networking terminals, which not only improves the transmission efficiency, reduces the consumption of transmission resources, but also improves the performance of the video networking terminals and the user satisfaction.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
fig. 5 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 6 is another flowchart of a data transmission method according to an embodiment of the present invention;
fig. 7 is a flowchart of an application example of a data transmission method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 9 is another schematic structural diagram of a data transmission method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a data transmission method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone of network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of Internet applications to high-definition video, and high definition is face-to-face.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network technology (network technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server technology (Servertechnology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eradicates the network security problem disturbing the Internet from the structure by the modes of independent admission control of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, stops the attack of hackers and viruses and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), and is defined to be the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., more than 2 connections between a node switch and a node server, between a node switch and a node switch, and between a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined as follows: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to fig. 5, a flowchart of a data transmission method according to an embodiment of the present invention is shown, where the method is applied to a video network, and specifically includes the following steps:
step 501: receiving an identity reading instruction sent by a first video network terminal, wherein the identity reading instruction comprises: the terminal number or the video networking number of the second video networking terminal;
in this step, a party (for example, a first video network terminal) who wants to obtain identity data information (for example, identity card information, etc.) sends an identity reading instruction (which may also be an identity reading request, etc.) to a video network server through a video network protocol, that is, the video network server receives the identity reading instruction sent by the first video network terminal, where the identity reading instruction is used to request an instruction for reading the identity data information, where the instruction includes which terminal (for example, a second video network terminal) needs to be used to read the identity data information), that is, includes a terminal number of the second video network terminal or a video network number. It should be noted that, in the video network, the terminal number or the video network number is a unique identifier for identifying the video network terminal.
Step 502: sending the identity reading instruction to the second video network terminal so that the second video network terminal can read identity data information through an identity card reader;
in the step, after receiving the identity reading instruction, the video network server can directly send the identity reading instruction to the second video network terminal through a video network protocol; the identity reading instruction can also be firstly analyzed to obtain a terminal number or a video networking number of the second video networking terminal, then the identity reading instruction is sent to the second video networking terminal corresponding to the second video networking terminal number or the video networking number through a video networking protocol, namely, a video networking channel between the first video networking terminal and the second video networking terminal is established, and when the second video networking terminal receives the identity reading instruction, the identity data information is read through an identity card reader, and the read identity data information is packaged and then sent to a video networking server through the established video networking channel.
Step 503: and receiving the identity data information sent by the second video network terminal through a video network protocol.
In this step, the second video network terminal sends the identity data information to the video network server through the established video network channel, that is, the video network server receives the identity data information which is sent and encapsulated by the second video network terminal through the video network protocol.
Step 504: and sending the identity data information to the first video network terminal.
In the step, the video network server sends the identity data information to the first video network terminal through the established video network channel.
In the embodiment of the invention, when receiving an identity reading instruction sent by a first video network terminal, a video network server sends the identity reading instruction to a second video network terminal so that the second video network terminal can read identity data information through an identity card reader; and when receiving the identity data information which is read by the second video network terminal and sent by the video network protocol, sending the identity data information to the first video network terminal. That is to say, in the embodiment of the present invention, based on the video networking environment, the identity data information read by the identity card reader can be transmitted between the video networking terminals, which not only improves the transmission efficiency, reduces the consumption of transmission resources, but also improves the performance of the video networking terminals and the user satisfaction.
Optionally, in another embodiment, on the basis of the foregoing embodiment, before sending the identity reading instruction to the second internet of things terminal, the method may further include:
detecting whether the second video network terminal is in an online state or not; and if the terminal is in an online state, the step of sending the identity reading instruction to the second video network terminal is executed.
That is to say, in this embodiment, the internet of view server may periodically detect whether the second internet of view terminal is in an online state, and a specific detection manner may be detected by a heartbeat. That is to say, the second video network terminal can send a heartbeat to the video network server periodically to inform the video network server that the video network server is in an online state; and if the video network server does not receive the heartbeat sent by the second video network terminal within the preset time, the second video network terminal is in an offline state. Further, if the second video network terminal is in an offline state, the video network server cannot send the identity reading instruction to the second video network server, and the identity data reading fails, that is, when the second video network terminal is in an online state, the first video network terminal can read the identity data through the identity card reader of the second video network terminal, so that the identity data information read by the identity card reader can be directly transmitted between the video network terminals, the transmission efficiency is improved, the consumption of transmission resources is reduced, and the performance of the video network terminals and the user satisfaction are improved.
Referring to fig. 6, another flowchart of a data transmission method according to an embodiment of the present invention is shown, where the method is applied to a video network, and specifically includes the following steps:
step 601: the second video network terminal receives an identity reading instruction sent by the video network server, wherein the identity reading instruction is sent by the first video network terminal;
in the step, after receiving an identity reading instruction sent by a first video network terminal, the video network server includes a terminal number of a second video network terminal or a video network number, and then sends the identity reading instruction to the second video network terminal.
Step 602: the second video network terminal sends the identity reading instruction to an identity card reader;
in this step, when the second video network terminal receives the identity readable instruction, it needs to read the identity data information through the identity card reader, for example, read the identity card information of the identity card on the identity card reader, and certainly, may also read the account book or passport information. And then, the read identity data information is sent to a second video network terminal through the video network.
It should be noted that the identity card reader may be an identity card reader, a house number card reader, or a passport card reader, or an integration of all of the above, i.e. a smart identity card reader, etc.
Step 603: the second video network terminal receives the read identity data information sent by the identity card reader;
in the step, the second video network terminal receives the identity data information read by the identity card reader through the video network.
Step 604: the second video network terminal encapsulates the identity data information by using a video network protocol to obtain encapsulated identity data information;
in this step, after receiving the identity data information, the second video network encapsulates the identity data information by using the video network protocol, for example, the identity data information is added to an extension field of the video network protocol, and the encapsulated identity data information is obtained. The specific packaging process is well known in the art and will not be described herein.
It should be noted that, in this embodiment, the video network terminal (for example, the second video network terminal) may be configured to drive an identity card reader to read identity data information based on a Linux system, may also be configured to drive the identity card reader to read identity data information based on a windows operating system, and of course, may also be configured to drive the identity card reader to read identity data information based on other operating systems, which is not limited in this embodiment.
Step 605: and the second video network terminal sends the encapsulated identity data information to the video network server, and sends the identity data information to the video network server, so that the video network server can conveniently send the encapsulated identity data information to the first video network terminal.
In the step, the second video network terminal sends the encapsulated identity data information to the video network server through the video network, the video network server sends the encapsulated identity data information to the first video network terminal after receiving the encapsulated identity data information, and the first video network terminal unpacks the received identity data information to obtain the corresponding identity data information.
In the embodiment of the invention, based on the video networking environment, the identity data information read by the identity card reader can be transmitted between the video networking terminals, so that the transmission efficiency is improved, the consumption of transmission resources is reduced, and the performance and the user satisfaction of the video networking terminals are improved.
Optionally, in yet another embodiment, on the basis of the foregoing embodiment, before the second video network terminal receives the identity reading instruction sent by the video network server, the method may further include: and the second video network terminal sends heartbeat to the video network server to inform the video network server that the second video network terminal is in an online state.
In this embodiment, the second internet-of-view terminal may send a heartbeat to the internet-of-view server to notify that the internet-of-view server is in an online state, that is, through the heartbeat, the internet-of-view server can detect that the second internet-of-view terminal is in an online state.
In the embodiment of the invention, the video network terminal actively informs the video network server that the video network server is in the online state so that the video network server sends the identity reading instruction, thereby improving the normal reading times and the transmission efficiency of the identity data information.
Referring to fig. 7, a flowchart of an application example of a data transmission method according to an embodiment of the present invention is shown, where the method is applied to a video network, and entities involved in the method include: the system comprises a video network server, a first video network terminal and a second video network terminal, wherein the first video network terminal and the second video network terminal are connected with the video network server through a video network, the second video network terminal is connected with an identity card reader through the video network, and the specific implementation process comprises the following steps:
step 701: the first video network terminal sends an identity reading instruction to the video network server through the video network, wherein the identity reading instruction comprises: the terminal number or the video networking number of the second video networking terminal;
step 702: the video network server sends the identity reading instruction to the second video network terminal through a video network;
step 703: the second video network terminal sends the identity reading instruction to an identity card reader;
step 704: the identity card reader reads identity data information;
step 705: the identity card reader sends the identity data information to the second video network terminal;
step 706: the second video network terminal encapsulates the received identity data information through a video network protocol to obtain encapsulated identity data information;
step 707: the second video network terminal sends the packaged identity data information to the video network server;
step 708: the video network server sends the received and packaged identity data information to a first video network terminal;
step 709: and the first video network terminal de-encapsulates the received encapsulated identity data information to obtain the identity data information.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 8, a schematic structural diagram of a data transmission device according to an embodiment of the present invention is provided, where the device may be applied to a video network, and specifically includes the following modules: a first receiving module 801, a first transmitting module 802, a second receiving module 803, and a second transmitting module 804, wherein,
a first receiving module 801, configured to receive an identity reading instruction sent by a first video network terminal, where the identity reading instruction includes: the terminal number or the video networking number of the second video networking terminal;
a first sending module 802, configured to send the identity reading instruction to the second internet of things terminal, so that the second internet of things terminal reads identity data information through an identity card reader;
a second receiving module 803, configured to receive the read identity data information sent by the second video network terminal through a video network protocol;
a second sending module 804, configured to send the identity data information to the first video network terminal.
Optionally, the apparatus may further include: the detecting module 901 is schematically shown in fig. 9, wherein,
a detecting module 901, configured to detect whether the second video network terminal is in an online state before the first sending module 802 sends the identity reading instruction to the second video network terminal;
the first sending module 802 is further configured to send the identity reading instruction to the second video network terminal when the detecting module 901 detects that the second video network terminal is in an online state.
It should be noted that fig. 9 is taken as an example when the first receiving module 801 receives the identity reading instruction. In practical applications, the method is not limited to this.
Referring to fig. 10, a schematic structural diagram of a data transmission device according to an embodiment of the present invention is shown, where the device is applied to a video network, and the device includes: a first receiving module 1001, a first transmitting module 1002, a second receiving module 1003, an encapsulating module 1004, and a second transmitting module 1005, wherein,
a first receiving module 1001, configured to receive an identity reading instruction sent by a video network server, where the identity reading instruction is sent by a first video network terminal;
a first sending module 1002, configured to send the identity reading instruction to an identity card reader;
a second receiving module 1003, configured to receive read identity data information sent by the identity card reader;
the encapsulation module 1004 is configured to encapsulate the identity data information using a video networking protocol to obtain encapsulated identity data information;
a second sending module 1005, configured to send the encapsulated identity data information to the video network server, so that the video network server sends the encapsulated identity data information to the first video network terminal.
Optionally, in another embodiment, on the basis of the above embodiment, the apparatus may further include: a third sending module (not shown in the figure),
the third sending module is used for sending a heartbeat to the video network server to inform the video network server that the video network server is in an online state before the first receiving module receives the identity reading instruction sent by the video network server.
Referring to fig. 11, a schematic structural diagram of a data transmission system according to an embodiment of the present invention is shown, where the system is applied to a video network, and the system includes: a first video network terminal 1101, a video network server 1102, a second video network terminal 1103 and an identity reader 1104, wherein the video network server 1102, the first video network terminal 1101 and the second video network terminal 1103 connected by a video network, the second video network terminal 1103 connected with the identity reader 1104 by the video network, wherein,
the first internet of view terminal 1101 is configured to send an identity reading instruction to the internet of view server 1102, where the identity reading instruction includes: the terminal number or the video networking number of the second video networking terminal;
the video network server 1102 is configured to send the identity reading instruction to the second video network terminal 1103;
the second video network terminal 1103 is configured to send the identity reading instruction to the identity card reader 1104;
the identity card reader 1104 is configured to read identity data information and send the identity data information to the second video networking terminal 1103;
the second video network terminal 1103 is further configured to encapsulate the received identity data information through a video network protocol, and send the encapsulated identity data information to the video network server 1102;
the video network server 1102 is further configured to send the received encapsulated identity data information to the first video network terminal 1101;
the first video network terminal 1101 is further configured to decapsulate the received identity data information to obtain identity data information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Optionally, an embodiment of the present invention further provides a network device, including: the data transmission method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the data transmission method embodiment can be realized, the same technical effect can be achieved, and the details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the data transmission method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data transmission method, apparatus, system, network device and computer-readable storage medium provided by the present invention are described in detail above, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A data transmission method is applied to a video network, and comprises the following steps:
receiving an identity reading instruction sent by a first video network terminal, wherein the identity reading instruction comprises: the terminal number or the video networking number of the second video networking terminal;
when the second video network terminal is in an online state, the identity reading instruction is sent to the second video network terminal, so that the second video network terminal can read identity data information through an identity card reader;
receiving the identity data information sent by the second video networking terminal through a video networking protocol;
sending the identity data information to the first video network terminal;
before sending the identity reading instruction to the second video network terminal, the method further comprises:
detecting whether the second video network terminal is in an online state or not; and if the terminal is in an online state, the step of sending the identity reading instruction to the second video network terminal is executed.
2. A data transmission method is applied to a video network, and comprises the following steps:
when the second video network terminal is in an online state, the second video network terminal receives an identity reading instruction sent by a video network server, wherein the identity reading instruction is sent by the first video network terminal;
the second video network terminal sends the identity reading instruction to an identity card reader;
the second video network terminal receives the read identity data information sent by the identity card reader;
the second video network terminal encapsulates the identity data information by using a video network protocol to obtain encapsulated identity data information;
the second video network terminal sends the packaged identity data information to the video network server so that the video network server can send the packaged identity data information to the first video network terminal conveniently;
before the second video network terminal receives the identity reading instruction sent by the video network server, the method further comprises the following steps:
and the second video network terminal sends heartbeat to the video network server to inform the video network server that the second video network terminal is in an online state.
3. A data transmission apparatus, wherein the apparatus is applied in a video network, the apparatus comprising:
the first receiving module is configured to receive an identity reading instruction sent by a first video network terminal, where the identity reading instruction includes: the terminal number or the video networking number of the second video networking terminal;
the first sending module is used for sending the identity reading instruction to the second video network terminal when the second video network terminal is in an online state so as to facilitate the second video network terminal to read identity data information through an identity card reader;
the second receiving module is used for receiving the identity data information sent by the second video network terminal through a video network protocol;
the second sending module is used for sending the identity data information to the first video network terminal;
the device further comprises:
the detection module is used for detecting whether the second video network terminal is in an online state or not before the first sending module sends the identity reading instruction to the second video network terminal;
the first sending module is further configured to send the identity reading instruction to the second video network terminal when the detection module detects that the second video network terminal is in an online state.
4. A data transmission apparatus, wherein the apparatus is applied in a video network, the apparatus comprising:
the first receiving module is used for receiving an identity reading instruction sent by the video network server when the second video network terminal is in an online state, wherein the identity reading instruction is sent by the first video network terminal;
the first sending module is used for sending the identity reading instruction to an identity card reader;
the second receiving module is used for receiving the read identity data information sent by the identity card reader;
the packaging module is used for packaging the identity data information by using a video networking protocol to obtain the packaged identity data information;
the second sending module is used for sending the encapsulated identity data information to the video network server so that the video network server can send the encapsulated identity data information to the first video network terminal conveniently;
the device further comprises:
and the third sending module is used for sending a heartbeat to the video network server to inform the video network server that the video network server is in an online state before the first receiving module receives the identity reading instruction sent by the video network server.
5. A data transmission system, the system comprising: a video network server, a first video network terminal and a second video network terminal connected with the video network server through a video network, the second video network terminal is connected with an identity card reader through the video network, wherein,
the first video network terminal is used for sending an identity reading instruction to the video network server when the second video network terminal is in an online state, wherein the identity reading instruction comprises the following steps: the terminal number or the video network number of the second video network terminal;
the video network server is used for sending the identity reading instruction to the second video network terminal;
the second video network terminal is used for sending the identity reading instruction to an identity card reader;
the identity card reader is used for reading identity data information and sending the identity data information to the second video network terminal;
the second video network terminal is also used for packaging the received identity data information through a video network protocol and sending the packaged identity data information to the video network server;
the video network server is also used for sending the received and packaged identity data information to the first video network terminal;
the first video network terminal is further used for de-encapsulating the received identity data information to obtain identity data information;
before sending the identity reading instruction to the second video network terminal, the method further comprises the following steps:
detecting whether the second video network terminal is in an online state or not; and if the terminal is in the online state, the step of sending the identity reading instruction to the second video network terminal is executed.
6. A network device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when being executed by the processor, carries out the steps of the data transmission method according to one of claims 1 to 2.
7. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps in the data transmission method according to one of claims 1 to 2.
CN201910365354.9A 2019-04-30 2019-04-30 Data transmission method, device, system, network equipment and storage medium Active CN110166443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910365354.9A CN110166443B (en) 2019-04-30 2019-04-30 Data transmission method, device, system, network equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910365354.9A CN110166443B (en) 2019-04-30 2019-04-30 Data transmission method, device, system, network equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110166443A CN110166443A (en) 2019-08-23
CN110166443B true CN110166443B (en) 2022-06-17

Family

ID=67633111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910365354.9A Active CN110166443B (en) 2019-04-30 2019-04-30 Data transmission method, device, system, network equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110166443B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719503A (en) * 2019-09-27 2020-01-21 视联动力信息技术股份有限公司 Data acquisition method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899532A (en) * 2015-05-20 2015-09-09 李明 Method, apparatus and system for acquiring identity card information
CN106357627A (en) * 2016-08-30 2017-01-25 李明 Method and system for reading resident identification card information and terminal
CN106685487A (en) * 2017-02-21 2017-05-17 北京小米移动软件有限公司 Identity information obtaining method and device and system
CN108717633A (en) * 2018-05-31 2018-10-30 腾讯科技(深圳)有限公司 Virtual card data processing method, system, device, computer equipment and storage medium
CN109639763A (en) * 2018-11-12 2019-04-16 武汉虹信技术服务有限责任公司 A kind of ID card information remote centralized acquisition system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9860229B2 (en) * 2015-01-19 2018-01-02 Sas Institute Inc. Integrated data extraction and retrieval system
CN108694307A (en) * 2017-04-06 2018-10-23 北京握奇智能科技有限公司 A kind of system of real name card sending system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899532A (en) * 2015-05-20 2015-09-09 李明 Method, apparatus and system for acquiring identity card information
CN106357627A (en) * 2016-08-30 2017-01-25 李明 Method and system for reading resident identification card information and terminal
CN106685487A (en) * 2017-02-21 2017-05-17 北京小米移动软件有限公司 Identity information obtaining method and device and system
CN108717633A (en) * 2018-05-31 2018-10-30 腾讯科技(深圳)有限公司 Virtual card data processing method, system, device, computer equipment and storage medium
CN109639763A (en) * 2018-11-12 2019-04-16 武汉虹信技术服务有限责任公司 A kind of ID card information remote centralized acquisition system and method

Also Published As

Publication number Publication date
CN110166443A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109167960B (en) Method and system for processing video stream data
CN110190973B (en) Online state detection method and device
CN109547163B (en) Method and device for controlling data transmission rate
CN109818960B (en) Data processing method and device
CN110557319B (en) Message processing method and device based on video network
CN109873864B (en) Communication connection establishing method and system based on video networking
CN109743284B (en) Video processing method and system based on video network
CN110650147A (en) Data acquisition method and system
CN111478880B (en) Data processing method and device
CN110493149B (en) Message processing method and device
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110392227B (en) Data processing method, device and storage medium
CN110022500B (en) Packet loss processing method and device
CN109889516B (en) Method and device for establishing session channel
CN109769012B (en) Web server access method and device
CN110677315A (en) Method and system for monitoring state
CN110418169B (en) Monitoring data carousel method and device
CN108881148B (en) Data acquisition method and device
CN110166443B (en) Data transmission method, device, system, network equipment and storage medium
CN110572367B (en) Method, system, server, device and storage medium for modifying terminal name
CN110557687B (en) Multicast data packet processing method, device and storage medium
CN110798450B (en) Audio and video data processing method and device and storage medium
CN110536148B (en) Live broadcasting method and equipment based on video networking
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant