CN109995482B - Data transmission method, device, equipment and computer readable storage medium - Google Patents
Data transmission method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109995482B CN109995482B CN201810277201.4A CN201810277201A CN109995482B CN 109995482 B CN109995482 B CN 109995482B CN 201810277201 A CN201810277201 A CN 201810277201A CN 109995482 B CN109995482 B CN 109995482B
- Authority
- CN
- China
- Prior art keywords
- data packet
- transparent transmission
- equipment
- authentication information
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1809—Selective-repeat protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Power Engineering (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a data transmission method, a data transmission device, data transmission equipment and a computer readable storage medium, and belongs to the technical field of networks. The method comprises the following steps: receiving a data packet sent by a terminal, wherein a specified instruction identifier in the data packet is used for instructing the camera equipment to execute specified operation based on a specified function; when the appointed function is determined not to be supported according to the appointed instruction identification, a retransmission instruction is sent to the terminal; receiving a transparent transmission data packet sent by the terminal, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet in a transparent manner; and transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identification. The invention achieves the effect that the video equipment can transmit the data packet corresponding to the designated function which is not supported by the video equipment to the camera equipment, thereby improving the flexibility.
Description
The present application claims priority of chinese patent application entitled "data transmission method, apparatus, device, and computer readable storage medium" filed by the national intellectual property office of the people's republic of china, application number 201711468103.0, on 29/12/2017, the entire contents of which are incorporated herein by reference.
Technical Field
The present invention relates to the field of network technologies, and in particular, to a data transmission method, apparatus, device, and computer-readable storage medium.
Background
Currently, in the Video monitoring industry, a Network environment includes a terminal, a Network Video Recorder (NVR), and an Internet Protocol Camera (IPC). When the IPC has a specified function and the terminal wants to instruct the IPC to execute a specified operation based on the specified function, a packet needs to be transmitted to the IPC so that the IPC executes the corresponding operation according to the packet.
The process of transmitting data packets between the terminal and the IPC usually needs to be processed and forwarded by NVR. Taking the device information configuration function as an example, the terminal generates a data packet and sends the data packet to the NVR, where the data packet carries NVR authentication information, an instruction number corresponding to the device information configuration function, and a code block for configuring device information. After receiving the data packet, the NVR analyzes the data packet to obtain NVR authentication information and an instruction number, the NVR authentication information is verified, when the verification is passed, a preset instruction table is inquired based on the instruction number and is used for recording instruction numbers corresponding to all functions supported by the NVR and corresponding processing instructions, when the NVR determines that the instruction number belongs to the preset instruction table, the NVR modifies the NVR authentication information in the data packet into IPC authentication information, the processing instructions corresponding to the instruction numbers are executed, the data packet is processed, the processed data packet is sent to the IPC, the IPC analyzes the data packet to obtain IPC authentication information and a code block for executing specified operation, the IPC authentication information is verified, and when the verification is passed, the code block is operated, and equipment information is configured. And when the NVR determines that the instruction number does not belong to the preset instruction list, a failure notice is returned to the terminal to inform the terminal that the transmission process of the data packet fails.
In the process of implementing the invention, the inventor finds that the related art has at least the following problems:
when the NVR does not support the designated function, namely the designated instruction number corresponding to the designated function and the processing instruction are not stored in the preset instruction table, the terminal cannot transmit the data packet to the IPC through the NVR, the IPC cannot use the designated function according to the data packet, and the limitation is strong. Particularly, when the IPC pushes a new function, the NVR must be upgraded once, the instruction number and the processing instruction of the new function are added in the preset instruction table, and then the IPC can execute the operation according to the data packet of the terminal based on the new function, so that the pushing of the new function of the IPC is restricted by the NVR version, and the use of the new function of the IPC is affected.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device, data transmission equipment and a computer readable storage medium, which can solve the problem that NVR (network video recorder) in the related art cannot transmit data packets corresponding to an unsupported specified function to IPC (Internet protocol client). The technical scheme is as follows:
in a first aspect, a data transmission method is provided, which is applied to a video recording device, and the method includes:
receiving a data packet sent by a terminal, wherein a specified instruction identifier in the data packet is used for instructing the camera equipment to execute specified operation based on a specified function;
when the appointed function is determined not to be supported according to the appointed instruction identification, a retransmission instruction is sent to the terminal;
receiving a transparent transmission data packet sent by the terminal, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet in a transparent manner;
and transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identification.
In a possible implementation manner, the sending a retransmission instruction to the terminal includes:
and sending a retransmission instruction carrying first authentication information to the terminal, wherein the first authentication information is used for the camera equipment to check whether the video equipment has the control authority to the camera equipment.
In one possible implementation manner, the transparently transmitting the data packet to the image capturing apparatus according to the transparently transmission processing instruction identifier includes:
inquiring a preset instruction list according to the transparent transmission processing instruction identification, wherein the preset instruction list comprises at least one instruction identification supported by the video equipment and at least one corresponding processing instruction;
determining a transparent transmission processing instruction corresponding to the transparent transmission processing instruction identification from a preset instruction table;
and executing the transparent transmission processing instruction, stripping the transparent transmission head from the transparent transmission data packet, and transmitting the obtained data packet to the camera equipment.
In one possible implementation, the method further includes:
analyzing the data packet to obtain second authentication information; when the second authentication information is verified to pass, executing the step of sending a retransmission instruction to the terminal when the appointed function is determined not to be supported according to the appointed instruction identification; and/or the presence of a gas in the gas,
analyzing a transparent transmission head in the transparent transmission data packet to obtain second authentication information; when the second authentication information is checked to pass, the step of transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identification is executed;
the second authentication information is used for the video recording device to check whether the terminal has the control authority for the video recording device.
In one possible implementation manner, the specified function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
In a second aspect, a data transmission method is provided, which is applied in a terminal, and the method includes:
sending a data packet to video equipment, wherein a specified instruction identifier in the data packet is used for indicating the video equipment to execute specified operation based on a specified function;
receiving a retransmission instruction of the video equipment;
generating a transparent transmission data packet, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet through;
and sending the transparent transmission data packet to the video recording equipment.
In a possible implementation manner, the sending a data packet to a video recording device includes:
and sending a data packet carrying second authentication information to the video recording equipment, wherein the second authentication information is used for the video recording equipment to verify whether the terminal has the authority for controlling the video recording equipment.
In a possible implementation manner, the receiving a retransmission instruction of the video recording device includes:
receiving a retransmission instruction carrying first authentication information, wherein the first authentication information is used for the camera equipment to check whether the video recording equipment has the authority for controlling the camera equipment.
In a possible implementation manner, the generating the transparent transmission data packet includes:
modifying the second authentication information in the data packet into first authentication information;
generating a transparent transmission head carrying the second authentication information;
and assembling the modified data packet and the generated transparent transmission head to obtain the transparent transmission data packet.
In one possible implementation manner, the specified function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
In a third aspect, a data transmission apparatus is provided, which is applied in a video recording device, and the apparatus includes:
the receiving module is used for receiving a data packet sent by a terminal, and a specified instruction identifier in the data packet is used for indicating the camera equipment to execute specified operation based on a specified function;
a sending module, configured to send a retransmission instruction to the terminal when it is determined that the designated function is not supported according to the designated instruction identifier;
the receiving module is further configured to receive a transparent transmission data packet sent by the terminal, where the transparent transmission data packet carries the data packet and a transparent transmission header, and a transparent transmission processing instruction identifier in the transparent transmission header is used to instruct the video recording device to transmit the data packet through;
and the transparent transmission module is used for transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identifier.
In a possible implementation manner, the sending module is configured to send a retransmission instruction carrying first authentication information, where the first authentication information is used for the image capturing apparatus to check whether the image capturing apparatus has an authority to control the image capturing apparatus.
In one possible implementation, the transparent transmission module includes:
the query submodule is used for querying a preset instruction list according to the transparent transmission processing instruction identification, and the preset instruction list comprises at least one instruction identification supported by the video equipment and at least one corresponding processing instruction;
the determining submodule is used for determining a transparent transmission processing instruction corresponding to the transparent transmission processing instruction identification from a preset instruction table;
and the transparent transmission sub-module is used for executing the transparent transmission processing instruction, stripping the transparent transmission head from the transparent transmission data packet and transmitting the obtained data packet to the camera equipment.
In one possible implementation, the apparatus further includes:
the analysis module is used for analyzing the data packet and/or the transparent transmission head in the transparent transmission data packet to obtain second authentication information, and the second authentication information is used for the video equipment to check whether the terminal has the control authority for the video equipment;
the sending module is further configured to execute the step of sending a retransmission instruction to the terminal when the second authentication information is verified to pass by the parsing module and the designated instruction identifier determines that the designated function is not supported; and/or the transparent transmission module is further configured to perform the step of transmitting the data packet to the camera device according to the transparent transmission processing instruction identifier when the analysis module verifies that the second authentication information passes.
In one possible implementation manner, the specified function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
In a fourth aspect, a data transmission apparatus is provided, which is applied in a terminal, and the apparatus includes:
the sending module is used for sending a data packet to the video equipment, and the specified instruction identifier in the data packet is used for indicating the video equipment to execute specified operation based on a specified function;
the receiving module is used for receiving a retransmission instruction of the video equipment;
the generating module is used for generating a transparent transmission data packet, the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet in a transparent manner;
the sending module is further configured to send the transparent transmission data packet to the video recording device.
In a possible implementation manner, the sending module is further configured to send a data packet carrying second authentication information to the video recording device, where the second authentication information is used for the video recording device to check whether the terminal has an authority to control the video recording device.
In a possible implementation manner, the receiving module is further configured to receive a retransmission instruction carrying first authentication information, where the first authentication information is used for the image capturing apparatus to check whether the image capturing apparatus has an authority to control the image capturing apparatus.
In one possible implementation manner, the generating module includes:
the modification submodule is used for modifying the second authentication information in the data packet into first authentication information;
the generation submodule is used for generating a transparent transmission head carrying the second authentication information;
and the assembling submodule is used for assembling the modified data packet and the generated transparent transmission head to obtain the transparent transmission data packet.
In one possible implementation manner, the specified function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
In a fifth aspect, there is provided a video recording device comprising a processor and a memory; a memory for storing a computer program; a processor for executing the computer program stored in the memory to perform the method steps of the first aspect.
In a sixth aspect, a terminal is provided that includes a processor and a memory; a memory for storing a computer program; a processor for executing the computer program stored in the memory to perform the method steps of the second aspect.
In a seventh aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out the method steps of the first aspect.
In an eighth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out the method steps of the second aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method, the device, the equipment and the computer readable storage medium provided by the embodiment of the invention introduce a transparent transmission function for the video equipment, when the terminal sends a data packet once and the video equipment is known not to support the designated function corresponding to the data packet, the transparent transmission data packet carrying the data packet and the transparent transmission head is generated, the transparent transmission data packet is sent, and the video equipment can transmit the data packet in the transparent transmission data packet to the camera equipment based on the transparent transmission function, so that the effect that the video equipment can transmit the data packet corresponding to the designated function which is not supported by the video equipment to the camera equipment is achieved, and the flexibility is improved. Moreover, when the camera equipment iterates versions and adds various new functions, the video equipment does not need to update the versions frequently, and only the data packets of the various new functions need to be transmitted to the camera equipment in a transparent transmission mode, so that the cost caused by frequent updating of the versions is saved, and the camera equipment is favorable for promoting the new functions.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the invention;
fig. 2 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 3 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 4 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a frame format of a data packet according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a frame format of a transparent transmission data packet according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a video recording device according to an embodiment of the present invention;
fig. 13 is a block diagram of a terminal 1300 according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention, where the implementation environment includes: a terminal 101, a video recording apparatus 102, and an image pickup apparatus 103.
A connection is established between the terminal 101 and the video recording device 102, and communication can be performed through the established connection, where the connection includes a WI-FI (Wireless Fidelity) connection, a data network connection, and the like. The terminal 101 may be a mobile phone, a computer, a tablet computer, etc., and the video recording device 102 may be NVR.
The connection is established between the video recording apparatus 102 and the image pickup apparatus 103, and communication can be performed through the established connection. The image pickup apparatus 103 may be an IPC, i.e., an image pickup apparatus that establishes a network connection with a video recording apparatus through an IP (Internet Protocol) address to perform communication. Specifically, the video recording device 102 may be configured with multiple network channels, each network channel is used to establish a connection with one IP address, and the image capturing device 103 may mount the IP address on one network channel of the video recording device 102, so as to establish a network connection with the video recording device 102.
In the process that the terminal 101 transmits the data packet to the image pickup apparatus 103 through the video recording apparatus 102, the terminal 101 is configured to transmit the transparent transmission data packet to the video recording apparatus 102, the video recording apparatus 102 is configured to transmit the data packet in the transparent transmission data packet to the image pickup apparatus 103, and the image pickup apparatus 103 is configured to perform a specified operation using a specified function according to the data packet.
Fig. 2 is a flowchart of a data transmission method provided in an embodiment of the present invention, which is applied to a video recording device, and referring to fig. 2, the method includes:
201. and receiving a data packet sent by the terminal, wherein the specified instruction identification in the data packet is used for instructing the image pickup device to execute specified operation based on the specified function.
202. And when the appointed function is determined not to be supported according to the appointed instruction identification, sending a retransmission instruction to the terminal.
203. Notifying the terminal that the video recording apparatus does not support the specified function.
204. And receiving a transparent transmission data packet sent by the terminal, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet.
205. And transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identifier.
The method provided by the embodiment of the invention introduces a transparent transmission function into the video equipment, when the terminal sends a data packet once and knows that the video equipment does not support the designated function corresponding to the data packet, the transparent transmission data packet carrying the data packet and the transparent transmission head is generated, the transparent transmission data packet is sent, and the video equipment can transmit the data packet in the transparent transmission data packet to the camera equipment based on the transparent transmission function, so that the effect that the video equipment can transmit the data packet corresponding to the designated function which is not supported by the video equipment to the camera equipment is achieved, and the flexibility is improved. Moreover, when the camera equipment iterates versions and adds various new functions, the video equipment does not need to update the versions frequently, and only the data packets of the various new functions need to be transmitted to the camera equipment in a transparent transmission mode, so that the cost caused by frequent updating of the versions is saved, and the camera equipment is favorable for promoting the new functions.
In a possible implementation manner, the sending a retransmission instruction to the terminal includes:
and sending a retransmission instruction carrying first authentication information to the terminal, wherein the first authentication information is used for the camera equipment to verify whether the video equipment has the control authority to the camera equipment.
In a possible implementation manner, the transparently transmitting the data packet to the image capturing apparatus according to the transparently transmission processing instruction identifier includes:
inquiring a preset instruction list according to the transparent transmission processing instruction identifier, wherein the preset instruction list comprises at least one instruction identifier supported by the video equipment and at least one corresponding processing instruction;
determining a transparent transmission processing instruction corresponding to the transparent transmission processing instruction identification from a preset instruction table;
and executing the transparent transmission processing instruction, stripping the transparent transmission head from the transparent transmission data packet, and transmitting the obtained data packet to the camera equipment.
In one possible implementation, the method further includes:
analyzing the data packet to obtain second authentication information; when the second authentication information is checked to pass, the step of sending a retransmission instruction to the terminal is executed when the appointed function is determined not to be supported according to the appointed instruction identification; and/or the presence of a gas in the gas,
analyzing a transparent transmission head in the transparent transmission data packet to obtain second authentication information; when the second authentication information is checked to pass, the step of transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identification is executed;
the second authentication information is used for the video recording device to check whether the terminal has the control authority for the video recording device.
In one possible implementation, the specific function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
Fig. 3 is a flowchart of a data transmission method provided in an embodiment of the present invention, which is applied in a terminal, and referring to fig. 3, the method includes:
301. and sending a data packet to the video recording device, wherein the specified instruction identification in the data packet is used for instructing the video recording device to execute specified operation based on the specified function.
302. And receiving a retransmission instruction of the video recording equipment.
303. And generating a transparent transmission data packet, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet through.
304. And sending the transparent transmission data packet to the video recording equipment.
The method provided by the embodiment of the invention introduces a transparent transmission function into the video equipment, when the terminal sends a data packet once and knows that the video equipment does not support the designated function corresponding to the data packet, the transparent transmission data packet carrying the data packet and the transparent transmission head is generated, the transparent transmission data packet is sent, and the video equipment can transmit the data packet in the transparent transmission data packet to the camera equipment based on the transparent transmission function, so that the effect that the video equipment can transmit the data packet corresponding to the designated function which is not supported by the video equipment to the camera equipment is achieved, and the flexibility is improved. Moreover, when the camera equipment iterates versions and adds various new functions, the video equipment does not need to update the versions frequently, and only the data packets of the various new functions need to be transmitted to the camera equipment in a transparent transmission mode, so that the cost caused by frequent updating of the versions is saved, and the camera equipment is favorable for promoting the new functions.
In a possible implementation manner, the sending the data packet to the video recording device includes:
and sending a data packet carrying second authentication information to the video equipment, wherein the second authentication information is used for verifying whether the terminal has the authority for controlling the video equipment or not by the video equipment.
In a possible implementation manner, the receiving a retransmission instruction of the video recording device includes:
and receiving a retransmission instruction carrying first authentication information, wherein the first authentication information is used for the camera equipment to verify whether the video equipment has the authority for controlling the camera equipment.
In one possible implementation, the generating the transparent transmission data packet includes:
modifying the second authentication information in the data packet into first authentication information;
generating a transparent transmission head carrying the second authentication information;
and assembling the modified data packet and the generated transparent transmission head to obtain the transparent transmission data packet.
In one possible implementation, the specific function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
In the related art, the terminal cannot instruct the image pickup apparatus to use a specified function that is not supported by the image recording apparatus. In this embodiment, when the terminal sends a data packet once and finds that the video recording device does not support the designated function corresponding to the data packet, a transparent transmission data packet carrying the data packet and the transparent transmission head may be generated and sent, and the video recording device may forward the data packet in the transparent transmission data packet to the video recording device in a transparent transmission manner, so as to ensure that the video recording device may use the designated function through the data packet, thereby achieving an effect that the terminal may instruct the video recording device to use the designated function that is not supported by the video recording device.
The embodiment of the invention can be applied to a scene that the terminal instructs the camera equipment to execute the specified operation based on the specified function, and the specified function and the specified operation can be determined according to actual requirements. For example, the method can be applied to a scene in which the terminal instructs the image pickup apparatus to configure the apparatus information, a scene in which the terminal controls the image pickup apparatus to execute the corresponding operation, a scene in which the terminal acquires the capability set of the image pickup apparatus, and a scene in which the terminal controls the image pickup apparatus to alarm.
Fig. 4 is a flowchart of a data transmission method provided in an embodiment of the present invention, where an interactive subject includes a terminal, a video recording device, and a camera device, and referring to fig. 4, the method includes:
401. and the terminal sends the data packet to the video recording equipment.
In this embodiment, the video recording device is used as a forwarding device between the terminal and the image capturing device, and when the terminal wants to control the image capturing device to execute a specified operation based on a specified function, a data packet corresponding to the specified function is generated and sent to the video recording device, so that the video recording device forwards the data packet to the image capturing device.
Wherein the designated function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function. The device information configuration function is a function of configuring own device information by the camera device according to the instruction of the terminal, the device operation control function is a function of executing corresponding operation by the camera device according to the instruction of the terminal, the device capability set acquisition function is a function of acquiring the capability set of the camera device and transmitting the capability set to the terminal, and the device alarm function is a function of alarming by the camera device according to the instruction of the terminal.
In order to indicate that the data packet is used for controlling the camera device to use the designated function, the terminal may carry a designated instruction identifier in the data packet, where the designated instruction identifier is used to instruct the camera device to perform a designated operation based on the designated function, and the terminal, the video device, and the camera device may pre-agree an instruction identifier corresponding to each function, so that when the terminal sends the data packet carrying the designated instruction identifier, the video device may know that the data packet is to be processed according to a processing instruction corresponding to the designated function, and the camera device may know that the designated function is to be used.
In a possible implementation manner, in order to improve the security of data transmission, the terminal may further carry second authentication information in the data packet, so that the video recording device performs verification according to the second authentication information. The second authentication information is used for the video equipment to check whether the terminal has the control authority over the video equipment, when the second authentication information carried by the terminal is correct, the video equipment can determine that the terminal has the control authority over the video equipment, and when the second authentication information carried by the terminal is wrong, the video equipment can determine that the terminal does not have the control authority over the video equipment. The second authentication information may be a user identifier and a login password of the video device, and the terminal may pre-store the second authentication information of the video device, so that the second authentication information may be obtained when the data packet is generated, and the second authentication information is added to the data packet.
In addition, in order to ensure that the video recording device knows the image pickup device to which the data packet needs to be transmitted, the terminal may determine in advance a channel number of each image pickup device to which the video recording device is connected, where the channel number is used to determine the corresponding image pickup device, and when the terminal wants to transmit the data packet to a certain image pickup device, the terminal may obtain the channel number of the image pickup device, and carry the channel number in the data packet, so that the video recording device determines the corresponding image pickup device according to the channel number and transmits the data packet to the image pickup device.
In practical application, the data packet may include two parts, namely a data packet header and a data packet, and the terminal may carry a specified instruction identifier, second authentication information and a channel number in the data packet header and carry a code block required for executing a specified operation in the data packet. In addition, the terminal may also carry other information in the header, such as a terminal IP address, a terminal MAC (Media Access Control) address, and the like.
Exemplarily, referring to fig. 5, which shows a frame format schematic diagram of a data packet, line 1 in fig. 5 represents a data packet header including various information such as a specified instruction identifier, second authentication information, a channel number, a terminal IP address, a terminal MAC address, and line 2 represents a data packet including a code block of a specified operation.
402. And when the video recording equipment receives the data packet, checking the second authentication information in the data packet.
When the video recording device receives the data packet, the video recording device may analyze the data packet to obtain second authentication information and a designated instruction identifier, check the second authentication information, perform the following step 403 according to the designated instruction identifier when the second authentication information passes the check, and directly discard the data packet when the second authentication information does not pass the check.
The video recording equipment can acquire the prestored second authentication information aiming at the process of verifying the second authentication information, compares the second authentication information in the data packet with the prestored second authentication information, and when the second authentication information in the data packet is the same as the prestored second authentication information, verifies that the second authentication information passes, and determines that the terminal has the control authority for the video recording equipment. And when the two are different, verifying that the second authentication information does not pass, and determining that the terminal does not have the control authority for the video equipment and is possibly illegal equipment.
It should be noted that the process of checking the second authentication information is only an optional way, and the video recording device may also perform the following step 403 directly according to the specified instruction identifier after parsing the data packet.
403. And when the video equipment determines that the specified function is not supported according to the specified instruction identifier in the data packet, the video equipment sends a retransmission instruction to the terminal.
The method includes that the video equipment determines a mode that the video equipment does not support the designated function according to a designated instruction identifier, the video equipment can store a preset instruction list, the preset instruction list is used for recording instruction numbers corresponding to all functions supported by the video equipment and corresponding processing instructions, and when the video equipment determines that the designated instruction numbers do not belong to the preset instruction list, the video equipment can determine that the video equipment does not support the designated function.
In this embodiment, when the video recording device determines that the video recording device does not support the designated function, a retransmission instruction may be sent to the terminal, where the retransmission instruction is used to instruct the terminal to send the data packet again in a transparent transmission manner, that is, to send a transparent transmission data packet in which the data packet is encapsulated.
Optionally, the video recording device may carry the first authentication information in the retransmission instruction, and when the terminal receives the retransmission instruction of the video recording device and obtains the first authentication information carried in the retransmission instruction, it may be known that the video recording device does not support the specified function, and the transparent transmission data packet may be generated according to the obtained first authentication information.
The first authentication information is used for the camera equipment to check whether the video equipment has the control authority over the camera equipment, when the first authentication information is correct, the camera equipment can determine that the video equipment has the control authority over the camera equipment, and when the first authentication information is wrong, the camera equipment can determine that the video equipment does not have the control authority over the camera equipment. In addition, the first authentication information may be used to notify the terminal that the video recording device does not support a specific function, and may be a user identifier and a login password of the video recording device.
With regard to the manner in which the video recording apparatus acquires the first authentication information, the video recording apparatus may store the first authentication information of at least one image pickup apparatus that has been connected in advance, and when it is determined that the specified function is not supported, select the first authentication information of the image pickup apparatus to which the packet needs to be transferred from the at least one piece of first authentication information. For example, the video recording device may store the correspondence between the channel number and the first authentication information, and may determine the corresponding first authentication information according to the channel number in the data packet.
In addition, when the video recording device determines that the specified function is supported according to the specified instruction identifier, for example, when the specified instruction identifier is determined to belong to a preset instruction table, the second authentication information in the data packet may be modified into the first authentication information, and a processing instruction corresponding to the specified instruction number may be executed to process the data packet, and the processed data packet is forwarded to the image pickup device.
Optionally, when the video recording device determines that the specified function is not supported, the received data packet may be discarded, or the data packet may be discarded after being cached for a certain period of time.
404. And when the terminal receives the retransmission instruction, assembling the data packet and the transparent transmission head to obtain a transparent transmission data packet, and sending the transparent transmission data packet to the video equipment.
By executing the above steps 401 to 403, the terminal may detect whether the video recording device supports the designated function by whether the video recording device returns the retransmission instruction in a manner of first sending the data packet once, so as to know whether the transparent transmission data packet needs to be sent. Therefore, when receiving the retransmission instruction, the terminal can know that the video recording device does not support the designated function, and needs to send the data packet in a transparent transmission mode again.
Optionally, when the retransmission instruction carries the first authentication information, the terminal may obtain the first authentication information carried by the retransmission instruction when analyzing the retransmission instruction, so as to assemble the transparent transmission data packet according to the originally sent data packet and the first authentication information.
The process of assembling the transparent transmission data packet may specifically include the following steps 4041 and 4043:
4041. and the terminal modifies the second authentication information in the data packet into the first authentication information.
In this embodiment, in order to improve the security of data transmission, the process of transmitting the data packet from the terminal to the image capturing device through the video recording device may actually include a plurality of verification processes: the video equipment checks whether the terminal has the control authority to the video equipment or not according to the second authentication information in the data packet, the data packet is transmitted to the camera equipment after the check is passed, the camera equipment checks whether the video equipment has the control authority to the camera equipment or not according to the first authentication information in the data packet, and the designated function is reused after the check is passed.
Then, in order to ensure that the first authentication information can be obtained when the camera device analyzes the data packet in the subsequent process, after receiving the first authentication information, the terminal may obtain the previously sent data packet, or regenerate the data packet, modify the second authentication information in the data packet into the first authentication information, obtain a modified data packet, and subsequently generate a transparent transmission data packet according to the modified data packet and the transparent transmission header.
4042. And the terminal generates a transparent transmission head carrying the transparent transmission processing instruction identifier.
In order to make the video recording device know that the data packet is transmitted in a transparent transmission manner, a transparent transmission processing instruction identifier is introduced in this embodiment, and the transparent transmission processing instruction identifier is used for instructing the video recording device to transmit the data packet in a transparent transmission manner. The terminal and the video equipment can agree in advance: when the terminal hopes that the video equipment transmits the data packet in a transparent transmission mode, a transparent transmission head carrying a transparent transmission processing instruction identification is assembled in front of the data packet, and when the video equipment analyzes the transparent transmission head to obtain the transparent transmission processing instruction identification, the data packet is transmitted to the camera equipment. The terminal and the video recording device may store the transparent transmission processing instruction identifier in advance, where the transparent transmission processing instruction identifier may be a specific character string including numbers, letters, symbols, and the like, and may be "0 xnnnn", for example.
In a possible implementation manner, in practical application, when the video recording device receives a data packet sent by the terminal, the second authentication information is obtained from the data packet for verification, and in order to achieve the effect that the video recording device does not need to analyze the data packet and directly transparently transmits the data packet in the subsequent process, the terminal can carry the second authentication information in the transparent transmission head, so that after the video recording device obtains the transparent transmission data packet, the second authentication information can be obtained by analyzing the transparent transmission head for verification, and the data packet behind the transparent transmission head can not be analyzed any more, so that the video recording device can be ensured to verify the second authentication information, and the video recording device can be prevented from analyzing the data packet.
Similarly, the channel number needs to be obtained from the data packet by the video recording device, so that the camera device to which the data packet needs to be transmitted can be obtained according to the channel number, the effect of directly transmitting the data packet is achieved without analyzing the data packet by the video recording device for the follow-up process, the terminal can also carry the channel number of the camera device in the transparent transmission head, and then after the video recording device obtains the transparent transmission data packet, the channel number can be obtained by analyzing the transparent transmission head, so that the corresponding camera device can be determined according to the channel number, the data packet after the transparent transmission head can not be analyzed any more, so that the video recording device can be ensured to successfully determine the receiving party of the data packet, and the video recording device can be prevented from analyzing the data packet.
The first point to be described is that, in order to further ensure that the video recording device does not parse the data packet but pass through the data packet in the subsequent process, the contents of the pass-through header of the pass-through data packet and the data packet header of the data packet sent for the first time may be the same except for the instruction identifier, that is, the terminal may modify the instruction identifier of the data packet header of the data packet sent for the first time from the specified instruction identifier to a pass-through processing instruction identifier, and directly use the modified data packet header as the generated pass-through header.
The second point to be described is that, in this embodiment, only step 4041 is described in the foregoing, and step 4042 is described later as an example, in practical application, the terminal may also execute step 4042 first and then execute step 4041, that is, generate the transparent header and then modify the data packet.
4043. And the terminal assembles the modified data packet and the generated transparent transmission head to obtain a transparent transmission data packet.
The terminal may add the generated transparent transmission header before the modified data packet to obtain the transparent transmission data packet. Illustratively, referring to fig. 6, which shows a schematic diagram of a frame format of a transparent transmission data packet, line 1 in fig. 6 represents a transparent transmission header, line 2 represents a data packet header of the data packet, and line 3 represents a data packet of the data packet.
405. And when the video equipment receives the transparent transmission data packet, verifying the second authentication information in the transparent transmission head.
When the video equipment receives the transparent transmission data packet, the transparent transmission head can be analyzed to obtain second authentication information and a transparent transmission processing instruction identifier, the second authentication information is verified, when the second authentication information is verified to be passed, the following step 406 is executed according to the transparent transmission processing instruction identifier, and when the second authentication information is not verified to be passed, the transparent transmission data packet is directly discarded.
The process of checking the second authentication information in the transparent transmission header is similar to the process of checking the second authentication information in the data packet header in step 402. The video recording equipment obtains the second authentication information from the transparent transmission head, so that the data packet behind the transparent transmission head cannot be further analyzed.
It should be noted that the process of checking the second authentication information is only an optional way, and the video recording device may also directly execute the following step 406 according to the specified instruction identifier after parsing the data packet.
406. And the video equipment transparently transmits the data packet to the camera equipment according to the transparent transmission processing instruction identifier.
In order to enable the video recording device to implement the function of transmitting the data packet to the image capturing device, in this embodiment, a transparent transmission processing instruction is introduced, the transparent transmission processing instruction is used for transmitting the data packet, a processing logic of a transparent transmission process may be encapsulated, for example, a code block of the transparent transmission data packet may be included, the video recording device may store the transparent transmission processing instruction in advance, and once the transparent transmission processing instruction is called, the process of transmitting the data packet may be executed.
In practical application, the video recording device may add the corresponding relationship between the transparent transmission processing instruction and the transparent transmission processing instruction identifier in advance in a stored preset instruction table, so that when the video recording device analyzes the transparent transmission head to obtain the transparent transmission processing instruction identifier, the preset instruction table is queried according to the transparent transmission processing instruction identifier, the transparent transmission processing instruction corresponding to the transparent transmission processing instruction identifier is determined from the preset instruction table, the transparent transmission processing instruction is executed, and the data packet is transmitted to the camera device.
In the process of transparently transmitting the data packet, the video recording equipment can strip the transparent transmission head from the transparently transmitted data packet to obtain the residual data packet and transparently transmit the data packet to the camera equipment because the transparently transmitted data packet consists of the transparent transmission head and the data packet.
It should be noted that, by adopting the above scheme to realize the process of transparently transmitting the data packet by the video equipment, the effect of not disturbing the original processing logic of the video equipment to the data packet can be achieved. This is because the original processing logic of the video recording device for each data packet may be: the method includes the steps of obtaining an instruction identifier from a data packet, determining a processing instruction corresponding to the instruction identifier in a preset instruction list, executing the processing instruction to process the data packet, and sending the processed data packet to the camera device, wherein in the embodiment, only the transparent transmission instruction identifier and the transparent transmission processing instruction need to be added to the original preset instruction list, and the processing logic of the transparent transmission function of the camera device can be guaranteed, namely: and acquiring a transparent transmission instruction identifier from the transparent transmission data packet, determining a transparent transmission processing instruction corresponding to the transparent transmission instruction identifier in a preset instruction table, executing the transparent transmission processing instruction to strip a transparent transmission head of the transparent transmission data packet, and sending the obtained data packet to the camera equipment. Therefore, the newly added transparent transmission function of the video equipment can be ensured, the video equipment can be compatible with the original processing logic, and the steps are simple and effective.
407. The camera device receives the transparent data packet and verifies the first authentication information in the data packet.
When the camera device receives the data packet, the camera device may analyze the data packet header of the data packet to obtain first authentication information and a designated instruction identifier, check the first authentication information, execute the following step 408 according to the designated instruction identifier when the first authentication information passes the check, and directly discard the data packet when the first authentication information fails the check.
The method comprises the steps that in the process of checking first authentication information for the camera device, the camera device can acquire the first authentication information stored in advance, the first authentication information in the data packet and the first authentication information stored in advance are compared, when the first authentication information and the first authentication information are the same, the first authentication information is checked to pass, and the video recording device is determined to have the control authority over the camera device. When the first authentication information and the second authentication information are different, the first authentication information is not verified, and the video recording equipment is determined to have no control authority for the camera equipment and possibly be illegal equipment.
It should be noted that the process of checking the first authentication information is only an optional way, and the video recording device may also perform the following step 408 directly according to the obtained specified instruction identifier after parsing the data packet.
408. And the camera equipment executes the specified operation based on the specified function according to the specified instruction identification and returns a feedback result to the video equipment.
In this embodiment, the camera device may encapsulate processing logic of various functions as each function interface in advance, and the terminal and the camera device may use a frame of RPC (Remote Procedure Call), so as to achieve an effect that the terminal remotely calls the function interface of the camera device and instructs the camera device to use a corresponding specified function.
Specifically, the terminal and the camera device may agree in advance a corresponding relationship between the instruction identifier and the functional interface, when the terminal wants to instruct the camera device to execute a specified operation based on a specified function, the specified instruction identifier corresponding to the specified function is carried in a data packet header of a data packet, and a code block required for calling the specified functional interface is carried in a data packet of the data packet, when the camera device receives the data packet through the video device, the data packet header is analyzed to obtain the specified instruction identifier, the functional interface corresponding to the specified instruction identifier is determined, the code block in the data packet is executed, and the specified operation instructed by the terminal is executed in a process of operating the functional interface.
Further, the image capturing apparatus may generate a feedback result after the specified operation is performed, and return the feedback result to the image recording apparatus, where the feedback result may include an operation state indicating whether the specified operation is performed this time successfully, and may be a success state or a failure state. Alternatively, the feedback result may include parameter information that is a parameter of the image pickup apparatus that the terminal wants to acquire.
Illustratively, this step 408 may include the following steps 4081-4084 for the particular type of function specified.
4081. The specified function is a device information configuration function:
when the designated function is the device information configuration function, the designated instruction identifier is the instruction identifier corresponding to the device information configuration function interface, and the camera device can operate the device information configuration function interface to configure the device information. The device information may include, among other things, the resolution, bit rate, frame rate, etc. of the image capturing device.
In one possible implementation, the code block in the data packet may carry target device information, so that the image capturing device configures the original device information as the target device information. For example, the image capturing apparatus may obtain target apparatus information from a code block of the data packet, transfer the target apparatus information into the apparatus information configuration function interface, run the apparatus information configuration function interface, and configure the original apparatus information as the target apparatus information. Taking the device information as an example of the resolution, assuming that the original resolution of the image capturing device is 960x576, and the data packet carries the target resolution 1280x960, the image capturing device configures the resolution to be 1280x 960.
After the image pickup device configuration device information is finished, if the configuration is successful, a first feedback result can be generated, wherein the operation state in the first feedback result is a success state, and the first feedback result is used for informing the terminal that the image pickup device has successfully configured the device information. If the configuration fails, a second feedback result may be generated, the operation state of which is a failure state, the second feedback result being used to notify the terminal that the image pickup apparatus configuration apparatus information fails.
4082. The specified function is a device operation control function:
when the designated function is the device operation control function, the designated instruction identifier is the instruction identifier corresponding to the device operation control function interface, and the camera device can run the device operation control function interface to execute the designated operation. The specified operation may be PTZ (Pan/Tilt/Zoom, Zoom control) operation, such as rotating at a certain angle, moving a certain distance, adjusting a focal length, and the like.
In a possible implementation manner, a code block in the data packet may carry parameters of the specified operation, and the image capturing apparatus may obtain the parameters of the specified operation from the code block, send the parameters of the specified operation into the apparatus operation control function interface, run the apparatus operation control function interface, and execute the specified operation. Taking the rotation at a certain angle as an example, assuming that the data packet carries 90 °, the image pickup apparatus rotates 90 °.
After the image pickup apparatus finishes executing the specified operation, if the execution is successful, a third feedback result may be generated, where an operation state in the third feedback result is a success state, and the third feedback result is used to notify the terminal that the image pickup apparatus has successfully executed the specified operation. If the execution fails, a fourth feedback result may be generated, the operation state of which is a failure state, the fourth feedback result being used to notify the terminal that the image pickup apparatus failed to execute the specified operation.
4083. The designated function is a device capability set acquisition function:
when the designated function is the device capability set acquisition function, the instruction identifier is designated, namely the instruction identifier corresponding to the device capability set acquisition function interface, and the camera device can operate the device capability set acquisition function interface to acquire the current capability set so as to feed the capability set back to the terminal subsequently. Here, the capability set may be used to indicate all parameters that the image capturing apparatus can configure, for example, the capability set may be { sensitivity, contrast, sharpness, saturation, … … }, and further, the capability set may be used to indicate an adjustment range of each parameter. For example, the capability set may be { sensitivity (a, b), contrast (c, d), sharpness (e, f), saturation (g, h), … … }.
After the camera device obtains the capability set, a fifth feedback result may be generated, where the fifth feedback result carries the capability set, and the fifth feedback result is used to transmit the capability set of the camera device to the terminal.
4084. The designated function is an equipment alarm function:
when the appointed function is the equipment alarm function, the appointed instruction identification is the instruction identification corresponding to the equipment alarm function interface, and the camera equipment can operate the equipment alarm function interface to alarm.
After the alarm of the camera device is finished, if the alarm is successful, a sixth feedback result can be generated, wherein the operation state in the sixth feedback result is a success state, and the sixth feedback result is used for notifying the terminal that the camera device has successfully alarmed. If the alarm fails, a seventh feedback result may be generated, where an operation state in the seventh feedback result is a failure state, and the seventh feedback result is used to notify the terminal that the camera device failed to alarm.
409. And when the video equipment receives the feedback result, returning the feedback result to the terminal.
410. The terminal receives the feedback result.
When the video equipment receives the feedback result, the feedback result can be directly forwarded to the terminal without being processed, and after the terminal receives the feedback result, the feedback result can be analyzed to obtain the operation state of the camera equipment for executing the specified operation based on the specified function or obtain the parameter information of the camera equipment.
The first point to be noted is that the above process of returning the feedback result is only an optional step, and in practical applications, when the terminal does not need to know the operation state or parameter information of the video recording apparatus, the image capturing apparatus may only execute the specified operation based on the specified function, and does not generate and return the feedback result.
The second point to be noted is that various operations executed by the terminal may be encapsulated in an installation package of a specified client, and the terminal may install the specified client, and execute the operations executed by the terminal in the above embodiment in the process of running the specified client.
The method provided by the embodiment of the invention introduces a transparent transmission function into the video equipment, when the terminal sends a data packet once and learns that the video equipment does not support the specified function corresponding to the data packet through the received retransmission instruction, the transparent transmission data packet carrying the data packet and the transparent transmission head is generated and sent, and the video equipment can transmit the data packet in the transparent transmission data packet to the camera equipment based on the transparent transmission function, thereby achieving the effect that the video equipment can transmit the data packet corresponding to the specified function which is not supported by the video equipment to the camera equipment, and improving the flexibility. Moreover, when the camera equipment iterates versions and adds various new functions, the video equipment does not need to update the versions frequently, and only the data packets of the various new functions need to be transmitted to the camera equipment in a transparent transmission mode, so that the cost caused by frequent updating of the versions is saved, and the camera equipment is favorable for promoting the new functions.
Furthermore, the terminal can carry second authentication information in the transparent transmission head, when the video equipment receives the transparent transmission data packet, the second authentication information can be obtained from the transparent transmission head, the control authority of the terminal on the video equipment is checked, and the data packet is transmitted to the camera equipment when the check is passed, so that the video equipment can be guaranteed to check the second authentication information, the safety of a data transmission process is improved, and the video equipment can be guaranteed not to need to analyze the data packet.
Furthermore, the terminal can modify the second authentication information of the data packet into the first authentication information, and then assemble the transparent transmission data packet according to the modified data packet, so that the camera equipment can verify the first authentication information, the safety of the data transmission process is improved, and the video equipment does not need to analyze the data packet.
Furthermore, the transparent transmission processing instruction corresponding to the transparent transmission processing instruction identifier is set, and the corresponding relation between the transparent transmission processing instruction identifier and the transparent transmission processing instruction is added in advance to the preset instruction table of the video equipment, so that the video equipment can be ensured to be newly added with the transparent transmission function on the basis of the original processing logic, the original processing logic cannot be disturbed, and the steps are simple and effective.
Furthermore, the designated functions capable of performing transparent transmission include, but are not limited to, a device information configuration function, a device operation control function, a device capability set acquisition function, a device alarm function, and the like, and the application range is wide and the practicability is high.
Fig. 7 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention. Referring to fig. 7, the apparatus is applied to a video recording device, and includes: a receiving module 701, a sending module 702 and a transparent transmission module 703.
A receiving module 701, configured to receive a data packet sent by a terminal, where a specified instruction identifier in the data packet is used to instruct an image capturing apparatus to execute a specified operation based on a specified function;
a sending module 702, configured to send a retransmission instruction to the terminal when it is determined that the designated function is not supported according to the designated instruction identifier;
the receiving module 701 is further configured to receive a transparent transmission data packet sent by the terminal, where the transparent transmission data packet carries the data packet and a transparent transmission header, and a transparent transmission processing instruction identifier in the transparent transmission header is used to instruct the video recording device to transmit the data packet through;
and a transparent transmission module 703, configured to transmit the data packet to the image capturing apparatus according to the transparent transmission processing instruction identifier.
The device provided by the embodiment of the invention introduces a transparent transmission function into the video equipment, when the terminal sends a data packet once and knows that the video equipment does not support the specified function corresponding to the data packet, the transparent transmission data packet carrying the data packet and the transparent transmission head is generated, the transparent transmission data packet is sent, and the video equipment can transmit the data packet in the transparent transmission data packet to the camera equipment based on the transparent transmission function, so that the effect that the video equipment can transmit the data packet corresponding to the specified function which is not supported by the video equipment to the camera equipment is achieved, and the flexibility is improved. Moreover, when the camera equipment iterates versions and adds various new functions, the video equipment does not need to update the versions frequently, and only the data packets of the various new functions need to be transmitted to the camera equipment in a transparent transmission mode, so that the cost caused by frequent updating of the versions is saved, and the camera equipment is favorable for promoting the new functions.
In a possible implementation manner, the sending module 702 is configured to send a retransmission instruction carrying first authentication information, where the first authentication information is used for the image capturing apparatus to check whether the image capturing apparatus has the authority to control the image capturing apparatus.
In one possible implementation, referring to fig. 8, the transparent transmission module 703 includes:
the query submodule is used for querying a preset instruction list according to the transparent transmission processing instruction identifier, and the preset instruction list comprises at least one instruction identifier supported by the video equipment and at least one corresponding processing instruction;
the determining submodule is used for determining a transparent transmission processing instruction corresponding to the transparent transmission processing instruction identification from a preset instruction list;
and the transparent transmission sub-module is used for executing the transparent transmission processing instruction, stripping the transparent transmission head from the transparent transmission data packet and transmitting the obtained data packet to the camera equipment.
In one possible implementation, referring to fig. 9, the apparatus further includes:
the analyzing module 704 is configured to analyze the transparent transmission header in the data packet and/or the transparent transmission data packet to obtain second authentication information, where the second authentication information is used for the video recording device to check whether the terminal has a control right for the video recording device;
the sending module 702 is further configured to, when the second authentication information is verified to pass by the parsing module, execute the step of sending a retransmission instruction to the terminal when the designated function is determined not to be supported according to the designated instruction identifier; and/or the transparent transmission module is further configured to perform the step of transmitting the data packet to the camera device according to the transparent transmission processing instruction identifier when the analysis module verifies that the second authentication information passes.
In one possible implementation, the specific function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
Fig. 10 is a schematic structural diagram of a data transmission apparatus according to an embodiment of the present invention. Applied to the terminal, the device comprises: a sending module 1001, a receiving module 1002 and a generating module 1003.
A sending module 1001, configured to send a data packet to the video recording device, where a specified instruction identifier in the data packet is used to instruct the video recording device to execute a specified operation based on a specified function;
a receiving module 1002, configured to receive a retransmission instruction of the video recording device;
a generating module 1003, configured to generate a transparent transmission data packet, where the transparent transmission data packet carries the data packet and a transparent transmission header, and a transparent transmission processing instruction identifier in the transparent transmission header is used to instruct the video recording device to transmit the data packet;
the sending module 1001 is further configured to send the transparent transmission data packet to the video recording device.
The device provided by the embodiment of the invention introduces a transparent transmission function into the video equipment, when the terminal sends a data packet once and knows that the video equipment does not support the specified function corresponding to the data packet, the transparent transmission data packet carrying the data packet and the transparent transmission head is generated, the transparent transmission data packet is sent, and the video equipment can transmit the data packet in the transparent transmission data packet to the camera equipment based on the transparent transmission function, so that the effect that the video equipment can transmit the data packet corresponding to the specified function which is not supported by the video equipment to the camera equipment is achieved, and the flexibility is improved. Moreover, when the camera equipment iterates versions and adds various new functions, the video equipment does not need to update the versions frequently, and only the data packets of the various new functions need to be transmitted to the camera equipment in a transparent transmission mode, so that the cost caused by frequent updating of the versions is saved, and the camera equipment is favorable for promoting the new functions.
In a possible implementation manner, the sending module 1001 is further configured to send a data packet carrying second authentication information to the video recording device, where the second authentication information is used for the video recording device to check whether the terminal has the authority to control the video recording device.
In a possible implementation manner, the receiving module 1002 is further configured to receive a retransmission instruction carrying first authentication information, where the first authentication information is used for the image capturing apparatus to check whether the image capturing apparatus has the authority to control the image capturing apparatus.
In one possible implementation, referring to fig. 11, the generating module 1003 includes:
the modification submodule is used for modifying the second authentication information in the data packet into first authentication information;
the generation submodule is used for generating a transparent transmission head carrying the second authentication information;
and the assembling submodule is used for assembling the modified data packet and the generated transparent transmission head to obtain the transparent transmission data packet.
In one possible implementation, the specific function includes at least one of a device information configuration function, a device operation control function, a device capability set acquisition function, and a device alarm function.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
It should be noted that: in the data transmission device provided in the above embodiment, when transmitting data, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structures of the video recording device and the terminal are divided into different functional modules to complete all or part of the above described functions. In addition, the data transmission device and the data transmission method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 12 is a schematic structural diagram of a video recording apparatus 1200 according to an embodiment of the present invention, where the video recording apparatus 1200 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1201 and one or more memories 1202, where the memory 1202 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1201 to implement the methods provided by the foregoing method embodiments. Of course, the video recording device may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the video recording device may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, in which a computer program is stored, the computer program, when executed by a processor, implementing the data transmission method performed by the video recording apparatus in the above-described embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 13 is a block diagram of a terminal 1300 according to an embodiment of the present invention. The terminal 1300 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1300 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, terminal 1300 includes: a processor 1301 and a memory 1302.
In some embodiments, terminal 1300 may further optionally include: a peripheral interface 1303 and at least one peripheral. Processor 1301, memory 1302, and peripheral interface 1303 may be connected by a bus or signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1304, touch display 1305, camera 1306, audio circuitry 1307, positioning component 1308, and power supply 1309.
The Radio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1304 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 1304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1304 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1305 is a touch display screen, the display screen 1305 also has the ability to capture touch signals on or over the surface of the display screen 1305. The touch signal may be input to the processor 1301 as a control signal for processing. At this point, the display 1305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display 1305 may be one, providing the front panel of terminal 1300; in other embodiments, display 1305 may be at least two, either on different surfaces of terminal 1300 or in a folded design; in still other embodiments, display 1305 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1300. Even further, the display 1305 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1305 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 1306 is used to capture images or video. Optionally, camera assembly 1306 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1306 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1307 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1301 for processing, or inputting the electric signals to the radio frequency circuit 1304 for realizing voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1300. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuitry 1304 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 1307 may also include a headphone jack.
The positioning component 1308 is used for positioning the current geographic position of the terminal 1300 for implementing navigation or LBS (Location Based Service). The Positioning component 1308 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
In some embodiments, terminal 1300 also includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: acceleration sensor 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensor 1313, optical sensor 1315 and proximity sensor 1316.
The acceleration sensor 1311 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 1300. For example, the acceleration sensor 1311 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 1301 may control the touch display screen 1305 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1311. The acceleration sensor 1311 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1312 may detect the body direction and the rotation angle of the terminal 1300, and the gyro sensor 1312 may cooperate with the acceleration sensor 1311 to acquire a 3D motion of the user with respect to the terminal 1300. Processor 1301, based on the data collected by gyroscope sensor 1312, may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1313 may be disposed on a side bezel of terminal 1300 and/or underlying touch display 1305. When the pressure sensor 1313 is disposed on the side frame of the terminal 1300, a user's holding signal to the terminal 1300 may be detected, and the processor 1301 performs left-right hand recognition or shortcut operation according to the holding signal acquired by the pressure sensor 1313. When the pressure sensor 1313 is disposed at a lower layer of the touch display screen 1305, the processor 1301 controls an operability control on the UI interface according to a pressure operation of the user on the touch display screen 1305. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1314 is used for collecting the fingerprint of the user, and the identity of the user is identified by the processor 1401 according to the fingerprint collected by the fingerprint sensor 1314, or the identity of the user is identified by the fingerprint sensor 1314 according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 1401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. The fingerprint sensor 1314 may be disposed on the front, back, or side of the terminal 1400. When a physical button or vendor Logo is provided on the terminal 1400, the fingerprint sensor 1314 may be integrated with the physical button or vendor Logo.
The optical sensor 1315 is used to collect the ambient light intensity. In one embodiment, the processor 1301 can control the display brightness of the touch display screen 1305 according to the intensity of the ambient light collected by the optical sensor 1315. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1305 is increased; when the ambient light intensity is low, the display brightness of the touch display 1305 is turned down. In another embodiment, the processor 1301 can also dynamically adjust the shooting parameters of the camera assembly 1306 according to the ambient light intensity collected by the optical sensor 1315.
Proximity sensor 1316, also known as a distance sensor, is typically disposed on a front panel of terminal 1300. Proximity sensor 1316 is used to gather the distance between the user and the front face of terminal 1300. In one embodiment, the processor 1301 controls the touch display 1305 to switch from the bright screen state to the dark screen state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually decreases; the touch display 1305 is controlled by the processor 1301 to switch from the rest state to the bright state when the proximity sensor 1316 detects that the distance between the user and the front face of the terminal 1300 gradually becomes larger.
Those skilled in the art will appreciate that the configuration shown in fig. 13 is not intended to be limiting with respect to terminal 1300 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory, storing a computer program which, when executed by a processor, implements the data transmission method performed by the terminal in the above-described embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (20)
1. A data transmission method, applied to a video recording device, the method comprising:
receiving a data packet sent by a terminal, wherein a specified instruction identifier in the data packet is used for instructing a camera device to execute a specified operation based on a specified function, and the specified function comprises at least one of a device operation control function, a device capability set acquisition function and a device alarm function;
when the appointed function is determined not to be supported according to the appointed instruction identification, a retransmission instruction is sent to the terminal;
receiving a transparent transmission data packet sent by the terminal, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet in a transparent manner;
and transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identification.
2. The method of claim 1, wherein the sending the retransmission instruction to the terminal comprises:
and sending a retransmission instruction carrying first authentication information to the terminal, wherein the first authentication information is used for the camera equipment to check whether the video equipment has the control authority to the camera equipment.
3. The method according to claim 1, wherein the transparently transmitting the data packet to the image pickup apparatus according to the transparently transmitting processing instruction identification includes:
inquiring a preset instruction list according to the transparent transmission processing instruction identification, wherein the preset instruction list comprises at least one instruction identification supported by the video equipment and at least one corresponding processing instruction;
determining a transparent transmission processing instruction corresponding to the transparent transmission processing instruction identification from a preset instruction table;
and executing the transparent transmission processing instruction, stripping the transparent transmission head from the transparent transmission data packet, and transmitting the obtained data packet to the camera equipment.
4. The method of claim 1, further comprising:
analyzing the data packet to obtain second authentication information; when the second authentication information is verified to pass, executing the step of sending a retransmission instruction to the terminal when the appointed function is determined not to be supported according to the appointed instruction identification; and/or the presence of a gas in the gas,
analyzing a transparent transmission head in the transparent transmission data packet to obtain second authentication information; when the second authentication information is checked to pass, the step of transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identification is executed;
the second authentication information is used for the video recording device to check whether the terminal has the control authority for the video recording device.
5. A data transmission method, applied to a terminal, the method comprising:
sending a data packet to video equipment, wherein a specified instruction identifier in the data packet is used for indicating the video equipment to execute specified operation based on a specified function, and the specified function comprises at least one of an equipment operation control function, an equipment capability set acquisition function and an equipment alarm function;
receiving a retransmission instruction of the video equipment;
generating a transparent transmission data packet, wherein the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet through;
and sending the transparent transmission data packet to the video recording equipment.
6. The method of claim 5, wherein sending the data packet to the video recording device comprises:
and sending a data packet carrying second authentication information to the video recording equipment, wherein the second authentication information is used for the video recording equipment to verify whether the terminal has the authority for controlling the video recording equipment.
7. The method of claim 5, wherein receiving the re-transmission instruction of the video recording device comprises:
receiving a retransmission instruction carrying first authentication information, wherein the first authentication information is used for the camera equipment to check whether the video recording equipment has the authority for controlling the camera equipment.
8. The method of claim 5, wherein generating the pass-through packet comprises:
modifying the second authentication information in the data packet into first authentication information;
generating a transparent transmission head carrying the second authentication information;
and assembling the modified data packet and the generated transparent transmission head to obtain the transparent transmission data packet.
9. A data transmission apparatus, for use in a video recording device, the apparatus comprising:
the system comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a data packet sent by a terminal, a specified instruction identifier in the data packet is used for indicating the camera equipment to execute specified operation based on a specified function, and the specified function comprises at least one of an equipment operation control function, an equipment capability set acquisition function and an equipment alarm function;
a sending module, configured to send a retransmission instruction to the terminal when it is determined that the designated function is not supported according to the designated instruction identifier;
the receiving module is further configured to receive a transparent transmission data packet sent by the terminal, where the transparent transmission data packet carries the data packet and a transparent transmission header, and a transparent transmission processing instruction identifier in the transparent transmission header is used to instruct the video recording device to transmit the data packet through;
and the transparent transmission module is used for transmitting the data packet to the camera equipment according to the transparent transmission processing instruction identifier.
10. The apparatus according to claim 9, wherein the sending module is configured to send a retransmission instruction carrying first authentication information, where the first authentication information is used for the image capturing device to check whether the image capturing device has the right to control the image capturing device.
11. The apparatus of claim 9, wherein the pass-through module comprises:
the query submodule is used for querying a preset instruction list according to the transparent transmission processing instruction identification, and the preset instruction list comprises at least one instruction identification supported by the video equipment and at least one corresponding processing instruction;
the determining submodule is used for determining a transparent transmission processing instruction corresponding to the transparent transmission processing instruction identification from a preset instruction table;
and the transparent transmission sub-module is used for executing the transparent transmission processing instruction, stripping the transparent transmission head from the transparent transmission data packet and transmitting the obtained data packet to the camera equipment.
12. The apparatus of claim 9, further comprising:
the analysis module is used for analyzing the data packet and/or the transparent transmission head in the transparent transmission data packet to obtain second authentication information, and the second authentication information is used for the video equipment to check whether the terminal has the control authority for the video equipment;
the sending module is further configured to execute the step of sending a retransmission instruction to the terminal when the second authentication information is verified to pass by the parsing module and the designated instruction identifier determines that the designated function is not supported; and/or the transparent transmission module is further configured to perform the step of transmitting the data packet to the camera device according to the transparent transmission processing instruction identifier when the analysis module verifies that the second authentication information passes.
13. A data transmission apparatus, for use in a terminal, the apparatus comprising:
the system comprises a sending module, a recording module and a processing module, wherein the sending module is used for sending a data packet to video equipment, a specified instruction identifier in the data packet is used for indicating the video equipment to execute specified operation based on a specified function, and the specified function comprises at least one of an equipment operation control function, an equipment capability set acquisition function and an equipment alarm function;
the receiving module is used for receiving a retransmission instruction of the video equipment;
the generating module is used for generating a transparent transmission data packet, the transparent transmission data packet carries the data packet and a transparent transmission head, and a transparent transmission processing instruction identifier in the transparent transmission head is used for indicating the video equipment to transmit the data packet in a transparent manner;
the sending module is further configured to send the transparent transmission data packet to the video recording device.
14. The apparatus of claim 13, wherein the sending module is further configured to send a data packet carrying second authentication information to the video recording device, where the second authentication information is used for the video recording device to check whether the terminal has the right to control the video recording device.
15. The apparatus according to claim 13, wherein the receiving module is further configured to receive a retransmission instruction carrying first authentication information, where the first authentication information is used for the image capturing device to check whether the image recording device has the right to control the image capturing device.
16. The apparatus of claim 13, wherein the generating module comprises:
the modification submodule is used for modifying the second authentication information in the data packet into first authentication information;
the generation submodule is used for generating a transparent transmission head carrying the second authentication information;
and the assembling submodule is used for assembling the modified data packet and the generated transparent transmission head to obtain the transparent transmission data packet.
17. A video recording device comprising a processor and a memory; a memory for storing a computer program; a processor for executing a computer program stored on a memory for carrying out the method steps of any one of claims 1 to 4.
18. A terminal comprising a processor and a memory; a memory for storing a computer program; a processor for executing a computer program stored on a memory for carrying out the method steps of any one of claims 5 to 8.
19. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-4.
20. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 5 to 8.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2017114681030 | 2017-12-29 | ||
CN201711468103 | 2017-12-29 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109995482A CN109995482A (en) | 2019-07-09 |
CN109995482B true CN109995482B (en) | 2022-01-07 |
Family
ID=67128630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810277201.4A Active CN109995482B (en) | 2017-12-29 | 2018-03-30 | Data transmission method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109995482B (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238493B (en) * | 2010-05-05 | 2014-08-13 | 中兴通讯股份有限公司 | Machine-to-machine (M2M)-platform-based message sequential transmission and receiving method and device |
CN102571184B (en) * | 2010-12-22 | 2014-07-16 | 深圳市云通时代科技开发有限公司 | Short-distance wireless relay method and system |
CN102655448B (en) * | 2011-03-03 | 2014-07-16 | 工业和信息化部电信传输研究所 | Data transmission method for medium access control layer of long-term evolution system |
CN103916627B (en) * | 2013-01-05 | 2017-04-12 | 杭州海康威视数字技术股份有限公司 | Method for data passthrough in NVR and video monitoring system |
CN104104926B (en) * | 2014-07-30 | 2017-04-19 | 浙江宇视科技有限公司 | Universal plug and play (UPnP) monitoring terminal access method and access device |
CN104270604B (en) * | 2014-09-18 | 2018-10-23 | 福建星网物联信息系统有限公司 | Obtain the method, system and device of the real time video data of IPC |
CN104486589B (en) * | 2014-12-25 | 2017-11-03 | 浙江宇视科技有限公司 | Access method and device in video monitoring system based on GVRP |
CN106059883A (en) * | 2016-05-20 | 2016-10-26 | 浙江宇视科技有限公司 | Message transmission method and device |
-
2018
- 2018-03-30 CN CN201810277201.4A patent/CN109995482B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109995482A (en) | 2019-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019128592A1 (en) | Method and apparatus for live broadcasting | |
CN111092809B (en) | Method and device for pushing information in real time, computer equipment and storage medium | |
CN110392375B (en) | WiFi network channel modification method, terminal, server and storage medium | |
CN110121084B (en) | Method, device and system for switching ports | |
CN113542290B (en) | Data access request processing method, device, equipment and readable storage medium | |
CN111913679A (en) | Method, device, equipment and storage medium for establishing wireless screen projection connection | |
CN110149491B (en) | Video encoding method, video decoding method, terminal and storage medium | |
CN113206781B (en) | Client control method, device, equipment and storage medium | |
CN111866140A (en) | Fusion management apparatus, management system, service calling method, and medium | |
CN110263525B (en) | Equipment configuration method and device | |
CN113726521A (en) | Communication method, communication device, electronic equipment and readable storage medium | |
CN109995704B (en) | Advertisement blocking method, device, equipment and computer readable storage medium | |
CN112738475B (en) | Video playing method and device and electronic equipment | |
CN111191227A (en) | Method and device for preventing malicious code from executing | |
CN110912830A (en) | Method and device for transmitting data | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN111008083B (en) | Page communication method and device, electronic equipment and storage medium | |
CN107948174A (en) | The method and apparatus that completeness check is carried out when transmitting data | |
CN108260023B (en) | Live broadcast method and device | |
CN108683699B (en) | Method and device for forwarding service request | |
CN111291287A (en) | Multimedia file uploading method and device and computer equipment | |
CN109995482B (en) | Data transmission method, device, equipment and computer readable storage medium | |
CN110971692B (en) | Method and device for opening service and computer storage medium | |
CN111447132B (en) | Data transmission method, device, system and computer storage medium | |
CN114900559A (en) | Management system, terminal, management method, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |