CN110381022B - Data acquisition method and system applied to video network - Google Patents

Data acquisition method and system applied to video network Download PDF

Info

Publication number
CN110381022B
CN110381022B CN201910512051.5A CN201910512051A CN110381022B CN 110381022 B CN110381022 B CN 110381022B CN 201910512051 A CN201910512051 A CN 201910512051A CN 110381022 B CN110381022 B CN 110381022B
Authority
CN
China
Prior art keywords
data
video
target data
format information
data acquisition
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
CN201910512051.5A
Other languages
Chinese (zh)
Other versions
CN110381022A (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 CN201910512051.5A priority Critical patent/CN110381022B/en
Publication of CN110381022A publication Critical patent/CN110381022A/en
Application granted granted Critical
Publication of CN110381022B publication Critical patent/CN110381022B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • 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/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a data acquisition method applied to a video network, wherein the video network comprises a client, a video network server and a service terminal, and the service terminal is connected with intelligent acquisition equipment and is configured with a plurality of driving interfaces; the method comprises the following steps: the video network server forwards a target data acquisition instruction which is sent by the client and accords with a video network transparent transmission protocol to the service terminal; the service terminal extracts data format information and data object information from the target data acquisition instruction; determining a data acquisition mode corresponding to the data object information, and starting a first driving interface corresponding to the data format information; the intelligent acquisition equipment acquires target data of a target object according to the data acquisition mode based on the first driving interface; and the service terminal encapsulates the target data into video networking data and sends the video networking data to the client through the video networking server, thereby realizing the purpose of developing other services in the video networking.

Description

Data acquisition method and system applied to video network
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data acquisition method and system applied to a video network.
Background
The video networking is an important milestone for 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 faces each other.
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.
At present, video networking is mainly applied to the field of high-definition video services, and with the increase of service requirements of users, other services except audio and video services cannot be realized by the existing video networking technology, for example, data such as photos collected by some collection equipment cannot be acquired by the existing video networking.
Content of application
In view of the above problems, embodiments of the present application are proposed to provide a data acquisition method applied to a video network and a data acquisition system applied to a video network, which overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present application discloses a data acquisition method applied to a video network, where the video network includes a client, a video network server in communication connection with the client, and a service terminal in communication connection with the video network server, the service terminal is connected with an intelligent acquisition device, and the service terminal is configured with multiple driving interfaces; the method comprises the following steps:
the video network server receives a target data acquisition instruction which is sent by the client and accords with a video network transparent transmission protocol, and sends the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol;
the service terminal analyzes data format information and data object information from the target data acquisition instruction;
the service terminal determines a data acquisition mode corresponding to the data object information and starts a first driving interface corresponding to the data format information;
the intelligent acquisition equipment acquires target data of a target object according to the data acquisition mode based on the started first driving interface;
the service terminal acquires the target data, packages the target data into video networking data conforming to a video networking protocol, and sends the video networking data to the video networking server;
and the video networking server sends the video networking data to the client.
The embodiment of the application also correspondingly discloses a data acquisition system applied to the video network, so as to realize the data acquisition method applied to the video network, wherein the video network comprises a client, a video network server in communication connection with the client and a service terminal in communication connection with the video network server, the service terminal is connected with intelligent acquisition equipment, and the service terminal is configured with a plurality of driving interfaces; the system comprises:
the transparent transmission instruction response module is positioned on the video network server and used for receiving a target data acquisition instruction which is sent by the client and accords with a video network transparent transmission protocol, and sending the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol;
the analysis module is positioned at the service terminal and used for analyzing the data format information and the data object information from the target data acquisition instruction;
the driving module is positioned at the service terminal and used for determining a data acquisition mode corresponding to the data object information and starting a first driving interface corresponding to the data format information;
the data acquisition module is positioned on the intelligent acquisition equipment and used for acquiring target data of a target object according to the data acquisition mode based on the started first driving interface;
the data acquisition and transmission module is positioned at the service terminal and used for acquiring the target data, packaging the target data into video networking data conforming to a video networking protocol and transmitting the video networking data to the video networking server;
and the data forwarding module is positioned at the video networking server and used for sending the video networking data to the client.
The embodiment of the application has the following advantages:
in the embodiment of the application, a client sends a target data acquisition instruction of a video networking transparent transmission protocol to a video networking server, the video networking server sends the target data acquisition instruction to a service terminal according to the video networking service transparent transmission protocol, the service terminal starts a first driving interface according to data format information in the target data acquisition signaling and determines a data acquisition mode according to data object information, then intelligent acquisition equipment acquires target data according to the data acquisition mode based on the started first driving interface, the service terminal further encapsulates the acquired target data into video networking data of the video networking protocol, then the video networking data is sent to the client, the client further acquires the target data acquired by the intelligent acquisition equipment, the implementation of other services except high-definition video in the video networking is realized, and the field of video networking services is widened, the practicability of the video network is enhanced.
Furthermore, after the service terminal acquires the target data, whether the target data is matched with the data format information is also judged, and if not, error information is displayed, so that the service terminal has a function of intelligently identifying whether the target data is the required data, and the acquisition accuracy of the target data is enhanced.
Drawings
FIG. 1 is a networking schematic of a video network of the present application;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present application;
fig. 3 is a schematic diagram of a hardware architecture of an access switch of the present application;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present application;
FIG. 5 is a flowchart illustrating steps of a data acquisition method applied to a video network according to a first embodiment of the present application;
FIG. 6 is a flowchart illustrating steps of a data acquisition method applied to a video network according to a first embodiment of the present application
FIG. 7 is a flowchart illustrating steps of an example of a data acquisition method applied to a video network according to a first embodiment of the present application;
fig. 8 is a schematic structural diagram of a second embodiment of a data acquisition system applied to a video network according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The video networking is an important milestone for 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 faces each other.
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 application, 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 eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids 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 application 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 queue 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), defined as 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., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and 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 application: 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 by reference to the following: 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.
Based on the characteristics of the video network, the embodiment of the application provides one of core concepts for solving the technical problems, the client sends a target data acquisition instruction which accords with a video network transparent transmission protocol, the video network server sends the target data acquisition instruction to the service terminal, then the service terminal can start the intelligent acquisition equipment to acquire target data according to a data object information and a data format information in the target data acquisition instruction, and the service terminal packs the target data into video network data and sends the video network data to the client. The technical purpose that the user can acquire the target data acquired by the intelligent acquisition equipment in the video network is achieved.
Example one
Referring to fig. 5, a flowchart illustrating a first step of a data acquisition method applied to a video network according to an embodiment of the present application is shown, where the video network includes a client, a video network server in communication connection with the client, and a service terminal in communication connection with the video network server, the service terminal is connected with an intelligent acquisition device, and the service terminal is configured with a plurality of driving interfaces.
Among them, the client may be, but is not limited to, the following devices: personal Computers (PCs), smart phones, tablet computers, televisions, and the like. The service terminal can be a microcomputer, and the intelligent acquisition device can be, but is not limited to, the following devices: high-speed shooting instrument, scanner. In the embodiment of the application, the service terminal can be connected with the intelligent acquisition equipment to form an integrated device, for example, the service terminal and the intelligent acquisition equipment form an integrated machine.
In this embodiment of the present application, the driving interface may be understood as a software interface in the service terminal, where the software interface is used to drive each data acquisition interface in the intelligent acquisition device, and the data acquisition interface of the intelligent acquisition device may be connected to a hardware device configured on the intelligent acquisition device, and in practice, the data acquisition interface may include, but is not limited to, a camera interface, a USB interface, a bluetooth interface, and the like. The service terminal can trigger the data acquisition interface of the intelligent acquisition equipment by starting the corresponding driving interface, and further awaken the corresponding hardware equipment, and in practice, different driving interfaces can drive different data acquisition interfaces of the intelligent acquisition equipment so as to acquire target data in different formats.
The method in the embodiment of the application may specifically include the following steps:
step 501, the video network server receives a target data acquisition instruction which is sent by the client and accords with a video network transparent transmission protocol, and sends the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol.
In the embodiment of the application, the client and the service terminal can be registered in the video networking server in advance, and can join the video networking after the registration is successful. In practice, the target data obtaining instruction may be generated by the client when receiving an operation of obtaining the target data from the user, or may be generated by the client when a certain service is triggered, for example, the client detects that a service for changing the contact is triggered.
In the embodiment of the application, the target data acquisition instruction is an instruction according with a video networking transparent transmission protocol, the video networking transparent transmission protocol is one of a plurality of video networking protocols, the video networking transparent transmission protocol can be a protocol for unidirectional transmission of the instruction, the target data instruction encapsulated by the video networking transparent transmission protocol is unidirectional transmission in the video networking, and when the service terminal receives the target data acquisition instruction, whether to reply or not can be determined by self according to the content of the target data acquisition instruction, namely the service terminal can not send a reply signaling to the client according to the target data acquisition instruction. Therefore, the signaling frequency between the client and the service terminal can be reduced, the forwarding burden of the video network server and the instruction processing and analyzing burden of the client and the service terminal are reduced, and partial memories of the client and the service terminal are released.
In practice, the video network server may not analyze the payload data in the target data acquisition instruction, but directly send the target data acquisition instruction to the service terminal according to the protocol packet header in the target data acquisition instruction, and the service terminal analyzes the payload data in the target data acquisition instruction after receiving the target data acquisition instruction. Therefore, when the video networking transparent transmission protocol is adopted, the video networking server can not analyze the payload data therein, so that the transmission confidentiality of the target data acquisition instruction is improved, and the instruction is prevented from being intercepted.
In this embodiment of the present application, the payload data may refer to data information carried in the target data obtaining instruction, and may include, but is not limited to, the following information: target data object information, target data format information, time information, port information, intelligent acquisition device information, and the like.
Step 502, the service terminal analyzes the data format information and the data object information from the target data acquisition instruction.
In the embodiment of the application, after receiving the target data acquisition instruction, the service terminal may analyze the data object information and the data format information from the target data acquisition instruction by using the video networking transparent transmission protocol. The data object information may refer to information of an object of target data to be captured, and the object may include a certificate, a stereoscopic model, a photograph, and the like. The data format information may refer to a format of the acquired target data, and may include a picture format, a PDF format, a video format, and the like. In specific implementation, the service terminal can also display the data object information, so that a user can determine a target object to be acquired according to the displayed data object information.
Step 503, the service terminal determines a data acquisition mode corresponding to the data object information, and starts a first driving interface corresponding to the data format information.
In practice, after the service terminal analyzes the data object information and the data format information, the service terminal may determine a corresponding data acquisition mode according to the data object information, and start the corresponding first driving interface according to the data format information. The data acquisition mode may be an acquisition mode adopted when acquiring the target data, and if the data object information indicates that the data object to be acquired is an identity card, the data acquisition mode may be determined as an identity card scanning mode. In specific implementation, a plurality of data acquisition threads can be set in the service terminal, and each data acquisition thread corresponds to one data acquisition mode.
Step 504, the intelligent acquisition device acquires target data of a target object according to the data acquisition mode based on the started first driving interface.
In practice, the intelligent acquisition device may trigger the target data acquisition interface in communication connection with the first driving interface based on the started first driving interface, and the triggered target data acquisition interface may wake up a hardware device connected to the intelligent acquisition device itself, and the woken up hardware device may be configured to acquire target data of the target object according to the data acquisition mode. When the first driving interface is driven, the intelligent acquisition device correspondingly triggers the target data acquisition interface connected with the first driving interface, the triggered target data acquisition interface can further awaken the corresponding hardware device, and the hardware device can acquire the target data of the target object according to the data acquisition mode. During specific implementation, a user can place a target object into the intelligent acquisition equipment according to the displayed data object information, and further the intelligent acquisition equipment can acquire target data of the target object.
For example, taking data object information as information representing that an object to be acquired is an identity card, taking data format information as information in a picture format as an example, a data acquisition mode determined by a service terminal is an identity card acquisition mode, the identity card acquisition mode corresponds to an identity card data acquisition thread, an intelligent acquisition device triggers a picture data acquisition interface of the intelligent acquisition device based on a started first driving interface, and further starts a camera configured by the intelligent acquisition device, and the camera automatically adjusts a focal length and a shooting range of a lens of the camera under the operation of the identity card data acquisition thread to adapt to shooting requirements of the identity card, and further acquires a picture of the identity card, wherein the specific format of the picture can be a JPG format, a JFPG format, and the like, and the embodiment of the application is not limited herein.
And 505, the service terminal acquires the target data, packages the target data into video networking data conforming to a video networking protocol, and sends the video networking data to the video networking server.
In practice, the service terminal can automatically acquire target data acquired by the intelligent acquisition equipment through a communication data line connected with the intelligent acquisition equipment, add a video networking protocol packet header to the target data, further obtain video networking data conforming to a video networking protocol, and send the video networking data to a video networking server. In the embodiment of the application, the video networking data is data conforming to a video networking protocol, and the video networking protocol may be different from a video networking transparent transmission protocol. In this way, the video network server can analyze the target data when receiving the video network data, so that the storage and backup operations of the target data can be performed.
Step 506, the video network server sends the video network data to the client.
In this embodiment, the video networking server may send the video networking data to the client according to the address of the client recorded in the protocol packet header of the video networking data. Further, the client acquires target data of a target object required by the client.
In the embodiment of the application, a target data acquisition instruction which accords with the video networking transparent transmission protocol is sent by a client, and then the service terminal can determine a corresponding data acquisition mode and start a corresponding first driving interface according to data object information and data format information in the target data acquisition instruction, so that the intelligent acquisition equipment can trigger the target data acquisition interface to acquire target data of a target object according to the data acquisition mode based on the started first driving interface, and the target data is packaged into video networking data through the service terminal and returns to the client through a video networking server. Furthermore, the target data of the target object, which accord with the specified data format, is acquired through the first driving interface, and in the acquisition process, the data acquisition mode is flexibly adjusted according to the target object represented by the data object information, so that the matching degree of the acquired target data and the target object can be improved. Therefore, the data of other formats besides the audio and video data acquired by the intelligent acquisition equipment can be acquired in the video network, the service application field of the video network is widened, and the problem that data such as photos or scanned files acquired by some acquisition equipment cannot be acquired in the video network in the past is solved.
Referring to fig. 6, a flowchart illustrating steps of a further data acquisition method applied to a video network according to an embodiment of the present application is provided, where the video network includes a client, a video network server in communication connection with the client, and a service terminal in communication connection with the video network server, the service terminal is connected with an intelligent acquisition device, and the service terminal is configured with a plurality of driving interfaces.
Among them, the client may be, but is not limited to, the following devices: personal Computers (PCs), smart phones, tablet computers, televisions, and the like. The service terminal can be a microcomputer, and the intelligent acquisition device can be, but is not limited to, the following devices: high-speed shooting instrument, scanner. In the embodiment of the application, the service terminal can be connected with the intelligent acquisition equipment in a USB mode to form an integral device, and for example, the service terminal and the intelligent acquisition equipment form an integrated machine.
The method specifically comprises the following steps:
step 601, the client generates a target data acquisition instruction conforming to the video networking transparent transmission protocol.
In an application scenario in which a client generates a target data acquisition instruction in the embodiment of the application, the client may be provided with a function interface for providing a user with a selection operation, and the function interface may include multiple selections of data objects, for example, a selection of data objects such as "acquire an id card photo" and "acquire a certificate photo", and after the user selects "acquire an id card photo", the function interface may further display a selection of a data format of the data object, for example, a selection of "PDF format" or "picture format". And the client can generate a corresponding target data acquisition instruction according to the selection of the user.
In another application scenario in which the client generates the target data acquisition instruction in the embodiment of the application, the client may be a client server, and may provide background service and audit for handling various services, for example, provide background service and audit for a reserved information change service of a policy, a mobile phone loss report service, and the like. When a user sends a corresponding service transaction application to a client, the client can automatically generate a target data acquisition instruction according to the type of service transaction to be applied. If the service type of the application is a loss report service type of the mobile phone, the target data acquisition instruction may include data object information and data format information that need to be acquired in the process of handling the loss report of the mobile phone.
Step 602, the video network server receives a target data acquisition instruction which is sent by the client and conforms to a video network transparent transmission protocol, and sends the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol.
In practice, the client sends the generated target data acquisition instruction to the video network server, and the video network server in turn sends the target data acquisition instruction to the service terminal.
As an optional example of the embodiment of the present application, the step of sending the target data obtaining instruction to the service terminal by the video network server in step 602 specifically includes the following sub-steps:
sub-step 6021, the video network server removes the first MAC address and the first device number from the target data acquisition instruction, and acquires the second MAC address and the second device number of the client.
In this embodiment of the application, the target data obtaining instruction is an instruction conforming to a video networking transparent transmission protocol, and a protocol header of the target data instruction may include a first MAC address and a first device number of a service terminal, so that, after obtaining the target data obtaining instruction, the video networking server may remove the first MAC address and the first device number in a protocol header of the target data obtaining instruction based on the video networking transparent transmission protocol, and obtain a second MAC address and a second device number of the client.
In specific implementation, because the client is registered in the video network server in advance, the video network server can store the information such as the MAC address, the device number, the device name and the like of the client, and the target data acquisition instruction can only include the device name of the client, so that the video network server can search the MAC address and the device number of the client from the information stored in the video network server according to the device name of the client.
Sub-step 6022, the video network server writes the second MAC address and the second device number into the protocol header of the target data acquisition instruction.
When the video network server acquires the second MAC address and the second device number of the client, the second MAC address and the second device number of the client may be encapsulated in the protocol packet header of the target data acquisition instruction.
And a substep 6023, sending the target data acquisition instruction written with the second MAC address and the second device number to the service terminal by the video network server.
In practice, after writing the second MAC address and the second device number, the video network server may send the target data obtaining instruction to the service terminal, so that when the service terminal receives the target data obtaining instruction, the address of the service terminal may be determined according to the second MAC address and the second device number recorded in the protocol packet header, so as to subsequently send the acquired target data to the service terminal.
Step 603, the service terminal analyzes the data format information and the data object information from the target data acquisition instruction.
In the embodiment of the application, after receiving the target data acquisition instruction, the service terminal may analyze the target data acquisition instruction by using a video networking protocol, so as to obtain a protocol packet header and payload data in the target data acquisition instruction, and may record a second MAC address in the protocol packet header and the second device number, where the payload data may include data object information and data format information.
For example, taking the above application scenario as an example, when the client performs an operation of "acquiring a certificate photo" and selecting a "picture format" according to the user, in the generated target data acquisition instruction, the data object information may be the "certificate photo", and the data format information may be the "picture format".
For example, when the client receives a request for a loss report service of a mobile phone, in the generated target data acquisition instruction, the data object information may be an "identification card photo" or a "driver card photo", and the data object information may be in a "picture format".
Step 604, the service terminal determines a data acquisition mode corresponding to the data object information, and starts a first driving interface corresponding to the data format information.
In the embodiment of the application, when the data acquisition mode is determined according to the data object information, the data acquisition threads corresponding to the data object information can be operated in the preset data acquisition threads, and the operated data acquisition threads can support the acquisition of target data according to the determined data acquisition mode. If the data object information is the 'certificate photo', the certificate acquisition thread can be started, if the data object information is the 'driver license photo', the driver license photo acquisition thread can be started, and if the data object information is the 'declaration file', the declaration file acquisition thread can be started.
As an embodiment of the present application, the data format information is text format information, video format information, or picture format information, and specifically, in this step 604, if the data format information is text format information, the service terminal may start a second driving interface corresponding to the text format information. In practice, the second driving interface may be a software interface for driving a text data acquisition interface in the smart acquisition device.
If the data format information is the video format information, the service terminal may start a third driving interface corresponding to the video format information. In practice, the third driving interface may be a software interface for driving the video data acquisition interface in the intelligent acquisition device.
If the data format information is the picture format information, the service terminal may start a fourth driving interface corresponding to the picture format information. In practice, the fourth driving interface may be a software interface for driving the picture data collecting interface in the intelligent collecting device.
It should be noted that the second driving interface, the third driving interface, and the fourth driving interface in this embodiment are driving interfaces under different data format information, that is, in the case of text format information, the first driving interface is the second driving interface, in the case of video format information, the first driving interface is the third driving interface, and in the case of picture format information, the first driving interface is the fourth driving interface.
Step 605, the intelligent acquisition device acquires target data of a target object according to the data acquisition mode based on the started first driving interface.
In practice, when the service terminal starts the first driving interface, the corresponding target data acquisition interface in the intelligent acquisition device is driven, and then the hardware device connected with the data acquisition interface is awakened, and the driven hardware device acquires target data of a target object according to a data acquisition mode.
In specific implementation, if the data object information is a 'declaration file' (a target object is a declaration file) and the data format information is text format information, the determined data acquisition mode is a file acquisition mode, a declaration file acquisition thread is correspondingly started, the started first driving interface is a second driving interface corresponding to the text format information, correspondingly, the text data acquisition interface of the intelligent acquisition equipment is started, and then a USB connected with the text data acquisition interface is started, the started USB can read the declaration file under the operation of the declaration file acquisition thread, and specifically, a user can connect a storage device storing the declaration file to the USB by using an existing data line so as to transmit the declaration file to the USB.
If the data object information is a 'driver license photo' (the target object is a driver license), and the data format information is video format information, the determined data acquisition mode is a driver license acquisition mode, a driver license acquisition thread is started, and the started first driving interface is a third driving interface, so that the video data acquisition interface in the intelligent acquisition equipment is started, and then the camera is awakened, and the awakened camera shoots the driver license under the operation of the driver license acquisition thread to acquire the video data of the driver license.
If the data object information is a certificate photo (a target object is a certificate) and the data format information is picture format information, the determined data acquisition mode is a certificate photo acquisition mode, a corresponding started certificate acquisition thread, and the started first driving interface is a fourth driving interface corresponding to the picture format information.
If the data object information is a 'mold' (a target object is a mold) and the data format information is video format information, the determined data acquisition mode is a mold acquisition mode, a corresponding started mold acquisition thread is provided, the started first driving interface is a third driving interface corresponding to the video format information, correspondingly, a video data acquisition interface in the intelligent acquisition equipment is started, and then a camera is awakened, and the awakened camera shoots the mold from four directions of top, bottom, left and right under the operation of the mold acquisition thread so as to acquire the video data of the mold.
And 606, the service terminal acquires the target data, packages the target data into video networking data conforming to a video networking protocol, and sends the video networking data to the video networking server.
In this embodiment of the application, the process of the service terminal encapsulating the collected target data into the video networking data of the video networking protocol may be:
and the service terminal adds a video networking protocol packet header to the target data, wherein the networking protocol packet header comprises the first MAC address, the first equipment number, the second MAC address and the second equipment number.
The first MAC address and the first equipment number are the MAC address and the equipment number of the service terminal, and the second MAC address and the second equipment number are the MAC address and the equipment number of the client. Thus, the protocol header of the video networking packet includes the address of the source device (service terminal) and the address of the destination device (client).
Step 607, the server sends the data to the client.
In this embodiment of the present application, since the video networking data is data conforming to a video networking protocol, and the video networking data includes an address of a source device (service terminal) and an address of a destination device (client), the video networking server may not process a protocol packet header of a video networking data packet, so as to directly forward the video networking data to the client. Thus, when the video networking data is transmitted through the video networking protocol, the client can return the state of receiving the video networking data to the service terminal, for example, when the target data is data in a video format, the target data can be firstly packaged into data of a real-time data transmission RTP protocol, and then the RTP data is packaged by adopting the video networking protocol, so that the client confirms the receiving state of the video networking data to the service terminal in real time.
As an optional example of the embodiment of the present application, after the step of acquiring the target data in step 606, the following steps may be further included:
at step s1, the service terminal determines whether the target data matches the data format information.
In practice, due to reasons such as poisoning of a service terminal, the first driving interface of the driver is an incorrect driving interface, which causes starting of an incorrect hardware device, and thus, a format of target data of a target object acquired by the incorrect hardware device may be inconsistent with data format information, for example, the data format information is video format information, but the first driving interface of the driver is determined to be the fourth driving interface (for text), and a format of the target data acquired in this way is also a picture format, instead of a video format. In order to discriminate such a situation, after the service terminal acquires the target data, it may determine whether the format of the target data matches the data format information, specifically, if the data object information is video format information, it determines whether the format of the target data is a video format, for example, the format of the target data is MP4 format, and is a video format, it may be determined that the target data matches the data format information, and if the format of the target data is JPG format, it is not a video format, it may be determined that the target data does not match the data format information.
In step s1, if it is determined that the target data matches the data format information, the service terminal performs an operation of encapsulating the target data into the internet-of-view data and a subsequent operation of sending the internet-of-view data to the internet-of-view server. If it is determined that the target data does not match the data format information, the service terminal proceeds to step s 2.
Step s2, the service terminal generates error information including the data object information and displays the error information.
In practice, when the service terminal determines that the format of the target data is inconsistent with the data format information, the service terminal may generate error information, where the error information may include data object information, so that a user may know, according to the error information, which type of target object has an error in data acquisition, so as to provide a solution in a targeted manner. Wherein the error information may be code information, for example, 40021#, and the error information may be displayed on the display device.
Through the step s1 and the step s2, the service terminal has the function of intelligently identifying whether the target data is the required data, and the acquisition accuracy of the target data is enhanced.
At step 608, the client displays or stores the received video networking data.
In the embodiment of the application, the client can display the video networking data and can also store the video networking data.
As shown in fig. 7, a flowchart of steps of another data acquisition method applied to a video network according to an embodiment of the present application is shown, where the embodiment is a specific application example, the video network includes a client, a video network server in communication connection with the client, and a service terminal in communication connection with the video network server, the service terminal is connected with an intelligent acquisition device, and the service terminal is configured with a plurality of driving interfaces.
In the application example, the business terminal is a microcomputer in an integrated server, the intelligent acquisition equipment is a high-speed shooting instrument, and the client is a PC. The high-speed shooting device comprises a high-speed shooting device, a microcomputer, a plurality of driving interfaces, a data acquisition interface, a hardware device and a plurality of driving interfaces, wherein the high-speed shooting device is connected with the microcomputer, the microcomputer is provided with the plurality of driving interfaces, each driving interface is in communication connection with one data acquisition interface in the high-speed shooting device, each data acquisition interface is connected with one hardware device for data acquisition, and the hardware devices are all configured in the high-speed shooting device and form a whole with the high-speed shooting device. Wherein the driving interface may include, but is not limited to, the following interfaces: the device comprises a picture data driving interface, a video data driving interface and a text data driving interface. The data acquisition interface in the corresponding high-speed shooting instrument can be as follows: a picture data acquisition interface, a video data acquisition interface, and a text data acquisition interface, the hardware device connected to the data acquisition interface for data acquisition may include, but is not limited to, the following devices: camera device, camera, USB or bluetooth device.
In this embodiment, the PC and the microcomputer are registered in the video network in advance.
Specifically, the present embodiment may specifically include the following steps:
and 701, generating a target data acquisition instruction conforming to the video networking transparent transmission protocol by the PC.
In this embodiment, a client may be installed on the PC, and a user may select a target object of target data to be acquired and a type of a data format by logging in the client. Furthermore, the PC can generate a target data acquisition instruction according with the video networking transparent transmission protocol according to the selection of the user, and sends the target data acquisition instruction to the video networking server.
Step 702, the video network server receives the target data acquisition instruction which is sent by the PC and conforms to the video network transparent transmission protocol, and sends the target data acquisition instruction to the microcomputer based on the video network transparent transmission protocol.
The procedure of step 702 is similar to that of step 602 and step 501, and the contents of step 602 and step 501 may be referred to specifically.
Step 703, the microcomputer parses data format information and data object information from the target data acquisition instruction.
In this embodiment, the microcomputer may analyze the target data acquisition instruction by using a video networking transparent transmission protocol, so as to obtain data format information and data object information, and may display the data object information on a display screen in the integrated server for a user to view.
Step 704, the microcomputer determines a data acquisition mode corresponding to the data object information and starts a first driving interface corresponding to the data format information.
Specifically, if the data format information is the text format information, a second driving interface corresponding to the text format information is started; if the data format information is the video format information, starting a third driving interface corresponding to the video format information; and if the data format information is the picture format information, starting a fourth driving interface corresponding to the picture format information.
In this embodiment, the microcomputer may determine a corresponding data acquisition mode according to the data object information, further start a corresponding data acquisition thread, and start a corresponding first driving interface according to the data format information. If the data object information is "an identity card", and the data format information is "picture format information", the data acquisition mode may be an identity card acquisition mode, and the first driving interface may be a fourth driving interface.
Step 705, the high-speed shooting instrument collects target data of a target object according to the data collection mode based on the started first driving interface.
In this embodiment, when the microcomputer starts the first driving interface, the target data acquisition interface in the high-speed scanner is started, and then wakes up the corresponding hardware device located in the high-speed scanner, and the woken-up corresponding hardware device can acquire the target data of the target object according to the data acquisition mode. During specific implementation, a user can place the corresponding target object in the high-speed shooting instrument according to the displayed data object information so that the high-speed shooting instrument can collect target data of the target object.
If the data object information is identity card information and the data format information is picture format information, the corresponding data acquisition mode determined by the microcomputer can be an identity card acquisition mode, and the first driving interface is a fourth driving interface. Make in the high appearance of taking a picture with fourth drive interface communication connection's picture data acquisition interface started, and then the camera equipment with picture data acquisition interface connection awakens up, this camera equipment that is awaken up alright gather the photo of ID card according to ID card acquisition mode, specifically speaking, microcomputer operation ID card acquisition thread is in order to support ID card acquisition mode, and like this, camera equipment just under the ID card acquisition thread of operation, the focus of automatic adjustment camera lens, shoot to the ID card, acquire the picture data of ID card. In practice, the user may place the identification card in front of the lens of the camera device according to the displayed data object information, so that the camera device may capture a picture of the identification card according to the identification card capturing mode.
For example, the data acquisition mode may be a statement file acquisition mode, and when the first driving interface is the second driving interface, the text data acquisition interface in the high-speed shooting instrument, which is in communication connection with the second driving interface, is started, and the bluetooth device connected to the text data acquisition interface is awakened, so that the awakened bluetooth device can acquire text data of the statement file according to the statement file acquisition mode. Specifically, when the bluetooth device is awakened, the user can transmit the declaration file on the own storage device to the high-speed shooting instrument through bluetooth.
Step 706, the microcomputer obtains the target data, packages the target data into the video networking data conforming to the video networking protocol, and sends the video networking data to the video networking server.
In this embodiment, the microcomputer can acquire the target data collected by the high-speed shooting instrument through the data line connected with the high-speed shooting instrument, and then package the target data into the video networking data of the video networking protocol.
And step 707, the video network server sends the video network data to the PC.
According to the embodiment of the application, the PC sends the target data acquisition instruction which accords with the video networking transparent transmission protocol to the video networking server, the video networking server forwards the target data acquisition instruction to the microcomputer, the microcomputer analyzes the target data acquisition instruction, determines the data acquisition mode according to the data object information, and starts the first driving interface according to the data format information, so that the high-speed shooting instrument can start the target data acquisition interface based on the started first driving interface, further awaken the hardware equipment connected with the target data acquisition interface, and further acquire the target data of the target object. The method and the device realize the technical purposes that all hardware equipment configured on the high-speed shooting instrument can be awakened in the video network to acquire photos, videos or text data and the like acquired by the high-speed shooting instrument, and further widen the service application field of the video network.
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 embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Example two
Referring to fig. 8, a block diagram of a data acquisition system applied to a video network according to an embodiment of the present application is shown, where the video network includes a client, a video network server in communication connection with the client, and a service terminal in communication connection with the video network server, where the service terminal is connected with an intelligent acquisition device, and the service terminal is configured with multiple driving interfaces; the system may include the following modules:
a transparent transmission instruction response module 801, located in the video network server, and configured to receive a target data acquisition instruction that conforms to a video network transparent transmission protocol and is sent by the client, and send the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol;
the parsing module 802 is located at the service terminal and configured to parse the data format information and the data object information from the target data acquisition instruction;
a driving module 803, located at the service terminal, configured to determine a data acquisition mode corresponding to the data object information, and start a first driving interface corresponding to the data format information;
the data acquisition module 804 is located in the intelligent acquisition device and is used for acquiring target data of a target object according to the data acquisition mode based on the started first driving interface;
a data obtaining and sending module 805, located at the service terminal, and configured to obtain the target data, package the target data into video networking data conforming to a video networking protocol, and send the video networking data to the video networking server;
and a data forwarding module 806, located at the video networking server, for sending the video networking data to the client.
Optionally, the system further includes a transparent transmission instruction generation module 800 located at the client, where the transparent transmission instruction generation module 800 is configured to generate a target data acquisition instruction conforming to a video networking transparent transmission protocol.
Optionally, a protocol header of the target data obtaining instruction includes a first MAC address and a first device number of the service terminal; the transparent transmission instruction response module comprises:
a first protocol header processing unit, configured to remove the first MAC address and the first device number from the target data obtaining instruction;
an information acquisition unit configured to acquire a second MAC address and a second device number of the client;
a second protocol header processing unit, configured to write the second MAC address and the second device number into a protocol header of the target data obtaining instruction;
and the instruction sending unit is used for sending the target data acquisition instruction written with the second MAC address and the second equipment number to a service terminal.
Optionally, the data acquiring and sending module includes:
and the protocol encapsulation unit is used for adding a video networking protocol packet header to the target data, wherein the networking protocol packet header comprises the first MAC address, the first equipment number, the second MAC address and the second equipment number.
Optionally, the data format information is text format information, video format information or picture format information;
the drive module is specifically configured to:
if the data format information is the text format information, starting a second driving interface corresponding to the text format information;
if the data format information is the video format information, starting a third driving interface corresponding to the video format information;
and if the data format information is the picture format information, starting a fourth driving interface corresponding to the picture format information.
Optionally, the system further comprises:
a determining module 807, located at the service terminal, configured to determine whether the target data matches the data format information;
a display module 808, located at the service terminal, and configured to generate error information including the data object information and display the error information if the target data is not matched with the data format information.
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.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application 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 application 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 the like) having computer-usable program code embodied therein.
Embodiments of the present application 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 application. 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 application 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 the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
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 acquisition method and the data acquisition system applied to the video network provided by the application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the application, and the description of the above embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (10)

1. A data acquisition method applied to a video network is characterized in that the video network comprises a client, a video network server in communication connection with the client and a service terminal in communication connection with the video network server, wherein the service terminal is connected with intelligent acquisition equipment and is provided with a plurality of driving interfaces; the method comprises the following steps:
the video network server receives a target data acquisition instruction which is sent by the client and accords with a video network transparent transmission protocol, and sends the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol;
the service terminal analyzes data format information and data object information from the target data acquisition instruction;
the service terminal determines a data acquisition mode corresponding to the data object information and starts a first driving interface corresponding to the data format information;
the intelligent acquisition equipment acquires target data of a target object according to the data acquisition mode based on the started first driving interface, and comprises: the intelligent acquisition device triggers a target data acquisition interface in communication connection with the first driving interface based on the started first driving interface, the triggered target data acquisition interface wakes up a hardware device connected with the intelligent acquisition device, the woken-up hardware device is used for acquiring target data of a target object according to the data acquisition mode, and the hardware device comprises: camera equipment, camera, USB, bluetooth equipment;
the service terminal acquires the target data, packages the target data into video networking data conforming to a video networking protocol, and sends the video networking data to the video networking server;
and the video networking server sends the video networking data to the client.
2. The method according to claim 1, wherein a protocol header of the target data acquisition instruction includes a first MAC address and a first device number of the service terminal;
the sending the target data acquisition instruction to the service terminal based on the video networking transparent transmission protocol comprises the following steps:
the video network server removes the first MAC address and the first equipment number from the target data acquisition instruction, and acquires a second MAC address and a second equipment number of the client;
the video network server writes the second MAC address and the second equipment number into a protocol header of the target data acquisition instruction;
and the video network server sends the target data acquisition instruction written with the second MAC address and the second equipment number to the service terminal.
3. The method of claim 2, wherein encapsulating the target data into video networking data compliant with a video networking protocol comprises:
and the service terminal adds a video networking protocol packet header to the target data, wherein the networking protocol packet header comprises the first MAC address, the first equipment number, the second MAC address and the second equipment number.
4. The method according to claim 1, wherein the data format information is text format information or video format information or picture format information;
the starting of the first driving interface corresponding to the data format information includes:
if the data format information is the text format information, starting a second driving interface corresponding to the text format information;
if the data format information is the video format information, starting a third driving interface corresponding to the video format information;
and if the data format information is the picture format information, starting a fourth driving interface corresponding to the picture format information.
5. The method of claim 1, further comprising:
the service terminal determines whether the target data is matched with the data format information;
and if not, generating error information comprising the data object information, and displaying the error information.
6. A data acquisition system applied to a video network is characterized in that the video network comprises a client, a video network server in communication connection with the client and a service terminal in communication connection with the video network server, wherein the service terminal is connected with intelligent acquisition equipment and is provided with a plurality of driving interfaces; the system comprises:
the transparent transmission instruction response module is positioned on the video network server and used for receiving a target data acquisition instruction which is sent by the client and accords with a video network transparent transmission protocol, and sending the target data acquisition instruction to the service terminal based on the video network transparent transmission protocol;
the analysis module is positioned at the service terminal and used for analyzing the data format information and the data object information from the target data acquisition instruction;
the driving module is positioned at the service terminal and used for determining a data acquisition mode corresponding to the data object information and starting a first driving interface corresponding to the data format information;
the data acquisition module is positioned on the intelligent acquisition equipment and used for acquiring target data of a target object according to the data acquisition mode based on the started first driving interface, and comprises: the intelligent acquisition device triggers a target data acquisition interface in communication connection with the first driving interface based on the started first driving interface, the triggered target data acquisition interface wakes up a hardware device connected with the intelligent acquisition device, the woken-up hardware device is used for acquiring target data of a target object according to the data acquisition mode, and the hardware device comprises: camera equipment, camera, USB, bluetooth equipment;
the data acquisition and transmission module is positioned at the service terminal and used for acquiring the target data, packaging the target data into video networking data conforming to a video networking protocol and transmitting the video networking data to the video networking server;
and the data forwarding module is positioned at the video networking server and used for sending the video networking data to the client.
7. The system according to claim 6, wherein a protocol header of the target data acquisition command includes a first MAC address and a first device number of the service terminal; the transparent transmission instruction response module comprises:
a first protocol header processing unit, configured to remove the first MAC address and the first device number from the target data obtaining instruction;
an information acquisition unit configured to acquire a second MAC address and a second device number of the client;
a second protocol header processing unit, configured to write the second MAC address and the second device number into a protocol header of the target data obtaining instruction;
and the instruction sending unit is used for sending the target data acquisition instruction written with the second MAC address and the second equipment number to the service terminal.
8. The system of claim 7, wherein the data acquisition and transmission module comprises:
and the protocol encapsulation unit is used for adding a video networking protocol packet header to the target data, wherein the networking protocol packet header comprises the first MAC address, the first equipment number, the second MAC address and the second equipment number.
9. The system according to claim 6, wherein the data format information is text format information or video format information or picture format information;
the drive module is specifically configured to:
if the data format information is the text format information, starting a second driving interface corresponding to the text format information;
if the data format information is the video format information, starting a third driving interface corresponding to the video format information;
and if the data format information is the picture format information, starting a fourth driving interface corresponding to the picture format information.
10. The system of claim 6, further comprising:
a determining module, located at the service terminal, for determining whether the target data matches with the data format information;
and the display module is positioned at the service terminal and used for generating error information comprising the data object information and displaying the error information if the target data is not matched with the data format information.
CN201910512051.5A 2019-06-13 2019-06-13 Data acquisition method and system applied to video network Active CN110381022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910512051.5A CN110381022B (en) 2019-06-13 2019-06-13 Data acquisition method and system applied to video network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910512051.5A CN110381022B (en) 2019-06-13 2019-06-13 Data acquisition method and system applied to video network

Publications (2)

Publication Number Publication Date
CN110381022A CN110381022A (en) 2019-10-25
CN110381022B true CN110381022B (en) 2021-12-10

Family

ID=68250298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910512051.5A Active CN110381022B (en) 2019-06-13 2019-06-13 Data acquisition method and system applied to video network

Country Status (1)

Country Link
CN (1) CN110381022B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727215B (en) * 2021-08-31 2022-10-18 塔比星信息技术(深圳)有限公司 Data processing method, device, storage medium and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491135B (en) * 2013-09-02 2017-04-19 用友网络科技股份有限公司 Device and method for conducting self-matching on data formats
JP6395459B2 (en) * 2014-06-12 2018-09-26 キヤノン株式会社 RECORDING DEVICE AND RECORDING DEVICE CONTROL METHOD
CN105843257B (en) * 2016-04-28 2019-01-01 谭圆圆 Information acquisition system and its information collecting method based on request
CN109819133A (en) * 2018-12-21 2019-05-28 视联动力信息技术股份有限公司 A kind of photo acquisition methods and device based on view networking

Also Published As

Publication number Publication date
CN110381022A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN108632525B (en) Method and system for processing service
CN110121059B (en) Monitoring video processing method, device and storage medium
CN109803111B (en) Method and device for watching video conference after meeting
CN109167960B (en) Method and system for processing video stream data
CN110545405B (en) Video transmission method and system based on video network
CN110381030B (en) Method and device for processing synchronization request
CN110769310B (en) Video processing method and device based on video network
CN109218093B (en) Method and system for acquiring alarm
CN110475131B (en) Terminal connection method, server and terminal
CN108965930B (en) Video data processing method and device
CN110460469B (en) System upgrading method and device and storage medium
CN110113558B (en) Data processing method, device, system and computer readable storage medium
CN110139124B (en) Processing method and device for monitoring recording
CN111125426A (en) Data storage and query method and device
CN109743284B (en) Video processing method and system based on video network
CN110769297A (en) Audio and video data processing method and system
CN111212255B (en) Monitoring resource obtaining method and device and computer readable storage medium
CN110086773B (en) Audio and video data processing method and system
CN110381022B (en) Data acquisition method and system applied to video network
CN110381038B (en) Information verification method and system based on video network
CN110049009B (en) Identity information acquisition system and method
CN111629277A (en) Video data transmission method, device and computer readable storage medium
CN109698953B (en) State detection method and system for video network monitoring equipment
CN110636132A (en) Data synchronization method, client, electronic device and computer-readable storage medium
CN110958461B (en) Method and device for detecting connection state of video networking server

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
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China