A control method, device, medium and equipment of a network video recorder
By using a single network video recorder control method, centralized management of multiple recorders can be achieved, solving the problems of complex user operation and CPU performance consumption in existing technologies, and improving the efficiency of the recorder system.
Patent Information
- Application Number
- CN202111611146.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2041-12-27
AI Technical Summary
Existing network video recorder systems require the management of multiple devices, are complex to operate, consume CPU resources, and affect efficiency.
This method uses a single network video recorder to control multiple recorders, enabling centralized management of these recorders, including connection, data query, configuration, and control, thus reducing the complexity of user operation.
In complex network video recorder environments, multiple recorders can be operated using a single monitor, reducing user configuration complexity and improving efficiency.
Smart Images

Figure CN116366469B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of Internet, and in particular, to a control method and device of a network video recorder, a medium and equipment. BACKGROUND
[0002] With the development of audio and video coding technology and network storage technology, digital video monitoring technology is formed by digitizing image data of a camera and transmitting and storing the image data on a network. In existing monitoring systems, multiple network video recorders (NVRs) are often combined, and human-computer operation can only be completed through a corresponding external display and a mouse. The more NVRs there are, the more difficult it is to manage and use them.
[0003] Currently, NVR human-computer pictures are encoded into video streams and sent to remote clients to control multiple NVRs through video stream pictures. However, this scheme needs to occupy the coding capability of the NVR, and user operation and configuration are relatively complex. CPU performance is greatly consumed, and the use efficiency of the NVR itself is affected. SUMMARY
[0004] Embodiments of the present application provide a control method and device of a network video recorder, a medium and equipment, which can use one display to operate human-computer configuration of multiple network video recorders in a complex network video recorder networking environment, thereby greatly reducing the complexity of user operation and configuration and improving the use efficiency of the network video recorder.
[0005] In a first aspect, embodiments of the present application provide a control method of a network video recorder. The method is executed by a first network video recorder in a monitoring system. The monitoring system includes the first network video recorder and at least one second network video recorder. The method includes:
[0006] If a control instruction of the second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received;
[0007] A service data query request is initiated to the second network video recorder to obtain service data of the second network video recorder;
[0008] The service data of the second network video recorder is received, and a human-computer interface of the second network video recorder is displayed;
[0009] In response to a configuration operation, configuration data obtained is sent to the second network video recorder to control the second network video recorder.
[0010] Optionally, if a control instruction of the second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received, including:
[0011] In the window picture of the first network video recorder, if a viewing operation of the channel management interface is received, all network video recorders of a current monitoring system are queried to obtain a network video recorder list;
[0012] In response to a selection operation in the network video recorder list, a second network video recorder is determined;
[0013] A connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received to establish a TCP connection with a service module of the second network video recorder.
[0014] Optionally, after the TCP connection with the service module of the second network video recorder is established, the method further includes:
[0015] A control tag is added to the human-computer interaction module of the first network video recorder to stop the human-computer interaction module of the first network video recorder from obtaining service data from the service module of the first network video recorder.
[0016] Optionally, a service data query request is initiated to the second network video recorder to obtain service data of the second network video recorder, including:
[0017] A service data query request is initiated to the service module of the second network video recorder to obtain service data of the second network video recorder;
[0018] The service data is parsed through the human-computer interaction module of the first network video recorder.
[0019] Optionally, parsing the service data includes parsing configuration data in the service data;
[0020] Correspondingly, in response to a configuration operation, the obtained configuration data is sent to the second network video recorder to control the second network video recorder, including:
[0021] The configuration data is displayed;
[0022] In response to a configuration operation, updated configuration data is obtained;
[0023] The updated configuration data is sent to the second network video recorder to control the second network video recorder.
[0024] Optionally, the updated configuration data is sent to the second network video recorder to control the second network video recorder, including:
[0025] The updated configuration data is sent to the second network video recorder for the second network video recorder to perform configuration update based on the updated configuration data.
[0026] The service data of the second network video recorder is refreshed to be displayed based on the configuration update result.
[0027] Optionally, the parsing the service data includes parsing video data in the service data.
[0028] Correspondingly, the method further includes:
[0029] The video data is displayed through a human-computer interaction module of the first network video recorder.
[0030] In a second aspect, the embodiments of the present application provide a control device of a network video recorder, the device is executed by a first network video recorder in a monitoring system, the monitoring system includes the first network video recorder and at least one second network video recorder; the device includes:
[0031] A connection response receiving module is configured to, if detecting a control instruction of the second network video recorder, initiate a connection request to the second network video recorder, and receive a connection response of the second network video recorder.
[0032] A service data obtaining module is configured to initiate a service data query request to the second network video recorder to obtain service data of the second network video recorder.
[0033] A display module is configured to receive the service data of the second network video recorder, and display a human-computer interface of the second network video recorder.
[0034] A control module is configured to respond to a configuration operation, and send the obtained configuration data to the second network video recorder to control the second network video recorder.
[0035] In a third aspect, the embodiments of the present application provide a computer readable storage medium, which stores a computer program, the program is executed by a processor to implement the control method of the network video recorder as described in the embodiments of the present application.
[0036] In a fourth aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable by the processor, and the processor implements the control method of the network video recorder according to the embodiments of the present application when executing the computer program.
[0037] The technical solution provided by the embodiments of the present application can detect the control instruction of the second network video recorder, initiate a connection request to the second network video recorder, and receive a connection response of the second network video recorder; initiate a service data query request to the second network video recorder to obtain service data of the second network video recorder; receive the service data of the second network video recorder, and display a human-computer interface of the second network video recorder; and in response to a configuration operation, send the obtained configuration data to the second network video recorder to control the second network video recorder. The technical solution can be used to operate the human-computer configuration of multiple network video recorders using one display in a complex network video recorder networking environment, thereby greatly reducing the complexity of user operation and configuration and improving the use efficiency of the network video recorder. BRIEF DESCRIPTION OF DRAWINGS
[0038] Figure 1 is a flowchart of a control method of a network video recorder provided by Embodiment One of the present application;
[0039] Figure 2 is a connection schematic diagram of a monitoring system provided by Embodiment One of the present application.
[0040] Figure 3 is a flowchart of a control method of a network video recorder provided by Embodiment Two of the present application;
[0041] Figure 4 is a flowchart of a control method of a network video recorder provided by Embodiment Two of the present application;
[0042] Figure 5 is a structural block diagram of a control device of a network video recorder provided by Embodiment Three of the present application;
[0043] Figure 6 is a structural schematic diagram of an electronic device provided by Embodiment Five of the present application. DETAILED DESCRIPTION
[0044] The present application will be further described below in conjunction with the drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only the parts related to the present application are shown in the drawings, but not all the structures.
[0045] Before any examples are described in further detail, it should be noted that some examples are described as processes or methods depicted as flowcharts. Although the processes are described in a particular sequential order, many of the processes described can be performed concurrently, in parallel, or simultaneously. In addition, the order of the processes can be re-arranged. The processes can be terminated when their operations are completed, but the processes can also end in response to events that are external to the processes. The processes can correspond to methods, functions, procedures, subroutines, subprograms, etc.
[0046] Embodiment One
[0047] Figure 1 is a flowchart of a control method of a network video recorder provided by Embodiment One of the present application. The present embodiment can be applied to a scenario of configuring and operating multiple network video recorders. The method can be executed by a control device of a network video recorder provided by the present application. The device can be implemented in software and / or hardware, and can be integrated into an electronic device.
[0048] As shown in Figure 1 , the control method of the network video recorder includes:
[0049] S110, if a control instruction of a second network video recorder is detected, initiating a connection request to the second network video recorder, and receiving a connection response of the second network video recorder.
[0050] The present solution is executed by a first network video recorder in a monitoring system. The monitoring system includes the first network video recorder, and at least one second network video recorder. That is, the present solution can be executed by any network video recorder in the monitoring system to control other network video recorders in the monitoring system.
[0051] The monitoring system can include multiple network video recorders, and at least one display device, mouse, or keyboard. The software version and device model of the network video recorder need to be consistent. All network video recorders in the monitoring system should be in the same network. The second network video recorder can be one or multiple network video recorders. The second network video recorder can have the same model as the first network video recorder. The control instruction can be issued by a human-computer interaction module of the first network video recorder. As shown in Figure 2 , the network video recorder (Network Video Recorder, NVR for short), NVR101 can represent the first network video recorder. NVR102, NVR103, and NVR104 can represent the second network video recorder.
[0052] In this embodiment, first, the first network video recorder is connected to the display device and the mouse, and the window picture is output, and the staff can display the window picture in real time through the configuration interface. In the channel management interface of the first network video recorder, other network video recorders in the current network can be queried, and one of them can be selected as the second network video recorder. A control button for adding parameter information of other devices in the same network is added in the channel management interface of the first network video recorder from the window picture, when the second network video recorder is retrieved, the button is clicked, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received.
[0053] S120, a service data query request is initiated to the second network video recorder to obtain service data of the second network video recorder.
[0054] The service data query request can be initiated by the human-computer interaction module of the first network video recorder. The service data can be configuration data or video data of the second network video recorder, etc. In this embodiment, the display device connected to the first network video recorder can also include a processing device. The first network video recorder initiates a service data query request to the service module of the second network video recorder, and the processing device includes an acquisition module to acquire the service data of the second network video recorder.
[0055] S130, receiving the service data of the second network video recorder, and displaying a human-computer interface of the second network video recorder.
[0056] In this embodiment, the first network video recorder receives the service data of the second network video recorder, and displays the human-computer interface of the second network video recorder on the human-computer interface in the human-computer interaction module of the first network video recorder. The human-computer interface can be similar to the human-computer interface of the first network video recorder, and can display video information collected by the camera associated with the second network video recorder, and can switch between multiple cameras, in addition, the second network video recorder can be read and displayed for users to view and operate, etc.
[0057] S140, in response to a configuration operation, and sending the obtained configuration data to the second network video recorder to control the second network video recorder.
[0058] The configuration operation can be an operation of configuring running parameters of the second network video recorder by the first network video recorder. The configuration data can be data of configuration of encoding parameters, alarms, networks, intelligence and storage, etc. In this embodiment, the configuration module in the processing device responds to the operation of configuring the second network video recorder by the first network video recorder, and sends the data configured by the first network video recorder to the second network video recorder, so that the second network video recorder is controlled by the man-machine interaction module of the first network video recorder.
[0059] The technical scheme provided by the embodiment of the application comprises the following steps: if a control instruction of a second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received; a service data query request is initiated to the second network video recorder to obtain service data of the second network video recorder; the service data of the second network video recorder is received, and a man-machine interface of the second network video recorder is displayed; a configuration operation is responded to, and configuration data obtained is sent to the second network video recorder to control the second network video recorder. The technical scheme can be used to operate multiple network video recorders by one display in a complex network video recorder networking environment, so that the complexity of user operation and configuration is greatly reduced, and the use efficiency of the network video recorder is improved.
[0060] Embodiment two
[0061] Figure 3 The flowchart of the control of the network video recorder in the embodiment two is optimized based on the above-mentioned embodiment. The optimization is as follows: if a control instruction of a second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received, which comprises: in a window picture of a first network video recorder, if a viewing operation of a channel management interface is received, all network video recorders of a current monitoring system are queried to obtain a network video recorder list; a second network video recorder is determined in response to a selection operation in the network video recorder list; a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received to establish a TCP connection with a service module of the second network video recorder.
[0062] As shown in Figure 3 The method of the embodiment specifically comprises the following steps:
[0063] S310, in a window picture of a first network video recorder, if a viewing operation of a channel management interface is received, all network video recorders of a current monitoring system are queried to obtain a network video recorder list.
[0064] The window picture can be a picture in which a staff member operates and views video monitoring content in real time. The channel management interface can be a function interface in the first network video recorder. The viewing operation can be an operation of viewing each network video recorder currently under the same network. The all network video recorders can be all network video recorders in the same network as the first network video recorder. The network video recorder list can include a list of parameter information of all network video recorder devices in the same network.
[0065] In the embodiment, when the channel management interface receives the viewing operation of the network video recorder currently under the same network, all network video recorders in the same network as the first network video recorder in the current monitoring system are queried, so that the parameter information of all network video recorder devices is obtained.
[0066] S320, in response to a selection operation in the network video recorder list, a second network video recorder is determined.
[0067] The selection operation can be selection of the second network video recorder in the network video recorder list. The selectable second network video recorder can be one or multiple, and only one second network video recorder can be selected each time. In the embodiment, the channel management interface is entered in the display interface of the first network video recorder to select the network video recorder list, so that the second network video recorder is determined.
[0068] S330, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received to establish a TCP connection with a service module of the second network video recorder.
[0069] The connection request can be initiated by the man-machine interaction module of the first network video recorder. In the embodiment, the man-machine interaction module of the first network video recorder initiates the connection request to the service module of the second network video recorder, and the service module of the second network video recorder establishes the TCP connection with the man-machine interaction module of the first network video recorder after receiving the connection request.
[0070] In the embodiment, optionally, after the TCP connection with the service module of the second network video recorder is established, the method further includes:
[0071] The first network video recorder adds a control mark to the human-computer interaction module to stop the human-computer interaction module from obtaining service data from the service module of the first network video recorder.
[0072] The control mark can be a control state flag CF. In this embodiment, after the service module of the second network video recorder receives the connection request and establishes a TCP connection with the human-computer interaction module of the first network video recorder, the human-computer interaction module of the first network video recorder enters the control state flag CF. After the human-computer interaction module of the first network video recorder enters the control state flag CF, the human-computer interaction module of the first network video recorder stops obtaining service data from the service module of the first network video recorder. In addition, when the human-computer interaction module of the first network video recorder is in the CF state, the CF state can be exited by, for example, right-clicking twice with a mouse, the human-computer interaction module of the first network video recorder disconnects from the second network video recorder, re-interacts with the service module of the first network video recorder, and returns to the display screen of the first network video recorder. In this embodiment, by adding the control mark, the source of the service data obtained by the human-computer interaction module of the first network video recorder can be switched, and the control operation is facilitated.
[0073] S340, a service data query request is initiated to the service module of the second network video recorder to obtain the service data of the second network video recorder.
[0074] The service data query request can be initiated by the human-computer interaction module of the first network video recorder. In this embodiment, the human-computer interaction module of the first network video recorder establishes a connection with the human-computer interaction module and the service module of the second network video recorder through the TCP protocol; the human-computer interaction module of the first network video recorder jumps to the main menu interface and initiates a service data query request to the service module of the second network video recorder to obtain the service data of the second network video recorder.
[0075] S350, the service data is parsed by the human-computer interaction module of the first network video recorder.
[0076] In this embodiment, the processing device on the display device connected to the first network video recorder further includes a data analysis module; the data analysis module can return the service data of the second network video recorder to the first network video recorder. Then the service data of the second network video recorder is parsed by the human-computer interaction module of the first network video recorder. The parsing of the service data includes parsing configuration data in the service data.
[0077] S360, receiving the service data of the second network video recorder, and displaying the human-computer interface of the second network video recorder.
[0078] S370, displaying the configuration data.
[0079] In this embodiment, the configuration data parsed by the human-computer interaction module of the first network video recorder is displayed on the human-computer control of the first network video recorder. At this time, the display device displays the same human-computer interface as the human-computer interaction module of the second network video recorder.
[0080] S380, obtaining updated configuration data in response to a configuration operation.
[0081] The configuration operation can be initiated by the human-computer interaction module of the first network video recorder and responded by the service data module of the second network video recorder. The configuration data can be configuration encoding parameters, alarms, networks, intelligence, storage, etc. In this embodiment, the staff can perform any configuration operation on the human-computer interaction module of the first network video recorder to obtain updated configuration data.
[0082] S390, sending the updated configuration data to the second network video recorder to control the second network video recorder.
[0083] In this embodiment, any configuration operation is performed on the human-computer interaction module of the first network video recorder. The configuration of the service data to be sent is sent by the human-computer interaction module of the first network video recorder to the service data module of the second network video recorder. The service data module of the second network video recorder is saved to the configuration area of the second network video recorder after corresponding data processing, thereby realizing the control of the second network video recorder.
[0084] For example, the interaction flow timing chart of the first network video recorder and the second network video recorder is shown in Figure 4 In this embodiment, the first network video recorder is taken as the monitoring device 1, and the second network video recorder is taken as the monitoring device 2. The human-computer interaction module of the first network video recorder is denoted as MMI1, and the service module of the second network video recorder is denoted as CORE2.
[0085] Step description:
[0086] F1: MMI1 selects the control device to enter the control state.
[0087] F2: MMI1 establishes a TCP connection with CORE2.
[0088] F3: CORE2 returns connection success.
[0089] F4: MMI1 queries service data.
[0090] F5: returns service data of CORE2.
[0091] F6: displays CORE2 data based on MMI1 man-machine interface.
[0092] F7: operates at MMI1 and sends configuration data.
[0093] F8: returns data reception success.
[0094] F9: disconnects.
[0095] F10: MMI1 exits control state and restores original man-machine interface.
[0096] The technical scheme provided by the embodiment of the application can, in a complex network video recorder networking environment, when it is necessary to modify the man-machine configuration of a network video recorder, freely switch control of any network video recorder in the network without needing to pass through each corresponding display device, but only using the network video recorder display device of one of the network video recorders, thereby greatly reducing the complexity of user operation configuration and improving the use efficiency of the network video recorder.
[0097] In the embodiment, the updated configuration data is optionally sent to the second network video recorder to control the second network video recorder, including:
[0098] The updated configuration data is sent to the second network video recorder for the second network video recorder to perform configuration update based on the updated configuration data.
[0099] The service data of the second network video recorder is refreshed to be displayed based on the configuration update result.
[0100] In the embodiment, the man-machine interaction module of the first network video recorder sends the updated configuration data to the service module of the second network video recorder, so that the second network video recorder is configured according to the updated configuration data. When the interface of the man-machine interaction module of the first network video recorder is switched, the interface display of the man-machine interaction module of the first network video recorder is refreshed; after the configuration of the second network video recorder is completed, the man-machine interaction module of the first network video recorder sends a configuration message to notify the man-machine interaction module of the second network video recorder to re-read the configuration data, and the service data of the second network video recorder is refreshed; then the configuration update result is displayed in the interface of the man-machine interaction module of the second network video recorder, and the data reception success is returned to the first network video recorder; then the man-machine interaction module of the first network video recorder disconnects the TCP connection, and exits the control state to restore the original man-machine interface. Exemplarily, the configuration message can be an AF message. In the embodiment, the updated configuration data of the first network video recorder can be sent to the second network video recorder and displayed, so that the control of the second network video recorder is realized, which is more convenient and fast.
[0101] In the embodiment, optionally, the parsing the service data comprises parsing video data in the service data.
[0102] Correspondingly, the method further comprises:
[0103] displaying the video data by the man-machine interaction module of the first network video recorder.
[0104] In the embodiment, the video data can be set by the user according to the demand. In the embodiment, the video data in the service data of the second network video recorder is parsed by the man-machine interaction module of the first network video recorder, and the video data is displayed by the man-machine interaction module of the first network video recorder. In the embodiment, the service data of the second network video recorder is parsed and displayed in the first network video recorder, so that the user can conveniently call and view the video data in the second network video recorder.
[0105] Embodiment three
[0106] Figure 5 A structural block diagram of a network video recorder control device provided in the third embodiment of the application is provided, the device can execute the network video recorder control method provided in any embodiment of the application, has the function modules and beneficial effects corresponding to the execution method. The device is executed by the first network video recorder in a monitoring system, the monitoring system comprises the first network video recorder and at least one second network video recorder; as shown in the figure, the device can comprise: Figure 5
[0107] The connection response receiving module 510 is configured to, if the control instruction of the second network video recorder is detected, initiate a connection request to the second network video recorder, and receive a connection response of the second network video recorder.
[0108] The service data obtaining module 520 is configured to initiate a service data query request to the second network video recorder, to obtain service data of the second network video recorder.
[0109] The display module 530 is configured to receive the service data of the second network video recorder, and display a human-computer interface of the second network video recorder.
[0110] The control module 540 is configured to, in response to a configuration operation, send the obtained configuration data to the second network video recorder, to control the second network video recorder.
[0111] The technical scheme provided by the embodiments of the present application can be used to operate multiple network video recorders by using one display in a complex network video recorder networking environment, so that the complexity of user operation and configuration is greatly reduced, and the use efficiency of the network video recorder is improved.
[0112] Further, the connection response receiving module 510 comprises:
[0113] The network video recorder list obtaining unit is configured to, in a window picture of the first network video recorder, if a viewing operation of the channel management interface is received, query all network video recorders of the current monitoring system, and obtain a network video recorder list.
[0114] The second network video recorder determining unit is configured to, in response to a selection operation in the network video recorder list, determine a second network video recorder.
[0115] The connection establishing unit is configured to initiate a connection request to the second network video recorder, and receive a connection response of the second network video recorder, to establish a TCP connection with a service module of the second network video recorder.
[0116] Further, the apparatus further comprises a service data stopping obtaining module, configured to:
[0117] The human-computer interaction module of the first network video recorder is added with a control mark, so that the human-computer interaction module of the first network video recorder stops obtaining service data from the service module of the first network video recorder.
[0118] Further, the service data obtaining module 520 comprises:
[0119] The business data obtaining unit is configured to initiate a business data query request to a business module of the second network video recorder to obtain business data of the second network video recorder.
[0120] The business data analyzing unit is configured to analyze the business data through a man-machine interaction module of the first network video recorder.
[0121] Further, the analyzing of the business data comprises analyzing configuration data in the business data.
[0122] Correspondingly, the control module 540 comprises:
[0123] The configuration data display unit is configured to display the configuration data.
[0124] The configuration data obtaining unit is configured to obtain updated configuration data in response to a configuration operation.
[0125] The control unit is configured to send the updated configuration data to the second network video recorder to control the second network video recorder.
[0126] Further, the control unit is specifically configured to:
[0127] Send the updated configuration data to the second network video recorder for the second network video recorder to perform configuration updating based on the updated configuration data.
[0128] Refresh the business data of the second network video recorder to display based on a configuration updating result.
[0129] Further, the analyzing of the business data comprises analyzing video data in the business data.
[0130] Correspondingly, the apparatus further comprises a video data display module configured to:
[0131] Display the video data through a man-machine interaction module of the first network video recorder.
[0132] The product described above can execute the network video recorder control method provided by the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0133] Embodiment Four
[0134] Embodiment Four of the present application provides a computer readable storage medium having a computer program stored thereon, the program being executed by a processor to implement the network video recorder control method provided by all the embodiments of the present application:
[0135] If a control instruction of the second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received;
[0136] A service data query request is initiated to the second network video recorder to obtain service data of the second network video recorder;
[0137] The service data of the second network video recorder is received, and a human-computer interface of the second network video recorder is displayed;
[0138] In response to a configuration operation, the obtained configuration data is sent to the second network video recorder to control the second network video recorder.
[0139] Any combination of one or more computer readable medium can be employed. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, the computer readable storage medium can be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
[0140] A computer readable signal medium can include a propagated data signal with computer readable program code embodied therein, for use by or in connection with an instruction execution system, apparatus, or device. Examples of a computer readable signal medium include but are not limited to a computer readable storage medium that is part of a wave that uses or carries the program code. Examples of waves also include, but are not limited to, electronic, electromagnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. The computer readable storage medium can be any computer readable medium except for a propagated signal per se.
[0141] Program code embodied on a computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0142] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0143] Embodiment five
[0144] An electronic device is provided in the embodiment five of the present application. Figure 6 is a structural schematic diagram of an electronic device provided in the embodiment five of the present application. As shown in the figure, Figure 6 The embodiment provides an electronic device 600, which includes one or more processors 620 and a storage device 610 configured to store one or more programs. When the one or more programs are executed by the one or more processors 620, the one or more processors 620 implement a control method of a network video recorder provided in the embodiments of the present application. The method includes the following steps.
[0145] If a control instruction of a second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response of the second network video recorder is received;
[0146] A service data query request is initiated to the second network video recorder to obtain service data of the second network video recorder;
[0147] The service data of the second network video recorder is received, and a human-computer interface of the second network video recorder is displayed;
[0148] In response to a configuration operation, configuration data obtained is sent to the second network video recorder to control the second network video recorder.
[0149] Of course, those skilled in the art can understand that the processor 620 also implements the technical solutions of the control method of the network video recorder provided in any embodiment of the present application.
[0150] Figure 6 The electronic device 600 shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present application.
[0151] like Figure 6 As shown, the electronic device 600 includes a processor 620, a storage device 610, an input device 630, and an output device 640; the number of processors 620 in the electronic device can be one or more. Figure 6 Taking a processor 620 as an example; the processor 620, storage device 610, input device 630, and output device 640 in the electronic device can be connected via a bus or other means. Figure 6 Taking the connection between China and Israel via bus 650 as an example.
[0152] Storage device 610, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and module units, such as the program instructions corresponding to the control method of the network video recorder in the embodiments of this application.
[0153] Storage device 610 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on terminal usage. Furthermore, storage device 610 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, storage device 610 may further include memory remotely located relative to processor 620, and these remote memories can be connected via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0154] Input device 630 can be used to receive input digital, character, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. Output device 640 may include electronic devices such as a display screen and a speaker.
[0155] The electronic device provided in this application embodiment can operate the human-machine configuration of multiple network video recorders using a single display in a complex network video recorder networking environment, thereby greatly reducing the complexity of user operation and configuration and improving the efficiency of network video recorder use.
[0156] The control device, medium, and electronic equipment of the network video recorder provided in the above embodiments can execute the control method of the network video recorder provided in any embodiment of this application, and have the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the above embodiments can be found in the control method of the network video recorder provided in any embodiment of this application.
[0157] Note that the above merely describes preferred embodiments of the present application and the principles of the technology applied. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, modifications and substitutions can be made without departing from the scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A control method for a network video recorder, characterized in that, The method is executed by a first network video recorder in a monitoring system, the monitoring system including a first network video recorder and at least one second network video recorder; the method includes: If a control command from the second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response is received from the second network video recorder. Initiate a service data query request to the second network video recorder to obtain the service data of the second network video recorder; Receive service data from the second network video recorder and display the human-machine interface of the second network video recorder; In response to the configuration operation, the obtained configuration data is sent to the second network video recorder to control the second network video recorder.
2. The method according to claim 1, characterized in that, If a control command from the second network video recorder is detected, a connection request is initiated to the second network video recorder, and a connection response is received from the second network video recorder, including: In the window of the first network video recorder, if a view operation is received from the channel management interface, all network video recorders in the current monitoring system will be queried to obtain a list of network video recorders; In response to the selection operation in the list of network video recorders, a second network video recorder is determined; Initiate a connection request to the second network video recorder and receive a connection response from the second network video recorder to establish a TCP connection with the service module of the second network video recorder.
3. The method according to claim 2, characterized in that, After establishing a TCP connection with the service module of the second network video recorder, the method further includes: Add a control flag to the human-machine interaction module of the first network video recorder to stop the human-machine interaction module of the first network video recorder from obtaining business data from the business module of the first network video recorder.
4. The method according to claim 1, characterized in that, Initiating a service data query request to the second network video recorder to obtain the service data of the second network video recorder, including: Initiate a service data query request to the service module of the second network video recorder to obtain the service data of the second network video recorder; The business data is parsed through the human-computer interaction module of the first network video recorder.
5. The method according to claim 4, characterized in that, Parsing the business data includes parsing the configuration data within the business data; Accordingly, in response to the configuration operation, the obtained configuration data is sent to the second network video recorder to control the second network video recorder, including: Display the configuration data; In response to configuration operations, the updated configuration data is obtained; The updated configuration data is sent to the second network video recorder to control the second network video recorder.
6. The method according to claim 5, characterized in that, Sending the updated configuration data to the second network video recorder to control the second network video recorder includes: The updated configuration data is sent to the second network video recorder, so that the second network video recorder can update its configuration based on the updated configuration data; Refresh the service data of the second network video recorder to display it based on the configuration update results.
7. The method according to claim 5, characterized in that, Parsing the business data includes parsing the video data within the business data; Accordingly, the method further includes: The video data is displayed through the human-computer interaction module of the first network video recorder.
8. A control device for a network video recorder, characterized in that, The device is executed by a first network video recorder in a monitoring system, the monitoring system including a first network video recorder and at least one second network video recorder; the device includes: The connection response receiving module is used to initiate a connection request to the second network video recorder and receive the connection response from the second network video recorder if a control command from the second network video recorder is detected. The business data acquisition module is used to initiate a business data query request to the second network video recorder in order to obtain the business data of the second network video recorder. The display module is used to receive service data from the second network video recorder and display the human-machine interface of the second network video recorder. The control module is used to respond to the configuration operation and send the obtained configuration data to the second network video recorder to control the second network video recorder.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the control method of the network video recorder as described in any one of claims 1-7.
10. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the control method of the network video recorder as described in any one of claims 1-7.
Citation Information
Patent Citations
Hot backup system of NVR and method thereof
CN102227131A
Surveillance video recording device and method
CN107396072A