Video transmission method, system and device of network camera and storage medium
Obtaining network camera equipment information and performing identity verification through near-field communication, the complex problem of obtaining network camera videos in the prior art is solved, and a convenient and secure video acquisition process is realized.
Patent Information
- Application Number
- CN202411537908.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-10-31
AI Technical Summary
In the prior art, the process of obtaining network camera videos is complicated and cannot be obtained directly. It requires binding a client or using a card reading device.
The device information of the network camera is obtained through near-field communication and sends instructions to it. The client receives the video acquisition request and performs identity verification. If it passes, the command will be sent to make the network camera send video.
In the near-field communication scenario, the terminal does not need to bind a client or use a card reading device, and can easily and promptly obtain network camera videos, which are easy to operate and efficient, and increase the security of video transmission.
Smart Images

Figure CN119729203A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of video processing technology, and in particular to a video transmission method, system, device and storage medium for a network camera. Background Art
[0002] With the popularity of video surveillance, more and more IPCs (Internet Protocol Cameras) are used in home, community and city security systems. IPC data storage usually has two methods: cloud storage and SD card storage. Relatively speaking, cloud storage is a more convenient way to obtain IPC storage data. Uploading IPC recorded videos to the cloud platform not only solves the security risk of video storage in SD cards, but also simplifies the operation process of multiple users remotely viewing videos at any time.
[0003] Usually, to obtain IPC cloud storage, users need to use the client or APP bound to the camera to obtain cloud storage videos, obtain files by downloading, and share them with others. To obtain SD card storage, you need to take out the SD card with recorded files in the IPC, put it into a card reader, obtain and download the video storage files, and then share them with others. This method of obtaining IPC video storage first requires the user to log in to the client, or have the permission to read the client cloud storage video; or the user needs to have a card reader device to carry with them. Therefore, the process of obtaining videos from network cameras in the related technology is complicated and cannot be obtained directly. Summary of the invention
[0004] In view of this, an object of the embodiments of the present invention is to provide a method, system, device and storage medium for transmitting video of a network camera, which can safely and conveniently obtain the video of the network camera.
[0005] On the one hand, an embodiment of the present invention provides a video transmission method of a network camera, which is applied to a client of the network camera, comprising:
[0006] Receive a video acquisition request sent by a network camera; the video acquisition request includes device information of the network camera, identity information of the terminal, and video parameter information;
[0007] If the video acquisition request meets the requirements, first identity verification information is sent to the terminal, and second identity verification information called back by the terminal is received; the second identity verification information is determined according to the first identity verification information;
[0008] An identity verification is performed according to the first identity verification information and the second identity verification information. If the terminal identity verification passes, a first instruction is sent to the network camera so that the network camera sends the video that meets the video acquisition request to the terminal.
[0009] Optionally, the method further comprises:
[0010] If the terminal identity verification fails, the video transmission is terminated.
[0011] Optionally, the first identity verification information includes a first verification code, the second identity verification information includes a second verification code, and performing identity verification according to the first identity verification information and the second identity verification information includes:
[0012] Compare the first verification code of the first identity verification information with the second verification code of the second identity verification information bit by bit;
[0013] If the first verification code and the second verification code meet the preset requirements at each corresponding position, it is determined that the terminal identity verification has passed;
[0014] Otherwise, it is determined that the terminal identity verification fails.
[0015] Optionally, if the first verification code and the second verification code meet preset requirements at each corresponding position, determining that the terminal identity verification passes includes:
[0016] If the first verification code and the second verification code are equal in each corresponding position, it is determined that the terminal identity verification has passed.
[0017] On the other hand, an embodiment of the present invention provides a video transmission method of a network camera, which is applied to a terminal and includes:
[0018] Acquire device information of the network camera through near field communication, and send a second instruction to the network camera according to the device information, so that the network camera sends a video acquisition request to the client; the video acquisition request is determined according to the second instruction and the device information;
[0019] receiving first identity verification information sent by the client, and calling back the second identity verification information to the client, so that the client sends a first instruction to the network camera; the second identity verification information is determined according to the first identity verification information;
[0020] A video that meets the video acquisition request and is sent by the network camera is received; the video is determined according to the first instruction.
[0021] Optionally, the method further comprises:
[0022] Acquire a third instruction sent by the network camera, and start sending the second instruction according to the third instruction.
[0023] Optionally, the first identity verification information includes a verification channel and a first verification code, the second identity verification information includes a second verification code, and the receiving the first identity verification information sent by the client and calling back the second identity verification information to the client includes:
[0024] Receiving the verification channel and the first verification code sent by the client;
[0025] The second verification code is called back to the client through the verification channel; the second verification code is determined according to the first verification code.
[0026] On the other hand, an embodiment of the present invention provides a video transmission device of a network camera, comprising:
[0027] at least one processor;
[0028] at least one memory for storing at least one program;
[0029] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0030] On the other hand, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to perform the above method.
[0031] On the other hand, an embodiment of the present invention provides a video transmission system of a network camera, comprising a terminal, a network camera and a client, wherein the terminal communicates with the network camera and the client, and the network camera communicates with the client; wherein:
[0032] The client is used to execute the video transmission method of the client;
[0033] The terminal is used to execute the video transmission method of the terminal as described above;
[0034] The network camera is used to receive the second instruction sent by the terminal, send a video acquisition request to the client, and send the video that meets the video acquisition request to the terminal.
[0035] The implementation of the embodiments of the present invention includes the following beneficial effects: in this embodiment, the terminal obtains the device information of the network camera through near-field communication, and sends a second instruction to the network camera according to the device information; after the network camera receives the second instruction, it sends a video acquisition request to the client; the client receives the video acquisition request sent by the network camera, and if the video acquisition request meets the requirements, it sends first identity verification information to the terminal, and receives the second identity verification information called back by the terminal, performs identity verification according to the first identity verification information and the second identity verification information, and if the terminal identity verification passes, sends the first instruction to the network camera; after the network camera receives the first instruction, it sends the video that meets the video acquisition request to the terminal; the terminal does not need to be bound to the client or APP of the network camera, nor does it need to go through a card reading device. In the scenario of near-field communication, the video of the network camera can be obtained conveniently and timely, and the operation process is simple and efficient. In addition, identity verification is performed during video transmission, which increases the security of video transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a structural schematic diagram of a video transmission system of a network camera provided by an embodiment of the present invention;
[0037] Figure 2 It is a schematic flow chart of the steps of a video transmission method for a network camera applied to a terminal provided by an embodiment of the present invention;
[0038] Figure 3 It is a schematic diagram of a step flow of calling back the second identity verification information to the client provided by an embodiment of the present invention;
[0039] Figure 4 It is a schematic flow chart of the steps of a video transmission method of a network camera applied to a client provided by an embodiment of the present invention;
[0040] Figure 5 This is a schematic diagram of a process flow of verifying first identity verification information and second identity verification information provided by an embodiment of the present invention;
[0041] Figure 6 is a schematic diagram of a video transmission system for a network camera applied to a client provided by an embodiment of the present invention;
[0042] Figure 7 is a schematic diagram of a video transmission system for a network camera applied to a terminal provided by an embodiment of the present invention;
[0043] Figure 8 It is a structural block diagram of a video transmission device of a network camera provided by an embodiment of the present invention;
[0044] Fig. 9is a structural block diagram of a computer device provided by an embodiment of the present invention;
[0045] Fig.10 is a flow chart of a video transmission method of a network camera provided by an embodiment of the present invention;
[0046] Fig.11 The present invention is a flowchart of another method for transmitting video of a network camera provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0048] It should be noted that, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification and claims and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0049] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0050] Some technical terms in this embodiment are explained below.
[0051] NFC (Near Field Communication) is an emerging technology. Devices that use NFC technology (such as mobile phones) can exchange data when they are close to each other. It is an integration of contactless radio frequency identification (RFID) and interconnection technology. By integrating the functions of inductive card readers, inductive cards and point-to-point communication on a single chip, mobile terminals can be used to realize applications such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting.
[0052] IPC (Internet Protocol Camera, also known as IP CAMERA) is composed of a network coding module and an analog camera. The network coding module encodes and compresses the analog video signal collected by the analog camera into a digital signal, so that it can be directly connected to the network switching and routing equipment. The network camera has an embedded chip built in and uses an embedded real-time operating system.
[0053] IPC video storage is mainly available in two ways: card storage and cloud storage. Card storage refers to storing the video data of the surveillance camera in a small storage card inside or outside the camera, usually a TF card or SD card. Cloud storage refers to uploading the video data of the surveillance camera to a server on the Internet and accessing and managing it through the network.
[0054] CAPTCHA is the abbreviation of "Completely Automated Public Turing test to tell Computers and Humans Apart". CAPTCHA is a public fully automatic program that distinguishes whether the user is a computer or a human.
[0055] like Figure 1As shown, an embodiment of the present invention provides a video transmission system for a network camera, the system includes a terminal, a network camera and a client, and the terminal, the network camera and the client can communicate with each other. It can be understood by those skilled in the art that the terminal has a built-in NFC module or NFC tag, which can be used to read the IPC device ID that wants to obtain the stored video and issue an instruction to obtain the video storage file of the current IPC device; the terminal also includes a video receiving and storage module: after the IPC client agrees and passes the user identity authentication, the IPC video storage module sends the monitoring video to the video receiving and storage module of the user's mobile phone; the terminal also includes an identity authentication module: when the terminal user initiates a request to obtain the IPC file through NFC, the bound user of the IPC will receive the identity verification information of the requester, and after the identity verification is correct, the verification information will be sent to the requester terminal, and the requester enters the verification information, passes the verification and obtains the video file viewing and downloading permission. It can be understood by those skilled in the art that an NFC sensing area is provided on the IPC, and an NFC sensing module or NFC tag is provided in the area. When the terminal issues an instruction to the NFC module, the cloud storage or SD card storage content of the IPC can be read; the IPC also includes a video storage module: the IPC monitoring can be replayed video storage, involving two storage methods: TF card storage and cloud storage. The client can push a request to the administrator to view video surveillance. After the administrator agrees, verification information will be sent to the user for verification.
[0056] See also Figure 2 The embodiment of the present invention provides a video transmission method of a network camera, which is applied to a terminal and includes:
[0057] S110, acquiring device information of the network camera through near field communication, and sending a second instruction to the network camera according to the device information, so that the network camera sends a video acquisition request to the client; the video acquisition request is determined according to the second instruction and the device information.
[0058] The second instruction refers to a video request instruction sent by the terminal to the network camera, and the second instruction includes but is not limited to the identity information of the terminal and the video parameter information. The video acquisition request includes but is not limited to the device information of the network camera, the identity information of the terminal and the video parameter information. The video parameter information includes but is not limited to the time period of the video.
[0059] Specifically, the terminal obtains the device information of the network camera through near-field communication, constructs a second instruction according to the identity information and video parameter information of the terminal, and sends the second instruction to the network camera according to the device information; after receiving the second instruction, the network camera determines the video acquisition request according to the second instruction and the device information, and sends the video acquisition request to the client.
[0060] S120, receiving first identity verification information sent by the client, and calling back second identity verification information to the client, so that the client sends a first instruction to the network camera; the second identity verification information is determined according to the first identity verification information.
[0061] The first identity verification information refers to the identity verification information sent by the client to the terminal, and the second identity verification information refers to the identity verification information sent by the terminal to the client. The first instruction refers to the video sending instruction sent by the client to the network camera.
[0062] After the client receives the video acquisition request, the client sends the first identity verification information to the terminal; the terminal receives the first identity verification information sent by the client, the terminal user determines the second identity verification information based on the first identity verification information, the terminal calls back the second identity verification information to the client, the client receives the second identity verification information, if the second identity verification information is correct, the client sends the first instruction to the network camera.
[0063] S130, receiving a video sent by a network camera that meets a video acquisition request; the video is determined according to a first instruction.
[0064] After receiving the first instruction, the network camera determines the video that meets the video acquisition request according to the first instruction, and sends the video that meets the video acquisition request to the terminal; the terminal receives the video that meets the video acquisition request sent by the network camera, and can view or download the video that meets the video acquisition request.
[0065] Optionally, the method further comprises:
[0066] S111, obtaining a third instruction sent by the network camera, and starting to send the second instruction according to the third instruction.
[0067] The third instruction refers to receiving an instruction or allowing an instruction. After the terminal obtains the device information of the network camera through near field communication, the network camera sends the third instruction to the terminal. After receiving the third instruction, the terminal sends the second instruction to the network camera; if the terminal does not receive the third instruction, it stops sending the second instruction to the network camera.
[0068] Optionally, see Figure 3 The first identity verification information includes a verification channel and a first verification code, the second identity verification information includes a second verification code, receiving the first identity verification information sent by the client, and calling back the second identity verification information to the client, including:
[0069] S121, receiving a verification channel and a first verification code sent by a client;
[0070] S122. Call back the second verification code to the client through the verification channel; the second verification code is determined according to the first verification code.
[0071] It should be noted that the specific content of the first verification code and the second verification code is determined according to actual application, and this embodiment does not impose any specific restrictions. For example, the first verification code or the second verification code includes letters, numbers or other symbols.
[0072] Specifically, the terminal receives first identity verification information sent by the client, the first identity verification information includes a verification channel and a first verification code, and feeds back the first verification code to the user of the terminal; the user of the terminal determines the second verification code based on the first verification code, and inputs the second verification code into the terminal; after the terminal receives the input second verification code, it calls back the second verification code to the client through the verification channel.
[0073] See also Figure 4 The embodiment of the present invention provides a video transmission method of a network camera, which is applied to a client of the network camera, and includes:
[0074] S210, receiving a video acquisition request sent by a network camera; the video acquisition request includes device information of the network camera, identity information of the terminal, and video parameter information.
[0075] Specifically, the terminal receives a video acquisition request sent by the network camera, extracts the device information of the network camera, the identity information of the terminal, and the video parameter information according to the video acquisition request, and feeds back the device information of the network camera, the identity information of the terminal, and the video parameter information to the administrator of the client, who reviews the video acquisition request.
[0076] S220: If the video acquisition request meets the requirements, first identity verification information is sent to the terminal, and second identity verification information called back by the terminal is received; the second identity verification information is determined according to the first identity verification information.
[0077] Specifically, if the video acquisition request is reviewed and approved, that is, the video acquisition request meets the requirements, the client sends first identity verification information to the terminal; after the terminal receives the first identity verification information, it receives second identity verification information determined based on the first identity verification information, and calls back the second identity verification information to the client.
[0078] S230: Perform identity verification according to the first identity verification information and the second identity verification information. If the terminal identity verification passes, send a first instruction to the network camera so that the network camera sends the video that meets the video acquisition request to the terminal.
[0079] Specifically, after the client receives the second identity verification information, it performs identity verification on the terminal according to the first identity verification information and the second identity verification information. If the terminal identity verification passes, it sends the first instruction to the network camera; after the network camera receives the first instruction, it captures the video that meets the requirements from the cloud storage platform or storage card according to the first instruction, and sends the video that meets the video acquisition request to the terminal.
[0080] Optionally, the method further comprises:
[0081] S240: If the terminal identity verification fails, the video transmission is terminated.
[0082] Specifically, if the terminal identity verification fails, it indicates that there may be differences between the terminal information and the terminal information approved by the client. For security reasons, the video transmission process is terminated.
[0083] It should be noted that the terminal identity verification method is determined according to the actual application, and this embodiment does not impose any specific restrictions. The terminal identity verification method is determined according to the set rules, such as performing a certain operation or transformation.
[0084] Optionally, see Figure 5 The first identity verification information includes a first verification code, the second identity verification information includes a second verification code, and identity verification is performed according to the first identity verification information and the second identity verification information, including:
[0085] S231, comparing the first verification code of the first identity verification information with the second verification code of the second identity verification information bit by bit;
[0086] S232: If the first verification code and the second verification code meet the preset requirements at each corresponding position, it is determined that the terminal identity verification has passed;
[0087] S233: Otherwise, determine that the terminal identity verification fails.
[0088] It should be noted that the preset requirements are determined according to actual applications, and this embodiment does not make specific requirements, such as whether a certain operation relationship is satisfied between the first verification code and the second verification code.
[0089] Specifically, the first verification code of the first identity verification information and the second verification code of the second identity verification information are compared bit by bit at corresponding positions; if the first verification code and the second verification code meet the preset requirements at each corresponding position, the terminal identity verification passes; if the first verification code and the second verification code do not meet the preset requirements at one or some corresponding positions, the terminal identity verification fails.
[0090] Optionally, if the first verification code and the second verification code meet preset requirements at each corresponding position, determining that the terminal identity verification passes includes:
[0091] S2321. If the first verification code and the second verification code are equal in each corresponding position, it is determined that the terminal identity verification has passed.
[0092] When no processing or calculation is required between the first verification code and the second verification code, the first verification code can be directly used as the second verification code to reduce the amount of calculation and complexity. In this case, if the first verification code and the second verification code are equal in each corresponding position, the terminal identity verification passes; if the first verification code and the second verification code are not equal in one or some corresponding positions, the terminal identity verification fails.
[0093] The implementation of the embodiments of the present invention includes the following beneficial effects: in this embodiment, the terminal obtains the device information of the network camera through near-field communication, and sends a second instruction to the network camera according to the device information; after the network camera receives the second instruction, it sends a video acquisition request to the client; the client receives the video acquisition request sent by the network camera, and if the video acquisition request meets the requirements, it sends first identity verification information to the terminal, and receives the second identity verification information called back by the terminal, performs identity verification according to the first identity verification information and the second identity verification information, and if the terminal identity verification passes, sends the first instruction to the network camera; after the network camera receives the first instruction, it sends the video that meets the video acquisition request to the terminal; the terminal does not need to be bound to the client or APP of the network camera, nor does it need to go through a card reading device. In the scenario of near-field communication, the video of the network camera can be obtained conveniently and timely, and the operation process is simple and efficient. In addition, identity verification is performed during video transmission, which increases the security of video transmission.
[0094] See also Figure 6 The embodiment of the present invention provides a video transmission system of a network camera, which is applied to a client of the network camera, and includes:
[0095] The first module is used to receive a video acquisition request sent by a network camera; the video acquisition request includes device information of the network camera, identity information of the terminal and video parameter information;
[0096] The second module is used to send the first identity verification information to the terminal if the video acquisition request meets the requirements, and receive the second identity verification information called back by the terminal; the second identity verification information is determined according to the first identity verification information;
[0097] The third module is used to perform identity verification according to the first identity verification information and the second identity verification information. If the terminal identity verification passes, a first instruction is sent to the network camera to enable the network camera to send the video that meets the video acquisition request to the terminal.
[0098] See also Figure 7The embodiment of the present invention provides a video transmission system of a network camera, which is applied to a terminal and includes:
[0099] A near field communication module, used for obtaining device information of the network camera through near field communication, and sending a second instruction to the network camera according to the device information, so that the network camera sends a video acquisition request to the client; the video acquisition request is determined according to the second instruction and the device information;
[0100] The identity verification module is used to receive the first identity verification information sent by the client, and call back the second identity verification information to the client, so that the client sends the first instruction to the network camera; the second identity verification information is determined according to the first identity verification information;
[0101] The video receiving and storing module is used to receive the video sent by the network camera that meets the video acquisition request; the video is determined according to the first instruction.
[0102] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0103] See also Figure 8 The embodiment of the present invention provides a video transmission device of a network camera, comprising:
[0104] at least one processor;
[0105] at least one memory for storing at least one program;
[0106] When at least one program is executed by at least one processor, the at least one processor implements the above method.
[0107] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0108] It can be seen that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0109] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.
[0110] An embodiment of the present invention further provides a computer-readable storage medium, which stores a program executable by a processor. The program executable by the processor is used to implement the above method when executed by the processor.
[0111] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0112] Specifically, see Fig. 9The computer device 900 may include an RF (Radio Frequency) circuit 910, a memory 920 including one or more computer-readable storage media, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a short-range wireless transmission module 970, a processor 980 including one or more processing cores, and a power supply 990. Those skilled in the art will appreciate that Fig. 9 The device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0113] The RF circuit 910 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 980 for processing; in addition, the data related to the uplink is sent to the base station. Generally, the RF circuit 910 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a user identity module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, etc. In addition, the RF circuit 910 can also communicate with the network and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
[0114] The memory 920 can be used to store software programs and modules. The processor 980 executes various functional applications and data processing by running the software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the device 900 (such as audio data, a phone book, etc.), etc. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 920 may also include a memory controller to provide the processor 980 and the input unit 930 with access to the memory 920. Although Fig. 9 The RF circuit 910 is shown, but it is understandable that it is not an essential component of the device 900 and can be omitted as required without changing the essence of the invention.
[0115] The input unit 930 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 930 may include a touch-sensitive surface 931 and other input devices 932. The touch-sensitive surface 931, also known as a touch display screen or a touchpad, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch-sensitive surface 931), and drive corresponding connection devices according to a pre-set program. Optionally, the touch-sensitive surface 931 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into touch point coordinates, and then sends it to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch-sensitive surface 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 931, the input unit 930 may further include other input devices 932. Specifically, the other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0116] The display unit 940 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the control 900, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc. Further, the touch-sensitive surface 931 may be covered on the display panel 941. When the touch-sensitive surface 931 detects a touch operation on or near it, it is transmitted to the processor 980 to determine the type of touch event. Subsequently, the processor 980 provides a corresponding visual output on the display panel 941 according to the type of touch event. Although in Fig. 9 In the embodiment, the touch-sensitive surface 931 and the display panel 941 are implemented as two independent components to implement input and output functions, but in some embodiments, the touch-sensitive surface 931 and the display panel 941 can be integrated to implement input and output functions.
[0117] The computer device 900 may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 941 and / or the backlight when the device 900 is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can also be configured in the device 900, they will not be repeated here.
[0118] The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the device 900. The audio circuit 960 can transmit the electrical signal converted from the received audio data to the speaker 961, which is converted into a sound signal for output; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is received by the audio circuit 960 and converted into audio data, and then the audio data is processed by the output processor 980 and sent to another control device through the RF circuit 910, or the audio data is output to the memory 920 for further processing. The audio circuit 960 may also include an earplug jack to provide communication between an external headset and the device 900.
[0119] The short-distance wireless transmission module 970 may be a WIFI (wireless fidelity) module, a Bluetooth module, an infrared module, etc. The device 900 may transmit information with a wireless transmission module provided on a competing device through the short-distance wireless transmission module 970 .
[0120] The processor 980 is the control center of the device 900. It uses various interfaces and lines to connect various parts of the entire control device. It executes various functions of the device 900 and processes data by running or executing software programs and / or modules stored in the memory 920, and calling data stored in the memory 920, so as to monitor the control device as a whole. Optionally, the processor 980 may include one or more processing cores; optionally, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 950.
[0121] The device 900 also includes a power supply 990 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 980 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 990 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0122] Although not shown, the device 900 may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0123] It is understood that all or some steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0124] See also Figure 1 The embodiment of the present invention provides a video transmission system of a network camera, including a terminal, a network camera and a client, wherein the terminal communicates with the network camera and the client, and the network camera communicates with the client; wherein,
[0125] A client, used to execute the above-mentioned client video transmission method;
[0126] A terminal, used to execute the video transmission method of the terminal as described above;
[0127] The network camera is used for receiving a second instruction sent by a terminal, sending a video acquisition request to a client, and sending a video satisfying the video acquisition request to the terminal.
[0128] Specifically, for the network camera, it can be a camera with a storage card and a communication network; and for the terminal, it can be different types of electronic devices, including but not limited to mobile phones, tablets or wearable devices, etc.; for the client, it can be a desktop computer, a laptop computer or a data cloud platform, etc.
[0129] In a specific embodiment, see Fig.10 , the terminal is a mobile phone, and the video transmission of the network camera is as follows:
[0130] S1: Put the mobile phone and IPC together, and the mobile phone reads the IPC device ID through the NFC module;
[0131] S2: The IPC returns the received command to the mobile phone NFC, allowing the mobile phone to issue further commands to the IPC device;
[0132] S3: The mobile phone sends a command to the IPC device to obtain the surveillance storage video;
[0133] S4: The NFC module of the IPC device sends a request to the client of the IPC video surveillance to obtain the stored video;
[0134] S5: The client of the IPC device determines the user identity of the mobile phone. If the identity is correct, it agrees and sends a verification code to the identity authentication module of the mobile phone for identity authentication; if the identity is wrong, it disagrees and ends;
[0135] S6: The mobile phone identity authentication module inputs the verification code sent by the IPC video surveillance client and calls back to the IPC video surveillance client;
[0136] S7: If the callback verification code is wrong, the process ends;
[0137] S8: If the callback verification code is correct, the identity authentication module successfully callbacks the identity information to the IPC video surveillance client;
[0138] S9: The IPC video surveillance client sends the instruction to the video storage module of the IPC;
[0139] S10: The video storage module of the IPC sends the corresponding video to the receiving and storage module of the mobile phone video, and the user chooses to view or download the video as needed.
[0140] The video transmission process of a network camera is described below with two specific application examples.
[0141] Example 1: See Fig.11 A vehicle that was parked overnight in the community on Friday night was found to have some scratches on the body of the vehicle on Saturday afternoon. Unable to find the cause, the owner contacted the property staff and requested to call up the historical surveillance video from the community camera from Friday night to Saturday morning.
[0142] After the property staff verifies the owner's identity information, the owner uses the NFC module of the mobile phone to touch the NFC module of the surveillance camera. The surveillance camera immediately receives the instruction to view and obtain the camera storage files (the specified time period is from Friday night to Saturday morning). At the same time, the IPC client pushes a message to the management staff that someone has applied for the camera storage video permission, and sends the applicant's mobile phone number and the IPC device ID to the property management staff (the binding and management staff of the surveillance camera). The applicant can fill in the remarks and apply for video permission. After the management staff confirms that the applicant's identity and the application viewing time period are correct, they click to agree on the client. The client sends a text message verification code to the applicant's mobile phone. After the applicant scans the NFC, the page pops up to verify the identity information. After entering the correct text message verification code on the identity verification page, you can obtain the viewing and downloading permissions of the surveillance video and download the corresponding video to your mobile phone.
[0143] After the property staff verifies the car owner's information, the car owner uses the NFC module of the mobile phone to touch the NFC module of the surveillance camera to apply to query and download the surveillance videos of all time periods of the community surveillance equipment from Monday to Friday. The IPC client also pushes the applicant's application message to the property manager. The manager does not approve the user's application to obtain all videos of this time period and clicks "Disagree". The current user receives a text message notification that the application is rejected, the verification code verification fails, and the video of the corresponding time period cannot be downloaded.
[0144] If someone in the community accidentally touches the NFC module of a mobile phone and the NFC module of a surveillance camera, selects a video, and submits a download application, the IPC client pushes the application message to the property manager. The manager verifies that the application is unreasonable and clicks "disagree". The current user's application is rejected and a text message notification is received, and the video stored in the camera cannot be obtained.
[0145] Example 2: An IPC camera with a storage function is installed in the kindergarten classroom. When the parents pick up their children from school, they find that the children have unknown scars on their bodies and apply to the teacher to view the video records of the classroom during the day. After communicating with the teacher, the teacher agreed that the parents could obtain the video from 8 to 3 o'clock in the daytime. Since the parents do not have the camera client permission and there is no card reading device around, the steps to obtain the video are relatively cumbersome. At this time, parents can use their mobile phones and kindergarten classroom monitoring IPC stickers. The NFC module of the mobile phone obtains the device ID of the current camera and sends an instruction to obtain video permissions to the IPC; after receiving the instruction, the IPC immediately sends an application message to the client; the client's device administrator can receive the information that the parent user has applied for the IPC video. If the administrator approves the user's application, click on the review and pass, and the verification code can be sent to the applicant's mobile phone. After the applicant enters the correct authentication code, the corresponding video of the IPC can be received through the NFC module, and can be viewed or downloaded by himself. Even if the user does not install the camera client or does not have the camera viewing permission, the stored video of the IPC can still be easily obtained through NFC.
[0146] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0147] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0148] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0149] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0150] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A video transmission method for a network camera, characterized in that: Applicable to the client of network camera, including: Receive a video acquisition request sent by a network camera; the video acquisition request includes device information of the network camera, identity information of the terminal, and video parameter information; If the video acquisition request meets the requirements, first identity verification information is sent to the terminal, and second identity verification information called back by the terminal is received; the second identity verification information is determined according to the first identity verification information; An identity verification is performed according to the first identity verification information and the second identity verification information. If the terminal identity verification passes, a first instruction is sent to the network camera so that the network camera sends the video that meets the video acquisition request to the terminal.
2. The method according to claim 1, characterized in that The method further comprises: If the terminal identity verification fails, the video transmission is terminated.
3. The method according to claim 1, characterized in that The first identity verification information includes a first verification code, the second identity verification information includes a second verification code, and performing identity verification according to the first identity verification information and the second identity verification information includes: Compare the first verification code of the first identity verification information with the second verification code of the second identity verification information bit by bit; If the first verification code and the second verification code meet the preset requirements at each corresponding position, it is determined that the terminal identity verification has passed; Otherwise, it is determined that the terminal identity verification fails.
4. The method according to claim 3, characterized in that If the first verification code and the second verification code meet the preset requirements at each corresponding position, determining that the terminal identity verification passes includes: If the first verification code and the second verification code are equal in each corresponding position, it is determined that the terminal identity verification has passed.
5. A video transmission method of a network camera, characterized in that: Applied to terminals, including: Acquire device information of the network camera through near field communication, and send a second instruction to the network camera according to the device information, so that the network camera sends a video acquisition request to the client; the video acquisition request is determined according to the second instruction and the device information; receiving first identity verification information sent by the client, and calling back the second identity verification information to the client, so that the client sends a first instruction to the network camera; the second identity verification information is determined according to the first identity verification information; A video that meets the video acquisition request and is sent by the network camera is received; the video is determined according to the first instruction.
6. The method according to claim 5, characterized in that The method further comprises: Acquire a third instruction sent by the network camera, and start sending the second instruction according to the third instruction.
7. The method according to claim 5, characterized in that The first identity verification information includes a verification channel and a first verification code, the second identity verification information includes a second verification code, and the receiving the first identity verification information sent by the client and calling back the second identity verification information to the client includes: Receiving the verification channel and the first verification code sent by the client; The second verification code is called back to the client through the verification channel; the second verification code is determined according to the first verification code.
8. A video transmission device for a network camera, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.
10. A video transmission system for a network camera, characterized in that: The method comprises a terminal, a network camera and a client, wherein the terminal communicates with the network camera and the client, and the network camera communicates with the client; wherein the client is used to execute the method according to any one of claims 1 to 4; The terminal is used to execute the method according to any one of claims 5 to 7; The network camera is used to receive the second instruction sent by the terminal, send a video acquisition request to the client, and send the video that meets the video acquisition request to the terminal.
Citation Information
Patent Citations
Method and system for obtaining photos from digital camera to mobile terminal through NFC
CN103414831A
Transmission method, device and system of video data
CN105391699A
Monitoring image query method, device and equipment and medium
CN109902195A
Security encryption video monitoring method and device and storage medium
CN116614599A
Method and apparatus for providing data from web camera
CN117221628A