CN113949848A - Data transmission method, device, equipment and medium - Google Patents

Data transmission method, device, equipment and medium Download PDF

Info

Publication number
CN113949848A
CN113949848A CN202111210952.2A CN202111210952A CN113949848A CN 113949848 A CN113949848 A CN 113949848A CN 202111210952 A CN202111210952 A CN 202111210952A CN 113949848 A CN113949848 A CN 113949848A
Authority
CN
China
Prior art keywords
data transmission
equipment
server
network card
target monitoring
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.)
Granted
Application number
CN202111210952.2A
Other languages
Chinese (zh)
Other versions
CN113949848B (en
Inventor
刘冕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN202111210952.2A priority Critical patent/CN113949848B/en
Publication of CN113949848A publication Critical patent/CN113949848A/en
Application granted granted Critical
Publication of CN113949848B publication Critical patent/CN113949848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

In the data transmission method, the device, the equipment and the medium, the data transmission equipment comprises the first network card and the second network card, the monitoring image shot by the screened target monitoring equipment is obtained through the first network card according to the screening instruction input by the user, and then the monitoring image is sent to the server located in the public network through the second network card, so that the operation difficulty of the user when using the data transmission equipment is simplified.

Description

Data transmission method, device, equipment and medium
Technical Field
The present application relates to the field of computers, and in particular, to a data transmission method, apparatus, device, and medium.
Background
Currently, security monitoring systems are widely applied to roads, hospitals, public security and other scenes, so as to become one of the most important means for maintaining social stability. The data such as video stream, alarm and the like required by the security system come from monitoring resources, so the coverage of the monitoring resources is very important for any security system.
However, there are a lot of monitoring resources located in the local area network, and extremely complicated configuration is required to be performed before the monitoring resources can be used by the security system located in the public network.
Disclosure of Invention
In order to overcome at least one of the deficiencies in the prior art, embodiments of the present application provide a data transmission method, apparatus, device, and medium, including:
in a first aspect, this embodiment provides a data transmission method applied to a data transmission device, where the data transmission device includes a first network card and a second network card, and is in communication connection with a candidate monitoring device located in a local area network through the first network card, and is in communication connection with a server located in a public network through the second network card, and the method includes:
receiving a screening instruction input by a user;
determining target monitoring equipment from the candidate monitoring equipment according to the screening instruction;
acquiring a monitoring image of the target monitoring equipment through the first network card;
and sending the monitoring image to the server through the second network card.
In a second aspect, this embodiment provides a data transmission apparatus, which is applied to a data transmission device, where the data transmission device includes a first network card and a second network card, and is in communication connection with a candidate monitoring device located in a local area network through the first network card, and is in communication connection with a server located in a public network through the second network card, and the data transmission apparatus includes:
the screening module is used for receiving a screening instruction input by a user;
the screening module is further used for determining target monitoring equipment from the candidate monitoring equipment according to the screening instruction;
the image module is used for acquiring a monitoring image of the target monitoring equipment through the first network card;
and the sending module is used for sending the monitoring image to the server through the second network card.
In a third aspect, this embodiment provides a data transmission device, which includes a processor and a memory, where the memory stores a computer program, and the computer program is executed by the processor to implement the data transmission method.
In a fourth aspect, the present embodiment provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the data transmission method.
Compared with the prior art, the method has the following beneficial effects:
in the data transmission method, the device, the equipment and the medium provided by the embodiment of the application, the data transmission equipment comprises the first network card and the second network card, the monitoring image shot by the screened target monitoring equipment is acquired through the first network card according to the screening instruction input by the user, and then the monitoring image is sent to the server located in the public network through the second network card, so that the operation difficulty of the user when using the data transmission equipment is simplified.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic view of a scenario provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
FIG. 4 is a diagram illustrating data flow according to an embodiment of the present disclosure;
fig. 5 is a second schematic diagram of data flow provided by the present application;
fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Icon: 120-a memory; 130-a processor; 140-a communication unit; 201-a screening module; 202-an image module; 203-sending module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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 application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is noted that the terms "first", "second", "third", and the like are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
Research shows that a large amount of monitoring resources in a local area network exist at present, and the monitoring resources can be used by a security system in a public network only by carrying out extremely complicated configuration.
For example, monitoring resources in areas such as a cell and a factory building are always connected to security systems such as a public security network for reasons such as privacy protection and the right of equipment; the monitoring resource data is huge, and the application value is very high; especially, in emergency situations (fire, robbery, etc.), how to quickly and effectively use the monitoring resources becomes a great problem.
The monitoring resources are accessed to the related technology of the security system in the public network, however, the configuration needs to be quite complicated, and even the line needs to be modified, so that the popularization and the use are difficult.
In view of this, the present embodiment provides a data transmission method applied to a data transmission device. As shown in fig. 1, in the method, the data transmission device includes a first network card and a second network card, and according to a screening instruction input by a user, a monitoring image shot by a screened target monitoring device is acquired through the first network card, and then is sent to a server located in a public network through the second network card, so that the operation difficulty of the user when using the data transmission device is simplified.
The server may be, but is not limited to, a Web server, an FTP (File Transfer Protocol) server, a data processing server, a security server, and the like. In addition, the server may be a single server or a server group. The set of servers can be centralized or distributed (e.g., the servers can be a distributed system). In some embodiments, the server may be local or remote to the user terminal. In some embodiments, the server may be implemented on a cloud platform; by way of example only, the Cloud platform may include a private Cloud, a public Cloud, a hybrid Cloud, a Community Cloud, a distributed Cloud, a cross-Cloud (Inter-Cloud), a Multi-Cloud (Multi-Cloud), and the like, or any combination thereof. In some embodiments, the server may be implemented on an electronic device having one or more components.
As shown in fig. 2, the data transmission apparatus includes a memory 120, a processor 130, and a communication unit 140. The memory 120, the processor 130 and the communication unit 140 are electrically connected to each other directly or indirectly, so as to realize data transmission or interaction.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction.
The communication unit 140 includes a first network card and a second network card, and is configured to establish a communication connection with the server and the monitoring device through a network, and to receive and transmit data through the network. The Network may include a wired Network, a Wireless Network, a fiber optic Network, a telecommunications Network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Public Switched Telephone Network (PSTN), a bluetooth Network, a ZigBee Network, or a Near Field Communication (NFC) Network, or the like, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include wired or wireless network access points, such as base stations and/or network switching nodes, through which one or more components of the service request processing system may connect to the network to exchange data and/or information.
The processor 130 may be an integrated circuit chip having signal processing capabilities, and may include one or more processing cores (e.g., a single-core processor or a multi-core processor). Merely by way of example, the Processor may include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), an Application Specific Instruction Set Processor (ASIP), a Graphics Processing Unit (GPU), a Physical Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller Unit, a Reduced Instruction Set computer (Reduced Instruction Set computer), a microprocessor, or the like, or any combination thereof.
The operating system in the data transmission device may be, but is not limited to, an Android system, an ios (Android operating system) system, a Windows phone system, a Windows system, Linux, and the like.
For example, a raspberry pi may be selected as the data transmission device, and a centros system is installed on the raspberry pi, and the data transmission method provided by this embodiment is performed. It should be understood that the raspberry group is a microcomputer motherboard based on an ARM, and cannot send a monitoring picture in a local area network to a server in a public network through the data transmission method of the embodiment, and the raspberry group is also configured with an FPGA chip for providing a strong audio and video coding capability to reduce the delay in the transmission process of the monitoring picture. On the basis, the raspberry group is also provided with an HDMI interface for displaying a monitoring picture of the monitoring equipment.
Based on the above description, an embodiment of the method for providing data transmission is described in detail below with reference to fig. 3. As shown in fig. 3, the method includes:
s101, receiving a screening instruction input by a user.
And S102, determining target monitoring equipment from the candidate monitoring equipment according to the screening instruction.
In consideration of privacy and other factors, the candidate monitoring devices in the local area network usually do not all access the public network, and in the related scheme, a corresponding technology is not provided for screening the candidate monitoring devices in the local area network, but all the candidate monitoring devices in the local area network access the public network.
In an optional embodiment, the data transmission device is provided with a web page inside, and the user can access the web page through an access interface provided by the data transmission device. And a plurality of equipment identifications are displayed in the web page and respectively correspond to different candidate monitoring equipment.
Then, the data processing device receives the screening instruction input by the user through the web page, and determines the target monitoring device.
And S103, acquiring a monitoring image of the target monitoring device through the first network card.
And S104, sending the monitoring image to a server through a second network card.
It should be understood that the related art only provides a single network card, which means that the network card is required to communicate with both the target monitoring device in the local area network and the server in the public network, so that the user needs to perform complicated configuration (e.g., port mapping) on the network at the time of use. And when the user does not know enough about the related network knowledge, the use experience of the user is seriously reduced.
Therefore, in this embodiment, the data transmission device is provided with the first network card and the second network card, and configures the network address of the first network card, so that the data transmission device can communicate with the target monitoring device in the local area network through the first network card, and configures the network address of the second network card, so that the data transmission device can communicate with the server through the second network card.
Illustratively, as shown in fig. 4, the data transmission device receives a pull stream request sent by a server, and forwards the pull stream request to a corresponding target monitoring device. The target monitoring apparatus transmits an RTSP stream to the data transmission apparatus in response to the pull stream request. The device video stream in the lan needs to be converted into an RTSP video stream supporting the public network stream (for example, converted into an RTP stream supporting GB 28181) to enable the server in the public network to stream. Therefore, the data transmission device converts the RTSP stream sent by the target monitoring device and sends the RTSP stream to the server.
In order to reduce the delay when the server pulls the stream, the data transmission device is configured with a codec (e.g. FPGA) of the video stream, which can increase the codec speed, thereby playing a role in reducing the video delay in the process of redistributing the code stream.
The inventor further researches and discovers that in the related prior art of forwarding the monitoring image in the local area network to the public network, the security authentication and the security transmission capability are not provided, and the problems that the security and the privacy of related data cannot be guaranteed exist.
In view of this, the data processing apparatus obtains authorization information, where the authorization information includes an authorization code input by a user, and the authorization code is provided by the server; then, sending the authorization information to a server; and receiving the first public key sent by the server according to the authorization code.
Based on the first public key, the data transmission equipment acquires pre-configured login information; then, the login information is encrypted through the first public key to obtain encrypted login information; and finally, sending the encrypted login information to the server, wherein the encrypted login information is used for indicating the server to verify the identity of the data transmission equipment.
The data transmission equipment generates a second public key and a second private key which are paired; acquiring a user name and a user password which are configured in advance; then, the second public key, the user name, and the user password are used as login information.
It should be understood that the server verifies the identity of the data transmission device by the user name and the user password in the login information, and encrypts the signaling sent to the data transmission device by the second public key, thereby avoiding sending the message to the data transmission device in a plaintext manner.
For example, as shown in fig. 5, since the server needs to verify the data transmission device by the authorization code before performing subsequent communication, the data transmission device obtains the authorization code from the outside, for example, the user logs in the server by using the personal terminal to request for obtaining the authorization code. The data transmission device provides a corresponding configuration interface and receives the authorization code input by the user.
In addition, in order for the server to uniquely bind the authorization code with the data transmission device, the data transmission device collects its own serial number, and then constructs authorization information in the manner of table 1, and sends the authorization information to the server.
TABLE 1
Authorization code (8 bit pure number) Serial number
xxxxxxxx xxxxxxxxxxxx
And the server acquires the authorization code in the authorization information, verifies the authorization code, generates a first public key and a first private key which are matched after the verification is successful, constructs response information according to the mode of the table 2 and sends the response information to the data transmission equipment.
TABLE 2
Authorization code (8 bit pure number) Platform public key
xxxxxxxx xxxxxxxxxxxx
Continuing to refer to fig. 5, the data transmission device generates a second private key and a second public key which are paired, acquires a user name and a user password, encrypts the user name, the user password and the public key through the first public key, and sends the acquired encrypted login information to the server. Wherein the login information is constructed in the following manner:
“{cmd:login:{user:xxxxx,password:xxxx,pubilckey:xxx}}”
wherein "cmd: login" represents message type login information, "user: xxxxx" represents a user name, "password: xxxx" represents a user secret, and "public key: xxx" represents a second public key.
The server decrypts the encrypted login information through the first private key, verifies the user name and the user password in the encrypted login information, and sends a notification message of successful login to the data transmission equipment after the verification is successful, wherein the notification message of successful login is encrypted by using the second public key.
In addition, when the monitoring image relates to the privacy information, in order to avoid data, the data transmission device can encrypt the monitoring image through the first public key to obtain an encrypted image; then, the encrypted image is sent to the server through the second network card.
The user at the service end can remotely view the real-time image of the target monitoring equipment and remotely control the real-time image, but the old target monitoring equipment does not support the pan-tilt function. Therefore, in order to make the user at one end of the server know the functions supported by each target monitoring device, the output transmission device collects the function information of the target monitoring device and sends the function information to the server.
For example, the function information of the monitoring device may be expressed as:
Figure BDA0003308909330000091
Figure BDA0003308909330000101
with continued reference to fig. 4, based on the function information supported by each target monitoring device and sent by the data transmission device, the server may send a corresponding command to the data transmission device to control the corresponding target monitoring device. Therefore, the signaling includes a first control instruction for controlling the target monitoring device, wherein the first control instruction satisfies a first control protocol agreed by the data transmission device.
In view of this, the data processing apparatus receives a first control instruction; and then, generating a second control instruction according to the first control instruction, wherein the second control instruction meets a second control protocol agreed by the target monitoring equipment.
And finally, sending a second control instruction to the target monitoring equipment, wherein the second control instruction is used for indicating the target monitoring equipment to execute corresponding operation.
For example, the control instructions for controlling the pan/tilt adjustment function of the target monitoring device may be expressed as:
Figure BDA0003308909330000102
considering each target monitoring device in the local area network, in order to provide the best monitoring visual angle and picture effect, the pitch angle, the focal length, the horizontal angle and the like can be correspondingly adjusted according to the actual erection position at the beginning of erection, and when the user at one end of the server remotely controls the target monitoring device, the best shooting effect can be broken.
In view of this, after receiving the first control instruction, the data transmission device obtains a current device state of the target monitoring device, where the device state is related to an imaging effect of the target monitoring device.
And then, after the data transmission equipment sends a second control instruction corresponding to the first control instruction to the target monitoring equipment, if a new first control instruction is not received within the preset control duration, the target monitoring equipment is controlled to be recovered to the equipment state. Therefore, the target monitoring equipment can recover the optimal monitoring effect.
It should be noted that a third control instruction is agreed between the data transmission device and the server, and is used for persistently adjusting the device state of the target monitoring device. That is, when the data transmission device receives the third control instruction, the third control instruction is directly converted into a corresponding fourth control instruction, and the fourth control instruction is sent to the target monitoring device to control the target monitoring device to adjust the current device state, and the current device state adjusted by the target monitoring device is not recorded.
Research shows that most target monitoring devices in the local area network are old monitoring devices, and most target monitoring devices do not have an AI function, so that abnormal events are difficult to detect.
In view of this, the data transmission device recognizes the monitoring image taken by the target monitoring device; judging whether an abnormal event is recorded in the monitoring image; and if the identification result of the monitoring image indicates that the target monitoring equipment shoots the abnormal event, sending alarm information of the abnormal event to the server.
For example, the data transmission device may be configured with a fire recognition model based on neural network principles; and inputting the monitoring image into the fire recognition model, and if the output result shows that a fire occurs, sending fire alarm information to a service. Of course, the abnormal event is not limited to a fire, but may include a falling object, theft, wandering of an abnormal person, and the like.
For example, the structure of the alarm information may be expressed as:
Figure BDA0003308909330000111
Figure BDA0003308909330000121
in addition, when the target monitoring equipment is abnormal in operation, the alarm information of the abnormal operation of the equipment can be sent to the server, so that a user at one end of the server can maintain the server in time.
In some scenarios, it is sometimes necessary to view the history images captured by the target monitoring device, and therefore, the data transmission device caches the history images within a preset time period. The data transmission equipment receives a playback request sent by a server; acquiring a playback time interval according to the playback request; then, a playback image corresponding to the playback period is read from the locally cached history image, and is transmitted to the server. For example, the data transmission device may convert the playback image into an RTSP stream, and transmit the RTSP stream to the server.
The message structure of the playback request may be:
{cmd:replayurl,data:{id:xxxxx,name:xxx}}
based on the same inventive concept of the provided data transmission method, the embodiment further provides a data transmission device applied to the data transmission equipment, wherein the data transmission equipment comprises a first network card and a second network card, and is in communication connection with the candidate monitoring equipment located in the local area network through the first network card, and is in communication connection with the server located in the public network through the second network card. The data transmission means comprise at least one functional module which can be stored in the form of software in the memory 120. As shown in fig. 6, functionally divided, the data transmission apparatus may include:
the screening module 201 is configured to receive a screening instruction input by a user.
The screening module 201 is further configured to determine a target monitoring device from the candidate monitoring devices according to the screening instruction.
The screening module 201 is configured to implement steps S101 to S102 in fig. 2, and for the detailed description of the screening module 201, refer to the detailed description of steps S101 to S102.
The image module 202 is configured to obtain a monitoring image of the target monitoring device through the first network card.
Wherein, the image module 202 is used to implement step S103 in fig. 2, and the detailed description about the image module 202 may refer to the detailed description of step S103.
And the sending module 203 is configured to send the monitoring image to the server through the second network card.
Wherein, the sending module 203 is used to implement step S104 in fig. 2, and the detailed description about the sending module 203 may refer to the detailed description about step S104.
It should be noted that the data transmission apparatus may further include other functional modules, which are used to implement other steps or sub-steps of the data transmission method. Of course, the filtering module 201, the image module 202 and the sending module 203 can be used to implement other steps or sub-steps of the data transmission method. Those skilled in the art can perform appropriate adjustment according to different module division standards, and the embodiment is not particularly limited.
The embodiment also provides a data transmission device, which includes a processor and a memory, where the memory stores a computer program, and the computer program is executed by the processor to implement the data transmission method.
The present embodiment also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the data transmission method is implemented.
In summary, in the data transmission method, the apparatus, the device and the medium provided in the embodiment of the present application, the data transmission device includes the first network card and the second network card, and the monitoring image shot by the target monitoring device that is screened out is acquired through the first network card according to the screening instruction input by the user, and then is sent to the server located in the public network through the second network card, so that the operation difficulty when the user uses the data transmission device is simplified.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A data transmission method is applied to data transmission equipment, the data transmission equipment comprises a first network card and a second network card, the data transmission equipment is in communication connection with candidate monitoring equipment located in a local area network through the first network card, and is in communication connection with a server located in a public network through the second network card, and the method comprises the following steps:
receiving a screening instruction input by a user;
determining target monitoring equipment from the candidate monitoring equipment according to the screening instruction;
acquiring a monitoring image of the target monitoring equipment through the first network card;
and sending the monitoring image to the server through the second network card.
2. The data transmission method of claim 1, further comprising:
obtaining authorization information, wherein the authorization information comprises an authorization code input by a user, and the authorization code is provided by the server;
sending the authorization information to the server;
receiving a first public key sent by the server according to the authorization code;
acquiring login information;
encrypting the login information through the first public key to obtain encrypted login information;
and sending the encrypted login information to the server, wherein the encrypted login information is used for indicating the server to verify the identity of the data transmission equipment.
3. The data transmission method according to claim 2, wherein the sending the monitoring image to the server through the second network card includes:
encrypting the monitoring image through the first public key to obtain an encrypted image;
and sending the encrypted image to the server through the second network card.
4. The data transmission method according to claim 2, wherein the obtaining the login information comprises:
generating a second public key and a second private key which are paired;
acquiring a user name and a user password which are configured in advance;
and taking the user name, the user password and the second public key as the login information, wherein the second public key is used for indicating the server to encrypt the signaling sent to the data transmission equipment through the second public key.
5. The data transmission method according to claim 4, wherein the signaling includes a first control instruction for controlling the target monitoring device, and the first control instruction satisfies a first control protocol agreed by the data transmission device, and the method further includes:
receiving the first control instruction;
generating a second control instruction according to the first control instruction, wherein the second control instruction meets a second control protocol agreed by the target monitoring equipment;
and sending the second control instruction to the target monitoring device, wherein the second control instruction is used for instructing the target monitoring device to execute corresponding operation.
6. The data transmission method according to claim 5, wherein before the sending the second control instruction to the target monitoring device, the method further comprises:
acquiring the current equipment state of the target monitoring equipment, wherein the equipment state is related to the imaging effect of the target monitoring equipment;
after the sending the second control instruction to the target monitoring device, the method further includes:
and if a new first control instruction is not received within the preset control duration, controlling the target monitoring equipment to recover to the equipment state.
7. The data transmission method of claim 1, further comprising:
identifying the monitoring image;
and if the identification result of the monitoring image indicates that the target monitoring equipment shoots an abnormal event, sending alarm information of the abnormal event to the server.
8. A data transmission device is characterized in that the data transmission device is applied to data transmission equipment, the data transmission equipment comprises a first network card and a second network card, the data transmission equipment is in communication connection with candidate monitoring equipment located in a local area network through the first network card, and is in communication connection with a server located in a public network through the second network card, and the data transmission device comprises:
the screening module is used for receiving a screening instruction input by a user;
the screening module is further used for determining target monitoring equipment from the candidate monitoring equipment according to the screening instruction;
the image module is used for acquiring a monitoring image of the target monitoring equipment through the first network card;
and the sending module is used for sending the monitoring image to the server through the second network card.
9. A data transmission device comprising a processor and a memory, characterized in that the memory stores a computer program which, when executed by the processor, implements a data transmission method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the data transmission method of any one of claims 1 to 7.
CN202111210952.2A 2021-10-18 2021-10-18 Data transmission method, device, equipment and medium Active CN113949848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111210952.2A CN113949848B (en) 2021-10-18 2021-10-18 Data transmission method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111210952.2A CN113949848B (en) 2021-10-18 2021-10-18 Data transmission method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN113949848A true CN113949848A (en) 2022-01-18
CN113949848B CN113949848B (en) 2023-06-27

Family

ID=79331217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111210952.2A Active CN113949848B (en) 2021-10-18 2021-10-18 Data transmission method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113949848B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834939A (en) * 2023-02-21 2023-03-21 北京匠数科技有限公司 Electronic screen information monitoring equipment and method and electronic screen content safety pre-examination system

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018234A1 (en) * 2003-07-15 2005-02-24 Citipati Partners, Llc Method and system for delivering media data
CN101237353A (en) * 2007-09-07 2008-08-06 北京飞天诚信科技有限公司 A method and system for monitoring mobile storage device based on USBKEY
DE102007000963A1 (en) * 2007-10-11 2009-04-23 Rüterbories, Karin Input/output interface for producing secured connection for data exchange between servers, has partition elements assigned to data paths and activated and deactivated, respectively, in alarm-free normal operation
CN101753583A (en) * 2010-01-18 2010-06-23 友达光电股份有限公司 Method for data transmission by using network multi-channel
WO2012096661A1 (en) * 2011-01-12 2012-07-19 Adaptive Spectrum And Signal Alignment, Inc. Systems and methods for jointly optimizing wan and lan network communications
CN103118149A (en) * 2013-03-04 2013-05-22 华为技术有限公司 Communication control method for servers of same lessee and network device
CN103139778A (en) * 2013-03-25 2013-06-05 北京奇虎科技有限公司 Wireless local area network access system and method
CN104734951A (en) * 2013-12-20 2015-06-24 Abb技术有限公司 Network interface for transmitting protection data of a power network
WO2016079893A1 (en) * 2014-11-20 2016-05-26 Panasonic Intellectual Property Management Co., Ltd. Monitoring system
CN106027492A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Data transmission terminal and method
CN106162634A (en) * 2015-03-24 2016-11-23 华为技术有限公司 Data interactive method between a kind of gateway and device
CN106534799A (en) * 2016-12-08 2017-03-22 北京小米移动软件有限公司 Monitoring method and control equipment
CN108307202A (en) * 2018-03-07 2018-07-20 广州图普网络科技有限公司 Real-time video transcoding sending method, device and user terminal
CN109314723A (en) * 2017-04-27 2019-02-05 华为技术有限公司 A kind of method, apparatus and terminal for realizing data service
CN109901525A (en) * 2017-12-07 2019-06-18 刘健 The soil monitoring system of network-control
CN109982065A (en) * 2017-12-27 2019-07-05 浙江宇视科技有限公司 The method, apparatus and storage medium that equipment fault restores in video surveillance network
CN110224917A (en) * 2018-03-02 2019-09-10 杭州海康威视数字技术股份有限公司 Data transmission method, apparatus and system, server
CN111294375A (en) * 2018-12-07 2020-06-16 浙江宇视科技有限公司 Monitoring equipment connection method and device
CN113132973A (en) * 2019-12-31 2021-07-16 佛山市云米电器科技有限公司 Equipment network distribution method and system and computer readable storage medium

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005018234A1 (en) * 2003-07-15 2005-02-24 Citipati Partners, Llc Method and system for delivering media data
CN101237353A (en) * 2007-09-07 2008-08-06 北京飞天诚信科技有限公司 A method and system for monitoring mobile storage device based on USBKEY
DE102007000963A1 (en) * 2007-10-11 2009-04-23 Rüterbories, Karin Input/output interface for producing secured connection for data exchange between servers, has partition elements assigned to data paths and activated and deactivated, respectively, in alarm-free normal operation
CN101753583A (en) * 2010-01-18 2010-06-23 友达光电股份有限公司 Method for data transmission by using network multi-channel
WO2012096661A1 (en) * 2011-01-12 2012-07-19 Adaptive Spectrum And Signal Alignment, Inc. Systems and methods for jointly optimizing wan and lan network communications
CN103118149A (en) * 2013-03-04 2013-05-22 华为技术有限公司 Communication control method for servers of same lessee and network device
CN103139778A (en) * 2013-03-25 2013-06-05 北京奇虎科技有限公司 Wireless local area network access system and method
CN104734951A (en) * 2013-12-20 2015-06-24 Abb技术有限公司 Network interface for transmitting protection data of a power network
WO2016079893A1 (en) * 2014-11-20 2016-05-26 Panasonic Intellectual Property Management Co., Ltd. Monitoring system
CN106162634A (en) * 2015-03-24 2016-11-23 华为技术有限公司 Data interactive method between a kind of gateway and device
CN106027492A (en) * 2016-04-29 2016-10-12 努比亚技术有限公司 Data transmission terminal and method
CN106534799A (en) * 2016-12-08 2017-03-22 北京小米移动软件有限公司 Monitoring method and control equipment
CN109314723A (en) * 2017-04-27 2019-02-05 华为技术有限公司 A kind of method, apparatus and terminal for realizing data service
CN109901525A (en) * 2017-12-07 2019-06-18 刘健 The soil monitoring system of network-control
CN109982065A (en) * 2017-12-27 2019-07-05 浙江宇视科技有限公司 The method, apparatus and storage medium that equipment fault restores in video surveillance network
CN110224917A (en) * 2018-03-02 2019-09-10 杭州海康威视数字技术股份有限公司 Data transmission method, apparatus and system, server
CN108307202A (en) * 2018-03-07 2018-07-20 广州图普网络科技有限公司 Real-time video transcoding sending method, device and user terminal
CN111294375A (en) * 2018-12-07 2020-06-16 浙江宇视科技有限公司 Monitoring equipment connection method and device
CN113132973A (en) * 2019-12-31 2021-07-16 佛山市云米电器科技有限公司 Equipment network distribution method and system and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程琼: "基于3G和嵌入式技术的数据传输系统设计" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834939A (en) * 2023-02-21 2023-03-21 北京匠数科技有限公司 Electronic screen information monitoring equipment and method and electronic screen content safety pre-examination system
CN115834939B (en) * 2023-02-21 2023-05-12 北京匠数科技有限公司 Electronic screen information monitoring equipment and method and electronic screen content security pre-examination system

Also Published As

Publication number Publication date
CN113949848B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US9674879B2 (en) Provisioning of electronic devices
US11188636B2 (en) System for controlling access to an account
US20180248694A1 (en) Assisted device provisioning in a network
KR101502249B1 (en) Device communication
US20150022666A1 (en) System and method for scalable video cloud services
CN105391744B (en) A kind of method and system of management and monitoring equipment
US20130329047A1 (en) Escort security surveillance system
US8813173B2 (en) Mobile communication device surveillance system
TWI822762B (en) Device presentation with real-time feedback
JP2017068596A (en) Management system, communication system, transmission control method, and program
TWI572208B (en) Verification method applied to remote connection and related verification system and related ip camera
JP6408627B2 (en) Remote device control system and remote device control method
KR100651717B1 (en) Method and home network system for authentication between remote terminal and home network using smart card
CN113949848B (en) Data transmission method, device, equipment and medium
WO2022166775A1 (en) Elevator accessory authentication method and system, and server and storage medium
US9985947B1 (en) Method and system for communication of devices using dynamic routes encoded in security tokens and a dynamic optical label
US20210014681A1 (en) Thincloud mesh access point (ap) and internet of things (iot) device onboarding
US20160028705A1 (en) Communication system and router
JP6068379B2 (en) Control terminal, home gateway, communication method and program
CN110048864B (en) Method and apparatus for authenticating an administrator of a device-specific message group
JP2016035621A (en) Work support system and work support method
US20150207836A1 (en) System and method for multiplex streaming of mobile devices
KR102309906B1 (en) Internet of things device with VPN server
WO2016165447A1 (en) Method, apparatus, and system for remotely controlling terminal
JP6058857B1 (en) Network monitoring device, network monitoring system, and network monitoring method

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