CN110691011A - Monitoring platform test method and device, storage medium and server - Google Patents

Monitoring platform test method and device, storage medium and server Download PDF

Info

Publication number
CN110691011A
CN110691011A CN201910971927.2A CN201910971927A CN110691011A CN 110691011 A CN110691011 A CN 110691011A CN 201910971927 A CN201910971927 A CN 201910971927A CN 110691011 A CN110691011 A CN 110691011A
Authority
CN
China
Prior art keywords
monitoring platform
server
network camera
image data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910971927.2A
Other languages
Chinese (zh)
Inventor
惠国宾
沈邢琪
邓王攀
林文高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Unisinsight Technology Co Ltd
Original Assignee
Chongqing Unisinsight Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Unisinsight Technology Co Ltd filed Critical Chongqing Unisinsight Technology Co Ltd
Priority to CN201910971927.2A priority Critical patent/CN110691011A/en
Publication of CN110691011A publication Critical patent/CN110691011A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

The application provides a monitoring platform test method, a monitoring platform test device, a storage medium and a server. The server decodes pre-stored picture data to obtain test image data and imitates video acquisition of a network camera; when detecting that the test image data contains a monitoring target, the server acquires target information and simulates the grabbing of a target image of a network camera; the server generates a video code of a network camera simulation image imitating the network camera according to the test image data and the target information code so as to obtain a data source to be tested of the monitoring platform, namely a network camera simulation image; the server sends the simulated image of the network camera to the monitoring platform so as to simulate the interaction of the network camera and the monitoring platform; the monitoring platform generates a first test result according to a receiving result of the simulated image of the network camera; compared with the process performance test of a monitoring platform by depending on a network camera, the scheme of the application has lower cost and is easier to deploy.

Description

Monitoring platform test method and device, storage medium and server
Technical Field
The application relates to the field of camera shooting, in particular to a monitoring platform testing method and device, a storage medium and a server.
Background
With the development of the network camera technology and the intelligent security technology, the IPC of the network camera is used more and more frequently, and the number of the IPCs accessed to a single monitoring platform is increased. When a single monitoring platform has access to too many IPCs, the monitoring platform may not operate normally, so that the performance of the monitoring platform needs to be tested before the monitoring platform is put into practical use. In the process of testing various monitoring platform devices and monitoring schemes by testers, a certain amount of intelligent IPCs with various functions are required to be used to complete the testing, if real devices are adopted, a large amount of cost is required to be consumed to purchase IPCs of a certain amount and various different models, and in order to meet various testing scenes, the IPCs of the network cameras need to be erected in different environments, so that the testing difficulty is greatly increased.
Disclosure of Invention
The present application aims to provide a monitoring platform testing method, device, storage medium and server to improve the above problems.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a monitoring platform testing method, which is applied to a testing system, where the testing system includes a server and a monitoring platform, and the method includes:
the server decodes the pre-stored picture data to obtain test image data;
when the server detects that the test image data contains a monitoring target, target information is obtained, wherein the target information is coordinate information of the target based on the test image data;
the server generates a network camera simulation image according to the test image data and the target information code;
the server sends the network camera simulation image to the monitoring platform to simulate the interaction between the network camera and the monitoring platform;
and the monitoring platform generates a first test result according to the receiving result of the simulated image of the network camera.
In a second aspect, an embodiment of the present application provides a monitoring platform testing method, which is applied to a server, and the method includes:
decoding pre-stored picture data to obtain test image data;
when the test image data is detected to contain a monitoring target, target information is obtained, and the target information is coordinate information of the target based on the test image data;
generating a network camera simulation image according to the test image data and the target information code;
and sending the network camera simulation image to a monitoring platform so that the monitoring platform generates a first test result according to the receiving result of the network camera simulation image.
In a third aspect, an embodiment of the present application provides a monitoring platform testing apparatus, which is applied to a server, and the apparatus includes:
the video decoding module is used for decoding pre-stored picture data to obtain test image data;
the intelligent algorithm module is used for acquiring target information when the test image data is detected to contain a monitoring target, wherein the target information is coordinate information of the target based on the test image data;
the picture coding module is used for generating a network camera simulation image according to the test image data and the target information code;
and the network transceiver module is used for sending the network camera simulation image to a monitoring platform so that the monitoring platform generates a first test result according to the receiving result of the network camera simulation image.
In a fourth aspect, embodiments of the present application provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the method as described above.
In a fifth aspect, an embodiment of the present application provides a server, where the server includes: a processor and memory for storing one or more programs; when executed by the processor, the one or more programs implement the methods as described above.
Compared with the prior art, the monitoring platform testing method, the monitoring platform testing device, the storage medium and the server provided by the embodiment of the application have the beneficial effects that: the server decodes the pre-stored picture data to obtain test image data and imitates video acquisition of a network camera; when detecting that the test image data contains a monitoring target, the server acquires target information and simulates the grabbing of a target image of a network camera; the server generates a video code of a network camera simulation image imitating the network camera according to the test image data and the target information code so as to obtain a data source to be tested of the monitoring platform, namely a network camera simulation image; the server sends the simulated image of the network camera to the monitoring platform so as to simulate the interaction of the network camera and the monitoring platform; the monitoring platform generates a first test result according to a receiving result of the simulated image of the network camera; compared with the process performance test of a monitoring platform by depending on a network camera, the scheme of the application has lower cost and is easier to deploy.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and it will be apparent to those skilled in the art that other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic diagram of an interaction of a test system according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a server according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a monitoring platform according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of a monitoring platform testing method according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating the substeps of S106 according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another monitoring platform testing method according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another monitoring platform testing method according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of another monitoring platform testing method according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating another substep of S106 according to an embodiment of the present disclosure;
fig. 10 is a schematic flowchart of another monitoring platform testing method according to an embodiment of the present application;
fig. 11 is a schematic diagram of a monitoring platform testing apparatus module according to an embodiment of the present application.
In the figure: a server-1; a monitoring platform-2; a first processor-10; a first memory-11; a first bus-12; a first communication interface-13; a second processor-20; a second memory-21; a second bus-22; a second communication interface-23; video decoding module-301; intelligent algorithm module-302; a picture coding module-303; a network transceiver module-304.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the description of the present application, it should be noted that the terms "upper", "lower", "inner", "outer", and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally found in use of products of the application, and are used only for convenience in describing the present application and for simplification of description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present application.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
With the development of the network camera technology and the intelligent security technology, the IPC of the network camera is used more and more frequently, and the number of the IPCs accessed to a single monitoring platform is increased. When a single monitoring platform has access to too many IPCs, the monitoring platform may not operate normally, so that the performance of the monitoring platform needs to be tested before the monitoring platform is put into practical use. In the process of testing various monitoring platform devices and monitoring schemes by testers, a certain amount of intelligent IPCs with various functions are required to be used to complete the testing, if real devices are adopted, a large amount of cost is required to be consumed to purchase IPCs of a certain amount and various different models, and in order to meet various testing scenes, the IPCs of the network cameras need to be erected in different environments, so that the testing difficulty is greatly increased.
In order to solve the above problem, the prior art provides a test system, as shown in fig. 1, which includes a server 1 and a monitoring platform 2. The server 1 and the monitoring platform 2 are communicated through a wired or wireless network. A plurality of virtual network cameras are arranged in the server 1. The virtual network camera can convert the acquired video file into elementary stream (ES stream for short) to achieve the effect similar to a real network camera.
However, with the development of the technology, the real network camera has a function of capturing the target image, the monitoring platform 2 also needs to monitor the index corresponding to the target image, and the existing virtual network camera cannot meet the requirement of the monitoring platform 2 for acquiring the index.
In order to solve the above problem, the embodiment of the present application provides a possible server 1 and a monitoring platform 2, please refer to fig. 2 and fig. 3. Fig. 2 shows a partial structure of the server 1, and fig. 3 shows a partial structure of the monitoring platform 2.
The server 1 comprises a first processor 10, a first memory 11, a first bus 12 and a first communication interface 13. The first processor 10, the first memory 11 and the first communication interface 13 are connected by a first bus 12, the first processor 10 being configured to execute an executable module, such as a computer program, stored in the first memory 11.
The monitoring platform 2 comprises a second processor 20, a second memory 21, a second bus 22 and a second communication interface 23. The second processor 20, the second memory 21 and the second communication interface 23 are connected by a second bus 22, the second processor 20 being adapted to execute executable modules, such as computer programs, stored in the second memory 21.
The first processor 10 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the monitoring platform testing method executed by the server 1 may be implemented by integrated logic circuits of hardware or instructions in the form of software in the first processor 10.
The second processor 20 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the monitoring platform testing method executed by the monitoring platform 2 may be implemented by integrated logic circuits of hardware or instructions in the form of software in the second processor 20.
The first Processor 10 and the second Processor 20 may be general-purpose processors, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
The first Memory 11 and the second Memory 21 may comprise a high-speed Random Access Memory (RAM) and may further comprise a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The first bus 12 and the second bus 22 may be an ISA (Industry Standard architecture) bus, a PCI (peripheral Component interconnect) bus, or an EISA (extended Industry Standard architecture) bus, etc. Only one double-headed arrow is shown in fig. 2 and 3, but this does not indicate only one bus or one type of bus.
The first memory 11 and the second memory 21 are used for storing programs, for example, the first memory 11 is used for storing programs corresponding to the monitoring platform testing device executed by the server 1, and the second memory 21 is used for storing programs corresponding to the monitoring platform testing device executed by the monitoring platform 2. The monitoring platform testing device includes at least one software function module which may be stored in the form of software or firmware (firmware) in the first memory 11 and the second memory 21, or may be fixed in an Operating System (OS) of the server 1 and the monitoring platform 2. The first processor 10 and the second processor 20 execute the program to implement the monitoring platform test method after receiving the execution instruction.
The server 1 and the monitoring platform 2 may communicate via a first communication interface 13 and a second communication interface 23. For example, the first processor 10 may send the ES stream to the second communication interface 23 through the first communication interface 13 and then transmit the ES stream to the second processor 20, so as to realize the interaction between the server 1 and the monitoring platform 2.
It should be understood that the configurations shown in fig. 2 and 3 are merely schematic structural illustrations of portions of the server 1 and the monitoring platform 2, and that the server 1 may also include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2. The monitoring platform 2 may also include more or fewer components than shown in fig. 3, or have a different configuration than shown in fig. 3. The components shown in fig. 2 and 3 may be implemented in hardware, software, or a combination thereof.
The monitoring platform testing method provided by the embodiment of the invention can be applied to the testing system shown in fig. 1, and the specific flow is shown in fig. 4:
s103, the server decodes the pre-stored picture data to obtain test image data.
Specifically, the pre-stored picture data may be a video file. The video file may be composed of an ES stream, that is, the pre-stored picture data is in an ES format. The test image data obtained after decoding may be video stream data in YUV format. S103 is used for simulating a video capture step of the network camera, and the data captured by the network camera may be video stream data in YUV format.
And S104, when detecting that the test image data contains the monitoring target, the server acquires target information, wherein the target information is coordinate information of the target based on the test image data.
Specifically, when obtaining the test image data, the server 1 analyzes the test image data according to a preset target capture algorithm (for example, a face capture algorithm, a face recognition algorithm, or a license plate recognition algorithm). When detecting that the test image data contains a monitoring target, target information needs to be acquired. The monitored target may be a human face, an automobile or other preset targets, which is not specifically limited herein. S104 is used for simulating a target image capturing step of the network camera.
And S105, the server generates a network camera simulation image according to the test image data and the target information code.
Specifically, after the target information is obtained, data corresponding to the target image may be obtained based on the coordinate information of the target based on the test image data and the test image data. The network camera simulation image, namely the target image, can be generated through encoding. The format of the analog image of the network camera can be JPEG format. S105 is a video encoding step for emulating a web camera.
And S106, the server sends the simulated image of the network camera to the monitoring platform so as to simulate the interaction between the network camera and the monitoring platform.
Specifically, after acquiring the target image, the network camera needs to transmit the target image to a corresponding platform. S106 is used to simulate the interaction of the webcam with the monitoring platform 2.
S201, the monitoring platform generates a first test result according to a receiving result of the simulated image of the network camera.
Specifically, the first test result includes that the monitoring platform 2 receives a network camera simulation image or that the monitoring platform does not receive the network camera simulation image. The staff at the end of the monitoring platform 2 can observe the first test result. When one server 1 or a plurality of servers 1 respectively send the simulation images of the multi-channel network camera, a worker can know the performance of the monitoring platform 2 by observing the first test result at the end of the monitoring platform 2. For example, when N network camera simulation images are input, the monitoring platform 2 may completely receive the N network camera simulation images, and when the N network camera simulation images are input, part of the network camera simulation images may be omitted by the monitoring platform 2.
To sum up, in the monitoring platform testing method provided by the embodiment of the application, the server decodes the pre-stored picture data to obtain the test image data, and simulates video acquisition of a network camera; when detecting that the test image data contains a monitoring target, the server acquires target information and simulates the grabbing of a target image of a network camera; the server generates a video code of a network camera simulation image imitating the network camera according to the test image data and the target information code so as to obtain a data source to be tested of the monitoring platform, namely a network camera simulation image; the server sends the simulated image of the network camera to the monitoring platform so as to simulate the interaction of the network camera and the monitoring platform; the monitoring platform generates a first test result according to a receiving result of the simulated image of the network camera; compared with the process performance test of a monitoring platform by depending on a network camera, the scheme of the application has lower cost and is easier to deploy.
On the basis of fig. 4, for the content in S106, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 5, where S106 includes:
s106-1, the server packages the network camera simulation image into first data.
Specifically, the server 1 encapsulates the network camera analog image into first data according to a preset http protocol.
S106-2, the server sends the first data to the monitoring platform.
In particular, the first data may be sent to the second communication interface 23 through the first communication interface 13 to be sent to the monitoring platform 2.
On the basis of fig. 4, regarding simulating a network camera to acquire alarm data, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 6, where the monitoring platform testing method further includes:
s107, the server generates alarm data, and the alarm data represents that a monitoring target is included.
Specifically, the server 1 generates a piece of alarm data whenever it detects that the test image data contains a monitoring target. Each piece of alarm data representation test image data comprises a monitoring target.
And S108, the server sends the alarm data to the monitoring platform.
In a possible implementation manner, the server 1 encapsulates the alarm data according to a private protocol corresponding to the alarm data to obtain second data, and sends the second data to the monitoring platform 2. In particular, the second data may be sent to the second communication interface 23 through the first communication interface 13 to be sent to the monitoring platform 2.
S202, the monitoring platform generates a second test result according to the receiving result of the alarm data.
Specifically, the second test result includes that the monitoring platform 2 receives the alarm data or that the monitoring platform does not receive the alarm data. The staff at the monitoring platform 2 end can observe the second test result, which is the same as S201.
On the basis of fig. 4, regarding simulating a network camera to acquire an ES stream, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 7, where the monitoring platform testing method further includes:
and S109, the server generates a basic code stream according to the pre-stored picture data.
Specifically, elementary stream data (ES stream) in the video file, that is, pre-stored picture data, is read or called.
And S110, the server sends the basic code stream to a monitoring platform.
In a possible implementation manner, the server 1 encapsulates the elementary stream according to a private protocol (e.g., an RTP encapsulation protocol) corresponding to the elementary stream, obtains third data, and sends the third data to the monitoring platform 2. In particular, the third data may be sent to the second communication interface 23 through the first communication interface 13 to be sent to the monitoring platform 2.
S203, the monitoring platform generates a third test result according to the receiving result of the basic code stream.
Specifically, the third test result includes that the monitoring platform 2 receives the elementary stream or the monitoring platform does not receive the elementary stream. The staff at the monitoring platform 2 end can observe the third test result, which is the same as S201.
On the basis of fig. 4, regarding how to configure the virtual network camera, a possible implementation manner is further provided in the embodiment of the present application, please refer to fig. 8, where the monitoring platform testing method further includes:
s101, the server configures at least one virtual network camera according to the file system of the network camera.
Specifically, the file system of the network camera may be input by a worker. In one possible implementation manner, the virtual network camera includes a video decoding module, an intelligent algorithm module, a picture coding module, and a network transceiving module. The video decoding module may perform S103; the intelligent algorithm module may perform S104; the picture encoding module may perform S105; the network transceiver module may perform S106.
The same number of virtual network cameras can be configured according to the number of the simulated network cameras required.
S102, the server generates an application container engine according to the virtual network camera, and the application container engine is provided with a virtual IP and a virtual mac address.
In particular, the application container may be a Docker container. An application container engine represents a virtual web cam (VIPC). Each virtual network camera has a corresponding virtual network card, a virtual IP and a virtual MAC address, the virtual network card is bound with the bridge of the server 1 by a brctl technology, and then the bridge is bound with the first communication interface 13 (physical network port), and communication data interacted between all the virtual network cameras and external equipment (for example, the monitoring platform 2) is forwarded by the first communication interface 13 through the bridge.
On the basis of fig. 7, as for the content in S106, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 9, where S106 includes:
and S106-3, the server sends the simulated images of the network cameras to the monitoring platform through the virtual IP and the virtual mac address.
Different virtual IP and virtual mac addresses represent different virtual network cameras, and the monitoring platform 2 can judge how many network camera simulation images are received through the virtual IP and the virtual mac addresses, so that the performance index of the monitoring platform 2 is obtained.
The embodiment of the present application provides a possible monitoring platform testing method, which is applied to the server 1 shown in fig. 1 and 2, and referring to fig. 10, the monitoring platform testing method includes:
and S103, decoding the pre-stored picture data to obtain test image data.
And S104, when the test image data is detected to contain the monitoring target, acquiring target information, wherein the target information is the coordinate information of the target based on the test image data.
And S105, generating a network camera simulation image according to the test image data and the target information codes.
And S106, sending the analog image of the network camera to the monitoring platform so that the monitoring platform generates a first test result according to the receiving result of the analog image of the network camera.
In one possible implementation, S106 includes:
s106-1, packaging the network camera simulation image into first data.
And S106-2, sending the first data to a monitoring platform.
On the basis of fig. 10, regarding to imitate obtaining alarm data, the embodiment of the present application further provides a possible monitoring platform testing method, where the monitoring platform testing method further includes:
and S107, generating alarm data, wherein the alarm data represents that a monitoring target is included.
And S108, sending the alarm data to the monitoring platform so that the monitoring platform generates a second test result according to the receiving result of the alarm data.
On the basis of fig. 10, regarding to imitate obtaining the ES stream, the embodiment of the present application further provides a possible monitoring platform testing method, where the monitoring platform testing method further includes:
and S109, generating a basic code stream according to the pre-stored picture data.
S110, the basic code stream is sent to the monitoring platform, so that the monitoring platform generates a third test result according to the receiving result of the basic code stream.
On the basis of fig. 10, regarding how to configure a virtual network camera, a possible implementation manner is further provided in the embodiments of the present application, and the monitoring platform testing method further includes:
s101, configuring at least one virtual network camera according to a file system of the network camera.
S102, generating an application container engine according to the virtual network camera, wherein the application container engine is provided with a virtual IP and a virtual mac address.
Referring to fig. 11, fig. 11 is a view of a monitoring platform testing apparatus according to an embodiment of the present application, and optionally, the monitoring platform testing apparatus is applied to the server 1 described above.
The monitoring platform testing device comprises a video decoding module 301, an intelligent algorithm module 302, a picture coding module 303 and a network transceiving module 304.
The video decoding module 301 is configured to decode pre-stored picture data to obtain test image data. Specifically, the video decoding module 301 may perform S103 described above.
And the intelligent algorithm module 302 is configured to, when it is detected that the test image data includes a monitoring target, obtain target information, where the target information is coordinate information of the target based on the test image data. Specifically, the intelligent algorithm module 302 may perform S104 described above.
And the picture coding module 303 is configured to generate a network camera simulation image according to the test image data and the target information code. Specifically, the picture encoding module 303 may perform S105 described above.
The network transceiver module 304 is configured to send the network camera simulation image to the monitoring platform, so that the monitoring platform generates a first test result according to a receiving result of the network camera simulation image. Specifically, the network transceiver module 304 may perform S106 described above.
It should be noted that the monitoring platform testing apparatus provided in this embodiment may execute the method flow executed by the server 1 in the above method flow embodiment, so as to achieve the corresponding technical effect. For the sake of brevity, the corresponding contents in the above embodiments may be referred to where not mentioned in this embodiment.
The embodiment of the invention also provides a storage medium, wherein the storage medium stores computer instructions and programs, and the computer instructions and the programs execute the monitoring platform testing method of the embodiment when being read and run. The storage medium may include memory, flash memory, registers, or a combination thereof, etc.
A server 1 is provided below, where the server 1 is shown in fig. 2, and may implement the monitoring platform testing method described above; specifically, the server 1 includes: a first processor 10, a first memory 11, a first bus 12 and a first communication interface 13. The first processor 10 may be a CPU. The first memory 11 is used for storing one or more programs, and when the one or more programs are executed by the first processor 10, the monitoring platform testing method of the above embodiment is performed.
In addition to the components that the server 1 may have in the figure, the server 1 may also comprise: batteries, various sensors, touch screens, radio frequency circuits, and the like. Alternatively, the server 1 may be a Linux service or a Windows server.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A monitoring platform testing method is applied to a testing system, the testing system comprises a server and a monitoring platform, and the method comprises the following steps:
the server decodes the pre-stored picture data to obtain test image data;
when the server detects that the test image data contains a monitoring target, target information is obtained, wherein the target information is coordinate information of the target based on the test image data;
the server generates a network camera simulation image according to the test image data and the target information code;
the server sends the network camera simulation image to the monitoring platform to simulate the interaction between the network camera and the monitoring platform;
and the monitoring platform generates a first test result according to the receiving result of the simulated image of the network camera.
2. The monitoring platform testing method of claim 1, wherein the step of the server sending the network camera simulation image to the monitoring platform comprises:
the server packages the analog image of the network camera into first data;
and the server sends the first data to the monitoring platform.
3. The monitoring platform testing method of claim 1, wherein when the server detects that the test image data contains a monitoring target, the method further comprises:
the server generates alarm data, and the alarm data representation comprises one monitoring target;
the server sends the alarm data to the monitoring platform;
and the monitoring platform generates a second test result according to the receiving result of the alarm data.
4. The monitoring platform testing method of claim 1, wherein the method further comprises:
the server generates a basic code stream according to the pre-stored picture data;
the server sends the basic code stream to the monitoring platform;
and the monitoring platform generates a third test result according to the receiving result of the basic code stream.
5. The monitoring platform testing method according to claim 1, before the server decodes the pre-stored picture data, further comprising:
the server configures at least one virtual network camera according to the file system of the network camera;
and the server generates an application container engine according to the virtual network camera, wherein the application container engine is provided with a virtual IP and a virtual mac address.
6. The monitoring platform testing method of claim 5, wherein the step of the server sending the webcam simulated images to the monitoring platform comprises:
and the server sends the simulated images of the network cameras to the monitoring platform through the virtual IP and the virtual mac address.
7. A monitoring platform testing method is applied to a server, and comprises the following steps:
decoding pre-stored picture data to obtain test image data;
when the test image data is detected to contain a monitoring target, target information is obtained, and the target information is coordinate information of the target based on the test image data;
generating a network camera simulation image according to the test image data and the target information code;
and sending the network camera simulation image to a monitoring platform so that the monitoring platform generates a first test result according to the receiving result of the network camera simulation image.
8. A monitoring platform testing device is applied to a server, and the device comprises:
the video decoding module is used for decoding pre-stored picture data to obtain test image data;
the intelligent algorithm module is used for acquiring target information when the test image data is detected to contain a monitoring target, wherein the target information is coordinate information of the target based on the test image data;
the picture coding module is used for generating a network camera simulation image according to the test image data and the target information code;
and the network transceiver module is used for sending the network camera simulation image to a monitoring platform so that the monitoring platform generates a first test result according to the receiving result of the network camera simulation image.
9. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the method as claimed in claim 7.
10. A server, comprising: a processor and memory for storing one or more programs; the one or more programs, when executed by the processor, implement the method of claim 7.
CN201910971927.2A 2019-10-14 2019-10-14 Monitoring platform test method and device, storage medium and server Pending CN110691011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910971927.2A CN110691011A (en) 2019-10-14 2019-10-14 Monitoring platform test method and device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910971927.2A CN110691011A (en) 2019-10-14 2019-10-14 Monitoring platform test method and device, storage medium and server

Publications (1)

Publication Number Publication Date
CN110691011A true CN110691011A (en) 2020-01-14

Family

ID=69112487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910971927.2A Pending CN110691011A (en) 2019-10-14 2019-10-14 Monitoring platform test method and device, storage medium and server

Country Status (1)

Country Link
CN (1) CN110691011A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752680A (en) * 2020-06-28 2020-10-09 重庆紫光华山智安科技有限公司 IPC simulation method, device, storage medium and equipment based on KVM
CN111898640A (en) * 2020-06-28 2020-11-06 武汉旷视金智科技有限公司 Method and device for simulating snapshot machine to push picture, test system and electronic equipment
CN111931812A (en) * 2020-07-01 2020-11-13 广州视源电子科技股份有限公司 Visual algorithm testing method and device, storage medium and electronic equipment
CN112073261A (en) * 2020-08-24 2020-12-11 深圳市共进电子股份有限公司 Data processing method, system and device
CN112115731A (en) * 2020-09-17 2020-12-22 上海商米科技集团股份有限公司 System and method for evaluating performance of code scanning equipment
CN112364478A (en) * 2020-09-30 2021-02-12 深圳市为汉科技有限公司 Virtual reality-based testing method and related device
CN113537166A (en) * 2021-09-15 2021-10-22 北京科技大学 Alarm method, alarm device and storage medium
CN114880182A (en) * 2022-06-10 2022-08-09 中国电信股份有限公司 Monitoring platform test method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185018A (en) * 2013-06-20 2014-12-03 四川电力科学研究院 Network camera simulating device for testing a video monitoring system and testing method
CN106534789A (en) * 2016-11-22 2017-03-22 深圳全景威视科技有限公司 Integrated intelligent security and protection video monitoring system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185018A (en) * 2013-06-20 2014-12-03 四川电力科学研究院 Network camera simulating device for testing a video monitoring system and testing method
CN106534789A (en) * 2016-11-22 2017-03-22 深圳全景威视科技有限公司 Integrated intelligent security and protection video monitoring system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752680A (en) * 2020-06-28 2020-10-09 重庆紫光华山智安科技有限公司 IPC simulation method, device, storage medium and equipment based on KVM
CN111898640A (en) * 2020-06-28 2020-11-06 武汉旷视金智科技有限公司 Method and device for simulating snapshot machine to push picture, test system and electronic equipment
CN111752680B (en) * 2020-06-28 2022-11-15 重庆紫光华山智安科技有限公司 IPC simulation method, device, storage medium and equipment based on KVM
CN111898640B (en) * 2020-06-28 2023-10-31 武汉旷视金智科技有限公司 Method and device for pushing pictures by analog snapshot machine, test system and electronic equipment
CN111931812A (en) * 2020-07-01 2020-11-13 广州视源电子科技股份有限公司 Visual algorithm testing method and device, storage medium and electronic equipment
CN112073261A (en) * 2020-08-24 2020-12-11 深圳市共进电子股份有限公司 Data processing method, system and device
CN112115731A (en) * 2020-09-17 2020-12-22 上海商米科技集团股份有限公司 System and method for evaluating performance of code scanning equipment
CN112364478A (en) * 2020-09-30 2021-02-12 深圳市为汉科技有限公司 Virtual reality-based testing method and related device
CN113537166A (en) * 2021-09-15 2021-10-22 北京科技大学 Alarm method, alarm device and storage medium
CN113537166B (en) * 2021-09-15 2021-12-14 北京科技大学 Alarm method, alarm device and storage medium
CN114880182A (en) * 2022-06-10 2022-08-09 中国电信股份有限公司 Monitoring platform test method and device, electronic equipment and readable storage medium
CN114880182B (en) * 2022-06-10 2024-01-02 中国电信股份有限公司 Monitoring platform testing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN110691011A (en) Monitoring platform test method and device, storage medium and server
CN111476583B (en) Quality tracing system and method based on block chain and computer readable storage medium
CN110706392B (en) Security platform test method and device, storage medium and server
CN111309445B (en) Program running method and device and storage medium
US9591510B2 (en) Systems and methods to create message traffic
CN108923974B (en) Internet of things asset fingerprint identification method and system
CN112492294B (en) Application program testing method, device, system, network camera and medium
TWI649709B (en) Advertisement audience dynamical detection circuit, computer program product, and related method for estimating quantity of out-of-home (ooh) advertisement audiences passing through specific location in specific time period
CN110320378B (en) Method, apparatus, device and computer readable storage medium for applying for a quality control test
CN106872879B (en) Hardware wireless debugging method and device, communication chip and electronic equipment
Jacob et al. A reference model for testing internet of things based applications
CN112040269B (en) Video data display method, device, terminal equipment and storage medium
CN111125382A (en) Personnel track real-time monitoring method and terminal equipment
CN111083472A (en) Television testing method, device, equipment and storage medium
CN105303143B (en) Information scanning processing method, system and terminal
Buzura et al. An extendable software architecture for mitigating ARP spoofing-based attacks in SDN data plane layer
US20190141080A1 (en) Apparatus for Comprehensive IoT Testing
WO2018078862A1 (en) Image analysis system, image analysis method, and program
CN111585830A (en) User behavior analysis method, device, equipment and storage medium
CN109345560B (en) Motion tracking precision testing method and device of augmented reality equipment
CN111741074A (en) Vehicle remote diagnosis method and system, vehicle connector and equipment connector
CN108063811B (en) Intelligent equipment network access tracking method and component
CN105339974B (en) Analog sensor
Al-Azam et al. Broadcasting the Status of Plant Growth Chamber using Bluetooth Low Energy
CN114186104A (en) Method, system and server for recording, storing and querying protocol data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200114

RJ01 Rejection of invention patent application after publication