CN115102892B - Simulation test method based on GAT 1400 protocol - Google Patents
Simulation test method based on GAT 1400 protocol Download PDFInfo
- Publication number
- CN115102892B CN115102892B CN202210550722.9A CN202210550722A CN115102892B CN 115102892 B CN115102892 B CN 115102892B CN 202210550722 A CN202210550722 A CN 202210550722A CN 115102892 B CN115102892 B CN 115102892B
- Authority
- CN
- China
- Prior art keywords
- view data
- platform
- data acquisition
- output result
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/12—Network monitoring probes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a simulation test method based on a GAT 1400 protocol, which indicates a view data acquisition platform to send a GAT 1400 request, and acquires and generates a view data sampling packet; instructing a view data acquisition platform to monitor and intercept a view data acquisition request from a view data processing platform so as to obtain view data type information required by the view data processing platform, and then capturing a matched view data sampling packet and sending the matched view data sampling packet to the view data processing platform; the simulation test method carries out simulation test before official verification is carried out on the view data processing system, judges the view data processing performance of the system in advance, is convenient for finding out the problems of the system in the view data processing process in time, improves the development efficiency of the system and reduces the labor cost of development.
Description
Technical Field
The invention relates to the technical field of view data testing, in particular to a simulation testing method based on a GAT 1400 protocol.
Background
The prior view data processing system needs to be checked by a corresponding official program, but the checking process of the official program is complex and low in efficiency, and when the view data processing system is checked to determine that the view data processing performance is insufficient, a developer needs to modify the system and check the system again until the view data processing performance meets the preset condition. However, the above processes are complicated and time-consuming, and timely and efficient correction cannot be performed on the view data processing system, so that the development efficiency of the system is reduced and the labor cost of development is increased.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a simulation test method based on a GAT 1400 protocol, which instructs a view data acquisition platform to send a GAT 1400 request, acquire and generate a view data sampling packet; instructing a view data acquisition platform to monitor and intercept a view data acquisition request from a view data processing platform so as to obtain view data type information required by the view data processing platform, and then capturing a matched view data sampling packet and sending the matched view data sampling packet to the view data processing platform; the simulation test method carries out simulation test before official verification is carried out on the view data processing system, judges the view data processing performance of the system in advance, is convenient for finding out the problems of the system in the view data processing process in time, improves the development efficiency of the system and reduces the labor cost of development.
The invention provides a simulation test method based on a GAT 1400 protocol, which comprises the following steps:
step S1, in the operation process of a view data acquisition platform, the view data acquisition platform is instructed to send a GAT 1400 request so as to acquire corresponding view data from external terminal equipment; generating a view data sampling packet according to the acquisition result of the view data;
s2, establishing communication connection between a view data processing platform and the view data acquisition platform; instructing the view data acquisition platform to enter a request monitoring mode so as to intercept a view data acquisition request from the view data processing platform;
s3, analyzing and processing the view data acquisition request to obtain view data type information required by the view data processing platform; capturing a matched view data sampling packet from the view data acquisition platform according to the view data type information, and sending the view data sampling packet to the view data processing platform;
s4, acquiring a processing output result of the view data acquisition platform on the received view data sampling packet; and verifying the processing output result to obtain the view data picture quality information corresponding to the processing output result so as to judge whether the view data processing platform operates normally or not.
Further, in step S1, after the view data acquiring platform is triggered to operate, the method further includes:
when a view data acquisition platform is triggered and started, acquiring a currently available view data storage space of the view data acquisition platform;
if the view data storage space is smaller than or equal to a preset storage space threshold value, instructing the view data acquisition platform to delete corresponding historical view data according to historical view data acquisition records of the view data acquisition platform;
and if the view data storage space is larger than a preset storage space threshold value, not instructing the view data acquisition platform to delete the historical view data.
Further, in the step S1, instructing, according to the historical view data acquisition record of the view data acquisition platform, the view data acquisition platform to delete the corresponding historical view data specifically includes:
determining the respective acquisition time information of all acquired historical view data according to the historical view data acquisition record;
and deleting the historical view data meeting the preset acquisition time condition according to the acquisition time information.
Further, in the step S1, the view data acquisition platform is instructed to send a GAT 1400 request, so as to acquire and obtain corresponding view data from the external terminal device; and according to the acquisition result of the view data, generating a view data sampling packet specifically comprises:
instructing a view data acquisition platform to directionally send a GAT 1400 request according to the equipment address of a preset external terminal equipment so as to construct a data interaction dedicated channel between a data acquisition interface end of the view data acquisition platform and the preset external terminal equipment;
and indicating the view data acquisition platform to divide the acquired view data into static image data and dynamic image data, and then respectively packaging the static image data and the dynamic image data so as to obtain corresponding static image data sampling packets and dynamic image data sampling packets.
Further, in the step S2, a communication connection between the view data processing platform and the view data acquisition platform is established; instructing the view data acquisition platform to enter a request listening mode, so as to intercept a view data acquisition request from the view data processing platform specifically includes:
constructing one-to-one communication connection between a view data receiving interface end of a view data processing platform and a view data sending interface end of the view data acquisition platform;
and instructing the view data acquisition platform to enter a request listening mode so as to intercept a view data acquisition request in the form of HTTP from the view data processing platform.
Further, in step S3, analyzing and processing the view data acquisition request to obtain the view data type information required by the view data processing platform specifically includes:
and judging whether the view data required to be acquired by the view data processing platform is static view data or dynamic view data and acquisition time corresponding to the view data required to be acquired according to the view video data acquisition request, wherein the acquisition time is used as the type information of the view data.
Further, in step S3, capturing a matched view data sampling packet from the view data acquisition platform according to the view data type information, and sending the matched view data sampling packet to the view data processing platform specifically includes:
according to the view data type information, capturing a static image data sampling packet with specific acquisition time or a dynamic image data sampling packet with specific acquisition time from the view data acquisition platform; and then the captured static image data sampling packet or dynamic image data sampling packet is subjected to lossless compression and then is sent to the view data processing platform.
Further, in step S4, performing verification processing on the processing output result to obtain view data picture quality information corresponding to the processing output result, so as to determine whether the view data processing platform operates normally specifically includes:
verifying the processing output result to obtain an image picture pixel definition value of the processing output result, and taking the image picture pixel definition value as the view data picture quality information;
if the image picture pixel definition value is greater than or equal to a preset definition threshold value, determining that the view data processing platform operates normally; otherwise, determining that the operation of the view data processing platform is abnormal, and indicating the view data processing platform to restart.
Further, in step S4, the processing output result is verified, and the image picture pixel definition value of the processing output result is obtained by dividing the acquired view data into static image data and dynamic image data through the view data acquisition platform and then respectively packaging the static image data and the dynamic image data, so as to obtain a row-column check value for the view data in the process of obtaining corresponding static image data sampling packets and dynamic image data sampling packets, and then obtaining the image picture pixel definition value of the processing output result according to the processing output result, which includes the following steps:
step S401, obtaining a row-column check value in the view data according to the view data before packaging by using the following formula (1) and packaging the row-column check value in the view data in the packaged data of the view data,
in the formula (1), F (i, m + 1) represents the calculated check value of the ith row of the view data and is packed at the position of the (m + 1) th column of the ith row of the view data; f (n +1, j) represents the calculated check value of the jth column of the view data and is packaged at the position of the jth column of the (n + 1) th row of the view data; h (i, j) represents the pixel value at the pixel point position of the ith row and the jth column of the view data(ii) a H (i, 1) represents a pixel value at the position of a pixel point at the 1 st row of the view data; a and b both represent integer variables; m represents the number of pixel points of each line of the view data; n represents the number of pixel points in each column of the static image data or the dynamic image data; [] 2 Indicating that the data in the brackets is converted into binary data; len { } represents the total bit number of binary numbers in parentheses;<<represents a left-shifted symbol; f (n +1, m + 1) represents a packing padding value for the view data at the (m + 1) th row and the (m + 1) th column, thereby re-padding the view data into matrix data;
step S402, using the following formula (2) to verify the processing output result to obtain the image picture pixel definition value of the processing output result,
in the above formula (2), Q represents the image picture pixel definition value of the processing output result, and the value range of Q is [0,1 ]]The larger Q represents the higher the image definition; q 1 A pixel sharpness value representing a horizontal direction of an image frame of the processing output result; q 2 A pixel definition value representing a longitudinal direction of an image frame of the processing output result; m represents the number of pixel points of each line of the image picture of the processing output result; n represents the number of pixel points in each column of the image picture of the processing output result; h (x, y) represents the numerical value of the position of the pixel point at the x row and the y column of the image picture of the processing output result; | | represents the absolute value;
step S403, using the following formula (3), adjusting a preset definition threshold according to the data amount of the processing output result, and controlling whether the view data processing platform needs to perform a restart operation according to the adjusted definition threshold,
in the above formula (3), E represents a restart control value of the view data processing platform; q 0 Represents a preset sharpness threshold; k represents the number of pixel points of each line of the inspection image corresponding to the preset definition threshold; l represents the number of pixel points of each row of the inspection image corresponding to the preset definition threshold;
if E =0, determining that the view data processing platform operates normally;
and if E =1, determining that the operation of the view data processing platform is abnormal, and indicating the view data processing platform to restart.
Compared with the prior art, the simulation test method based on the GAT 1400 protocol instructs the view data acquisition platform to send the GAT 1400 request, and acquires and generates the view data sampling packet; instructing a view data acquisition platform to monitor and intercept a view data acquisition request from a view data processing platform so as to obtain view data type information required by the view data processing platform, and then capturing a matched view data sampling packet and sending the matched view data sampling packet to the view data processing platform; the simulation test method carries out simulation test before official verification is carried out on the view data processing system, judges the view data processing performance of the system in advance, is convenient for finding out the problems of the system in the view data processing process in time, improves the development efficiency of the system and reduces the labor cost of development.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a simulation test method based on the GAT 1400 protocol according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a simulation test method based on a GAT 1400 protocol according to an embodiment of the present invention. The simulation test method based on the GAT 1400 protocol comprises the following steps:
step S1, in the operation process of a view data acquisition platform, the view data acquisition platform is instructed to send a GAT 1400 request so as to acquire corresponding view data from external terminal equipment; generating a view data sampling packet according to the acquisition result of the view data;
s2, establishing communication connection between the view data processing platform and the view data acquisition platform; instructing the view data acquisition platform to enter a request monitoring mode so as to intercept a view data acquisition request from the view data processing platform;
s3, analyzing and processing the view data acquisition request to obtain view data type information required by the view data processing platform; capturing a matched view data sampling packet from the view data acquisition platform according to the view data type information, and sending the view data sampling packet to the view data processing platform;
s4, acquiring a processing output result of the view data acquisition platform on the received view data sampling packet; and verifying the processing output result to obtain the view data picture quality information corresponding to the processing output result so as to judge whether the view data processing platform operates normally or not.
The beneficial effects of the above technical scheme are: the simulation test method based on the GAT 1400 protocol instructs a view data acquisition platform to send a GAT 1400 request, acquires and generates a view data sampling packet; instructing a view data acquisition platform to monitor and intercept a view data acquisition request from a view data processing platform so as to obtain view data type information required by the view data processing platform, and then capturing a matched view data sampling packet and sending the matched view data sampling packet to the view data processing platform; the simulation test method carries out simulation test before official verification is carried out on the view data processing system, judges the view data processing performance of the system in advance, is convenient for finding problems of the system in the view data processing process in time, improves the development efficiency of the system and reduces the development labor cost.
Preferably, in step S1, after the view data acquiring platform is triggered to operate, the method further includes:
when the view data acquisition platform is triggered to start, acquiring a currently available view data storage space of the view data acquisition platform;
if the view data storage space is smaller than or equal to a preset storage space threshold value, instructing the view data acquisition platform to delete corresponding historical view data according to the historical view data acquisition record of the view data acquisition platform;
and if the view data storage space is larger than a preset storage space threshold value, not indicating the view data acquisition platform to delete the historical view data.
The beneficial effects of the above technical scheme are: the size of the currently available view data storage space of the view data acquisition platform is judged, and then the view data acquisition platform is instructed to adaptively delete corresponding historical view data according to the judgment result, so that the view data acquisition platform can be ensured to have enough storage space to store the view data acquired by subsequent acquisition.
Preferably, in step S1, instructing, according to the historical view data collection record of the view data collection platform, the view data collection platform to delete corresponding historical view data specifically includes:
according to the historical view data acquisition record, determining acquisition time information of all acquired historical view data;
and deleting the historical view data meeting the preset acquisition time condition according to the acquisition time information.
The beneficial effects of the above technical scheme are: and selecting historical view data with a proper acquisition time range according to the historical view data acquisition record to delete, so that a proper view data storage space can be accurately vacated from the view data acquisition platform.
Preferably, in step S1, the view data acquiring platform is instructed to send a GAT 1400 request, so as to acquire corresponding view data from the external terminal device; and according to the acquisition result of the view data, generating a view data sampling packet specifically comprises:
instructing the view data acquisition platform to directionally send a GAT 1400 request according to the equipment address of the preset external terminal equipment so as to construct a data interaction dedicated channel between the data acquisition interface end of the view data acquisition platform and the preset external terminal equipment;
and indicating the view data acquisition platform to divide the acquired view data into static image data and dynamic image data, and then respectively packaging the static image data and the dynamic image data, so as to obtain corresponding static image data sampling packets and dynamic image data sampling packets.
The beneficial effects of the above technical scheme are: constructing a data interaction special channel between a data acquisition interface end of the view data acquisition platform and a preset external terminal device by using a GAT 1400 request, so that the transmission efficiency of a subsequent image data sampling packet can be ensured; and the view data acquisition platform is instructed to divide the acquired view data into static image data and dynamic image data and then package the static image data and the dynamic image data respectively, so that the data fidelity of the transmission of a subsequent image data sampling packet can be ensured.
Preferably, in the step S2, a communication connection between the view data processing platform and the view data acquisition platform is constructed; instructing the view data acquisition platform to enter a request listening mode, so as to intercept a view data acquisition request from the view data processing platform specifically includes:
constructing one-to-one communication connection between a view data receiving interface end of a view data processing platform and a view data sending interface end of the view data acquisition platform;
and instructing the view data acquisition platform to enter a request listening mode so as to intercept the view data acquisition request in the form of HTTP from the view data processing platform.
The beneficial effects of the above technical scheme are: and instructing the view data acquisition platform to enter a request monitoring mode so as to intercept the view data acquisition request in the form of HTTP from the view data processing platform, thereby ensuring that the view data acquisition request from the view data processing platform can be intercepted comprehensively and timely.
Preferably, in step S3, analyzing the view data obtaining request to obtain the view data type information required by the view data processing platform includes:
and judging whether the view data required to be acquired by the view data processing platform is static view data or dynamic view data and the acquisition time corresponding to the view data required to be acquired according to the view video data acquisition request, wherein the acquisition time is used as the type information of the view data.
The beneficial effects of the above technical scheme are: by the mode, the view data types required by the view data processing platform can be subdivided, and the matched image data sampling packet can be accurately and pertinently captured subsequently.
Preferably, in step S3, capturing a matched view data sampling packet from the view data collecting platform according to the view data type information, and sending the matched view data sampling packet to the view data processing platform specifically includes:
according to the view data type information, capturing a static image data sampling packet with specific acquisition time or a dynamic image data sampling packet with specific acquisition time from the view data acquisition platform; and then the captured static image data sampling packet or dynamic image data sampling packet is subjected to lossless compression and then is sent to the view data processing platform.
The beneficial effects of the above technical scheme are: the captured static image data sampling packet or dynamic image data sampling packet is subjected to lossless compression and then is sent to the view data processing platform, so that the situation that data fragments are lost in the sending process of the image data sampling packet can be avoided.
Preferably, in step S4, the verifying the processing output result to obtain the picture quality information of the view data corresponding to the processing output result, so as to determine whether the view data processing platform operates normally specifically includes:
verifying the processing output result to obtain an image picture pixel definition value of the processing output result, and taking the image picture pixel definition value as the view data picture quality information;
if the image picture pixel definition value is greater than or equal to a preset definition threshold value, determining that the view data processing platform operates normally; otherwise, determining that the view data processing platform is abnormal in operation, and indicating the view data processing platform to restart.
The beneficial effects of the above technical scheme are: by taking the image picture pixel definition value of the processing output result as a reference, the method can judge whether the operation of the view data processing platform is normal or not in advance in a simulation mode, so that the reliability and the stability of the whole operation of the system are ensured.
Preferably, in step S4, the processing output result is verified, and the image picture pixel definition value of the processing output result is obtained by dividing the acquired view data into static image data and dynamic image data through the view data acquisition platform and then packing the static image data and the dynamic image data, so as to obtain a row and column check value for the view data in the process of obtaining corresponding static image data sampling packets and dynamic image data sampling packets, and then the image picture pixel definition value of the processing output result is obtained according to the processing output result, which includes the following steps:
step S401, using the following formula (1), obtaining the row and column check value in the view data according to the view data before packaging and packaging the row and column check value in the packaged data of the view data,
in the above formula (1), F (i, m + 1) represents the calculated check value of the ith row of the view data and is packed at the position of the (m + 1) th column of the ith row of the view data; f (n +1, j) represents the calculated check value of the jth column of the view data and is packaged at the position of the jth column of the n +1 row of the view data; h (i, j) represents the pixel value at the pixel point position of the ith row and the jth column of the view data; h (i, 1) represents a pixel value at the position of a pixel point at the ith row and the 1 st column of the view data; a and b both represent integer variables; m represents the number of pixel points of each line of the view data; n represents the number of pixel points in each column of the static image data or the dynamic image data; [] 2 Indicating that the data in the parentheses is converted into binary data; len { } denotes the total bit number of the binary number in the parenthesis;<<represents a left-shifted symbol; f (n +1, m + 1) represents a packed padding value for the view data at row n +1, column m +1, thereby re-padding the view data into matrix data;
step S402, using the following formula (2), the verification processing is performed on the processing output result to obtain the image picture pixel definition value of the processing output result,
in the above formula (2), Q represents the image picture pixel definition value of the processing output result, and the value range of Q is [0,1 ]]The larger Q represents the higher definition of the image picture; q 1 A pixel resolution value in a horizontal direction of an image frame representing a result of the processing; q 2 A pixel resolution value indicating a vertical direction of an image frame of the processing output result; m represents the number of pixel points of each line of the image picture of the processing output result; n represents the number of pixel points in each column of the image picture of the processing output result; h (x, y) represents the value of the position of the pixel point of the x row and the y column of the image picture of the processing output result; the absolute value is obtained;
step S403, using the following formula (3), adjusting the preset definition threshold according to the data amount of the processing output result, and controlling whether the view data processing platform needs to restart operation according to the adjusted definition threshold,
in the above formula (3), E represents a restart control value of the view data processing platform; q 0 Represents a preset sharpness threshold; k represents the number of pixel points of each line of the inspection image corresponding to the preset definition threshold; l represents the number of pixel points of each row of the inspection image corresponding to the preset definition threshold;
if E =0, determining that the view data processing platform operates normally;
and if E =1, determining that the view data processing platform is not operated normally, and instructing the view data processing platform to restart.
The beneficial effects of the above technical scheme are: obtaining a row and column check value in the view data according to the packed front view data by using the formula (1) and packing the row and column check value in the packed data of the view data together, thereby laying a judgment foundation for subsequent calculation definition; then, the processing output result is verified by using the formula (2) to obtain an image picture pixel definition value of the processing output result, so that the definition is comprehensively calculated from the transverse direction and the longitudinal direction of the image, the calculated result can reflect the definition degree of the image, and the accuracy of the system is ensured; and finally, intelligently adjusting a preset definition threshold value according to the data volume of the processing output result by using the formula (3), and controlling whether the view data processing platform needs to be restarted or not according to the adjusted definition threshold value, so as to automatically and intelligently judge and control, thereby embodying the system intelligence.
It can be known from the content of the above embodiment that the simulation test method based on the GAT 1400 protocol instructs the view data acquisition platform to send a GAT 1400 request, acquire and generate a view data sampling packet; instructing a view data acquisition platform to monitor and intercept a view data acquisition request from a view data processing platform so as to obtain view data type information required by the view data processing platform, and then grabbing a matched view data sampling packet and sending the matched view data sampling packet to the view data processing platform; the simulation test method carries out simulation test before official verification is carried out on the view data processing system, judges the view data processing performance of the system in advance, is convenient for finding problems of the system in the view data processing process in time, improves the development efficiency of the system and reduces the development labor cost.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (9)
1. The simulation test method based on the GAT 1400 protocol is characterized by comprising the following steps:
step S1, in the operation process of a view data acquisition platform, indicating the view data acquisition platform to send a standard protocol GAT 1400 request of a public security video image information application system, and acquiring corresponding view data from external terminal equipment; generating a view data sampling packet according to the acquisition result of the view data;
s2, establishing communication connection between a view data processing platform and the view data acquisition platform; instructing the view data acquisition platform to enter a request monitoring mode, and intercepting a view data acquisition request from the view data processing platform;
s3, analyzing and processing the view data acquisition request to obtain view data type information required by the view data processing platform; capturing a matched view data sampling packet from the view data acquisition platform according to the view data type information, and sending the matched view data sampling packet to the view data processing platform;
s4, acquiring a processing output result of the view data processing platform on the received view data sampling packet; and verifying the processing output result to obtain the view data picture quality information corresponding to the processing output result, and judging whether the view data processing platform operates normally or not.
2. The GAT 1400 protocol-based simulation test method of claim 1, wherein: in step S1, after the view data acquiring platform is triggered to operate, the method further includes:
when a view data acquisition platform is triggered and started, acquiring a currently available view data storage space of the view data acquisition platform;
if the view data storage space is smaller than or equal to a preset storage space threshold value, instructing the view data acquisition platform to delete corresponding historical view data according to historical view data acquisition records of the view data acquisition platform;
and if the view data storage space is larger than a preset storage space threshold value, not indicating the view data acquisition platform to delete the historical view data.
3. The GAT 1400 protocol-based simulation test method of claim 2, wherein:
in step S1, instructing, according to the historical view data acquisition record of the view data acquisition platform, the view data acquisition platform to delete corresponding historical view data specifically includes:
according to the historical view data acquisition record, determining acquisition time information of all acquired historical view data;
and deleting the historical view data meeting the preset acquisition time condition according to the acquisition time information.
4. The GAT 1400 protocol-based simulation test method of claim 3, wherein:
in the step S1, the view data acquisition platform is instructed to send a GAT 1400 request, and acquire corresponding view data from the external terminal device; and according to the acquisition result of the view data, generating a view data sampling packet specifically comprises:
instructing a view data acquisition platform to directionally send a GAT 1400 request according to the equipment address of a preset external terminal equipment, and constructing a data interaction special channel between a data acquisition interface end of the view data acquisition platform and the preset external terminal equipment;
and indicating the view data acquisition platform to divide the acquired view data into static image data and dynamic image data, and then respectively packaging the static image data and the dynamic image data so as to obtain corresponding static image data sampling packets and dynamic image data sampling packets.
5. The GAT 1400 protocol-based simulation test method of claim 4, wherein:
in the step S2, establishing communication connection between a view data processing platform and the view data acquisition platform; instructing the view data acquisition platform to enter a request listening mode, and intercepting a view data acquisition request from the view data processing platform specifically includes:
constructing one-to-one communication connection between a view data receiving interface end of a view data processing platform and a view data sending interface end of the view data acquisition platform;
and indicating the view data acquisition platform to enter a request monitoring mode, and intercepting a view data acquisition request in an HTTP form from the view data processing platform.
6. The GAT 1400 protocol-based simulation test method of claim 5, wherein:
in step S3, analyzing and processing the view data acquisition request to obtain the view data type information required by the view data processing platform specifically includes:
and judging whether the view data required to be acquired by the view data processing platform is static view data or dynamic view data and the acquisition time corresponding to the view data required to be acquired according to the view video data acquisition request, wherein the acquisition time is used as the type information of the view data.
7. The GAT 1400 protocol-based simulation test method of claim 6, wherein:
in step S3, capturing a matched view data sampling packet from the view data acquisition platform according to the view data type information, and sending the matched view data sampling packet to the view data processing platform specifically includes:
according to the view data type information, capturing a static image data sampling packet with specific acquisition time or a dynamic image data sampling packet with specific acquisition time from the view data acquisition platform; and then the captured static image data sampling packet or dynamic image data sampling packet is subjected to lossless compression and then is sent to the view data processing platform.
8. The GAT 1400 protocol-based simulation test method of claim 7, wherein:
in step S4, performing verification processing on the processing output result to obtain view data picture quality information corresponding to the processing output result, and determining whether the view data processing platform operates normally specifically includes:
verifying the processing output result to obtain an image picture pixel definition value of the processing output result as the picture quality information of the view data;
if the image picture pixel definition value is greater than or equal to a preset definition threshold value, determining that the view data processing platform operates normally; otherwise, determining that the operation of the view data processing platform is abnormal, and indicating the view data processing platform to restart.
9. The GAT 1400 protocol-based simulation test method of claim 8, wherein:
in the step S4, the processing output result is verified to obtain the image picture pixel definition value of the processing output result, the obtained view data is divided into static image data and dynamic image data by the view data acquisition platform, and then the static image data and the dynamic image data are respectively packed, so that the row and column check value is further obtained for the view data in the process of obtaining the corresponding static image data sampling packet and dynamic image data sampling packet, and then the image picture pixel definition value of the processing output result is obtained according to the processing output result, which comprises the following steps:
step S401, obtaining a row-column check value in the view data according to the view data before packaging by using the following formula (1) and packaging the row-column check value in the view data in the packaged data of the view data,
in the formula (1), F (i, m + 1) represents the calculated check value of the ith row of the view data and is packed at the position of the (m + 1) th column of the ith row of the view data; f (n +1, j) represents the calculated check value of the jth column of the view data and is packaged at the position of the jth column of the (n + 1) th row of the view data; h (i, j) represents the ith row and jth column pixel point of the view dataA set pixel value; h (i, 1) represents a pixel value at the position of a pixel point at the ith row and the 1 st column of the view data; h (1, j) represents a pixel value at the pixel point position of the jth column of the line 1 of the view data; a and b both represent integer variables; m represents the number of pixel points of each line of the view data; n represents the number of pixel points of each column of static image data or dynamic image data; [] 2 Indicating that the data in the brackets is converted into binary data; len { } represents the total bit number of binary numbers in parentheses;<<represents a left-shifted symbol; f (n +1, m + 1) represents a packed padding value for the view data at row n +1, column m +1, thereby re-padding the view data into matrix data;
step S402, using the following formula (2) to verify the processing output result to obtain the image picture pixel definition value of the processing output result,
in the above formula (2), Q represents the image picture pixel definition value of the processing output result, and the value range of Q is [0,1 ]]The larger Q represents the higher the image definition; q 1 A pixel sharpness value representing a horizontal direction of an image frame of the processing output result; q 2 A pixel definition value representing a longitudinal direction of an image frame of the processing output result; m represents the number of pixel points of each line of the image picture of the processing output result; n represents the number of pixel points of each column of the image picture of the processing output result; h (x, y) represents the value of the position of the pixel point of the x row and the y column of the image picture of the processing output result; the absolute value is obtained;
step S403, using the following formula (3), adjusting a preset definition threshold according to the data amount of the processing output result, and controlling whether the view data processing platform needs to perform a restart operation according to the adjusted definition threshold,
in the above formula (3), E represents a restart control value of the view data processing platform; q 0 Represents a preset sharpness threshold; k represents the number of pixel points of each line of the inspection image corresponding to the preset definition threshold; l represents the number of pixel points of each row of the inspection image corresponding to the preset definition threshold;
if E =0, determining that the view data processing platform operates normally;
and if E =1, determining that the operation of the view data processing platform is abnormal, and indicating the view data processing platform to restart.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210550722.9A CN115102892B (en) | 2022-05-18 | 2022-05-18 | Simulation test method based on GAT 1400 protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210550722.9A CN115102892B (en) | 2022-05-18 | 2022-05-18 | Simulation test method based on GAT 1400 protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115102892A CN115102892A (en) | 2022-09-23 |
CN115102892B true CN115102892B (en) | 2023-03-17 |
Family
ID=83288606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210550722.9A Active CN115102892B (en) | 2022-05-18 | 2022-05-18 | Simulation test method based on GAT 1400 protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115102892B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116074455B (en) * | 2023-02-03 | 2024-01-19 | 天翼数字生活科技有限公司 | 1400 protocol-based secure transmission method, view library platform and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102131101A (en) * | 2011-04-21 | 2011-07-20 | 江苏东怡软件技术有限公司 | Intelligent video image quality automatic analysis system and method |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6797306B2 (en) * | 2017-08-03 | 2020-12-09 | Eizo株式会社 | Image processing equipment, image processing method, and image processing program |
CN108225741A (en) * | 2017-12-28 | 2018-06-29 | 广东欧珀移动通信有限公司 | Method for testing definition, device, storage medium and electronic equipment |
CN111311543B (en) * | 2020-01-17 | 2022-09-02 | 苏州科达科技股份有限公司 | Image definition detection method, system, device and storage medium |
CN112347947A (en) * | 2020-11-10 | 2021-02-09 | 厦门长江电子科技有限公司 | Image data processing system and method integrating intelligent detection and automatic test |
CN114116464A (en) * | 2021-11-12 | 2022-03-01 | 杭州研极微电子有限公司 | Image processing test method and device |
-
2022
- 2022-05-18 CN CN202210550722.9A patent/CN115102892B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102131101A (en) * | 2011-04-21 | 2011-07-20 | 江苏东怡软件技术有限公司 | Intelligent video image quality automatic analysis system and method |
Also Published As
Publication number | Publication date |
---|---|
CN115102892A (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115102892B (en) | Simulation test method based on GAT 1400 protocol | |
US20100058409A1 (en) | Audio and video testing methodology | |
CN112367680B (en) | External communication test method and device based on intelligent ammeter and computer equipment | |
CN113778879B (en) | Interface fuzzy test method and device | |
CN106375118A (en) | Multi-view-angle traffic mixed playback method and device | |
US20030081560A1 (en) | Load test system for video data distributing server | |
CN106161143A (en) | A kind of network performance test method based on ARM server and device | |
CN106709053A (en) | Data slice management method and system | |
CN116723131B (en) | IPC network camera transmission performance monitoring method and system | |
CN112837640A (en) | Screen dynamic picture testing method, system, electronic equipment and storage medium | |
CN111628911B (en) | CDN back source abnormity testing method and device and terminal equipment | |
CN108696713A (en) | Safety detecting method, device and the test equipment of code stream | |
CN115604037A (en) | Communication safety testing method of fault monitoring system | |
CN114205526B (en) | Network camera algorithm access method, system, medium and electronic terminal | |
CN112532593B (en) | Method, device, equipment and medium for processing attack message | |
CN112583672B (en) | TCP server stability test method based on time stamp | |
US20040142688A1 (en) | Method for optimising the access to an internet type network by means of a cellular radio-communication type network, corresponding system and device | |
CN112650698A (en) | Data transmission method and device, electronic equipment and storage medium | |
CN113743235A (en) | Electric power inspection image processing method, device and equipment based on edge calculation | |
CN111343209B (en) | Picture processing method with temperature information | |
CN117472640B (en) | Cross-platform event processing method and system | |
CN115277236B (en) | Method and system for carrying out request analysis on domain name | |
CN116633870B (en) | Operation and maintenance data processing system and method based on cloud end-added mode | |
CN111031279A (en) | Monitoring platform-based simulation front-end equipment point location construction method and system | |
CN113395235A (en) | IoT system remote testing method, system and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |