Intelligent adaptation method and device for multi-element video protocol

By using an intelligent adaptation method to detect the interaction type of video devices and configure protocol parameters, the problem of low efficiency in video protocol switching is solved, and efficient and unified management of all video devices is achieved.

CN115567618BActive Publication Date: 2025-11-11SHENZHEN POWER SUPPLY BUREAU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211226816.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2025-11-11
Estimated Expiration
2042-10-09

AI Technical Summary

Technical Problem

In the power supply bureau's data maintenance work, frequent switching of video protocols leads to low management efficiency and a high probability of errors in video equipment, making it impossible to achieve unified management of all video equipment.

Method used

This paper provides an intelligent adaptation method for multiple video protocols. By detecting the interaction type of the docking command, the method automatically configures the interface parameters using a preset protocol adaptation program to realize data interaction operations between the terminal or platform, thereby improving the accuracy and efficiency of protocol adaptation.

Benefits of technology

It improves the accuracy of video protocol adaptation and control efficiency, reduces the error rate of operation, and enhances the management efficiency and accuracy of global video devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567618B_ABST
    Figure CN115567618B_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent adaptation method and apparatus for multiple video protocols. The method includes: when a docking instruction requiring data interaction with video data stored on a target monitoring device is detected, determining the interaction type of the docking instruction, where the interaction type includes terminal or platform type, with the terminal / platform type being the type corresponding to the interaction end of the video data; when it is a terminal type, configuring parameters of a first interaction interface according to a first protocol adaptation program, and performing data interaction operations on the interaction terminal according to the first interaction interface and the first protocol adaptation program; when it is a platform type, determining the interface information of a second interaction interface of the interaction platform submitting the docking instruction and a second protocol adaptation program matching the interface function, and performing data interaction operations on the interaction platform according to the second protocol adaptation program. It is evident that implementing this invention automatically adjusts and adapts the video protocol, improving the success rate of video data interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of protocol adaptation and management technology, and in particular to an intelligent adaptation method and apparatus for multiple video protocols. Background Technology

[0002] In the daily data maintenance work of the power supply bureau, the data maintenance center needs to access the video equipment of the whole system. The operating areas configured for each video equipment are also different, including multiple business domains such as safety monitoring, power transmission, substation, marketing, and office security. In addition, based on the global monitoring requirements, the models of video equipment used in different business domains cannot be unified.

[0003] In summary, during the process of connecting to video devices globally and exchanging video data, the data maintenance center needs to frequently switch video protocols for different video device models to ensure successful control of the currently connected video devices. However, frequent switching of video protocols results in low control efficiency for both global and partial video devices, and a high probability of errors when performing control operations. Therefore, improving the accuracy of switching video protocols to enhance the efficiency and accuracy of controlling global video devices is crucial. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide an intelligent adaptation method and device for multiple video protocols, which can adjust the video protocols adapted to data interaction according to usage requirements, improve the accuracy of video protocol adaptation, improve the accuracy of video data interaction, and improve the control efficiency and accuracy of video devices at the interaction end.

[0005] To address the aforementioned technical problems, the first aspect of this invention discloses an intelligent adaptation method for multiple video protocols, the method comprising:

[0006] Detect whether a docking command exists. The docking command is a command generated when data interaction operations are required on the video data stored by the target monitoring device.

[0007] When the docking command is detected, the interaction type of the docking command is determined. The interaction type includes terminal type or platform type. The terminal type is the type corresponding to the terminal on which the video data is interacted, and the platform type is the type corresponding to the platform on which the video data is interacted.

[0008] When the interaction type is the terminal type, the parameters of the first interaction interface are configured according to the preset first protocol adaptation program, and the data interaction operation is performed on the interaction terminal according to the first interaction interface and the first protocol adaptation program. The first interaction interface is used to realize data interaction with the interaction terminal. The interaction terminal is a terminal that submits the docking instruction and stores the video data.

[0009] When the interaction type is the platform type, determine the interface information of the second interaction interface of the interaction platform, wherein the interaction platform is the platform that submits the docking instruction, and the interface information includes the interface function of the second interaction interface;

[0010] Based on the interface information, a second protocol adapter program matching the interface function is determined, and data interaction operations are performed on the interactive platform according to the second protocol adapter program.

[0011] As an optional implementation, in the first aspect of the present invention, the step of performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter includes:

[0012] Based on the first interaction interface, the device login information of all the target authorized devices is determined, wherein the target authorized device is the target monitoring device that is authorized to perform the data interaction operation;

[0013] According to the docking instructions, a control task is determined. The control task includes multiple sub-control tasks. Each sub-control task is used to perform control operations on at least one of the target authorized devices. The control operations include data control operations on the data stored by the target authorized device and / or range control operations on the monitoring range of the target authorized device.

[0014] Based on all the sub-control tasks, perform the control operation on all the target authorized devices corresponding to the sub-control task.

[0015] As an optional implementation, in the first aspect of the present invention, the interface configuration information of the first interactive interface is collected;

[0016] The interface configuration information is compared with the preset initialization configuration information to obtain a comparison result. When the comparison result indicates that the initialization configuration information and the interface configuration information are inconsistent, the interface configuration information is updated according to the initialization configuration information.

[0017] After confirming that the interface configuration information is consistent with the initialization configuration information, an authorization identifier for the target monitoring device is generated based on the preset first protocol adaptation degree and the device information of the target monitoring device, and the execution of the data interaction operation performed on the interactive terminal according to the first interaction interface and the first protocol adaptation program is triggered. The authorization identifier is used to authorize the interactive terminal to perform the data interaction operation.

[0018] As an optional implementation, in the first aspect of the present invention, before determining a second protocol adapter matching the interface function based on the interface information, the method further includes:

[0019] Collect all platform service interface information stored in the database, with each platform service interface corresponding to a platform service interaction function;

[0020] Based on all the platform service interface information and a preset protocol adaptation scheme, a target protocol adaptation program is generated for each of the platform service interfaces.

[0021] The step of determining a second protocol adapter program that matches the interface function based on the interface information includes:

[0022] Based on the interface information, a target protocol adapter that matches the interface information is retrieved from all the adapter interfaces corresponding to the target protocol adapters, and used as the second protocol adapter that matches the interface function.

[0023] As an optional implementation, in the first aspect of the present invention, before performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter, the method further includes:

[0024] According to the preset terminal joint debugging scheme, configure debugging parameters for data interaction debugging operations on the interactive terminal. The debugging parameters include at least one of the following: video terminal registration parameters, network parameters, encoding parameters, and streaming host parameters.

[0025] Obtain device information for all access devices in the target debugging service domain, wherein the target debugging service domain is the service domain that performs the data interaction debugging operation, and the target monitoring device includes the access device;

[0026] Based on the terminal joint debugging scheme, the debugging parameters, and the device information of all the access devices, data interaction debugging operations are performed on all the access devices in each target debugging service domain to obtain the debugging results corresponding to each target debugging service domain. When it is determined that the debugging results corresponding to all the target debugging service domains meet the preset debugging requirements, the data interaction operation performed on the interactive terminal based on the first interaction interface and the first protocol adaptation program is triggered.

[0027] As an optional implementation, in the first aspect of the present invention, the debugging result corresponding to each target debugging service domain includes the debugging values ​​of all access devices in the target debugging service domain, and the debugging data of each access device is used to calculate the debugging compliance value of the target debugging service domain corresponding to the access device; the method further includes:

[0028] For each target debugging service domain, the debugging compliance value of the target debugging service domain is calculated based on the debugging value of each access device in the target debugging service domain.

[0029] From all the target debugging service domains, determine the values ​​to be corrected that are lower than a preset first debugging threshold among all the debugging compliance values, the service domain to be corrected corresponding to each value to be corrected, and the device to be corrected corresponding to each service domain to be corrected. The device to be corrected is the device whose debugging value is lower than a preset second debugging threshold.

[0030] According to the determined correction scheme, a device correction operation is performed on all devices in all the service domains to be corrected, so as to adjust the debugging compliance value corresponding to the service domain to be corrected to be higher than the first debugging threshold. After it is determined that the debugging compliance value of all the target debugging service domains is higher than the first debugging threshold, the data interaction operation of the interactive terminal according to the first interaction interface and the first protocol adaptation program is triggered.

[0031] As an optional implementation, in the first aspect of the present invention, before performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter, the method further includes:

[0032] Determine the protocol version of the protocol that the first protocol adapter is compatible with;

[0033] Determine whether the protocol version compatible with the first protocol adapter program matches the protocol version corresponding to the interactive terminal. If the determination result is yes, trigger the execution of the data interaction operation on the interactive terminal based on the first interaction interface and the first protocol adapter program.

[0034] When the determination result is negative, a target protocol adapter program matching the protocol version corresponding to the interactive terminal is determined from the preset protocol adapter program library, and the first protocol adapter program is updated according to the target protocol adapter program, and the data interaction operation performed on the interactive terminal according to the first interaction interface and the first protocol adapter program is triggered. The protocol adapter program library includes the first protocol adapter program.

[0035] A second aspect of the present invention discloses an intelligent adaptation device for multiple video protocols, the device comprising:

[0036] The detection module is used to detect whether a docking command exists. The docking command is a command generated when data interaction operations are required on the video data stored in the target monitoring device.

[0037] The determination module is used to determine the interaction type of the docking instruction when the docking instruction is detected. The interaction type includes terminal type or platform type. The terminal type is the type corresponding to the terminal on which the video data is interacted, and the platform type is the type corresponding to the platform on which the video data is interacted.

[0038] The parameter configuration module is used to configure the parameters of the first interaction interface according to a preset first protocol adapter program when the interaction type is the terminal type.

[0039] The first interaction module is used to perform data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter program. The first interaction interface is used to realize data interaction with the interactive terminal. The interactive terminal is a terminal that submits the docking instruction and stores the video data.

[0040] The determining module is further configured to determine the interface information of the second interaction interface of the interaction platform when the interaction type is the platform type, wherein the interaction platform is the platform that submits the docking instruction, and the interface information includes the interface function of the second interaction interface.

[0041] The second interaction module is used to determine a second protocol adapter program that matches the interface function based on the interface information, and to perform data interaction operations on the interaction platform based on the second protocol adapter program.

[0042] As an optional implementation, in a second aspect of the present invention, the method by which the first interaction module performs data interaction operations on the interaction terminal according to the first interaction interface and the first protocol adapter specifically includes:

[0043] Based on the first interaction interface, the device login information of all the target authorized devices is determined, wherein the target authorized device is the target monitoring device that is authorized to perform the data interaction operation;

[0044] According to the docking instructions, a control task is determined. The control task includes multiple sub-control tasks. Each sub-control task is used to perform control operations on at least one of the target authorized devices. The control operations include data control operations on the data stored by the target authorized device and / or range control operations on the monitoring range of the target authorized device.

[0045] Based on all the sub-control tasks, perform the control operation on all the target authorized devices corresponding to the sub-control task.

[0046] As an optional implementation, in the second aspect of the present invention, the parameter configuration module configures the parameters of the first interactive interface according to a preset first protocol adaptation program in a manner that specifically includes:

[0047] Collect the interface configuration information of the first interactive interface;

[0048] The interface configuration information is compared with the preset initialization configuration information to obtain a comparison result. When the comparison result indicates that the initialization configuration information and the interface configuration information are inconsistent, the interface configuration information is updated according to the initialization configuration information.

[0049] After confirming that the interface configuration information is consistent with the initialization configuration information, an authorization identifier for the target monitoring device is generated based on the preset first protocol adaptation degree and the device information of the target monitoring device, and the first interaction module is triggered to perform the data interaction operation on the interaction terminal according to the first interaction interface and the first protocol adaptation program. The authorization identifier is used to authorize the interaction terminal to perform the data interaction operation.

[0050] As an optional implementation, in a second aspect of the invention, the apparatus further includes:

[0051] The data acquisition module is used to collect all platform service interface information stored in the database before the determining module determines the second protocol adapter program that matches the interface function based on the interface information. Each platform service interface corresponds to a platform service interaction function.

[0052] The generation module is used to generate a target protocol adapter program for each of the platform service interfaces based on all the platform service interface information and a preset protocol adaptation scheme.

[0053] The method by which the determining module determines the second protocol adapter program that matches the interface function based on the interface information specifically includes:

[0054] Based on the interface information, a target protocol adapter that matches the interface information is retrieved from all the adapter interfaces corresponding to the target protocol adapters, and used as the second protocol adapter that matches the interface function.

[0055] As an optional implementation, in a second aspect of the present invention, the parameter configuration module is further configured to configure debugging parameters for performing data interaction debugging operations on the interactive terminal according to a preset terminal joint debugging scheme before the first interaction module performs data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adaptation program. The debugging parameters include at least one of the following parameters: video terminal registration parameters, network parameters, encoding parameters, and streaming host parameters.

[0056] The device further includes:

[0057] The acquisition module is used to acquire device information of all access devices in the target debugging service domain, wherein the target debugging service domain is the service domain that performs the data interaction debugging operation, and the target monitoring device includes the access device.

[0058] The debugging module is used to perform data interaction debugging operations on all access devices in each target debugging service domain according to the terminal joint debugging scheme, the debugging parameters, and the device information of all access devices, to obtain the debugging results corresponding to each target debugging service domain. When it is determined that the debugging results corresponding to all target debugging service domains meet the preset debugging requirements, the first interaction module is triggered to perform data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adaptation program.

[0059] As an optional implementation, in a second aspect of the invention, the debugging result corresponding to each target debugging service domain includes the debugging values ​​of all access devices in the target debugging service domain, and the debugging data of each access device is used to calculate the debugging compliance value of the target debugging service domain corresponding to the access device; the apparatus further includes:

[0060] The calculation module is used to calculate the debugging compliance value of each target debugging service domain based on the debugging value of each access device in the target debugging service domain.

[0061] The determining module is further configured to determine, from all the target debugging service domains, all the debugging compliance values ​​that are lower than a preset first debugging threshold, the service domain to be corrected corresponding to each of the values ​​to be corrected, and the device to be corrected corresponding to each of the service domains to be corrected, wherein the device to be corrected is a device whose debugging value is lower than a preset second debugging threshold.

[0062] The correction module is used to perform device correction operations on all devices to be corrected in all the service domains to be corrected according to the determined correction scheme, so as to adjust the debugging compliance value corresponding to the service domain to be corrected to be higher than the first debugging threshold, and after determining that the debugging compliance value of all the target debugging service domains is higher than the first debugging threshold, trigger the first interaction module to perform the data interaction operation on the interactive terminal according to the first interaction interface and the first protocol adaptation program.

[0063] As an optional implementation, in a second aspect of the present invention, the determining module is further configured to determine the protocol version of the protocol compatible with the first protocol adapter before the first interaction module performs a data interaction operation on the interaction terminal according to the first interaction interface and the first protocol adapter.

[0064] The device further includes:

[0065] The judgment module is used to determine whether the protocol version of the protocol compatible with the first protocol adapter program matches the protocol version corresponding to the interactive terminal. When the judgment result is yes, the first interaction module is triggered to perform the data interaction operation on the interactive terminal according to the first interaction interface and the first protocol adapter program.

[0066] The determining module is further configured to, when the judgment result of the judging module is negative, determine a target protocol adapter program from a preset protocol adapter program library that matches the protocol version corresponding to the interactive terminal, update the first protocol adapter program according to the target protocol adapter program, and trigger the first interaction module to perform the data interaction operation on the interactive terminal according to the first interaction interface and the first protocol adapter program, wherein the protocol adapter program library includes the first protocol adapter program.

[0067] A third aspect of this invention discloses another intelligent adaptation device for multiple video protocols, the device comprising:

[0068] Memory containing executable program code;

[0069] A processor coupled to the memory;

[0070] The processor calls the executable program code stored in the memory to execute the intelligent adaptation method for multiple video protocols disclosed in the first aspect of the present invention.

[0071] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute the intelligent adaptation method for multiple video protocols disclosed in the first aspect of the present invention.

[0072] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0073] This invention provides an intelligent adaptation method for multiple video protocols. The method includes: detecting the existence of a docking instruction, where the docking instruction is an instruction generated when data interaction is required on video data stored by a target monitoring device; when a docking instruction is detected, determining the interaction type of the docking instruction, where the interaction type includes terminal type or platform type, where the terminal type is the type corresponding to the video data interaction end, and the platform type is the type corresponding to the video data interaction end; when the interaction type is terminal type, configuring parameters of a first interaction interface according to a preset first protocol adaptation program, and performing data interaction operations on the interaction terminal according to the first interaction interface and the first protocol adaptation program, where the first interaction interface is used to realize data interaction with the interaction terminal, and the interaction terminal is the terminal that submits the docking instruction and stores video data; when the interaction type is platform type, determining the interface information of a second interaction interface of the interaction platform, where the interaction platform is the platform that submits the docking instruction, and the interface information includes the interface function of the second interaction interface; and determining a second protocol adaptation program matching the interface function according to the interface information, and performing data interaction operations on the interaction platform according to the second protocol adaptation program. As can be seen, implementing this invention enables automatic analysis of the interaction type after detecting the docking command, and intelligent execution of the protocol adaptation process corresponding to the interaction type, thereby improving the accuracy of subsequent protocol adaptation. Furthermore, it provides corresponding video protocol adaptation solutions for terminal or platform types, improving the efficiency and accuracy of switching and adapting video protocols when the data upload end of the monitoring device is a terminal or platform. At the same time, it improves the efficiency and accuracy of subsequent management and control of the monitoring device through the adapted video protocol. Attached Figure Description

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

[0075] Figure 1 This is a flowchart illustrating an intelligent adaptation method for multiple video protocols disclosed in an embodiment of the present invention.

[0076] Figure 2 This is a flowchart illustrating another intelligent adaptation method for multiple video protocols disclosed in an embodiment of the present invention.

[0077] Figure 3 This is a schematic diagram of the structure of an intelligent adaptation device for multiple video protocols disclosed in an embodiment of the present invention;

[0078] Figure 4 This is a schematic diagram of the structure of another intelligent adaptation device for multiple video protocols disclosed in an embodiment of the present invention;

[0079] Figure 5 This is a schematic diagram of the structure of another intelligent adaptation device for multiple video protocols disclosed in the embodiments of the present invention. Detailed Implementation

[0080] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0081] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.

[0082] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0083] This invention discloses an intelligent adaptation method and apparatus for multiple video protocols. Upon detecting a docking command, it automatically analyzes the interaction type and intelligently executes the corresponding protocol adaptation process, improving the accuracy of subsequent protocol adaptation. Furthermore, it provides corresponding video protocol adaptation schemes for different terminal or platform types, improving the efficiency and accuracy of switching adapted video protocols when the data upload end of the monitoring device is a terminal or platform. This also improves the efficiency and accuracy of subsequent management of the monitoring device through the adapted video protocol. Detailed descriptions follow.

[0084] Example 1

[0085] Please see Figure 1 , Figure 1 This is a flowchart illustrating an intelligent adaptation method for multiple video protocols disclosed in an embodiment of the present invention. Figure 1 The described intelligent adaptation method for multiple video protocols can be applied to intelligent adaptation devices for multiple video protocols, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the intelligent adaptation method for this multi-video protocol can include the following operations:

[0086] 101. Check if there is a docking command. The docking command is a command generated when data interaction is required on the video data stored in the target monitoring device.

[0087] In this embodiment of the invention, the monitoring and detection of docking commands can be achieved through a streaming media platform, but this embodiment of the invention is not limited thereto.

[0088] 102. When a docking command is detected, determine the interaction type of the docking command. The interaction type includes terminal type or platform type.

[0089] In this embodiment of the invention, the terminal type is the interaction terminal corresponding to the video data, and the platform type is the interaction terminal corresponding to the video data. In practical applications, when the adaptation data stored by the target monitoring device is uploaded to any storage terminal, data interaction is performed by establishing an interaction with the storage terminal. The interaction type is the terminal type. Similarly, when the adaptation data stored by the target monitoring device is uploaded to any storage platform, data interaction is performed by establishing an interaction with the storage platform. The interaction type is the platform type. This embodiment of the invention does not impose any limitations.

[0090] 103. When the interaction type is terminal type, the parameters of the first interaction interface are configured according to the preset first protocol adapter program, and the data interaction operation is performed on the interaction terminal according to the first interaction interface and the first protocol adapter program.

[0091] In this embodiment of the invention, the first interactive interface is used to realize data interaction with the interactive terminal, which is a terminal that submits docking instructions and stores video data.

[0092] In this embodiment of the invention, optionally, the method of configuring the parameters of the first interactive interface according to the preset first protocol adaptation program may specifically include the following operations:

[0093] Collect the interface configuration information of the first interactive interface;

[0094] The initial configuration information and the interface configuration information are compared and verified to obtain the verification result. When the verification result indicates that the initial configuration information and the interface configuration information are inconsistent, the interface configuration information is updated according to the initial configuration information.

[0095] After confirming that the interface configuration information is consistent with the initialization configuration information, an authorization identifier for the target monitoring device is generated based on the preset first protocol adaptation degree and the device information of the target monitoring device, and the above-mentioned data interaction operation is triggered to be performed on the interactive terminal according to the first interaction interface and the first protocol adaptation program. The authorization identifier is used to authorize the interactive terminal to perform data interaction operation.

[0096] In this embodiment of the invention, optionally, the method of performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter program may specifically include the following operations:

[0097] Based on the first interaction interface, determine the device login information of all target authorized devices, where the target authorized devices are the target monitoring devices that are authorized to perform data interaction operations;

[0098] According to the docking instructions, the control task is determined. The control task includes multiple sub-control tasks. Each sub-control task is used to perform control operations on at least one target authorized device. The control operations include data control operations on the data stored on the target authorized device and / or range control operations on the monitored range of the target authorized device.

[0099] Based on all sub-control tasks, perform control operations on all target authorized devices corresponding to the sub-control task.

[0100] In this embodiment of the invention, it should be noted that the above-mentioned control operations may include real-time monitoring, PTZ control, video playback, video download, voice intercom, video capture, etc., and this embodiment of the invention does not limit these operations.

[0101] 104. When the interaction type is platform type, determine the interface information of the second interaction interface of the interaction platform.

[0102] In this embodiment of the invention, the interaction platform is a platform for submitting docking instructions, and the interface information includes the interface functions of the second interaction interface.

[0103] 105. Based on the interface information, determine the second protocol adapter program that matches the interface function, and perform data interaction operations on the interactive platform according to the second protocol adapter program.

[0104] In this embodiment of the invention, optionally, before determining the second protocol adapter program matching the interface function based on the interface information, the method may further include the following operations:

[0105] Collect all platform service interface information stored in the database, with each platform service interface corresponding to a platform service interaction function;

[0106] Based on all platform service interface information and a pre-defined protocol adaptation scheme, a target protocol adaptation program is generated for each platform service interface.

[0107] The method of determining the second protocol adapter that matches the interface function based on the interface information can specifically include the following operations:

[0108] Based on the interface information, retrieve the target protocol adapter that matches the interface information from the adapter interfaces corresponding to all target protocol adapters, and use it as the second protocol adapter that matches the interface function.

[0109] In this embodiment of the invention, the platform service interaction function includes providing device data, video data, image data, business management data, alarm data, monitoring data, policy data, intelligent analysis data, etc. for video terminals, and this embodiment of the invention does not limit the scope of the data.

[0110] It is evident that implementation Figure 1 The described intelligent adaptation method for multiple video protocols can automatically analyze the interaction type after detecting the docking command, and intelligently execute the corresponding protocol adaptation process for the interaction type, thereby improving the accuracy of subsequent protocol adaptation. Furthermore, it provides corresponding video protocol adaptation solutions for terminal type or platform type, improving the efficiency and accuracy of switching adapted video protocols when the data upload end of the monitoring device is a terminal or platform end, and improving the efficiency and accuracy of subsequent management and control of monitoring devices through the adapted video protocols.

[0111] Example 2

[0112] Please see Figure 2 , Figure 2 This is a flowchart illustrating another intelligent adaptation method for multiple video protocols disclosed in an embodiment of the present invention. Figure 2The described intelligent adaptation method for multiple video protocols can be applied to intelligent adaptation devices for multiple video protocols, and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the intelligent adaptation method for this multi-video protocol can include the following operations:

[0113] 201. Check if there is a docking command. The docking command is a command generated when data interaction is required on the video data stored in the target monitoring device.

[0114] 202. When a docking command is detected, determine the interaction type of the docking command. The interaction type includes terminal type or platform type.

[0115] 203. When the interaction type is terminal type, the parameters of the first interaction interface are configured according to the preset first protocol adapter program.

[0116] 204. Configure debugging parameters for data interaction debugging operations on interactive terminals according to the preset terminal joint debugging scheme.

[0117] In this embodiment of the invention, the debugging parameters include at least one of the following: video terminal registration parameters, network parameters, encoding parameters, and streaming host parameters.

[0118] 205. Obtain device information for all access devices in the target debugging business domain. The target debugging business domain is the business domain that performs data interaction debugging operations. The target monitoring devices include access devices.

[0119] 206. Based on the terminal joint debugging plan, debugging parameters, and device information of all access devices, perform data interaction debugging operations on all access devices in each target debugging service domain to obtain the debugging results corresponding to each target debugging service domain.

[0120] In this embodiment of the invention, when it is determined that the debugging results corresponding to all target debugging service domains meet the preset debugging requirements, step 207 is triggered.

[0121] 207. Perform data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter program.

[0122] 208. When the interaction type is platform type, determine the interface information of the second interaction interface of the interaction platform.

[0123] In this embodiment of the invention, the interaction platform is a platform for submitting docking instructions, and the interface information includes the interface functions of the second interaction interface.

[0124] 209. Based on the interface information, determine the second protocol adapter program that matches the interface function, and perform data interaction operations on the interactive platform according to the second protocol adapter program.

[0125] For further descriptions of steps 201-203 and 207-209 in this embodiment of the invention, please refer to the other specific descriptions of steps 101-103 and 103-105 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.

[0126] It is evident that implementation Figure 2 The described intelligent adaptation method for multiple video protocols enables terminal joint debugging of the interactive terminal before data interaction operations are performed, through a terminal joint debugging scheme, to verify the feasibility of data interaction. Only after confirming that the debugging results of all target debugging business domains meet the debugging requirements can data interaction be performed on the interactive terminal, thereby improving the reliability and accuracy of data interaction operations on the interactive terminal and reducing the number of failures in interactive operations.

[0127] In an optional embodiment, the debugging result corresponding to each target debugging service domain includes the debugging values ​​of all access devices in the target debugging service domain, and the debugging data of each access device is used to calculate the debugging compliance value of the target debugging service domain corresponding to the access device; the method may also include the following operations:

[0128] For each target debugging service domain, the debugging compliance value of the target debugging service domain is calculated based on the debugging value of each access device in the target debugging service domain.

[0129] From all target debugging service domains, identify the values ​​to be corrected that are lower than the preset first debugging threshold among all debugging compliance values, the service domain to be corrected corresponding to each value to be corrected, and the device to be corrected corresponding to each service domain to be corrected. The device to be corrected is the device whose debugging value is lower than the preset second debugging threshold.

[0130] According to the determined correction scheme, device correction operations are performed on all devices in all service domains to be corrected, so as to adjust the debugging compliance value corresponding to the service domain to be corrected to be higher than the first debugging threshold. After it is determined that the debugging compliance value of all target debugging service domains is higher than the first debugging threshold, the above-mentioned data interaction operation is triggered to be performed on the interactive terminal according to the first interaction interface and the first protocol adaptation program.

[0131] As can be seen, in this optional embodiment, a correction scheme for the device to be corrected is provided, which can not only automatically identify the device to be corrected, but also perform correction operations on the device to be corrected, thereby reducing the failure rate of data interaction operations performed on the interactive terminal.

[0132] In another optional embodiment, before performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter, the method may further include the following operations:

[0133] Determine the protocol version that the first protocol adapter is compatible with;

[0134] Determine whether the protocol version compatible with the first protocol adapter program matches the protocol version corresponding to the interactive terminal. If the determination result is yes, trigger the execution of the above-mentioned data interaction operation on the interactive terminal based on the first interaction interface and the first protocol adapter program.

[0135] When the judgment result is negative, a target protocol adapter program matching the protocol version corresponding to the interactive terminal is determined from the preset protocol adapter program library, and the first protocol adapter program is updated according to the target protocol adapter program, and the above-mentioned data interaction operation is triggered to be performed on the interactive terminal according to the first interaction interface and the first protocol adapter program. The protocol adapter program library includes the first protocol adapter program.

[0136] As can be seen, in this optional embodiment, the protocol version currently compatible with the first adapter protocol program can be intelligently detected, and when it is determined that the protocol version of the protocol compatible with the first protocol adapter program does not match the protocol version corresponding to the interactive terminal, the target protocol adapter program is determined according to the protocol adapter program library, thereby improving the success rate of data interaction with the interactive terminal.

[0137] Example 3

[0138] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an intelligent adaptation device for multiple video protocols disclosed in an embodiment of the present invention. The intelligent adaptation device for multiple video protocols can be an intelligent adaptation terminal for multiple video protocols, an intelligent adaptation device for multiple video protocols, an intelligent adaptation system for multiple video protocols, or an intelligent adaptation server for multiple video protocols. The intelligent adaptation server for multiple video protocols can be a local server, a remote server, or a cloud server (also known as a cloud server). When the intelligent adaptation server for multiple video protocols is not a cloud server, the non-cloud server can communicate with the cloud server. This embodiment of the present invention does not impose any limitations. Figure 3 As shown, the intelligent adaptation device for the multi-video protocol may include a detection module 301, a determination module 302, a parameter configuration module 303, a first interaction module 304, and a second interaction module 305, wherein:

[0139] The detection module 301 is used to detect whether there is a docking command. The docking command is a command generated when data interaction operation is required on the video data stored in the target monitoring device.

[0140] The determination module 302 is used to determine the interaction type of the docking command when a docking command is detected. The interaction type includes terminal type or platform type. If the terminal type is the type corresponding to the interaction end of the video data, the platform type is the type corresponding to the interaction end of the video data.

[0141] The parameter configuration module 303 is used to configure the parameters of the first interaction interface according to the preset first protocol adapter program when the interaction type is terminal type.

[0142] The first interaction module 304 is used to perform data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter program. The first interaction interface is used to realize data interaction with the interactive terminal, which is a terminal for submitting docking instructions and storing video data.

[0143] The determination module 302 is also used to determine the interface information of the second interaction interface of the interaction platform when the interaction type is a platform type. The interaction platform is the platform that submits the docking instruction, and the interface information includes the interface function of the second interaction interface.

[0144] The second interaction module 305 is used to determine a second protocol adapter program that matches the interface function based on the interface information, and to perform data interaction operations on the interaction platform based on the second protocol adapter program.

[0145] In this embodiment of the invention, optionally, the first interaction module 304 performs data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter program, specifically including:

[0146] Based on the first interaction interface, determine the device login information of all target authorized devices, where the target authorized devices are the target monitoring devices that are authorized to perform data interaction operations;

[0147] According to the docking instructions, the control task is determined. The control task includes multiple sub-control tasks. Each sub-control task is used to perform control operations on at least one target authorized device. The control operations include data control operations on the data stored on the target authorized device and / or range control operations on the monitored range of the target authorized device.

[0148] Based on all sub-control tasks, perform control operations on all target authorized devices corresponding to the sub-control task.

[0149] In this embodiment of the invention, optionally, the parameter configuration module 303 configures the parameters of the first interactive interface according to a preset first protocol adaptation program, specifically including:

[0150] Collect the interface configuration information of the first interactive interface;

[0151] The initial configuration information and the interface configuration information are compared and verified to obtain the verification result. When the verification result indicates that the initial configuration information and the interface configuration information are inconsistent, the interface configuration information is updated according to the initial configuration information.

[0152] After confirming that the interface configuration information is consistent with the initialization configuration information, an authorization identifier for the target monitoring device is generated based on the preset first protocol adaptation degree and the device information of the target monitoring device, and the first interaction module 304 is triggered to perform the above-mentioned data interaction operation on the interaction terminal according to the first interaction interface and the first protocol adaptation program. The authorization identifier is used to authorize the interaction terminal to perform data interaction operation.

[0153] In this embodiment of the invention, optionally, such as Figure 4 As shown, the device may further include a data acquisition module 306 and a data generation module 307, wherein:

[0154] The acquisition module 306 is used to acquire all platform service interface information stored in the database before the determination module 302 determines the second protocol adapter program that matches the interface function based on the interface information. Each platform service interface corresponds to a platform service interaction function.

[0155] The generation module 307 is used to generate a target protocol adapter program for each platform service interface based on all platform service interface information collected by the acquisition module 306 and a preset protocol adaptation scheme.

[0156] The specific methods by which module 302 determines the second protocol adapter program that matches the interface function based on the interface information include:

[0157] Based on the interface information, a target protocol adapter that matches the interface information is retrieved from the adapter interfaces corresponding to all target protocol adapters generated by the generation module 307, and used as the second protocol adapter that matches the interface function.

[0158] It is evident that implementation Figure 3 The described intelligent adaptation device for multiple video protocols can automatically analyze the interaction type after detecting the docking command, and intelligently execute the corresponding protocol adaptation process for the interaction type, thereby improving the accuracy of subsequent protocol adaptation. Furthermore, it provides corresponding video protocol adaptation solutions for terminal type or platform type, improving the efficiency and accuracy of switching the adapted video protocol when the data upload end of the monitoring device is a terminal or platform end, and improving the efficiency and accuracy of subsequent management and control of the monitoring device through the adapted video protocol.

[0159] In an optional embodiment, the parameter configuration module 303 is further configured to configure debugging parameters for performing data interaction debugging operations on the interactive terminal according to a preset terminal joint debugging scheme before the first interaction module 304 performs data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter. The debugging parameters include at least one of the following parameters: video terminal registration parameters, network parameters, encoding parameters, and streaming host parameters.

[0160] like Figure 4 As shown, the device may further include an acquisition module 308 and a debugging module 309, wherein:

[0161] The acquisition module 308 is used to acquire device information of all access devices in the target debugging business domain. The target debugging business domain is the business domain that performs data interaction debugging operations, and the target monitoring devices include access devices.

[0162] The debugging module 309 is used to perform data interaction debugging operations on all access devices in each target debugging service domain according to the terminal joint debugging scheme, the debugging parameters configured by the parameter configuration module 303, and the device information of all access devices obtained by the acquisition module 308, to obtain the debugging results corresponding to each target debugging service domain. When it is determined that the debugging results corresponding to all target debugging service domains meet the preset debugging requirements, the first interaction module 304 is triggered to perform the above-mentioned data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adaptation program.

[0163] It is evident that implementation Figure 4 The described intelligent adaptation device for multiple video protocols can perform terminal joint debugging operations on the interactive terminal before performing data interaction operations on the interactive terminal, through a terminal joint debugging scheme, to verify the feasibility of performing data interaction on the interactive terminal. After confirming that the debugging results of all target debugging business domains meet the debugging requirements, data interaction is then performed on the interactive terminal, which improves the reliability and accuracy of performing data interaction operations on the interactive terminal and reduces the number of failures in performing interaction operations on the interactive terminal.

[0164] In another optional embodiment, the debugging result obtained by the debugging module 309 for each target debugging service domain includes the debugging values ​​of all access devices in that target debugging service domain, and the debugging data of each access device is used to calculate the debugging compliance value of the target debugging service domain corresponding to that access device; such as Figure 4 As shown, the device may further include a calculation module 310 and a correction module 311, wherein:

[0165] The calculation module 310 is used to calculate the debugging compliance value of each target debugging service domain based on the debugging value of each access device in the target debugging service domain.

[0166] The determination module 302 is further configured to determine, from all target debugging service domains, the debugging compliance values ​​calculated by all calculation modules 310 that are lower than a preset first debugging threshold, the service domain to be corrected corresponding to each debugging value, and the device to be corrected corresponding to each service domain. The device to be corrected is the device whose debugging value is lower than a preset second debugging threshold.

[0167] The correction module 311 is used to perform device correction operations on all devices to be corrected in all the service domains to be corrected determined by the determination module 302 according to the determined correction scheme, so as to adjust the debugging compliance value corresponding to the service domain to be corrected to be higher than the first debugging threshold. After determining that the debugging compliance value of all target debugging service domains is higher than the first debugging threshold, the first interaction module 304 is triggered to perform the above-mentioned data interaction operation on the interactive terminal according to the first interaction interface and the first protocol adaptation program.

[0168] It is evident that implementation Figure 4 The described intelligent adaptation device for multiple video protocols provides a correction scheme for the device to be corrected. It can not only automatically identify the device to be corrected, but also perform correction operations on the device to be corrected, thereby reducing the failure rate of data interaction operations performed on interactive terminals.

[0169] In another optional embodiment, the determining module 302 is further configured to determine the protocol version of the protocol compatible with the first protocol adapter before the first interaction module 304 performs data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter.

[0170] like Figure 4 As shown, the device may further include a determination module 312, wherein:

[0171] The judgment module 312 is used to determine whether the protocol version of the protocol compatible with the first protocol adapter program determined by the determination module 302 matches the protocol version corresponding to the interactive terminal. When the judgment result is yes, the first interaction module 304 is triggered to perform the above-mentioned data interaction operation on the interactive terminal according to the first interaction interface and the first protocol adapter program.

[0172] The determining module 302 is further configured to, when the judgment result of the judging module 312 is negative, determine the target protocol adapter program that matches the protocol version corresponding to the interactive terminal from the preset protocol adapter program library, update the first protocol adapter program according to the target protocol adapter program, and trigger the first interaction module 304 to perform the above-mentioned data interaction operation on the interactive terminal according to the first interaction interface and the first protocol adapter program. The protocol adapter program library includes the first protocol adapter program.

[0173] It is evident that implementation Figure 4 The described intelligent adaptation device for multiple video protocols can intelligently detect the protocol versions currently compatible with the first adaptation protocol program, and when it is determined that the protocol version compatible with the first protocol adaptation program does not match the protocol version corresponding to the interactive terminal, it determines the target protocol adaptation program according to the protocol adaptation program library, thereby improving the success rate of data interaction with the interactive terminal.

[0174] Example 4

[0175] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another intelligent adaptation device for multiple video protocols disclosed in an embodiment of the present invention. Figure 5 As shown, the intelligent adaptation device for the multi-video protocol may include:

[0176] Memory 401 storing executable program code;

[0177] Processor 402 coupled to memory 401;

[0178] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the intelligent adaptation method of multi-video protocols described in Embodiment 1 or Embodiment 2 of the present invention.

[0179] Example 5

[0180] This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute the steps in the intelligent adaptation method for multiple video protocols described in Embodiment 1 or Embodiment 2 of this invention.

[0181] Example 6

[0182] This invention discloses a computer program product, which includes a non-transitory computer storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps in the intelligent adaptation method of the multi-video protocol described in Embodiment 1 or Embodiment 2.

[0183] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0184] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence 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 storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0185] Finally, it should be noted that the intelligent adaptation method and apparatus for multiple video protocols disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions 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 intelligent adaptation method for multiple video protocols, characterized in that, The method includes: Detect whether a docking command exists. The docking command is a command generated when data interaction operations are required on the video data stored by the target monitoring device. When the docking command is detected, the interaction type of the docking command is determined. The interaction type includes terminal type or platform type. The terminal type is the type corresponding to the terminal on which the video data is interacted, and the platform type is the type corresponding to the platform on which the video data is interacted. When the interaction type is the terminal type, the parameters of the first interaction interface are configured according to the preset first protocol adaptation program, and the data interaction operation is performed on the interaction terminal according to the first interaction interface and the first protocol adaptation program. The first interaction interface is used to realize data interaction with the interaction terminal. The interaction terminal is a terminal that submits the docking instruction and stores the video data. When the interaction type is the platform type, determine the interface information of the second interaction interface of the interaction platform, wherein the interaction platform is the platform that submits the docking instruction, and the interface information includes the interface function of the second interaction interface; Based on the interface information, a second protocol adapter program matching the interface function is determined, and data interaction operations are performed on the interactive platform according to the second protocol adapter program.

2. The intelligent adaptation method for multiple video protocols according to claim 1, characterized in that, The step of performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter includes: Based on the first interaction interface, the device login information of all target authorized devices is determined, wherein the target authorized device is the target monitoring device that is authorized to perform the data interaction operation; According to the docking instructions, a control task is determined. The control task includes multiple sub-control tasks. Each sub-control task is used to perform control operations on at least one of the target authorized devices. The control operations include data control operations on the data stored by the target authorized device and / or range control operations on the monitoring range of the target authorized device. Based on all the sub-control tasks, perform the control operation on all the target authorized devices corresponding to the sub-control task.

3. The intelligent adaptation method for multiple video protocols according to claim 1 or 2, characterized in that, The step of configuring parameters for the first interactive interface according to a preset first protocol adaptation program includes: Collect the interface configuration information of the first interactive interface; The interface configuration information is compared with the preset initialization configuration information to obtain a comparison result. When the comparison result indicates that the initialization configuration information and the interface configuration information are inconsistent, the interface configuration information is updated according to the initialization configuration information. After confirming that the interface configuration information is consistent with the initialization configuration information, an authorization identifier for the target monitoring device is generated based on the preset first protocol adaptation degree and the device information of the target monitoring device, and the execution of the data interaction operation performed on the interactive terminal according to the first interaction interface and the first protocol adaptation program is triggered. The authorization identifier is used to authorize the interactive terminal to perform the data interaction operation.

4. The intelligent adaptation method for multiple video protocols according to claim 1, characterized in that, Before determining the second protocol adapter program matching the interface function based on the interface information, the method further includes: Collect all platform service interface information stored in the database, with each platform service interface corresponding to a platform service interaction function; Based on all the platform service interface information and a preset protocol adaptation scheme, a target protocol adaptation program is generated for each of the platform service interfaces. The step of determining a second protocol adapter program that matches the interface function based on the interface information includes: Based on the interface information, a target protocol adapter that matches the interface information is retrieved from all the adapter interfaces corresponding to the target protocol adapters, and used as the second protocol adapter that matches the interface function.

5. The intelligent adaptation method for multiple video protocols according to claim 3, characterized in that, Before performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter, the method further includes: According to the preset terminal joint debugging scheme, configure debugging parameters for data interaction debugging operations on the interactive terminal. The debugging parameters include at least one of the following: video terminal registration parameters, network parameters, encoding parameters, and streaming host parameters. Obtain device information for all access devices in the target debugging service domain, wherein the target debugging service domain is the service domain that performs the data interaction debugging operation, and the target monitoring device includes the access device; Based on the terminal joint debugging scheme, the debugging parameters, and the device information of all the access devices, data interaction debugging operations are performed on all the access devices in each target debugging service domain to obtain the debugging results corresponding to each target debugging service domain. When it is determined that the debugging results corresponding to all the target debugging service domains meet the preset debugging requirements, the data interaction operation performed on the interactive terminal based on the first interaction interface and the first protocol adaptation program is triggered.

6. The intelligent adaptation method for multiple video protocols according to claim 5, characterized in that, The debugging result corresponding to each target debugging service domain includes the debugging values ​​of all access devices in the target debugging service domain, and the debugging data of each access device is used to calculate the debugging compliance value of the target debugging service domain corresponding to the access device. The method further includes: For each target debugging service domain, the debugging compliance value of the target debugging service domain is calculated based on the debugging value of each access device in the target debugging service domain. From all the target debugging service domains, determine the values ​​to be corrected that are lower than a preset first debugging threshold among all the debugging compliance values, the service domain to be corrected corresponding to each value to be corrected, and the device to be corrected corresponding to each service domain to be corrected. The device to be corrected is the device whose debugging value is lower than a preset second debugging threshold. According to the determined correction scheme, a device correction operation is performed on all devices in all the service domains to be corrected, so as to adjust the debugging compliance value corresponding to the service domain to be corrected to be higher than the first debugging threshold. After it is determined that the debugging compliance value of all the target debugging service domains is higher than the first debugging threshold, the data interaction operation of the interactive terminal according to the first interaction interface and the first protocol adaptation program is triggered.

7. The intelligent adaptation method for multiple video protocols according to claim 3, characterized in that, Before performing data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter, the method further includes: Determine the protocol version of the protocol that the first protocol adapter is compatible with; Determine whether the protocol version compatible with the first protocol adapter program matches the protocol version corresponding to the interactive terminal. If the determination result is yes, trigger the execution of the data interaction operation on the interactive terminal based on the first interaction interface and the first protocol adapter program. When the determination result is negative, a target protocol adapter program matching the protocol version corresponding to the interactive terminal is determined from the preset protocol adapter program library, and the first protocol adapter program is updated according to the target protocol adapter program, and the data interaction operation performed on the interactive terminal according to the first interaction interface and the first protocol adapter program is triggered. The protocol adapter program library includes the first protocol adapter program.

8. An intelligent adaptation device for multiple video protocols, characterized in that, The device includes: The detection module is used to detect whether a docking command exists. The docking command is a command generated when data interaction operations are required on the video data stored in the target monitoring device. The determination module is used to determine the interaction type of the docking instruction when the docking instruction is detected. The interaction type includes terminal type or platform type. The terminal type is the type corresponding to the terminal on which the video data is interacted, and the platform type is the type corresponding to the platform on which the video data is interacted. The parameter configuration module is used to configure the parameters of the first interaction interface according to a preset first protocol adapter program when the interaction type is the terminal type. The first interaction module is used to perform data interaction operations on the interactive terminal according to the first interaction interface and the first protocol adapter program. The first interaction interface is used to realize data interaction with the interactive terminal. The interactive terminal is a terminal that submits the docking instruction and stores the video data. The determining module is further configured to determine the interface information of the second interaction interface of the interaction platform when the interaction type is the platform type, wherein the interaction platform is the platform that submits the docking instruction, and the interface information includes the interface function of the second interaction interface. The second interaction module is used to determine a second protocol adapter program that matches the interface function based on the interface information, and to perform data interaction operations on the interaction platform based on the second protocol adapter program.

9. An intelligent adaptation device for multiple video protocols, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the intelligent adaptation method for multiple video protocols as described in any one of claims 1-7.

10. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, are used to execute the intelligent adaptation method for multiple video protocols as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Fire-fighting parameter configuration method and device and terminal equipment

    CN109491986A

  • Unified data access method and device

    CN114745437A