Valid

GA/T 1400.4-2017Video and image information application system for pubic security—Part 4: Interface protocol requirements (English PDF)

公安视频图像信息应用系统 第4部分:接口协议要求

Preview PDF

This is a limited preview

Buy now to download the full PDF (38 pages)

Need quotation for your management?

Get a formal quotation for GA/T 1400.4-2017 in 30 minutes.

Issued by

Ministry of Public Security

Level / Type

National · Recommended

Issue date

May 31, 2017

Implementation date

May 31, 2017

Scope

GA/T 1400.4-2017 is the English-translated version of 公安视频图像信息应用系统 第4部分:接口协议要求.

GA/T 1400.4-2017 — This section specifies the interface classification and protocol structure, interface function, interface resource description, and interface of the public security video and image information application system.

Technical requirements such as messages, message interaction processes, and message interaction security. This section applies to the public security video image information application system planning and design, software development and interface protocol compliance testing.

Found what you need?

Document preview — GA/T 1400.4-2017

National Standard of the People's Republic of China

ICS
13.310
Classification
A 91

Issued by: Ministry of Public Security

Contents

  • Preface
  • 1 Scope
  • 2 Normative references
  • 3 Terms, definitions and abbreviations
  • 3.1 Terms and Definitions
  • 3.2 Abbreviations
  • 4 Interface Classification and Protocol Structure
  • 4.1 Interface Classification
  • 4.2 Protocol Structure
  • 5 Interface Function
  • 5.1 Public Functions
  • 5.2 Collection Interface
  • 5.3 Data Service Interface
  • 5.4 Cascade Interface
  • 5.5 Analysis Interface
  • 6 Interface Resource Description
  • 6.1 View Gallery Resource Description
  • 6.2 Analysis System Resource Description
  • 7 Interface Messages
  • 7.1 Interface Message Description
  • 7.2 Viewing Gallery Interface Messages
  • 7.3 Analyzing System Interface Messages
  • 8 Message interaction process
  • 8.1 Creating a Resource Message Interaction Process
  • 8.2 Read Resource Message Interaction Process
  • 8.3 Update Resource Message Interaction Process
  • 8.4 Delete Resource Message Interaction Process
  • 9 Message Interaction Security
  • Appendix A (Normative) REST Architecture Protocol Model
  • Appendix B (Informative) Key Message Interaction Process Example

Foreword

The GA/T 1400 Public Security Video and Image Information Application System is divided into four parts.

--- Part 1. General technical requirements;

--- Part 2. Application Platform Technical Requirements;

--- Part 3. Database technical requirements;

--- Part 4. Interface protocol requirements.

This section is Part 4 of the GA/T 1400.

This section was drafted in accordance with the rules given in GB/T 1.1-2009.

1 Scope

This section specifies the interface classification and protocol structure, interface function, interface resource description, and interface of the public security video and image information application system.

Technical requirements such as messages, message interaction processes, and message interaction security.

This section applies to the public security video image information application system planning and design, software development and interface protocol compliance testing.

2 Normative references

The following documents are indispensable for the application of this document. For dated references, only dated versions apply to this article Pieces. For undated references, the latest version (including all amendments) applies to this document.

GB/T 28181-2016 Technical requirements for information transmission, exchange and control of public safety video surveillance networking systems GA/T 669.1-2008 Technical Standard for Urban Monitoring and Alarming Networking System Part 1. General Technical Requirements GA/T 669.7-2008 Urban Monitoring and Alarming Networking System Technical Standards Part 7. Management Platform Technical Requirements GA/T 1399-2017 Public Security Video Image Analysis System GA/T 1400.1-2017 Public Security Video and Image Information Application System Part 1. General Technical Requirements GA/T 1400.2-2017 Public Security Video and Image Information Application System Part 2. Application Platform Technical Requirements GA/T 1400.3-2017 Public Security Video and Image Information Application System Part 3. Database Technical Requirements IETFRFC2045 Multipurpose Internet Mail Extensions (MIME) Part I. Internet Information Format (Multipur-poseInternetMailExtensions(MIME)PartOne.FormatofInternetMessageBodies) IETFRFC2616 Hypertext Transfer Protocol - HTTP/1.1 (HypertextTransferProtocol-HTTP/1.1) IETFRFC2617 HTTP basic authentication and digest authentication (HTTPAuthentication.BasicandDigestAc-cesssAuthentication) IETFRFC2818 Secure Hypertext Transfer Protocol (HTTPOverTLS)

3 Terms, definitions and abbreviations

3.1 Terms and Definitions

GB/T 28181-2016, GA/T 669.1-2008, GA/T 669.7-2008, GA/T 1399-2017, GA/T 1400.1-the terms and definitions defined in 2017, GA/T 1400.2-2017 and GA/T 1400.3-2017 apply to this document.

3.2 Abbreviations

GB/T 28181-2016, GA/T 669.1-2008, GA/T 669.7-2008, GA/T 1399-2017, GA/T 1400.1-the abbreviations defined in 2017, GA/T 1400.2-2017 and GA/T 1400.3-2017 apply to this document. In addition, the following abbreviations Applicable to this document.

C. Create

CR. Create and Retrieve CRD. Create, Retrieve, and Delete R. Retrieve RU. Read and Update (RetrieveandUpdate) RUD. Read, Update, and Delete (Retrieve, Update, and Delete) U. Update

4 Interface Classification and Protocol Structure

4.1 Interface Classification

4.1.1 The interface of the public security video image information application system (hereinafter referred to as the application system) includes the acquisition interface, data service interface, and level connection.

Interfaces and analysis interfaces, and interactions between various interfaces are shown in Figure 1.

Figure 1 Interface interaction entity diagram

4.1.2 Acquisition interface for public security video image information database (hereinafter referred to as visual gallery) and online video image information acquisition equipment (below Abbreviation acquisition equipment), online video image information acquisition system (hereinafter referred to as acquisition system), public security video image analysis system (hereinafter referred to as points Analyze the interaction of data between systems.

4.1.3 Data service interface for visual library and public security video image information application platform (hereinafter referred to as application platform), analysis system, and other Interactions between data systems, etc.

4.1.4 Cascaded interfaces are used to visualize the data exchange between the gallery and the visual gallery.

4.1.5 The analysis interface is used to analyze the data interaction between the system and the application platform.

4.2 Protocol Structure

4.2.1 The interface protocol structure shall comply with the provisions of GA/T 1400.1-2017.

4.2.2 All interface interaction information is defined as a resource under the REST architecture and is uniquely identified using a URI. According to GA/T 1400.1-as stipulated in 2017, interface-corresponding resources are organized using a tree-like hierarchical structure.

4.2.3 Interfaces for interactive connections should support HTTP long and short connections, and the implementation mechanism should be consistent with that in IETF RFC2616 Provisions.

4.2.4 The application system interface access form shall comply with A.3 in Appendix A.

4.2.5 The HTTP request header field should be expanded to increase \u003cUser-Identify\u003e The identity of the system user ID that carries the requester is used for Know the requester.

5 Interface functions

5.1 Common Functions

5.1.1 Should support registration, keep-alive, cancellation, and school hours. When the registration fails, the registration should be delayed after a random time within 300s. registration success After that, no heartbeat is kept in the 90s without interaction. The registration relationship between registration, keepalive, and cancellation and the interface message in Chapter 7 is shown in Table 1.

Table 1 Comparison of Registration, Keepalive, Logout, and Interface Messages

No. Function Correspondence Interface Message Chapter Implementation Method 1 registered 7.2.1, 7.3.1 POST

2 Logout 7.2.2, 7.3.2 POST

3 Keep Live 7.2.3, 7.3.3 POST

4 School hours 7.2.4, 7.3.4 GET

5.2 Collection Interface

5.2.1 should support acquisition equipment, acquisition system, analysis system to automatically upload video image information to the visual library, upload automatically the relationship between the set video image information and the Chapter 7 interface message is shown in Table 2. After uploading information, if it is not received within a certain delay (for example, 5s) If a response is received, it is considered as an upload failure and should be retransmitted. If multiple consecutive (for example, 3) retransmissions are still unsuccessful, the link is regarded as a problem and the cache Information and re-register. After the registration is successful, all unsubmitted data is patched.

Table 2 uploads automatically collected video image information and interface message table

No. Function Correspondence Interface Message Chapter Implementation Method 1 upload automatically collected video clips 7.2.8.1 POST 2 upload automatically capture video data 7.2.8.4 POST 3 upload automatically collected images 7.2.9.1 POST 4 upload automatically capture image data 7.2.9.4 POST 5 upload automatically collected files 7.2.10.1 POST

6 Upload automatically collected file data 7.2.10.4 POST

7 Upload automatic collection personnel 7.2.11.1 POST

8 Upload automatic face capture 7.2.12.1 POST

9 Upload automatic collection of motor vehicles 7.2.13.1 POST

10 Upload Auto Collection Non-motorized 7.2.14.1 POST

11 Upload automatically collected items 7.2.15.1 POST

12 Uploading Automatic Collection Scenarios 7.2.16.1 POST

13 Uploading Automatic Acquisition Video Image Tags 7.2.23.1 POST

5.2.2 It is necessary to support the query of information from the image collection system or acquisition system, video bayonet, and lane to the collection system.

Change the password and other information, query the collection device list, change the password and Chapter 7 interface message relationship shown in Table 3.

Table 3 Querying the list of collecting devices and changing the password and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method 1 query collection device 7.2.5 GET

2 Change the acquisition device password 7.2.5 PUT 3 query acquisition system 7.2.6 GET

4 Query video clip 7.2.7.1 GET

5 Query Lane 7.2.7.2 GET 5.2.3 should support the analysis system upload video image analysis rules to the visual library, upload video image analysis rules and Chapter 7 interface the relationship between the messages is shown in Table 4.

Table 4 Comparison rules of upload video image analysis rules and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method 1 upload video image analysis rules 7.2.22.1 POST

5.3 Data Service Interface

5.3.1 Should support the application platform, other information systems, etc. to the visual library based on video image information objects and other characteristics of attributes and their combinations the query and support analysis system performs query based on feature attributes and combinations of video image information objects to the visual library. Feature Attribute Query refer to Table 5 for the relationship with the Chapter 7 interface messages.

Table 5 Comparison table of feature attributes and their combination query and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method 1 batch query video clip 7.2.8.1 GET

2 Query a single video clip 7.2.8.2 GET

3 Query video clip object information 7.2.8.3 GET

4 Download Video Clip Data 7.2.8.4 GET 5 batch query image 7.2.9.1 GET 6 query a single image 7.2.9.2 GET 7 query image object information 7.2.9.3 GET

8 Downloading Image Data 7.2.9.4 GET

9 Query File 7.2.10.1 GET 10 query a single file 7.2.10.2 GET 11 query file object information 7.2.10.3 GET

12 Download File Data 7.2.10.4 GET

13 Inquirer 7.2.11.1 GET

14 Querying Individuals 7.2.11.2 GET

15 Batch Query Face 7.2.1 1.2.1 GET

Table 5 (continued)

No. Function Correspondence Interface Message Chapter Implementation Method

16 Querying Individual Faces 7.2.12.2 GET

17 Batch query motor vehicles 7.2.13.1 GET

18 Querying individual motor vehicles 7.2.13.2 GET

19 Batch Inquiry of Non-motorized 7.2.14.1 GET

20 Query a single non-motorized 7.2.14.2 GET

21 Batch query items 7.2.15.1 GET

22 Query single item 7.2.15.2 GET

23 Batch Querying Scene 7.2.16.1 GET

24 Querying a Single Scene 7.2.16.2 GET

25 Batch Query Video Case Event 7.2.17.1 GET

26 Querying a Single Video Case Event 7.2.17.2 GET

27 Query video event event object information 7.2.17.3 GET

28 Querying Queued Tasks 7.2.18.2 GET

29 Query Alarm Record 7.2.19.2 GET

30 Query Subscription Task 7.2.20.2 GET

31 Query Notification Record 7.2.21.2 GET

32 Query Video Image Analysis Rules 7.2.22.1 GET

33 Query Video Image Tab 7.2.2.1 GET

5.3.2 Should support the application platform, other information systems, etc. to manually collect video events and video image information objects from the visual library See Table 6 for building, updating, deleting, manually collecting video image information objects and Chapter 7 interface messages.

Table 6 Comparison table of manually-acquired video image information objects and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method Batch Create Video Event 7.2.17.1 POST 2 update, delete a single video event 7.2.17.2 PUT, DELETE 3 update, delete video case event object information 7.2.17.3 PUT, DELETE

4 Batch Create Manual Capture Video Clips 7.2.8.1 POST 5 update, delete manually collect a single video clip 7.2.8.2 PUT, DELETE 6 update, delete manual capture video clip object information 7.2.8.3 PUT, DELETE

7 Create, delete manual capture video data 7.2.8.4 POST, DELETE

8 Batch Create Manual Acquisition Image 7.2.9.1 POST 9 update, delete manual acquisition of a single image 7.2.9.2 PUT, DELETE 10 update, delete manual acquisition of image object information 7.2.9.3 PUT, DELETE

11 Creating and Deleting Manually Collected Image Data 7.2.9.4 POST, DELETE

Table 6 (continued)

No. Function Correspondence Interface Message Chapter Implementation Method

12 Batch Create Manual Collection File 7.2.10.1 POST 13 update, delete manual collection of a single file 7.2.10.2 PUT, DELETE 14 update, delete manually collected file object information 7.2.10.3 PUT, DELETE

15 Creating and Deleting Manually Collected File Data 7.2.10.4 POST, DELETE

16 Create, update, delete personnel in batches 7.2.11.1 POST, PUT, DELETE 17 update, delete a single person 7.2.11.2 PUT, DELETE

18 Batch Create, Update, Delete Faces 7.2.112.1 POST, PUT, DELETE 19 update, delete a single face 7.2.12.2 PUT, DELETE

20 Batch Create, Update, Delete Motor Vehicles 7.2.13.1 POST, PUT, DELETE

21 Updating, Deleting Individual Vehicles 7.2.13.2 PUT, DELETE

22 Batch Create, Update, Delete Non-motorized Vehicles 7.2.14.1 POST, PUT, DELETE 23 update, delete a single non-motor 7.2.14.2 POST, DELETE

24 Create, update, delete items in batches 7.2.15.1 POST, PUT, DELETE 25 update, delete a single item 7.2.15.2 PUT, DELETE

26 Creating, Updating, and Deleting Scenarios in Batches 7.2.16.1 POST, PUT, and DELETE 27 update, delete a single scene 7.2.16.2 PUT, DELETE

28 Create, update, delete video image tags 7.2.23.1 POST, PUT, DELETE 29 batch create, update, delete video image analysis rules 7.2.22.1 POST, PUT, DELETE

5.3.3 Should support the application platform, other information systems, etc. to query, update, query, and more the acquisition equipment or acquisition system of the visual library.

The relationship between the new acquisition equipment or acquisition system and the Chapter 7 interface message is shown in Table 7.

Table 7 Comparison of querying, updating collection equipment or collection system and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method 1 query collection device 7.2.5 GET

2 Change the acquisition device password 7.2.5 PUT 3 query acquisition system 7.2.6 GET

4 Query video clip 7.2.7.1 GET

5 Query Lane 7.2.7.2 GET

5.3.4 The distribution and control of video image information objects between the application platform and other information systems and the visual library should be supported.

The relationship between the police and Chapter 7 interface messages is shown in Table 8.

Table 8 Comparison table between alarms and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method

1 Bulk Dispatch 7.2.18.1 POST 2 batch update, delete the dispatch task 7.2.18.2 PUT, DELETE 3 withdrawal control 7.2.18.3 PUT

4 Alarm 7.2.19.1 POST

5 Delete alarm record 7.2.19.2 DELETE

5.3.5 Video image information object, acquisition equipment or acquisition system should be supported between application platform and other information systems and visual library

Table 9 shows the relationship between subscriptions and notifications of subscriptions, subscription notifications, and Chapter 7 interface messages. After the notification is issued, if there is a certain delay

If no response is received within (for example, 5s), the notification is deemed to have failed and should be retransmitted. If multiple consecutive (for example, 3) retransmissions are not successful, the chain is considered to be There is a problem with the way, cache information, and re-register. After the registration is successful, all unannounced data will be passed back.

Table 9 Comparison table of subscription notifications and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method

1 Batch subscription 7.2.20.1 POST 2 batch update, delete the subscription task 7.2.20.2 PUT, DELETE

3 Unsubscribe from 7.2.20.3 PUT

4 Notice 7.2.21.1 POST

5 Delete Notification Record 7.2.21.2 DELETE

5.4 Cascade Interfaces

5.4.1 The upper-level view library should support the query based on the video image information object and other feature attributes and combinations to the current view library.

See Table 5 for relationship between attributes and their combination query and Chapter 7 interface messages.

5.4.2 The upper-level view database should support the query of the current view library for the collection device or the collection system list, query collection equipment or mining See Table 7 for the relationship between the set system list and the 7th interface message.

5.4.3 The distribution and control of video image information objects, etc. between the upper-level visual library and the current visual library should be supported.

See Table 8 for a comparison of interface messages.

5.4.4 It is necessary to support the booking of video image information objects, acquisition equipment or collection system catalogs between the upper-level visual library and the current visual library.

See Table 9 for the relationship between the notification and notification and the subscription notification and Chapter 7 interface messages. After the notification is issued, if it is within a certain delay (for example, 5s) If no response is received, the notification is considered to have failed and should be retransmitted. If multiple consecutive (eg 3) retransmissions are still unsuccessful, the link is regarded as a problem.

Cache information and re-register. After the registration is successful, all unannounced data will be passed back.

5.5 Analysis Interface 5.5.1 should support the application platform to the analysis system video image analysis tasks issued, started, paused, stopped, status query and view the relationship between the creation, update, or deletion of the frequency image analysis rule and the relationship between the task control and the interface message in Chapter 7 is shown in Table 10.

Table 10 Comparison of Task Control and Interface Messages

No. Function Correspondence Interface Message Chapter Implementation Method 1 delivered video image analysis task 7.3.5 POST

2 Start the video image analysis task 7.3.6 PUT

3 Pause video image analysis task 7.3.6 PUT

4 Stop the video image analysis task 7.3.6 PUT

5 Query video image analysis task status 7.3.7 GET

6 Create, update, delete video image analysis rules 7.3.11 POST, PUT, DELETE 5.5.2 should support the analysis system upload video image information to the application platform, upload video image information and Chapter 7 interface message pair See Table 11 for relationships.

Table 11 Uploading video image information and interface messages

No. Function Correspondence Interface Message Chapter Implementation Method

1 Upload video clips based on video image analysis task processing 7.3.8.1 POST

2 Upload video clip data based on video image analysis task processing 7.3.8.2 POST

3 Upload Image Processing Based on Video Image Analysis Tasks 7.3.9.1 POST

4 Upload image data based on video image analysis task processing 7.3.9.2 POST

5 Upload video image tag based on video image analysis task processing 7.3.10 POST 5.5.3 should support the application platform to analyze the system's video image analysis capabilities, query video analysis capabilities and the seventh chapter See Table 12 for the corresponding relationship of oral messages.

Table 12 Query video image analysis capability and interface message comparison table

No. Function Correspondence Interface Message Chapter Implementation Method

1 Query video image content analysis capabilities 7.3.12.1 GET

2 Query video image enhancement and recovery 7.3.12.2 GET 3 query video image retrieval ability 7.3.12.3 GET

6 Interface Resource Description the application system interface resources include viewing library resources and analyzing system resources. According to the gallery resource definition visual gallery and acquisition equipment or collection system System, upper and lower levels view the information exchanged between the library, application platform, analysis system, etc., analyze the system resource definition analysis system and application platform Interactive information.

6.1 View Gallery Resource Description

6.1.1 Viewing Gallery Resource URIs See Table 13 for the URI of the related library resource.

Table 13 depending on the gallery resource URI

No. Resource URI Description 1/VIID top resources 2/VIID/System System Properties Resources 3/VIID/System/Register Registration Resources 4/VIID/System/UnRegister Logout Resources 5/VIID/System/Keepalive Keeping Live Resources 6/VIID/System/T ime System Time Resources 7/VIID/VIIDServers Networking Service Resources 8/VIID/APEs Acquisition Equipment Resources 9/VIID/APSs Acquisition System Resources 10/VIID/T olgates video clip resources 11/VIID/Lanes Lane Resources 12/VIID/VideoSlices Video Clip Resources 13/VIID/VideoSlices/ \u003cID\u003e Video clip resource instance 14/VIID/VideoSlices/ \u003cID\u003e /Info video clip description information resources 15/VIID/VideoSlices/ \u003cID\u003e /Data video clip data resource 16/VIID/Images Image Resources 17/VIID/Images/ \u003cID\u003e Image resource examples 18/VIID/Images/ \u003cID\u003e /Info image description information resource 19/VIID/Images/ \u003cID\u003e /Data image data resource 20/VIID/Files file resources 21/VIID/Files/ \u003cID\u003e File resource instance 22/VIID/Files/ \u003cID\u003e /Info file description information resources 23/VIID/Files/ \u003cID\u003e /Data file data resource 24/VIID/Persons Staff Resources 25/VIID/Persons/ \u003cID\u003e Human resources example 26/VIID/Faces Face Resources 27/VIID/Faces/ \u003cID\u003e Face resource examples 28/VIID/MotorVehicles Vehicle Resources 29/VIID/MotorVehicles/ \u003cID\u003e Motor vehicle resources example 30/VIID/NonMotorVehicles Non-motor vehicle...

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 38 pages — is available in the English PDF.

Referenced standards

How to Download GA/T 1400.4-2017

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
38 pages
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GA/T 1400.4-2017

$570.00