Video stream call link monitoring method and device, electronic equipment and storage medium

Through the video stream call link monitoring method, the video streams are automatically checked for problems during the flow process, solving the problem of difficult detection in large clusters, and improving efficiency and system reliability.

CN119135941APending Publication Date: 2024-12-13JINAN INSPUR DATA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411244734.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In a distributed cluster environment, it is difficult to detect problems during the flow of video streams, especially in large clusters, where manual inspection and processing efficiency is low and difficult to effectively solve.

Method used

Provide a video stream call link monitoring method, by receiving video stream operation instructions input by the user, determining the target service, and monitoring the target service, generating video stream call chain information, based on this information, checking problems during the flow process, and avoiding Manual investigation to improve investigation efficiency.

Benefits of technology

It realizes automatic investigation of problems during the video streaming process, improves inspection efficiency, reduces the difficulty of investigation in large clusters, and improves the reliability and usability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135941A_ABST
    Figure CN119135941A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, in particular to a video stream call link monitoring method and device, electronic equipment and a storage medium. Receiving a video stream operation instruction input by a user; according to the video stream operation instruction, determining a target service corresponding to completion of the video stream operation instruction; monitoring the target service, and determining video stream call chain information corresponding to the video stream operation completion instruction; and checking a circulation process of a target video stream corresponding to the video stream operation instruction based on the video stream call chain information. According to the technical scheme, manual troubleshooting processing is not needed, so that the problem that the problems occurring in the circulation process of the target video stream cannot be troubleshot is solved, and the efficiency of troubleshooting the problems in the circulation process of the target video stream is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a video stream calling link monitoring method, device, electronic equipment and storage medium. Background Art

[0002] In the streaming media storage and management platform, the core businesses are video stream data storage, real-time video playback, and historical video playback. For these businesses, the video stream will flow in the system, and the flow process must go through multiple services or components. Each service and component is an independent service process. In order to improve the system's load capacity and high availability requirements, the deployment method often chooses distributed cluster deployment. Although this deployment solution can improve the performance and availability of the system, it also brings many new problems.

[0003] For example, the calling relationships are complicated and troubleshooting is difficult. Specifically, in actual development and operation and maintenance scenarios, you may encounter problems with the video stream during the flow process. If it is a small cluster of several servers, it can still be handled manually, but for a large cluster consisting of more than a dozen or even hundreds of servers, manual troubleshooting will be disastrous.

[0004] Therefore, how to avoid being unable to troubleshoot problems that occur during the flow of video streams has become an issue that needs to be solved urgently. Summary of the invention

[0005] In view of this, the present invention provides a video stream call link monitoring (topic name) to solve the problem of video stream call link monitoring.

[0006] In a first aspect, the present invention provides a video stream call link monitoring method, the method comprising:

[0007] Receive video stream operation instructions input by the user;

[0008] According to the video stream operation instruction, determine to complete the target service corresponding to the video stream operation instruction;

[0009] The target service is monitored to determine the video stream call chain information corresponding to the completed video stream operation instruction; and the flow process of the target video stream corresponding to the video stream operation instruction is checked based on the video stream call chain information.

[0010] The video stream call link monitoring method provided in the embodiment of the present application receives the video stream operation instruction input by the user; according to the video stream operation instruction, the target service corresponding to the video stream operation instruction is determined to ensure the accuracy of the determined target service. Then, the video stream call chain information corresponding to the video stream operation instruction can be determined by monitoring the target service, so that problems that occur during the flow of the video stream can be checked based on the video stream call chain information. The above method does not need to rely on manual troubleshooting, therefore, it solves the problem of being unable to troubleshoot problems that occur during the flow of the target video stream, and improves the efficiency of troubleshooting problems that occur during the flow of the target video stream.

[0011] In an optional implementation, determining, according to the video stream operation instruction, to complete a target service corresponding to the video stream operation instruction includes:

[0012] Identify video stream operation instructions;

[0013] If the video stream operation instruction is to play the target video stream in real time, then the target service is determined to be a stream switching service;

[0014] If the video stream operation instruction is to play back the target video stream, the target service is determined to be a video-on-demand service.

[0015] The video stream call link monitoring method provided in the embodiment of the present application identifies the video stream operation instruction; if the video stream operation instruction is to play the target video stream in real time, the target service is determined to be a transfer service, thereby ensuring the accuracy of the determined transfer service. If the video stream operation instruction is to play back the target video stream, the target service is determined to be a on-demand service, thereby ensuring the accuracy of the determined on-demand service.

[0016] In an optional implementation, monitoring the target service to determine the video stream call chain information corresponding to the video stream operation instruction includes:

[0017] Monitor the target service to obtain source information, call information, and target service information corresponding to the target video stream corresponding to the video stream operation instruction;

[0018] Generate video stream call chain information based on source information, call information and target service information;

[0019] The video stream call chain information is stored in a preset database, and a validity period is set for the video stream call chain information.

[0020] The video stream call link monitoring method provided in the embodiment of the present application monitors the target service, obtains the source information, call information and target service information corresponding to the target video stream corresponding to the video stream operation instruction, and ensures the accuracy of the source information, call information and target service information corresponding to the target video stream corresponding to the obtained video stream operation instruction. Based on the source information, call information and target service information, the video stream call chain information is generated, and then the problems that occur in the flow process of the video stream can be checked based on the video stream call chain information. The video stream call chain information is stored in a preset database, and a validity period is set for the video stream call chain information, so that the timeliness and accuracy of the video stream call chain information in the preset database can be guaranteed.

[0021] In an optional implementation, the target service is a streaming service, and the target service is monitored to obtain source information, call information, and target service information corresponding to the target video stream corresponding to the video stream operation instruction, including:

[0022] Get the number of flow services;

[0023] Create multiple sub-threads according to the number of flow services; the number of sub-threads is consistent with the number of flow services;

[0024] For each sub-thread, identify the flow transfer service and determine the flow transfer service information corresponding to the flow transfer service;

[0025] Monitor the streaming service to determine the source address and camera device code corresponding to the target video stream; the camera device code refers to the coding information of the camera device used by the streaming service to obtain the target video stream;

[0026] Monitor the streaming service to determine the destination address and calling device ID corresponding to the target video stream; the calling device ID refers to the identification information of the device that calls the target video stream based on the streaming service;

[0027] According to the calling device identifier and the camera device code, the user identification information corresponding to the calling device identifier, and the camera device name and camera device location information corresponding to the camera device code are searched in the configuration service;

[0028] According to the user identification information, searching the application service for the user session information corresponding to the user identification information;

[0029] Generate source information based on the source address, the camera device name, and the camera device location information;

[0030] Generate call information based on the destination address, user identification information, and user session information.

[0031] The video stream call link monitoring method provided by the embodiment of the present application obtains the number of flow transfer services; according to the number of flow transfer services, multiple sub-threads are created to ensure the accuracy of the multiple sub-threads created. For each sub-thread, the flow transfer service is identified, and the flow transfer service information corresponding to the flow transfer service is determined to ensure the accuracy of the flow transfer service information corresponding to the determined flow transfer service. The flow transfer service is monitored to determine the source address and camera device code corresponding to the target video stream to ensure the accuracy of the source address and camera device code corresponding to the determined target video stream. The flow transfer service is monitored to determine the destination address and calling device identifier corresponding to the target video stream to ensure the accuracy of the destination address and calling device identifier corresponding to the determined target video stream. According to the calling device identifier and the camera device code, the user identification information corresponding to the calling device identifier and the camera device name and camera device location information corresponding to the camera device code are searched in the configuration service to ensure the accuracy of the determined user identification information, camera device name and camera device location information. According to the user identification information, the user session information corresponding to the user identification information is searched in the application service to ensure the accuracy of the user session information found. The source information is generated based on the source address, camera device name and camera device location information, ensuring the accuracy of the generated source information and the user readability of the source information. The call information is generated based on the destination address, user identification information and user session information, ensuring the accuracy of the generated call information and the user readability.

[0032] In an optional implementation, the target service is a video-on-demand service, and the target service is monitored to obtain source information, call information, and target service information corresponding to the target video stream corresponding to the video stream operation instruction, including:

[0033] Get the number of on-demand services;

[0034] According to the number of on-demand services, multiple sub-threads are created; the number of sub-threads is consistent with the number of on-demand services;

[0035] For each sub-thread, identifying the on-demand service, and determining the on-demand service information corresponding to the on-demand service;

[0036] Monitor the on-demand service to determine the source address corresponding to the target video stream obtained by the on-demand service;

[0037] Monitor the on-demand service, determine the destination address corresponding to the target video stream, and the calling device identifier; the calling device identifier refers to the identification information of the device that calls the target video stream based on the on-demand service;

[0038] According to the calling device ID, searching the configuration service for the user ID information corresponding to the calling device ID;

[0039] According to the user identification information, searching the application service for the user session information corresponding to the user identification information;

[0040] Based on the source address, generate source information;

[0041] Generate call information based on the destination address, user identification information, and user session information.

[0042] The video stream call link monitoring method provided in the embodiment of the present application obtains the number of on-demand services;

[0043] According to the number of on-demand services, multiple sub-threads are created to ensure the accuracy of the number of sub-threads created. For each sub-thread, the on-demand service is identified, and the on-demand service information corresponding to the on-demand service is determined to ensure the accuracy of the on-demand service information corresponding to the determined on-demand service. The on-demand service is monitored to determine the source address corresponding to the target video stream obtained by the on-demand service to ensure the accuracy of the determined source address. The on-demand service is monitored to determine the destination address and calling device identifier corresponding to the target video stream to ensure the accuracy of the destination address and calling device identifier corresponding to the determined target video stream. According to the calling device identifier, the user identification information corresponding to the calling device identifier is searched in the configuration service; according to the user identification information, the user session information corresponding to the user identification information is searched in the application service to ensure the accuracy of the determined user session information. Based on the source address, the source information is generated to ensure the generated source information. Based on the destination address, the user identification information, and the user session information, the calling information is generated to ensure the accuracy of the generated calling information.

[0044] In an optional implementation, after the video stream call chain information is stored in a preset database and a validity period is set for the video stream call chain information, the method further includes:

[0045] Call the video stream call chain information from the preset database;

[0046] Display video stream call chain information to users.

[0047] The video stream call chain monitoring method provided in the embodiment of the present application calls the video stream call chain information from a preset database, and displays the video stream call chain information to the user, so that the user can obtain the video stream call chain information, and then the user can determine whether the target video stream has problems during the flow process according to the video stream call chain information, and then the problem of the target video stream during the flow process can be checked and solved.

[0048] In an optional embodiment, the method further includes:

[0049] If the target service is monitored and it is determined that an abnormal situation occurs during the process of completing the video stream call chain information corresponding to the video stream operation instruction, an abnormal alarm information is generated;

[0050] Output abnormal warning information to the user.

[0051] The video stream call link monitoring method provided in the embodiment of the present application generates abnormal alarm information if an abnormal situation occurs during the process of monitoring the target service and determining that the video stream call link information corresponding to the video stream operation instruction is completed, and outputs the abnormal alarm information to the user, so that the user can obtain the abnormal alarm information.

[0052] In a second aspect, the present invention provides a video stream call link monitoring device, the device comprising:

[0053] A receiving module, used for receiving a video stream operation instruction input by a user;

[0054] A first determination module is used to determine, according to the video stream operation instruction, a target service corresponding to the video stream operation instruction;

[0055] The second determination module is used to monitor the target service and determine the video stream call chain information corresponding to the completed video stream operation instruction; based on the video stream call chain information, the flow process of the target video stream corresponding to the video stream operation instruction is checked.

[0056] The video stream call link monitoring device provided in the embodiment of the present application receives the video stream operation instruction input by the user; according to the video stream operation instruction, the target service corresponding to the video stream operation instruction is determined to ensure the accuracy of the determined target service. Then, by monitoring the target service, the video stream call chain information corresponding to the video stream operation instruction can be determined, so that problems that occur during the flow of the video stream can be checked based on the video stream call chain information. The above-mentioned device does not need to rely on manual troubleshooting, therefore, it solves the problem of being unable to troubleshoot problems that occur during the flow of the target video stream, and improves the efficiency of troubleshooting problems that occur during the flow of the target video stream.

[0057] In a third aspect, the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the video stream call link monitoring method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0058] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the video stream call link monitoring method of the first aspect or any corresponding embodiment thereof.

[0059] In a fifth aspect, the present invention provides a computer program product, including computer instructions, which are used to enable a computer to execute the video stream call link monitoring method of the above-mentioned first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0061] Figure 1 It is a flow chart of a video stream calling link monitoring method according to an embodiment of the present invention;

[0062] Figure 2 is a flow chart of another video stream calling link monitoring method according to an embodiment of the present invention;

[0063] Figure 3 is a schematic diagram of the location of the system architecture where the streaming service and the on-demand service are located according to an embodiment of the present invention;

[0064] Figure 4 is a schematic diagram of an interface for displaying video stream call chain information to a user according to an embodiment of the present invention;

[0065] Figure 5 is another schematic diagram of an interface for displaying video stream call chain information to a user according to an embodiment of the present invention;

[0066] Figure 6 is a flow chart of another video stream calling link monitoring method according to an embodiment of the present invention;

[0067] Figure 7 is a schematic diagram of an interface in which an electronic device outputs abnormal alarm information to a user according to an embodiment of the present invention;

[0068] Figure 8 is a flow chart of another video stream calling link monitoring method according to an embodiment of the present invention;

[0069] Fig. 9 is a structural block diagram of a video stream call link monitoring device according to an embodiment of the present invention;

[0070] Fig.10 It is a schematic diagram of the hardware structure of the electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0071] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0072] In the streaming media storage and management platform, the core businesses are video stream data storage, real-time video playback, and historical video playback. For these businesses, the video stream will flow in the system, and the flow process must go through multiple services or components. Each service and component is an independent service process. In order to improve the system's load capacity and high availability requirements, the deployment method often chooses distributed cluster deployment. Although this deployment solution can improve the performance and availability of the system, it also brings many new problems.

[0073] For example, the calling relationships are complicated and troubleshooting is difficult. Specifically, in actual development and operation and maintenance scenarios, you may encounter problems with the video stream during the flow process. If it is a small cluster of several servers, it can still be handled manually, but for a large cluster consisting of more than a dozen or even hundreds of servers, manual troubleshooting will be disastrous.

[0074] Therefore, how to avoid being unable to troubleshoot problems that occur during the flow of video streams has become an issue that needs to be solved urgently.

[0075] The video stream call link monitoring method provided in the embodiment of the present application receives the video stream operation instruction input by the user; according to the video stream operation instruction, the target service corresponding to the video stream operation instruction is determined to ensure the accuracy of the determined target service. Then, the video stream call chain information corresponding to the video stream operation instruction can be determined by monitoring the target service, so that problems that occur during the flow of the video stream can be checked based on the video stream call chain information. The above method does not need to rely on manual troubleshooting, therefore, it solves the problem of being unable to troubleshoot problems that occur during the flow of the target video stream, and improves the efficiency of troubleshooting problems that occur during the flow of the target video stream.

[0076] It should be noted that the method for monitoring the link of video stream calls provided in the embodiment of the present application, the execution subject may be a device for monitoring the link of video stream calls, and the device for monitoring the link of video stream calls may be implemented as part or all of an electronic device through software, hardware, or a combination of software and hardware, wherein the electronic device may be a server or a terminal, wherein the server in the embodiment of the present application may be a single server or a server cluster composed of multiple servers, and the terminal in the embodiment of the present application may be a smart phone, a personal computer, a tablet computer, a wearable device, and other intelligent hardware devices such as an intelligent robot. In the following method embodiments, the execution subject is an electronic device as an example for explanation.

[0077] According to an embodiment of the present invention, an embodiment of a video stream call link monitoring method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0078] In this embodiment, a video stream call link monitoring method is provided, which can be used in the above electronic device. Figure 1 is a flow chart of a video stream calling link monitoring method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0079] Step S101: receiving a video stream operation instruction input by a user.

[0080] Specifically, the electronic device may receive a video stream operation instruction input by a user based on an input component, wherein the video stream operation instruction may be real-time video playback and historical video playback.

[0081] Step S102: determining, according to the video stream operation instruction, to complete a target service corresponding to the video stream operation instruction.

[0082] Specifically, the electronic device may identify the video stream operation instruction, and determine to complete the target service corresponding to the video stream operation instruction according to the identification result.

[0083] This step will be described in detail below.

[0084] Step S103, monitor the target service to determine the video stream call chain information corresponding to the completed video stream operation instruction; and check the flow process of the target video stream corresponding to the video stream operation instruction based on the video stream call chain information.

[0085] Specifically, the electronic device can monitor the target service to determine the workflow of the target service, and then the electronic device can determine the video stream call chain information corresponding to the video stream operation instruction completed by the target service according to the workflow corresponding to the target service.

[0086] This step will be described in detail below.

[0087] The video stream call link monitoring method provided in the embodiment of the present application receives the video stream operation instruction input by the user; according to the video stream operation instruction, the target service corresponding to the video stream operation instruction is determined to ensure the accuracy of the determined target service. Then, the video stream call chain information corresponding to the video stream operation instruction can be determined by monitoring the target service, so that problems that occur during the flow of the video stream can be checked based on the video stream call chain information. The above method does not need to rely on manual troubleshooting, therefore, it solves the problem of being unable to troubleshoot problems that occur during the flow of the target video stream, and improves the efficiency of troubleshooting problems that occur during the flow of the target video stream.

[0088] In this embodiment, a video stream call link monitoring method is provided, which can be used in the above electronic device. Figure 2 is a flow chart of a video stream calling link monitoring method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0089] Step S201: receiving a video stream operation instruction input by a user.

[0090] For details about this step, please refer to the above description of step S101, which will not be elaborated here.

[0091] Step S202: According to the video stream operation instruction, determine and complete the target service corresponding to the video stream operation instruction.

[0092] Specifically, the above step S202 may include the following steps:

[0093] Step S2021, identifying the video stream operation instruction.

[0094] Specifically, the electronic device can identify the video stream operation instruction.

[0095] Step S2022: If the video stream operation instruction is to play the target video stream in real time, it is determined that the target service is a stream switching service.

[0096] Specifically, if the video stream operation instruction is to play the target video stream in real time, the target service is determined to be a stream switching service.

[0097] For example, Figure 3 As shown, Figure 3 This is a schematic diagram of the location of the system architecture where the streaming service and on-demand service are located. Figure 3 As shown in the figure, the streaming service is located at the access layer, mainly connecting the access service and the front-end device, and includes four main functions: receiving audio and video streams from the front-end device or third-party platform, parsing and encapsulating the received audio and video data for subsequent processing and transmission, forwarding the audio and video data to other application services according to the scheduling requirements of the access service, and managing the links of the audio and video sessions to ensure the stable transmission of audio and video data. The streaming service is responsible for receiving audio and video streams from the front-end device or third-party platform, parsing and encapsulating the audio and video data, and forwarding the audio and video data to other application services according to the scheduling requirements of the access service.

[0098] Step S2023: If the video stream operation instruction is to play back the target video stream, it is determined that the target service is a video-on-demand service.

[0099] Specifically, if the video stream operation instruction is to play back the target video stream, it is determined that the target service is a video-on-demand service.

[0100] For example, Figure 3 As shown, Figure 3 This is a schematic diagram of the location of the system architecture where the streaming service and on-demand service are located. Figure 3 As shown, the on-demand service mainly connects to peripheral application services, provides video retrieval functions, and helps users quickly find the required video files. It obtains video data so that users can view, play or download it.

[0101] Lock and unlock video files to ensure the security and integrity of video files. Provide video playback function and support control of the playback process, such as pause, fast forward, fast rewind, etc. Allow users to download video files to local devices for storage and viewing.

[0102] Step S203, monitor the target service to determine the video stream call chain information corresponding to the completed video stream operation instruction; and check the flow process of the target video stream corresponding to the video stream operation instruction based on the video stream call chain information.

[0103] Specifically, the above step S203 may include the following steps:

[0104] Step S2031, monitor the target service to obtain source information, call information and target service information corresponding to the target video stream corresponding to the video stream operation instruction.

[0105] In an optional implementation manner of the present application, the target service is a traffic transfer service, and the above step S2031 may include the following steps:

[0106] Step a1, obtaining the number of flow services.

[0107] Specifically, the electronic device can count each flow service to determine the number of flow services.

[0108] Step a2: create multiple child threads according to the number of flow services.

[0109] Among them, the number of sub-threads is consistent with the number of flow services.

[0110] Specifically, the electronic device may create multiple sub-threads according to the number of flowing services.

[0111] Step a3: for each sub-thread, identify the traffic transfer service and determine the traffic transfer service information corresponding to the traffic transfer service.

[0112] Specifically, for each sub-thread, the electronic device can control the sub-thread to identify the flow switching service and determine the flow switching service information corresponding to the flow switching service.

[0113] Among them, the flow service information may include flow service identification information, flow service feature information, flow service network traffic information, etc.

[0114] The streaming service feature information can analyze the features of the streaming service, such as supported video formats, resolutions, frame rates, encoding methods, etc. These features can help distinguish different streaming services. The streaming service network traffic information can analyze network traffic and identify data packet features related to the streaming service, such as specific port numbers, protocols, or traffic patterns.

[0115] Step a4, monitoring the streaming service, and determining the source address and camera device code corresponding to the target video stream.

[0116] The camera device encoding refers to the encoding information of the camera device used by the streaming service to obtain the target video stream.

[0117] Specifically, the electronic device can control the child thread to call the network monitoring tool to monitor the network traffic of the streaming service. The network monitoring tool can identify the data packets related to the streaming service and analyze the source and destination of the data packets. By analyzing the header information of the data packet, you can obtain the source address of the target video stream.

[0118] The electronic device can also control the sub-thread to call the video analysis tool to analyze the target video stream and extract metadata in the video stream, such as encoding information of the camera device.

[0119] Step a5, monitor the streaming service, determine the destination address corresponding to the target video stream, and call the device identifier.

[0120] The calling device identifier refers to the identifier information of the device that calls the target video stream based on the streaming service.

[0121] Specifically, the electronic device can control the child thread to call the network monitoring tool to monitor the network traffic of the streaming service. The network monitoring tool can identify the data packets related to the streaming service and analyze the source and destination of the data packets. By analyzing the header information of the data packet, you can obtain the destination address of the target video stream.

[0122] The electronic device can also control the sub-thread to call the video analysis tool to analyze the target video stream and extract metadata in the video stream, such as calling the device identification.

[0123] Step a6: searching the configuration service for the user identification information corresponding to the calling device identification and the camera device name and camera device location information corresponding to the camera device code according to the calling device identification and the camera device code.

[0124] Specifically, the electronic device can control the child thread to send a query request containing a calling device identifier and a camera device code to the configuration service. After receiving the query request, the configuration service searches in its database or configuration file according to the calling device identifier and the camera device code. The configuration service establishes an association between the device identifier and the user identifier in the configuration data, and searches for the corresponding user identifier information according to the calling device identifier. The configuration service searches for the corresponding camera device name and camera device location information according to the camera device code based on the association between the code and the device information established in the configuration data. The configuration service returns the found user identifier information, camera device name, and camera device location information to the child thread.

[0125] Step a7: searching the application service for user session information corresponding to the user identification information according to the user identification information.

[0126] Specifically, the electronic device can control the child thread to send a request containing user identification information to the application service to find the corresponding user session information. After receiving the request, the application service uses the user identification information to search in its database or session management system. The application service matches the session data according to the user identification information to find the session information associated with the user identification. The application service returns the found user session information to the child thread.

[0127] Step a8, generating source information based on the source address, the camera device name and the camera device location information.

[0128] Specifically, the electronic device may control the sub-thread to combine the source address, the camera device name, and the camera device location information to generate the source information.

[0129] Step a9, generating call information based on the destination address, user identification information, and user session information.

[0130] Specifically, the electronic device may control the sub-thread to combine the destination address, user identification information, and user session information to generate call information.

[0131] In an optional implementation manner of the present application, the target service is a video-on-demand service, and the above step S2031 may include the following steps:

[0132] Step b1, obtaining the number of on-demand services.

[0133] Specifically, the electronic device may count each on-demand service to determine the number of streaming services.

[0134] Step b2: creating multiple child threads according to the number of on-demand services.

[0135] The number of sub-threads is consistent with the number of on-demand services.

[0136] Specifically, the electronic device may create multiple sub-threads according to the number of on-demand services.

[0137] Step b3: for each sub-thread, identify the VOD service and determine the VOD service information corresponding to the VOD service.

[0138] Specifically, for each sub-thread, the electronic device may control the sub-thread to identify the on-demand service and determine the on-demand service information corresponding to the on-demand service.

[0139] The on-demand service information may include on-demand service identification information, on-demand service feature information, streaming service network traffic information, etc.

[0140] The streaming service feature information can analyze the features of the on-demand service, such as supported video formats, resolutions, frame rates, encoding methods, etc. These features can help distinguish different on-demand services. The streaming service network traffic information can analyze network traffic and identify data packet features related to the on-demand service, such as specific port numbers, protocols, or traffic patterns.

[0141] Step b4, monitoring the on-demand service to determine the source address corresponding to the target video stream obtained by the on-demand service.

[0142] Specifically, the electronic device can control the child thread to call the network monitoring tool to monitor the network traffic of the on-demand service. The network monitoring tool can identify the data packets related to the on-demand service and analyze the source and destination of the data packets. By analyzing the header information of the data packet, you can obtain the source address of the target video stream.

[0143] Step b5, monitor the on-demand service, determine the destination address corresponding to the target video stream, and call the device identifier.

[0144] The calling device identification refers to the identification information of the device that calls the target video stream based on the on-demand service.

[0145] Specifically, the electronic device can control the child thread to call the network monitoring tool to monitor the network traffic of the on-demand service. The network monitoring tool can identify the data packets related to the on-demand service and analyze the source and destination of the data packets. By analyzing the header information of the data packet, you can obtain the destination address of the target video stream.

[0146] The electronic device can also control the sub-thread to call the video analysis tool to analyze the target video stream and extract metadata in the video stream, such as calling the device identification.

[0147] Step b6: searching the configuration service for user identification information corresponding to the calling device identification according to the calling device identification.

[0148] Specifically, the electronic device can control the child thread to send a query request containing the calling device identifier to the configuration service. After receiving the query request, the configuration service searches in its database or configuration file according to the calling device identifier. The configuration service establishes an association between the device identifier and the user identifier in the configuration data, and searches for the corresponding user identifier information according to the calling device identifier. The configuration service returns the found user identifier information to the child thread.

[0149] Step b7: searching the application service for user session information corresponding to the user identification information according to the user identification information.

[0150] Specifically, the electronic device can control the child thread to send a request containing user identification information to the application service to find the corresponding user session information. After receiving the request, the application service uses the user identification information to search in its database or session management system. The application service matches the session data according to the user identification information to find the session information associated with the user identification. The application service returns the found user session information to the child thread.

[0151] Step b8, generating source information based on the source address.

[0152] Specifically, the electronic device can control the sub-thread to generate source information based on the source address.

[0153] Step b9, generating call information based on the destination address, user identification information, and user session information.

[0154] Specifically, the electronic device may combine the destination address, user identification information, and user session information to generate calling information.

[0155] Step S2032, generating video stream call chain information based on source information, call information and target service information.

[0156] Specifically, the electronic device can generate video stream call chain information based on source information, call information and target service information.

[0157] Step S2033, storing the video stream call chain information in a preset database, and setting a validity period for the video stream call chain information.

[0158] Specifically, the electronic device may store the video stream call chain information in a preset database, and set a validity period for the video stream call chain information.

[0159] Exemplarily, the electronic device can store the video stream call chain information in the Redis database and set the validity period of the KEY. The validity period can be 20 seconds, 30 seconds, or other durations. The embodiment of the present application does not specifically limit the validity period.

[0160] Step S2034, calling the video stream calling chain information from the preset database.

[0161] Specifically, after storing the video stream calling chain information in the preset database, the electronic device can call the video stream calling chain information in the preset database.

[0162] Step S2035: Display the video stream call chain information to the user.

[0163] Specifically, the electronic device component can call the video stream call chain information based on the display device preset database.

[0164] For example, Figure 4 and Figure 5 The figure shows a schematic diagram of an interface for displaying video stream call chain information to a user.

[0165] In an optional implementation of the present application, after each time the video stream call chain information is stored in a preset database, the electronic device can summarize the video stream call chain information stored in the preset database, obtain summary information such as the number of real-time open streams, the number of video on-demand, the number of video storage channels, the number of channels with video plans, the total number of channels, authorization information, etc., and store the summary information in the preset database.

[0166] The number of real-time open streams refers to the number of video streams currently being transmitted, which indicates how many video sources are sending video data to the receiving end in real time.

[0167] Video on Demand refers to the number of user requests to watch recorded videos. This indicates how many users are choosing to watch previously recorded video content.

[0168] The number of video storage paths refers to the number of paths or channels used to store video data. It indicates how many different storage locations or media can be used to save video.

[0169] The number of channels with recording plans refers to the number of channels that have set recording plans. This means how many channels are scheduled for regular recording operations.

[0170] The total number of channels refers to the total number of video channels available in the system. It includes both channels in use and channels not in use.

[0171] Authorization information refers to information related to the authorization of a user or device. This may include the user's permission level, access restrictions, or the authorization status of a device.

[0172] The video stream call link monitoring method provided in the embodiment of the present application identifies the video stream operation instruction; if the video stream operation instruction is to play the target video stream in real time, the target service is determined to be a transfer service, thereby ensuring the accuracy of the determined transfer service. If the video stream operation instruction is to play back the target video stream, the target service is determined to be a on-demand service, thereby ensuring the accuracy of the determined on-demand service.

[0173] If the target service is a transfer service, the number of transfer services is obtained; according to the number of transfer services, multiple sub-threads are created to ensure the accuracy of the multiple sub-threads created. For each sub-thread, the transfer service is identified, and the transfer service information corresponding to the transfer service is determined to ensure the accuracy of the transfer service information corresponding to the determined transfer service. The transfer service is monitored to determine the source address and camera device code corresponding to the target video stream to ensure the accuracy of the source address and camera device code corresponding to the determined target video stream. The transfer service is monitored to determine the destination address and calling device identifier corresponding to the target video stream to ensure the accuracy of the destination address and calling device identifier corresponding to the determined target video stream. According to the calling device identifier and camera device code, the user identification information corresponding to the calling device identifier and the camera device name and camera device location information corresponding to the camera device code are searched in the configuration service to ensure the accuracy of the determined user identification information, camera device name and camera device location information. According to the user identification information, the user session information corresponding to the user identification information is searched in the application service to ensure the accuracy of the found user session information. The source information is generated based on the source address, camera device name and camera device location information, ensuring the accuracy of the generated source information and the user readability of the source information. The call information is generated based on the destination address, user identification information and user session information, ensuring the accuracy of the generated call information and the user readability.

[0174] If the target service is a VOD service, the number of VOD services is obtained; according to the number of VOD services, multiple sub-threads are created to ensure the accuracy of the number of sub-threads created. For each sub-thread, the VOD service is identified, and the VOD service information corresponding to the VOD service is determined to ensure the accuracy of the VOD service information corresponding to the determined VOD service. The VOD service is monitored to determine the source address corresponding to the target video stream obtained by the VOD service to ensure the accuracy of the determined source address. The VOD service is monitored to determine the destination address and the calling device identifier corresponding to the target video stream to ensure the accuracy of the determined destination address and the calling device identifier. According to the calling device identifier, the user identification information corresponding to the calling device identifier is searched in the configuration service; according to the user identification information, the user session information corresponding to the user identification information is searched in the application service to ensure the accuracy of the determined user session information. Based on the source address, the source information is generated to ensure the generated source information. Based on the destination address, the user identification information, and the user session information, the calling information is generated to ensure the accuracy of the generated calling information.

[0175] Then, based on the source information, the call information and the target service information, the video stream call chain information is generated, and then the problems that occur in the video stream flow process can be checked based on the video stream call chain information. The video stream call chain information is stored in a preset database, and a validity period is set for the video stream call chain information, so as to ensure the timeliness and accuracy of the video stream call chain information in the preset database.

[0176] Next, the video stream call chain information is called from the preset database and displayed to the user, so that the user can obtain the video stream call chain information, and then the user can determine whether the target video stream has problems during the flow process according to the video stream call chain information, and then the user can troubleshoot and resolve the problems during the flow process of the target video stream.

[0177] In this embodiment, a video stream call link monitoring method is provided, which can be used in the above electronic device. Figure 6 is a flow chart of a video stream calling link monitoring method according to an embodiment of the present invention. Figure 6 As shown, the process includes the following steps:

[0178] Step S301: receiving a video stream operation instruction input by a user.

[0179] For details about this step, please refer to the above description of step S201, which will not be elaborated here.

[0180] Step S302: According to the video stream operation instruction, determine and complete the target service corresponding to the video stream operation instruction.

[0181] For details about this step, please refer to the above description of step S202, which will not be elaborated here.

[0182] Step S303, monitor the target service to determine the video stream call chain information corresponding to the completed video stream operation instruction; and check the flow process of the target video stream corresponding to the video stream operation instruction based on the video stream call chain information.

[0183] For details about this step, please refer to the above description of step S203, which will not be elaborated here.

[0184] Step S304: If the target service is monitored and it is determined that an abnormal situation occurs during the process of completing the video stream call chain information corresponding to the video stream operation instruction, abnormal alarm information is generated.

[0185] Specifically, if the target service is monitored and it is determined that an abnormal situation occurs in the process of completing the video stream call chain information corresponding to the video stream operation instruction, the electronic device can identify the data in the registration center or the preset database, determine the cause of the abnormal situation, and then generate abnormal alarm information based on the cause of the abnormal situation.

[0186] Exemplarily, when an abnormal situation occurs, the electronic device can obtain information from the registration center to detect whether the cause of the abnormal situation is the streaming service offline / unavailable abnormality, the on-demand service offline / unavailable abnormality, the recording drive service offline / unavailable abnormality, the configuration service offline / unavailable abnormality, and the recording storage service offline / unavailable abnormality; the electronic device can also search for information from preset data to detect whether the cause of the abnormal situation is the recording device offline / unavailable abnormality, the recording channel offline / unavailable abnormality; the electronic device can also parse the collected data to detect whether the cause of the abnormal situation is the failure to parse the source stream information, the failure to parse the target stream information, and the abnormality of the open stream user information.

[0187] Step S305: output abnormal warning information to the user.

[0188] Specifically, the electronic device can output abnormal warning information to the user based on the output component.

[0189] For example, Figure 7 Shown is a schematic diagram of an interface in which an electronic device outputs abnormal alarm information to a user.

[0190] For example, Figure 8 As shown, it is a schematic diagram of the video stream call link monitoring method provided in the embodiment of the application. Figure 4As shown in the figure, the acquisition process uses a multi-threaded concurrent processing method. First, the number of online transfer services and on-demand services is obtained from the registration center, and the corresponding number of threads is created according to the number. Each thread processes the original stream data information queried from each client. The original stream data information only contains information such as the source stream url, the target stream url, the caller ID, and the camera device code. This information is not enough for data display. Therefore, it is necessary to associate and query related data from other service modules in the system (such as configuration services and application services) based on these original information, and assemble them into video stream information displayed on the front end. The video stream information displayed on the front end mainly includes three aspects of information: first, the source of the video stream, including the device name, device IP, and camera channel name; second, the transmission medium, including which service is used for transmission (transfer service or on-demand service); third, the video stream caller, including the user account, user name, and login IP of the receiving user. After waiting for the information to be assembled, the assembled data is stored in the Redis database, and the validity period of the KEY is set to 20 seconds (to prevent data redundancy).

[0191] During data processing, the acquisition module will also summarize the collected data in real time to obtain the real-time number of open streams, number of video on demand, number of video storage channels, number of channels with video plans, total number of channels, authorization information, etc. After successful aggregation, they will be stored in the Redis database.

[0192] At the same time, if there are any abnormalities during the collection process, such as the unavailability of the streaming service, the unavailability of the on-demand service, the failure to parse the original stream information, and the failure to obtain relationship information from other services, the collection module will also generate corresponding abnormal alarm information and put it into the Redis message queue, and the video stream will call the link abnormal alarm module for processing.

[0193] The video stream call link monitoring method provided in the embodiment of the present application generates abnormal alarm information if an abnormal situation occurs during the process of monitoring the target service and determining that the video stream call link information corresponding to the video stream operation instruction is completed, and outputs the abnormal alarm information to the user, so that the user can obtain the abnormal alarm information.

[0194] In the present embodiment, a video stream call link monitoring device is also provided, and the device is used to implement the above-mentioned embodiment and preferred implementation mode, and the description has been made no further. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.

[0195] This embodiment provides a video stream call link monitoring device, such as Fig. 9 As shown, including:

[0196] The receiving module 401 is used to receive a video stream operation instruction input by a user;

[0197] A first determination module 402 is used to determine, according to the video stream operation instruction, a target service corresponding to the video stream operation instruction;

[0198] The second determination module 403 is used to monitor the target service and determine the video stream call chain information corresponding to the completed video stream operation instruction; and to check the flow process of the target video stream corresponding to the video stream operation instruction based on the video stream call chain information.

[0199] In some optional implementations, the first determination module 402 is specifically used to identify video stream operation instructions; if the video stream operation instruction is to play the target video stream in real time, the target service is determined to be a streaming service; if the video stream operation instruction is to play back the target video stream, the target service is determined to be a on-demand service.

[0200] In some optional implementations, the second determination module 403 is specifically used to monitor the target service, obtain the source information, call information and target service information corresponding to the target video stream corresponding to the video stream operation instruction; generate video stream call chain information based on the source information, call information and target service information; store the video stream call chain information in a preset database, and set a validity period for the video stream call chain information.

[0201] In some optional implementations, the target service is a flow redirection service, and the second determination module 403 is specifically used to identify the flow redirection service and determine the flow redirection service information corresponding to the flow redirection service; monitor the flow redirection service to determine the source address and camera device code corresponding to the target video stream; the camera device code refers to the coding information of the camera device used by the flow redirection service to obtain the target video stream; monitor the flow redirection service to determine the destination address and calling device identifier corresponding to the target video stream; the calling device identifier refers to the identification information of the device that calls the target video stream based on the flow redirection service; according to the calling device identifier and the camera device code, search the configuration service for the user identification information corresponding to the calling device identifier, as well as the camera device name and camera device location information corresponding to the camera device code; according to the user identification information, search the application service for the user session information corresponding to the user identification information; based on the source address, the camera device name and the camera device location information, generate the source information; based on the destination address, the user identification information and the user session information, generate the calling information.

[0202] In some optional implementations, the target service is a video-on-demand service, and the second determination module 403 is specifically used to identify the video-on-demand service and determine the video-on-demand service information corresponding to the video-on-demand service; monitor the video-on-demand service to determine the source address corresponding to the target video stream obtained by the video-on-demand service; monitor the video-on-demand service to determine the destination address and calling device identifier corresponding to the target video stream; the calling device identifier refers to the identification information of the device that calls the target video stream based on the video-on-demand service; according to the calling device identifier, search for user identification information corresponding to the calling device identifier in the configuration service; according to the user identification information, search for user session information corresponding to the user identification information in the application service; based on the source address, generate source information; based on the destination address, user identification information, and user session information, generate calling information.

[0203] In some optional implementations, the second determining module 403 is further configured to call the video stream calling chain information from a preset database and display the video stream calling chain information to the user.

[0204] In some optional implementations, the video stream call link monitoring device may further include:

[0205] The third determination module 404 is used to generate abnormal alarm information if an abnormal situation occurs during the process of monitoring the target service and determining the completion of the video stream call chain information corresponding to the video stream operation instruction;

[0206] The output module 405 is used to output abnormal warning information to the user.

[0207] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0208] The video stream call link monitoring device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0209] The embodiment of the present invention also provides an electronic device having the above Fig. 9 The video stream shown invokes the link monitoring device.

[0210] See also Fig.10 , Fig.10 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention, such as Fig.10As shown, the electronic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.10 A processor 10 is taken as an example.

[0211] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware integrated circuit. The hardware integrated circuit may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable logic gate array, a general purpose array logic or any combination thereof.

[0212] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0213] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0214] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0215] The electronic device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0216] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0217] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0218] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0219] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A video stream call link monitoring method, characterized in that: The method comprises: Receive video stream operation instructions input by the user; According to the video stream operation instruction, determine to complete the target service corresponding to the video stream operation instruction; The target service is monitored to determine the video stream call chain information corresponding to the video stream operation instruction; and the flow process of the target video stream corresponding to the video stream operation instruction is checked based on the video stream call chain information.

2. The method according to claim 1, characterized in that The step of determining, according to the video stream operation instruction, to complete a target service corresponding to the video stream operation instruction comprises: Identifying the video stream operation instruction; If the video stream operation instruction is to play the target video stream in real time, determining that the target service is a stream switching service; If the video stream operation instruction is to play back the target video stream, it is determined that the target service is a video-on-demand service.

3. The method according to claim 1, characterized in that The monitoring of the target service to determine the completion of the video stream call chain information corresponding to the video stream operation instruction includes: Monitor the target service to obtain source information, call information, and target service information corresponding to the target video stream corresponding to the video stream operation instruction; Generate the video stream call chain information based on the source information, the call information and the target service information; The video stream call chain information is stored in a preset database, and a validity period is set for the video stream call chain information.

4. The method according to claim 3, characterized in that The target service is a stream switching service, and the target service is monitored to obtain source information, call information, and target service information corresponding to the target video stream corresponding to the video stream operation instruction, including: Obtaining the quantity of the flow service; According to the number of the flow services, a plurality of sub-threads are created; the number of the sub-threads is consistent with the number of the flow services; For each of the sub-threads, identifying the traffic transfer service, and determining the traffic transfer service information corresponding to the traffic transfer service; The streaming service is monitored to determine the source address and camera device code corresponding to the target video stream; the camera device code refers to the coding information of the camera device used by the streaming service to obtain the target video stream; The flow switching service is monitored to determine the destination address and calling device identifier corresponding to the target video stream; the calling device identifier refers to the identification information of the device that calls the target video stream based on the flow switching service; According to the calling device identifier and the camera device code, searching in the configuration service for the user identifier information corresponding to the calling device identifier, and the camera device name and camera device location information corresponding to the camera device code; According to the user identification information, searching the application service for user session information corresponding to the user identification information; Generate the source information based on the source address, the camera device name and the camera device location information; The calling information is generated based on the destination address, user identification information, and user session information.

5. The method according to claim 3, characterized in that: The target service is a video-on-demand service, and the monitoring of the target service to obtain source information, call information, and target service information corresponding to the target video stream corresponding to the video stream operation instruction includes: Obtaining the number of the on-demand service; According to the number of the on-demand services, a plurality of sub-threads are created; the number of the sub-threads is consistent with the number of the on-demand services; For each of the sub-threads, identifying the VOD service, and determining VOD service information corresponding to the VOD service; Monitor the on-demand service to determine that the on-demand service obtains a source address corresponding to the target video stream; The on-demand service is monitored to determine a destination address and a calling device identifier corresponding to the target video stream; the calling device identifier refers to identification information of a device that calls the target video stream based on the on-demand service; According to the calling device identifier, searching for user identifier information corresponding to the calling device identifier in the configuration service; According to the user identification information, searching the application service for user session information corresponding to the user identification information; Based on the source address, generate the source information; The calling information is generated based on the destination address, user identification information, and user session information.

6. The method according to claim 3, characterized in that After storing the video stream call chain information in a preset database and setting a validity period for the video stream call chain information, the method further includes: Calling the video stream calling chain information from the preset database; The video stream call chain information is displayed to the user.

7. The method according to claim 1, characterized in that The method further comprises: If the target service is monitored and it is determined that an abnormal situation occurs during the process of completing the video stream call chain information corresponding to the video stream operation instruction, abnormal alarm information is generated; The abnormal warning information is output to the user.

8. A video stream call link monitoring device, characterized in that: The device comprises: A receiving module, used for receiving a video stream operation instruction input by a user; A first determining module, configured to determine, according to the video stream operation instruction, a target service corresponding to the video stream operation instruction; The second determination module is used to monitor the target service and determine the video stream call chain information corresponding to the video stream operation instruction; and to check the flow process of the target video stream corresponding to the video stream operation instruction based on the video stream call chain information.

9. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the video stream call link monitoring method according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the video stream call link monitoring method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Specified video monitoring and playing method and device based on intelligent agent, and storage medium

    CN119854582A