Method and device for acquiring multi-camera data without protocol interface

By creating multiple users on a single smart terminal and using the RDP remote desktop protocol to acquire and convert video streams, the problem of acquiring multiple third-party platform video streams without protocol integration is solved, enabling fast and low-cost video stream acquisition and secondary analysis.

CN115665110BActive Publication Date: 2026-06-26GUANGZHOU ZHIPU TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGZHOU ZHIPU TECH CO LTD
Filing Date
2022-10-24
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing technologies make it difficult to acquire video streams from multiple third-party platforms simultaneously on a single smart terminal without protocol integration. This is mainly because third-party platforms do not provide dedicated API interfaces, and the workload of interface integration is large, making it difficult to quickly acquire video streams.

Method used

Multiple users are created on a single smart terminal, and video streams from third-party platforms under each user are obtained through the RDP remote desktop protocol, converted into general RTSP video streams, and automated scripts are used to automatically create, run, acquire, and delete the video streams and users, thus achieving multi-camera data acquisition without protocol interoperability.

Benefits of technology

It enables the simultaneous acquisition of multiple third-party platform video streams on a single smart terminal without protocol integration, simplifying interface integration, reducing development costs and time, and supporting secondary analysis and processing of video streams.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115665110B_ABST
    Figure CN115665110B_ABST
Patent Text Reader

Abstract

The application discloses a method for acquiring multi-path camera data without protocol docking, and belongs to the technical field of video processing. The application creates multiple users that can be logged in simultaneously on the same intelligent terminal, and runs a video stream acquisition application under each user to play the video stream currently played by the corresponding third-party platform. Then, the RDP remote desktop protocol is used to acquire the video stream currently played by each video stream acquisition application and convert the video stream into the RTSP video stream of the international general standard. Thus, the general video stream can be analyzed and processed twice, and the problems that the video stream of the third-party platform is difficult to acquire because the third-party platform does not open a special API interface for acquiring the video stream, and it is difficult to acquire multiple third-party platform video streams on a single intelligent terminal are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of video processing technology, and specifically to a method and apparatus for acquiring data from multiple cameras without protocol interfacing. Background Technology

[0002] In some application scenarios, such as live video surveillance, it is necessary to monitor numerous third-party video service platforms simultaneously. During monitoring, it may be necessary to acquire video streams from multiple cameras on each platform for storage or secondary applications. However, these video streams can only be viewed online. Acquiring these third-party platform video streams typically requires protocol integration between the local platform and the remote third-party platform. However, due to the following reasons, it is difficult for the local end to acquire video stream data from third-party platforms:

[0003] 1. Third-party platforms need to grant access to the dedicated API interface for video streaming, but most third-party platforms do not open up their dedicated API interfaces to the public.

[0004] 2. Even if a third-party platform is willing to open its dedicated API interface, the large number of third-party platforms that may be connected at the same time will require a lot of development work for interface integration and a certain amount of project funding, making it difficult to quickly obtain video streams from third-party platforms. Summary of the Invention

[0005] This invention aims to enable simultaneous acquisition of video streams from multiple third-party platforms on a single smart terminal without requiring a dedicated video stream acquisition API interface from a third-party platform. It provides a method and apparatus for acquiring data from multiple cameras without protocol integration.

[0006] To achieve this objective, the present invention adopts the following technical solution:

[0007] A method for acquiring data from multiple cameras without protocol interfacing is provided, including the following steps:

[0008] Several users are created on a single smart terminal, and the video stream under each user on the smart terminal is obtained and played by the application corresponding to the video stream currently being played on a third-party platform.

[0009] The application obtains the currently playing video stream through the RDP remote desktop protocol and converts it into a general video stream.

[0010] Preferably, the method for creating the user, automatically acquiring the video stream, and deleting the user is as follows:

[0011] Create a list of multiple video streams;

[0012] Execute an automated script to select several video streams from the list to acquire tasks;

[0013] The automated script creates a separate user for each selected video stream acquisition task;

[0014] The automated script automatically starts the video stream acquisition application and runs it under each of the created users, and controls each video stream acquisition application to play the video stream currently being played by the corresponding third-party platform;

[0015] Determine whether the acquired video stream needs to be forwarded.

[0016] If so, the automated script forwards the acquired video stream to the outside.

[0017] If not, the corresponding user will be automatically deleted after the video stream is acquired.

[0018] Preferably, the video stream obtained by the RDP remote desktop protocol is converted into an RTSP video stream as the universal video stream.

[0019] The present invention also provides a system for acquiring data from multiple cameras without protocol interfacing, comprising several smart terminals that execute the method for acquiring data from multiple cameras without protocol interfacing.

[0020] The present invention also provides a device for acquiring multi-camera data without protocol interfacing, comprising a smart terminal and a video stream acquisition application running on the smart terminal, wherein the smart terminal includes:

[0021] The multi-user creation module is used to create several users who can log in simultaneously on the smart terminal according to the multi-user creation instructions;

[0022] Each of the aforementioned video stream acquisition applications includes:

[0023] The video stream acquisition module, connected to the multi-user creation module, is used to acquire the video stream currently being played by the third-party platform of the video stream acquisition application running under the corresponding user through the RDP remote desktop protocol according to the video stream acquisition instruction.

[0024] The video stream conversion module, connected to the video stream acquisition module, is used to convert the acquired video stream into a general video stream.

[0025] Preferably, the video stream conversion module converts the video stream into an RTSP video stream as the universal video stream.

[0026] This invention creates multiple users who can log in simultaneously on the same smart terminal, and runs a video stream acquisition application under each user to play the video stream currently being played on the corresponding third-party platform. Then, it uses the RDP remote desktop protocol to acquire the video stream currently being played by each video stream acquisition application and converts it into an internationally recognized standard RTSP video stream. This allows for secondary analysis and processing of the general video stream, solving the current problems of difficulty in acquiring third-party platform video streams due to the lack of dedicated API interfaces for video stream acquisition on third-party platforms, and the difficulty in acquiring multiple third-party platform video streams simultaneously on a single smart terminal. Attached Figure Description

[0027] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0028] Figure 1 This is a diagram illustrating the implementation steps of a method for acquiring multi-camera data without protocol interfacing, according to an embodiment of the present invention.

[0029] Figure 2 This is a schematic diagram of the structure of a device for acquiring multi-camera data without protocol interfacing, according to an embodiment of the present invention.

[0030] Figure 3 This is a logical diagram of how the video stream obtained through the RDP remote desktop protocol is converted into a general video stream in this embodiment. Detailed Implementation

[0031] The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0032] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual images. They should not be construed as limiting the scope of this patent. To better illustrate the embodiments of the present invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual dimensions of the product. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0033] In the accompanying drawings of the embodiments of the present invention, the same or similar reference numerals correspond to the same or similar components. In the description of the present invention, it should be understood that if terms such as "upper," "lower," "left," "right," "inner," and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting the present patent. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.

[0034] In the description of this invention, unless otherwise explicitly specified and limited, the term "connection" or similar designation indicating a connection between components should be interpreted broadly. For example, it can refer to a fixed connection, a detachable connection, or an integral part; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can refer to the internal communication between two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0035] The method for acquiring multi-camera data without protocol interfacing provided in this embodiment of the invention, such as... Figure 1 As shown, the steps include:

[0036] S1 creates several users on a single smart terminal, and simultaneously runs the video stream of each user on the smart terminal to obtain the video stream currently being played on the corresponding third-party platform.

[0037] S2 obtains each video stream via the RDP (Remote Desktop Protocol), acquires the currently playing video stream from the application, converts it into a general video stream, and then forwards it.

[0038] In step S1, there are many existing methods for creating multiple users on a single smart terminal and enabling simultaneous login by multiple users, which will not be specifically described here. For example:

[0039] To facilitate secondary analysis and processing of the acquired video stream, it is preferable to convert the video stream obtained through the RDP remote desktop protocol into an RTSP (Real Time Strength Protocol) video stream as a universal video stream (for the video conversion principle, please refer to...). Figure 3 ).

[0040] A single smart terminal can only create a limited number of users and has limited data processing capabilities. When there are many third-party platforms that need to be monitored simultaneously, a single smart terminal may not be able to meet the simultaneous monitoring requirements. Therefore, in order to solve this problem, the present invention also provides a system for acquiring data from multiple cameras without protocol interfacing. This system consists of several smart terminals that perform the above-mentioned acquisition of data from multiple cameras without protocol interfacing.

[0041] When there are a large number of third-party platforms that need to be monitored simultaneously, manually creating multiple user processes on each smart terminal in the system is tedious and involves a high degree of repetition. Therefore, to solve this problem, this invention develops an automated script to automatically create users on each smart terminal in the system, automatically open the video stream acquisition application under the created users, and automatically delete the created users after the video stream acquisition is completed. The specific method is as follows:

[0042] Create a list of multiple video streams;

[0043] Execute an automated script to select several video streams from the list to acquire tasks;

[0044] The automated script creates a separate user for each selected video stream acquisition task. For example, it creates a user n for the nth video stream acquisition task in the list.

[0045] The automated script automatically starts the video stream acquisition application and runs under each created user to obtain the video stream currently playing on the corresponding third-party platform;

[0046] If the acquired video stream needs to be forwarded, the automated script will forward the acquired video stream; otherwise, user n will be automatically deleted after the video stream acquisition is completed.

[0047] This invention also provides a device for acquiring data from multiple cameras without protocol interfacing, such as... Figure 2 As shown, the device includes a smart terminal and a video streaming application running on the smart terminal. The smart terminal includes:

[0048] The multi-user creation module is used to create several users who can log in simultaneously on a smart terminal according to multi-user creation instructions;

[0049] Each video stream acquisition application includes:

[0050] The video stream acquisition module connects to the multi-user creation module and is used to acquire the video stream currently being played by the third-party platform of the application running under the corresponding user through the RDP remote desktop protocol according to the video stream acquisition command.

[0051] The video stream conversion module, connected to the video stream acquisition module, is used to convert the video stream obtained by the RDP remote desktop protocol into a general video stream (preferably an RTSP video stream).

[0052] In summary, this invention creates multiple users who can log in simultaneously on the same smart terminal, and runs a video stream acquisition application under each user to play the video stream currently being played on the corresponding third-party platform. Then, it uses the RDP remote desktop protocol to acquire the video stream currently being played by each video stream acquisition application and converts it into an internationally recognized standard RTSP video stream. This allows for secondary analysis and processing of the general video stream, solving the current problems of difficulty in acquiring third-party platform video streams due to the lack of dedicated API interfaces for video stream acquisition on third-party platforms, and the difficulty in simultaneously acquiring multiple third-party platform video streams on a single smart terminal.

[0053] It should be stated that the above-described specific embodiments are merely preferred embodiments of the present invention and the technical principles employed. Those skilled in the art should understand that various modifications, equivalent substitutions, and variations can be made to the present invention. However, such variations, as long as they do not depart from the spirit of the present invention, should be within the scope of protection of the present invention. Furthermore, some terminology used in this specification and claims is not limiting, but merely for ease of description.

Claims

1. A method for acquiring data from multiple cameras without protocol interfacing, characterized in that, Including the following steps: Create several independent user sessions that can log in simultaneously on a single smart terminal; In each user session, a video streaming application is run to play the video stream currently being played on the corresponding third-party platform; The application obtains the currently playing video stream for each video stream via the RDP remote desktop protocol and converts it into a general video stream.

2. The method for acquiring multi-camera data without protocol interfacing as described in claim 1, characterized in that, The method for creating the user, automatically acquiring the video stream, and deleting the user is as follows: Create a list of multiple video streams; Execute an automated script to select several video streams from the list to acquire tasks; The automated script creates a separate user for each selected video stream acquisition task; The automated script automatically starts the video stream acquisition application and runs it under each of the created users, and controls each video stream acquisition application to play the video stream currently being played by the corresponding third-party platform; Determine whether the acquired video stream needs to be forwarded. If so, the automated script forwards the acquired video stream to the outside. If not, the corresponding user will be automatically deleted after the video stream is acquired.

3. The method for acquiring multi-camera data without protocol interfacing as described in claim 1, characterized in that, The video stream obtained by the RDP remote desktop protocol is converted into an RTSP video stream as the general video stream.

4. A system for acquiring data from multiple cameras without protocol interfacing, characterized in that, It consists of several smart terminals that perform the method for acquiring multi-camera data without protocol interfacing as described in any one of claims 1-3.

5. A device for acquiring data from multiple cameras without protocol interfacing, characterized in that, This includes a smart terminal and a video streaming application running on the smart terminal, wherein the smart terminal includes: The multi-user creation module is used to create several users who can log in simultaneously on the smart terminal according to the multi-user creation instructions; Each of the aforementioned video stream acquisition applications includes: The video stream acquisition module, connected to the multi-user creation module, is used to acquire the video stream currently being played by the third-party platform of the video stream acquisition application running under the corresponding user through the RDP remote desktop protocol according to the video stream acquisition instruction. The video stream conversion module, connected to the video stream acquisition module, is used to convert the acquired video stream into a general video stream.

6. The apparatus for acquiring multi-camera data without protocol interfacing as described in claim 5, characterized in that, The video stream conversion module converts the video stream into an RTSP video stream as the general video stream.