Image transmission method between security inspection equipment and security and protection integrated platform

By extending the SDP description information of the RTSP protocol and using the RTP protocol, standardized image streaming between security check devices and security integration platforms is realized, solving the problem of private protocol docking during device replacement, and improving transmission efficiency and flexibility.

CN120263934APending Publication Date: 2025-07-04BEIJING TELESOUND ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510278628.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, the image transmission efficiency between security inspection equipment and security integration platform is low, and when replacing the equipment manufacturer, it is necessary to re-dock the private protocol, resulting in a large workload.

Method used

By extending the field values of media type and load name in the SDP description information of the RTSP protocol, the transmission of security image streams is carried out in combination with the RTP protocol to realize data transmission under the standard protocol and avoid private protocol negotiation.

Benefits of technology

It improves the transmission efficiency of security image streams, reduces the workload during equipment replacement, and enhances the flexibility and reliability of transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263934A_ABST
    Figure CN120263934A_ABST
Patent Text Reader

Abstract

The invention provides an image transmission method between security inspection equipment and a security and protection integrated platform, which is applied to the technical field of computers, and comprises the following steps: when a session description request sent by the security and protection integrated platform based on a real-time streaming protocol (RTSP) is received, sending SDP description information in a session description protocol (SDP) to the security and protection integrated platform, the field value of the media type in the SDP description information comprises a first field value used for representing the image stream, and the field value of the load name in the SDP description information comprises a second field value used for representing that the transmitted image stream is the security check image stream; receiving a stream transmission request sent by the security and protection integrated platform; and based on the stream transmission request, sending a security inspection image stream to the security and protection integrated platform through a real-time transport protocol RTP. According to the invention, the transmission efficiency of the security check image stream can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to a method for transmitting security inspection images between a security inspection device and a security integration platform. Background Art

[0002] The security integration platform belongs to a system integration platform, which is a system integration application software platform in the security field and has an important position in the security industry.

[0003] The security integration platform usually integrates the functions of various subsystems in the security field for unified management, overall scheduling, and unified alarm receiving, alarm verification, and alarm handling. The security subsystems it involves usually include multiple third-party systems such as a video surveillance system, an access control system, an intrusion and emergency alarm system, a security inspection and detection system, and an electronic patrol system. When the third-party system transmits the collected data to the security integration platform, if the third-party system supports the standard protocol, the security integration platform will use the standard protocol for docking. If the third-party system does not support the standard protocol, the security integration platform will use the private protocol developed by each third-party system for docking. For example, when the security integration platform performs image transmission with a security inspection device, it is necessary to dock with a specific manufacturer of the security inspection device using a private protocol.

[0004] However, when replacing the manufacturer of the security inspection device, it is necessary to re-dock the private protocol, resulting in a large workload and low efficiency of image transmission. Summary of the Invention

[0005] The present invention provides a method for transmitting security inspection images between a security inspection device and a security integration platform to solve the defect of low image transmission efficiency in the prior art and achieve the purpose of improving the image transmission efficiency.

[0006] The present invention provides a method for transmitting images between a security inspection device and a security integration platform, including: In the case of receiving a session description request sent by the security integration platform based on the Real-Time Streaming Protocol (RTSP), sending SDP description information in the Session Description Protocol (SDP) to the security integration platform, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; Receiving a stream transmission request sent by the security integration platform; Based on the stream transmission request, sending a security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

[0007] According to the method for transmitting images between a security inspection device and a security integration platform provided by the present invention, the sending of the security inspection image stream to the security integration platform through the RTP protocol includes: For each frame of security inspection image, slice the security inspection image to obtain at least two slice image data of the security inspection image; For each of the slice image data, generate a slice packet of the slice image data based on the identifier of the security inspection image, the identifier of the slice image data, the data type of the slice image data, the data length of the slice image data, and the slice image data; Send each of the slice packets to the security integration platform via the Real-time Transport Protocol (RTP).

[0008] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, the sending of a security inspection image stream to the security integration platform via the Real-time Transport Protocol (RTP) based on the stream transmission request includes: Based on the stream transmission request, set control parameters for transmitting the security inspection image stream, where the control parameters include any one of the following: transmission rate, pause transmission, and start transmission; Based on the control parameters, send the security inspection image stream to the security integration platform via the Real-time Transport Protocol (RTP).

[0009] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, before receiving the stream transmission request sent by the security integration platform, the method further includes: Receive a connection establishment request sent by the security integration platform; Based on the connection establishment request, negotiate data transmission parameters with the security integration platform; Based on the data transmission parameters, establish a connection between the security inspection device and the security integration platform.

[0010] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, the method further includes: Receive a connection disconnection request sent by the security integration platform; Based on the connection disconnection request, stop sending the security inspection image stream to the security integration platform via the RTP protocol.

[0011] The present invention also provides an image transmission method between a security inspection device and a security integration platform, including: Send a session description request to the security inspection device based on the RTSP protocol; Receive the SDP description information in the SDP protocol sent by the security inspection device, where the field value of the media type in the SDP description information includes a first field value for characterizing an image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; Send a streaming transmission request to the security inspection device; Receive the security inspection image stream sent by the security inspection device through the RTP protocol.

[0012] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, the receiving the security inspection image stream sent by the security inspection device through the RTP protocol includes: Receive each fragmented packet sent by the security inspection device through the RTP protocol, where the fragmented packet is generated by the security inspection device for each fragmented image data based on the identifier of the security inspection image, the identifier of the fragmented image data, the data type of the fragmented image data, the data length of the fragmented image data, and the fragmented image data, and the fragmented image data is obtained by the security inspection device fragmenting the security inspection image; Determine the security inspection image stream based on each of the fragmented packets.

[0013] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, the determining the security inspection image stream based on each of the fragmented packets includes: Find each target fragmented packet containing the same identifier of the security inspection image among all the received fragmented packets; Packetize all the target fragmented packets corresponding to the same identifier of the security inspection image based on the identifier of the fragmented image data included in each of the target fragmented packets to obtain the security inspection image.

[0014] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, before the sending the streaming transmission request to the security inspection device, the method further includes: Send a connection establishment request to the security inspection device, where the connection establishment request is used to instruct the security inspection device to negotiate data transmission parameters with the security integration platform, and based on the data transmission parameters, establish a connection between the security inspection device and the security integration platform.

[0015] According to an image transmission method between a security inspection device and a security integration platform provided by the present invention, the method further includes: Send a connection disconnection request to the security inspection device, where the connection disconnection request is used to instruct the security inspection device to stop sending the security inspection image stream to the security integration platform through the RTP protocol.

[0016] The present invention also provides an image transmission device between a security inspection device and a security integration platform, including the following modules: A first sending module, configured to, when receiving a session description request sent by a security integration platform based on the Real-Time Streaming Protocol (RTSP), send SDP description information in the Session Description Protocol (SDP) to the security integration platform, where a field value of a media type in the SDP description information includes a first field value for characterizing an image stream, and a field value of a payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; A first receiving module, configured to receive a stream transmission request sent by the security integration platform; The first sending module is further configured to, based on the stream transmission request, send a security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

[0017] The present invention further provides an image transmission device between a security inspection device and a security integration platform, including the following modules: A second sending module, configured to send a session description request to the security inspection device based on the RTSP protocol; A second receiving module, configured to receive SDP description information in the SDP protocol sent by the security inspection device, where a field value of a media type in the SDP description information includes a first field value for characterizing an image stream, and a field value of a payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; The second sending module is configured to send a stream transmission request to the security inspection device; The second receiving module is configured to receive the security inspection image stream sent by the security inspection device through the RTP protocol.

[0018] The present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the computer program, the image transmission method between the security inspection device and the security integration platform as described in any one of the above is implemented.

[0019] The present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the image transmission method between the security inspection device and the security integration platform as described in any one of the above is implemented.

[0020] The present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the image transmission method between the security inspection device and the security integration platform as described in any one of the above is implemented.

[0021] The image transmission method between the security inspection device and the security integration platform provided by the present invention is as follows: when the security inspection device receives a session description request sent by the security integration platform based on the RTSP protocol, it sends SDP description information in the SDP protocol to the security integration platform. The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream. After receiving the stream transmission request sent by the security integration platform, based on this stream transmission request, it sends the security inspection image stream to the security integration platform through the RTP protocol. Since the field values of the media type and the payload name in the SDP description information are extended, the security inspection image stream can be transmitted based on the extended SDP description information in combination with the RTP protocol, realizing data transmission between the security inspection device and the security integration platform through standard protocols. Even when the security inspection device changes or the manufacturer is changed, private protocol negotiation will no longer be required, reducing the workload and improving the transmission efficiency of the security inspection image stream. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0023] Figure 1 It is a schematic diagram of the relationship between the session channel and the media stream channel provided by the embodiment of the present invention.

[0024] Figure 2 It is one of the flowcharts of the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention.

[0025] Figure 3 It is another flowchart of the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention.

[0026] Figure 4 It is the signaling flowchart of the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention.

[0027] Figure 5 It is one of the structural diagrams of the image transmission device between the security inspection device and the security integration platform provided by the embodiment of the present invention.

[0028] Figure 6 It is another structural diagram of the image transmission device between the security inspection device and the security integration platform provided by the embodiment of the present invention.

[0029] Figure 7 This is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. Specific embodiments

[0030] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0031] When the security integration platform performs third-party system integration, if the third-party system to be integrated supports standard protocols, such as international standards, national standards, or local industry standards, etc., the security integration platform uses the standard protocol to dock with the third-party system; if the industry or product of the third-party system to be integrated has not yet formed or does not support a unified standard, the security integration platform uses a private protocol to dock with a specific manufacturer of the third-party system for private protocol docking.

[0032] Generally, for the convenience of unified processing within the security integration platform, media functions related to audio and video, and pictures are preferably accessed using a unified standard protocol. Among them, third-party systems with audio and video and picture network transmission requirements mainly include video surveillance systems and security inspection systems. The security integration platform needs to dock with the video surveillance system to implement functions such as viewing real-time videos, video playback, and video download of front-end video surveillance devices, and needs to dock with the security inspection system to implement functions such as real-time image display of security inspection machines and upload of security inspection data.

[0033] The video surveillance system has a standard protocol. When the security integration platform docks with it, it can be docked according to the standard protocol, such as GB 28281-2016, Open Network Video Interface Forum (ONVIF), Real-Time Streaming Protocol (RTSP), etc. After accessing according to these protocols, when the security integration platform internally requests access to the streaming media, it usually converts it into an RTSP protocol media stream through a streaming media server for distribution and subsequent processing.

[0034] However, the service interfaces provided by the security inspection system do not form a unified standard. Therefore, when docking with the security inspection system, if you want to obtain the real-time X-ray images of the security inspection equipment, it is usually necessary for the security integration platform to dock with a specific manufacturer of the security inspection equipment through a private protocol. When the manufacturer of the security inspection equipment is changed, the security integration platform needs to re-dock the private protocol once, which involves a large amount of work and results in a low image transmission efficiency between the security inspection equipment and the security integration platform.

[0035] In view of the above problems, the embodiments of the present invention provide an image transmission method between a security inspection equipment and a security integration platform. In this method, since the data collected by the security inspection equipment includes image data, status data, security inspection images, or intelligent analysis data, etc., these data are essentially generated in the form of an image stream and can be regarded as a video media data in a custom encoding format in terms of format. Therefore, the RTSP protocol can be extended in both the security integration platform and the security inspection equipment, so that the image transmission between the security inspection equipment and the security integration platform can be realized based on the RTSP protocol. Since the transmission process uses a standard protocol, even if different security inspection equipment or equipment manufacturers are replaced, there is no need to re-dock the private protocol, which reduces the workload and improves the image transmission efficiency.

[0036] Before introducing the solution of the present invention, some terms and concepts involved in the present invention are introduced first: RTSP is an application layer protocol used to effectively transmit multimedia data over an Internet Protocol (IP) network. RTSP defines how one-to-many applications can transmit multimedia data over an IP network and is mainly used to control the transmission and playback of streaming media data. RTSP is widely used in fields such as video surveillance, distance education, remote conferencing and collaboration, Internet Protocol Television (IPTV), social media and short video platforms, monitoring and security systems, and telemedicine.

[0037] Figure 1 It is a schematic diagram of the relationship between the session channel and the media stream channel provided by the embodiments of the present invention, as Figure 1As shown, the session channel is responsible for establishing, managing, and controlling audio and video communication sessions, mainly including the Session Description Protocol (SDP) and the RTSP protocol. Among them, SDP is a text protocol for describing multimedia session parameters, with various parameters that can represent important information such as media type, encoding format, and the Uniform Resource Identifier (URI) of the resource. It can adapt to various real-time communication scenarios and can also be used within the RTSP protocol framework. Usually, SDP exchanges and transmits information through the DESCRIBE instruction in the RTSP protocol, providing all the necessary information for the client to start and control the streaming media. RTSP is used to control the transmission of audio and video streams and supports operations such as play, pause, and record. RTSP is usually used in conjunction with SDP, where SDP describes the session content and RTSP controls the session behavior.

[0038] The session channel conducts data transmission based on the Transmission Control Protocol / User Datagram Protocol (TCP / UDP) and finally realizes communication through IP.

[0039] The media stream channel is responsible for the actual transmission of audio and video data, mainly including the encoding format and the transmission protocol. Among them, the encoding format includes video encoding such as Moving Picture Experts Group-4 (MPEG-4), H.264 / H.265, which is used to compress video data and improve the transmission efficiency, and also includes audio encoding such as G.711, G.723.1, G.729, which is used to compress audio data and ensure voice quality.

[0040] RTSP is closely integrated with the Real-Time Transport Protocol (RTP) / Real-Time Transport Control Protocol (RTCP) to provide efficient streaming media transmission and control functions. After the RTSP session is established, RTP is responsible for transmitting the actual audio and video data streams, which support real-time and sequentiality. RTCP is used to monitor the quality of RTP transmission and provide feedback information such as packet loss rate, latency, and jitter. The media stream channel also conducts data transmission based on TCP / UDP and finally realizes communication through IP.

[0041] The following combines with Figures 2 to 4Describe the image transmission method between the security inspection device and the security integration platform provided by the embodiments of the present invention. The embodiments of the present invention can be applied to the scenario where the security inspection device transmits the collected security inspection images to the security integration platform so that the security integration platform can perform unified scheduling or processing. The execution subject of this method can be the security inspection device or the image transmission device between the security inspection device and the security integration platform set in the security inspection device. The image transmission device between the security inspection device and the security integration platform can be implemented by software, hardware, or a combination of both.

[0042] Figure 2 One of the flow schematic diagrams of the image transmission method between the security inspection device and the security integration platform provided by the embodiments of the present invention is as follows Figure 2 As shown, the method includes: Step 201: When receiving a session description request sent by the security integration platform based on the Real-Time Streaming Protocol (RTSP), send the SDP description information in the Session Description Protocol (SDP) to the security integration platform. The field value of the media type in the SDP description information includes a first field value used to represent the image stream, and the field value of the payload name in the SDP description information includes a second field value used to represent that the transmitted image stream is a security inspection image stream.

[0043] In this step, since RTSP is usually used for the transmission control of audio and video media streams, although the image-based data collected by the security inspection device is regarded as a media stream in the present invention, it is not a video and does not have video coding formats such as H.264 or H.265. Therefore, when transmitting images between the security inspection device and the security integration platform through the RTSP protocol in combination with the RTP protocol, it is necessary to customize and extend the SDP protocol message used in the RTSP protocol.

[0044] Specifically, the security integration platform sends a session description request to the security inspection device based on the RTSP protocol to obtain the media stream information supported by the security inspection device. Among them, the session description request can be, for example, the DESCRIBE signaling request of the RTSP protocol.

[0045] After receiving a session description request, the security inspection device will send the SDP description information in the SDP protocol to the security integration platform. Since the security inspection device sends an image stream instead of video to the security integration platform, it is necessary to modify the field values of the media type and the payload name in the SDP description information. Among them, the SDP protocol has an m attribute, which represents the media type (media). In this embodiment, the image-based data of the security inspection device can be regarded as video. Therefore, the field value of the m attribute can be modified to a first field value, which is used to characterize the image stream, and the first field value can be "video". In addition, the SDP protocol also provides an associated a attribute, which is a further explanation of the m attribute and includes the payload name, clock frequency, etc. In this embodiment, the field value of the payload name in the a attribute can be modified to a second field value, which is used to characterize that the transmitted image stream is a security inspection image stream, and the second field value can be, for example, "X-MEDIA".

[0046] Exemplarily, the content of the SDP protocol may include: m=video 0 TCP / RTP / AVP 98 a=rtpmap:98 X-MEDIA / 90000 It should be noted that the above protocol content is assigned according to the standard SDP protocol format. In this embodiment, only two attributes that need to modify the field values are listed, and the unlisted items can refer to the standard H.264 / H.265 SDP.

[0047] After the security inspection device sends the image data according to the above protocol agreement, the security integration platform needs to parse the X-MEDIA payload name in the SDP to distinguish the media stream that conforms to the standard protocol, such as the standard video surveillance media stream.

[0048] Step 202: Receive the stream transmission request sent by the security integration platform.

[0049] In this step, after receiving the SDP description information, the security integration platform will send a stream transmission request to the security inspection device to request the start of transmitting the security inspection image stream. Among them, the stream transmission request can be, for example, a PLAY signaling request of the RTSP protocol.

[0050] Step 203: Based on the stream transmission request, send the security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

[0051] In this step, after the security inspection device receives the stream transmission request sent by the security integration platform, the security inspection device encodes the security inspection images to be transmitted and sends them to the specified IP and port of the security integration platform through the RTP protocol. Among them, the RTP data packet contains information such as a timestamp and a sequence number, which can ensure that the security integration platform can correctly receive and decode the security inspection image stream.

[0052] For the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention, when the security inspection device receives the session description request sent by the security integration platform based on the RTSP protocol, the security inspection device sends the SDP description information in the SDP protocol to the security integration platform. The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream. After receiving the stream transmission request sent by the security integration platform, based on this stream transmission request, the security inspection device sends the security inspection image stream to the security integration platform through the RTP protocol. Since the field value of the media type and the field value of the payload name in the SDP description information are extended, the security inspection image stream can be transmitted based on the extended SDP description information in combination with the RTP protocol, realizing the data transmission between the security inspection device and the security integration platform through a standard protocol. Even when the security inspection device changes or the manufacturer is changed, there is no need to negotiate a private protocol anymore, reducing the workload and improving the transmission efficiency of the security inspection image stream.

[0053] Exemplarily, based on the above embodiment, when sending the security inspection image stream to the security integration platform through the RTP protocol, it can be performed in the following manner: For each frame of security inspection image, the security inspection image is sliced to obtain at least two sliced image data of the security inspection image. For each sliced image data, based on the identifier of the security inspection image, the identifier of the sliced image data, the data type of the sliced image data, the data length of the sliced image data, and the sliced image data, a sliced packet of the sliced image data is generated, and each sliced packet is sent to the security integration platform through the Real-time Transport Protocol (RTP).

[0054] Specifically, when sending data, it is necessary to use the RTP method for packaging. The data can include various data types. The data is in units of frames, and each frame of data can be a security inspection image or a complete unit of other types of data.

[0055] Taking the security inspection image as an example, due to the limitation of the Maximum Transmission Unit (MTU), the security inspection image will be fragmented and then packed into RTP packets for transmission. For example, for each frame of security inspection image, it can be divided into at least two fragmented image data according to a fixed size or logical area. Among them, for each fragmented image data, it is necessary to define the identifier of the security inspection image to which it belongs, the identifier of this fragmented image data, the data type of the fragmented image data, and the data length of the fragmented image data. These information and the fragmented image data itself are encapsulated to generate a fragmented packet of the fragmented image data. Among them, the format of the fragmented packet can be defined as Table 1: Table 1

[0056] Among them, the frame identifier (Identifier, ID) is used to represent the identifier of the security inspection image, that is, which security inspection image this fragmented packet belongs to. If the frame IDs in multiple fragmented packets are the same, it means that these fragmented packets are cut from the same frame of security inspection image, and these fragmented packets can form a frame of security inspection image. The data type is used to represent whether this frame is an image or other types of data, and the data length is used to represent the length of this fragmented packet. The fragmented image data includes a data header and a data body. The data header includes the identifier of the fragmented image data, that is, the serial number (Serial Number, SN) of the fragmented image data. When each frame of security inspection image is segmented, there will be a certain order. Therefore, an SN will be assigned to each fragmented image data based on this order. When the security integration platform assembles the fragmented packets later, it will also be assembled based on the order of the SNs included in each fragmented packet. The data body contains the image data obtained by fragmentation itself.

[0057] After the security inspection device encapsulates the security inspection image and obtains multiple fragmented packets, it will send each fragmented packet in sequence according to the fragmentation order. If the security integration platform detects a lost packet, it can be repaired through a retransmission mechanism or error recovery technology. In addition, for all the fragmented packets corresponding to each frame of security inspection image, the security inspection device can use a flag bit to identify the last fragmented packet corresponding to this security inspection image. In this way, after the security integration platform receives the marked last fragmented packet, it will start to reconstruct the security inspection image.

[0058] In this embodiment, by slicing the security inspection image and sending the obtained sliced packets to the security integration platform in the way of sliced packetization, the transmission efficiency and reliability can be effectively improved. In addition, by combining the header information of the RTP protocol and the attributes of the sliced data, the identification of the security inspection image, the identification of the sliced image data, the data type of the sliced image data, and the data length of the sliced image data can be carried in the sliced packet, so as to ensure the correct sending order of the sliced packet and ensure the integrity and resolvability of the sliced packet.

[0059] Exemplarily, on the basis of the above embodiment, when sending the security inspection image stream to the security integration platform through the Real-time Transport Protocol (RTP) based on the stream transmission request, it may be based on the stream transmission request to set the control parameters for transmitting the security inspection image stream. The control parameters include any one of the following: transmission rate, pause transmission, and start transmission. Based on the control parameters, the security inspection image stream is sent to the security integration platform through the RTP protocol.

[0060] Specifically, after the security integration platform sends a stream transmission request to the security inspection device, the security inspection device will set the control parameters for transmitting the security inspection image stream. The transmission rate in the control parameters is used to control the transmission speed of the image stream, such as the frame rate or bit rate. For example, the transmission rate is reduced to adapt to the network bandwidth limitation, or the transmission rate is increased to obtain a smoother image, etc. Pause transmission is used to temporarily stop the transmission of the image stream, such as pausing the transmission when the platform does not need real-time monitoring to save bandwidth and resources. Start transmission is used to resume or restart the transmission of the image stream, such as restarting the transmission when the platform needs to view real-time images.

[0061] After setting the above control parameters, the security inspection image stream will be sent to the security integration platform through the RTP protocol.

[0062] In this implementation, when performing image transmission between the security inspection device and the security integration platform, since the transmission can be carried out through a standard protocol, transmission control can be realized during the image transmission process, such as double-speed review of the images passing through the security inspection device, pause transmission, and continue transmission, etc., avoiding the phenomenon that transmission control cannot be carried out during the image transmission process when using a private protocol in the prior art, and improving the flexibility of image transmission.

[0063] Exemplarily, on the basis of the above embodiments, before receiving the stream transmission request sent by the security integration platform, the security inspection device can also receive the connection establishment request sent by the security integration platform, and based on the connection establishment request, negotiate the data transmission parameters with the security integration platform, and establish a connection between the security inspection device and the security integration platform based on the data transmission parameters.

[0064] Specifically, the security integration platform sends a connection establishment request to the security inspection device to establish a connection between the security inspection device and the security integration platform and negotiate data transmission parameters. Among them, the connection establishment request can be, for example, a SETUP signaling request in the RTSP protocol. The security inspection device negotiates and confirms the data transmission parameters with the security integration platform according to the parameters in the received connection establishment request. For example, the security inspection device sends RTP data packets through port 6000, and the security integration platform receives RTP data packets through port 5000, etc. Thus, based on the negotiated data transmission parameters, a connection between the security inspection device and the security integration platform is established.

[0065] In this embodiment, the data transmission parameters are negotiated through the connection establishment request, so that different network environments and device configurations can be adapted, and the flexibility of image transmission is improved.

[0066] Exemplarily, on the basis of the above embodiments, the security inspection device can also receive a connection disconnection request sent by the security integration platform. Based on the connection disconnection request, it stops sending the security inspection image stream to the security integration platform through the RTP protocol.

[0067] Specifically, when the security inspection device has sent all the security inspection images to the security integration platform, it will send an end flag to the security integration platform. At this time, the security integration platform will send a connection disconnection request to the security inspection device to notify the security inspection device to stop sending the image stream and release relevant resources. Among them, the connection disconnection request can be, for example, a TEARDOWN instruction in the RSTP protocol.

[0068] Based on the received connection disconnection request, the security inspection device will stop sending the security inspection image stream to the security integration platform and release relevant resources, such as closing the RTP and RTCP ports, and releasing resources such as memory and buffers related to the current session.

[0069] In this embodiment, after receiving the connection disconnection request sent by the security integration platform, the security inspection device will stop sending the security inspection image stream to the security integration platform, so that resources can be released in time and unnecessary bandwidth and device resource occupation can be avoided.

[0070] Figure 3 This is the second flow diagram of the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention. The execution subject of this embodiment is the security integration platform. As Figure 3 shown, the method includes: Step 301: Send a session description request to the security inspection device based on the RTSP protocol.

[0071] Step 302: Receive the SDP description information in the SDP protocol sent by the security inspection device. The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream.

[0072] Step 303: Send a stream transmission request to the security inspection device.

[0073] Step 304: Receive the security inspection image stream sent by the security inspection device through the RTP protocol.

[0074] Among them, the specific implementation methods and implementation principles of steps 301 - 304 are similar to those of steps 201 - 203. For specific content, reference can be made to the description of steps 201 - 203, which will not be elaborated here.

[0075] The image transmission method between the security inspection device and the security integration platform provided by the embodiments of the present invention sends a session description request to the security inspection device based on the RTSP protocol, and receives the SDP description information in the SDP protocol sent by the security inspection device. The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream. Then, a stream transmission request is sent to the security inspection device, and the security inspection image stream sent by the security inspection device through the RTP protocol is received. Since the security inspection device expands the field value of the media type and the field value of the payload name in the SDP description information, the security inspection image stream can be transmitted based on the expanded SDP description information in combination with the RTP protocol, realizing data transmission between the security inspection device and the security integration platform through standard protocols. Even when the security inspection device changes or the manufacturer is changed, there is no need to negotiate private protocols anymore, reducing the workload and improving the transmission efficiency of the security inspection image stream.

[0076] Exemplarily, based on the above embodiment, when receiving the security inspection image stream sent by the security inspection device through the RTP protocol, it may be to receive each shard packet sent by the security inspection device through the RTP protocol. The shard packet is generated by the security inspection device for each shard image data based on the identifier of the security inspection image, the identifier of the shard image data, the data type of the shard image data, the data length of the shard image data, and the shard image data. The shard image data is obtained by the security inspection device by sharding the security inspection image. The security inspection image stream is determined based on each shard packet.

[0077] Specifically, after receiving the shard packet, the security integration platform will cache each shard packet, and determine whether there are missing shard packets according to the identifier of the shard packet. If there are missing shard packets, they can be processed through a retransmission mechanism or an error recovery technology to obtain complete shard packets.

[0078] After receiving a complete fragmented packet, each fragmented packet will be parsed to extract the identifier of the security inspection image, the identifier of the fragmented image data, the data type of the fragmented image data, the data length of the fragmented image data, and the fragmented image data in the fragmented packet. Thus, through this information, the fragmented image data in the fragmented packet can be recombined or spliced to obtain each security inspection image.

[0079] In this embodiment, the security inspection device transmits the security inspection images in a fragmented packaging manner, which can reduce the size of a single data packet and reduce the risks of network congestion and packet loss.

[0080] Exemplarily, on the basis of the above embodiments, when determining the security inspection image stream based on each fragmented packet, it is possible to search for each target fragmented packet containing the identifier of the same security inspection image among all the received fragmented packets, and group the packets of all the target fragmented packets corresponding to the identifier of the same security inspection image based on the identifier of the fragmented image data included in each target fragmented packet to obtain the security inspection image.

[0081] Specifically, the identifier of the security inspection image is used to identify which frame of security inspection image each fragmented packet belongs to. Therefore, among all the received fragmented packets, it is possible to find each target fragmented packet containing the identifier of the same security inspection image, and these target fragmented packets are obtained by splitting from the same frame of security inspection image. In addition, the identifier of the fragmented image data can identify the position or sequence number of each fragmented packet in the entire frame of security inspection image. Therefore, based on the identifier of the fragmented image data included in each target fragmented packet, the fragmented image data in each target fragmented packet can be sorted and packetized sequentially, so as to obtain each frame of security inspection image.

[0082] In this embodiment, after finding each target fragmented packet containing the identifier of the same security inspection image, it is possible to group the packets of all the target fragmented packets corresponding to the identifier of the same security inspection image to obtain the security inspection image. Through the above method, the target fragmented packets can be quickly searched and sorted, improving the packetization efficiency.

[0083] Exemplarily, on the basis of the above embodiments, before sending a streaming transmission request to the security inspection device, the security integration platform can also send a connection establishment request to the security inspection device. The connection establishment request is used to instruct the security inspection device to negotiate data transmission parameters with the security integration platform and establish a connection between the security inspection device and the security integration platform based on the data transmission parameters.

[0084] Exemplarily, on the basis of the above embodiments, the security integration platform can also send a connection disconnection request to the security inspection device. The connection disconnection request is used to instruct the security inspection device to stop sending the security inspection image stream to the security integration platform through the RTP protocol.

[0085] Figure 4The signaling flowchart of the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention is as follows: Figure 4 As shown, the method includes: Step 401: The security integration platform sends a session description request to the security inspection device based on the RTSP protocol.

[0086] Step 402: The security inspection device sends the SDP description information in the SDP protocol to the security integration platform.

[0087] Among them, the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream.

[0088] Step 403: The security integration platform sends a stream transmission request to the security inspection device.

[0089] Step 404: Based on the stream transmission request, the security inspection device sends the security inspection image stream to the security integration platform through the RTP protocol.

[0090] For the image transmission method between the security inspection device and the security integration platform provided by the embodiment of the present invention, when the security inspection device receives the session description request sent by the security integration platform based on the RTSP protocol, it sends the SDP description information in the SDP protocol to the security integration platform. The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream. After receiving the stream transmission request sent by the security integration platform, based on this stream transmission request, it sends the security inspection image stream to the security integration platform through the RTP protocol. Since the field value of the media type and the field value of the payload name in the SDP description information are extended, the security inspection image stream can be transmitted based on the extended SDP description information in combination with the RTP protocol, realizing the data transmission between the security inspection device and the security integration platform through the standard protocol. Even when the security inspection device changes or the manufacturer is changed, there is no need to negotiate the private protocol anymore, reducing the workload and improving the transmission efficiency of the security inspection image stream.

[0091] Next, the image transmission device between the security inspection device and the security integration platform provided by the present invention will be described. The image transmission device between the security inspection device and the security integration platform described below can be correspondingly referred to the image transmission method between the security inspection device and the security integration platform described above.

[0092] Figure 5 One of the structural schematic diagrams of the image transmission device between the security inspection device and the security integration platform provided by the embodiment of the present invention is as follows: Figure 5As shown in the figure, the image transmission device 500 between the security inspection device and the security integration platform includes: A first sending module 11, configured to send SDP description information in the Session Description Protocol (SDP) to the security integration platform when receiving a session description request sent by the security integration platform based on the Real-Time Streaming Protocol (RTSP). The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; A first receiving module 12, configured to receive a stream transmission request sent by the security integration platform; The first sending module 11 is further configured to send a security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP) based on the stream transmission request.

[0093] In an exemplary embodiment, the first sending module 11 is specifically configured to: For each frame of the security inspection image, slice the security inspection image to obtain at least two sliced image data of the security inspection image; For each of the sliced image data, generate a slice packet of the sliced image data based on the identifier of the security inspection image, the identifier of the sliced image data, the data type of the sliced image data, the data length of the sliced image data, and the sliced image data; Send each of the slice packets to the security integration platform through the Real-Time Transport Protocol (RTP).

[0094] In an exemplary embodiment, the first sending module 11 is specifically configured to: Based on the stream transmission request, set control parameters for transmitting the security inspection image stream, where the control parameters include any one of the following: transmission rate, pause transmission, and start transmission; Based on the control parameters, send the security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

[0095] In an exemplary embodiment, the device further includes a negotiation module and an establishment module, where: The first receiving module 12 is further configured to receive a connection establishment request sent by the security integration platform; The negotiation module is configured to negotiate data transmission parameters with the security integration platform based on the connection establishment request; The establishment module is configured to establish a connection between the security inspection device and the security integration platform based on the data transmission parameters.

[0096] In an exemplary embodiment, the device further includes: a stop module, where: The first receiving module 12 is further configured to receive a connection disconnection request sent by the security integration platform; The stop module is configured to stop sending the security inspection image stream to the security integration platform via the RTP protocol based on the connection disconnection request.

[0097] The device in this embodiment can be used to execute the method in any one of the method embodiments of the image transmission method between the security inspection device and the security integration platform. The specific implementation process and technical effects are similar to those in the method embodiments of the image transmission method between the security inspection device and the security integration platform. For details, reference can be made to the detailed introduction in the method embodiments of the image transmission method between the security inspection device and the security integration platform, which will not be elaborated here.

[0098] Figure 6 FIG. 2 is a second schematic structural diagram of the image transmission device between the security inspection device and the security integration platform provided by the embodiment of the present invention. As Figure 6 shown, the image transmission device 600 between the security inspection device and the security integration platform includes: The second sending module 21 is configured to send a session description request to the security inspection device based on the RTSP protocol; The second receiving module 22 is configured to receive the SDP description information in the SDP protocol sent by the security inspection device. The field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; The second sending module 21 is configured to send a stream transmission request to the security inspection device; The second receiving module 22 is configured to receive the security inspection image stream sent by the security inspection device via the RTP protocol.

[0099] In an exemplary embodiment, the second receiving module 22 is specifically configured to: Receive each fragmented packet sent by the security inspection device via the RTP protocol. The fragmented packet is generated by the security inspection device for each fragmented image data based on the identifier of the security inspection image, the identifier of the fragmented image data, the data type of the fragmented image data, the data length of the fragmented image data, and the fragmented image data. The fragmented image data is obtained by fragmenting the security inspection image by the security inspection device; Determine the security inspection image stream based on each of the fragmented packets.

[0100] In an exemplary embodiment, the device further includes: a search module and a packet assembly module, where: The search module is configured to search for each target fragmented packet containing the same identifier of the security inspection image among all the received fragmented packets; The packet assembling module is configured to assemble all the target shard packets corresponding to the identifier of the same security inspection image based on the identifiers of the shard image data included in each of the target shard packets, to obtain the security inspection image.

[0101] In an exemplary embodiment, the second sending module 21 is specifically configured to: Send a connection establishment request to the security inspection device, where the connection establishment request is used to instruct the security inspection device to negotiate data transmission parameters with the security and protection integration platform, and based on the data transmission parameters, establish a connection between the security inspection device and the security and protection integration platform.

[0102] In an exemplary embodiment, the second sending module 21 is specifically configured to: Send a connection disconnection request to the security inspection device, where the connection disconnection request is used to instruct the security inspection device to stop sending the security inspection image stream to the security and protection integration platform through the RTP protocol.

[0103] The device in this embodiment can be used to execute the method in any of the method embodiments of the image transmission method between the security inspection device and the security and protection integration platform. Its specific implementation process and technical effects are similar to those in the method embodiments of the image transmission method between the security inspection device and the security and protection integration platform. Specifically, reference can be made to the detailed introduction in the method embodiments of the image transmission method between the security inspection device and the security and protection integration platform, which will not be elaborated here.

[0104] Figure 7 The following is a schematic physical structure diagram of an electronic device provided by an embodiment of the present invention. As Figure 7 shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730, and a communication bus 740. Among them, the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 can call the logical instructions in the memory 730 to execute the image transmission method between the security inspection device and the security and protection integration platform. The method includes: in the case of receiving a session description request sent by the security and protection integration platform based on the Real-Time Streaming Protocol (RTSP), sending SDP description information in the Session Description Protocol (SDP) to the security and protection integration platform, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; receiving a stream transmission request sent by the security and protection integration platform; and based on the stream transmission request, sending a security inspection image stream to the security and protection integration platform through the Real-Time Transport Protocol (RTP).

[0105] The processor 710 may invoke the logic instructions in the memory 730 to execute an image transmission method between the security inspection device and the security integration platform. The method includes: sending a session description request to the security inspection device based on the RTSP protocol; receiving the SDP description information in the SDP protocol sent by the security inspection device, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; sending a stream transmission request to the security inspection device; and receiving the security inspection image stream sent by the security inspection device via the RTP protocol.

[0106] In addition, when the logic instructions in the above-mentioned memory 730 can be implemented in the form of software functional units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0107] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the image transmission method between the security inspection device and the security integration platform provided by the above-mentioned various methods. The method includes: in the case of receiving a session description request sent by the security integration platform based on the real-time streaming protocol RTSP, sending the SDP description information in the session description protocol SDP to the security integration platform, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; receiving the stream transmission request sent by the security integration platform; and based on the stream transmission request, sending the security inspection image stream to the security integration platform via the real-time transport protocol RTP.

[0108] The computer is also capable of executing the image transmission method between the security inspection device and the security integration platform provided by each of the above methods. The method includes: sending a session description request to the security inspection device based on the RTSP protocol; receiving the SDP description information in the SDP protocol sent by the security inspection device, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; sending a stream transmission request to the security inspection device; and receiving the security inspection image stream sent by the security inspection device through the RTP protocol.

[0109] In another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is configured to execute the image transmission method between the security inspection device and the security integration platform provided by each of the above methods. The method includes: in the case of receiving a session description request sent by the security integration platform based on the Real-Time Streaming Protocol (RTSP), sending the SDP description information in the Session Description Protocol (SDP) to the security integration platform, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; receiving the stream transmission request sent by the security integration platform; and based on the stream transmission request, sending the security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

[0110] When the computer program is executed by a processor, it is configured to execute the image transmission method between the security inspection device and the security integration platform provided by each of the above methods. The method includes: sending a session description request to the security inspection device based on the RTSP protocol; receiving the SDP description information in the SDP protocol sent by the security inspection device, where the field value of the media type in the SDP description information includes a first field value for characterizing the image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; sending a stream transmission request to the security inspection device; and receiving the security inspection image stream sent by the security inspection device through the RTP protocol.

[0111] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.

[0112] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An image transmission method between a security inspection device and a security integration platform, characterized in that, Including: In the case of receiving a session description request sent by the security integration platform based on the Real-Time Streaming Protocol (RTSP), sending SDP description information in the Session Description Protocol (SDP) to the security integration platform, where the field value of the media type in the SDP description information includes a first field value for characterizing an image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; Receiving a stream transmission request sent by the security integration platform; Based on the stream transmission request, sending a security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

2. The method for image transmission between the security inspection device and the security integration platform according to claim 1, characterized in that, The sending of the security inspection image stream to the security integration platform through the RTP protocol includes: For each frame of the security inspection image, fragmenting the security inspection image to obtain at least two fragmented image data of the security inspection image; For each of the fragmented image data, generating a fragmented packet of the fragmented image data based on the identifier of the security inspection image, the identifier of the fragmented image data, the data type of the fragmented image data, the data length of the fragmented image data, and the fragmented image data; Sending each of the fragmented packets to the security integration platform through the Real-Time Transport Protocol (RTP).

3. The method for image transmission between the security inspection device and the security integration platform according to claim 1, wherein, The sending of the security inspection image stream to the security integration platform through the RTP protocol based on the stream transmission request includes: Based on the stream transmission request, setting control parameters for transmitting the security inspection image stream, where the control parameters include any one of the following: transmission rate, pause transmission, and start transmission; Based on the control parameters, sending the security inspection image stream to the security integration platform through the Real-Time Transport Protocol (RTP).

4. The method for image transmission between the security inspection device and the security integration platform according to claim 1, characterized in that, Before receiving the stream transmission request sent by the security integration platform, the method further includes: Receiving a connection establishment request sent by the security integration platform; Based on the connection establishment request, negotiating data transmission parameters with the security integration platform; Based on the data transmission parameters, establishing a connection between the security inspection device and the security integration platform.

5. The method for image transmission between the security inspection device and the security integration platform according to any one of claims 1-4, characterized in that The method further includes: Receiving a connection disconnection request sent by the security integration platform; Based on the connection disconnection request, stopping sending the security inspection image stream to the security integration platform through the RTP protocol.

6. A method for image transmission between a security inspection device and a security integration platform, characterized in that, Including: Sending a session description request to the security inspection device based on the RTSP protocol; Receiving SDP description information in the SDP protocol sent by the security inspection device, where the field value of the media type in the SDP description information includes a first field value for characterizing an image stream, and the field value of the payload name in the SDP description information includes a second field value for characterizing that the transmitted image stream is a security inspection image stream; Sending a stream transmission request to the security inspection device; Receiving the security inspection image stream sent by the security inspection device through the RTP protocol.

7. The method for image transmission between the security inspection device and the security integration platform according to claim 6, wherein, The receiving of the security inspection image stream sent by the security inspection device through the RTP protocol includes: Receive each fragmented packet sent by the security inspection device through the RTP protocol. The fragmented packet is generated by the security inspection device for each piece of fragmented image data based on the identifier of the security inspection image, the identifier of the fragmented image data, the data type of the fragmented image data, the data length of the fragmented image data, and the fragmented image data. The fragmented image data is obtained by the security inspection device fragmenting the security inspection image; Determine the security inspection image stream based on each of the fragmented packets.

8. The method for image transmission between the security inspection device and the security integration platform according to claim 7, wherein The determining the security inspection image stream based on each of the fragmented packets includes: Search for each target fragmented packet containing the identifier of the same security inspection image among all the received fragmented packets; Based on the identifiers of the fragmented image data included in each of the target fragmented packets, packetize all the target fragmented packets corresponding to the identifier of the same security inspection image to obtain the security inspection image.

9. The method for image transmission between the security inspection device and the security integration platform according to claim 6, wherein Before sending the stream transmission request to the security inspection device, the method further includes: Send a connection establishment request to the security inspection device. The connection establishment request is used to instruct the security inspection device to negotiate data transmission parameters with the security integration platform, and based on the data transmission parameters, establish a connection between the security inspection device and the security integration platform.

10. The method for image transmission between the security inspection device and the security integration platform according to any one of claims 6-9, characterized in that, The method further includes: Send a connection disconnection request to the security inspection device. The connection disconnection request is used to instruct the security inspection device to stop sending the security inspection image stream to the security integration platform through the RTP protocol.