Image transmission method and device, computer equipment, storage medium and program product
By evaluating the risk level, importance and bandwidth level of the bypass monitoring device, priority is given to the transmission of important images, which solves the problem of slow image upload speed, realizes timely uploading of important images and timely identification of risks, and reduces losses.
Patent Information
- Application Number
- CN202410935989.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-12-10
AI Technical Summary
The number of bypass monitoring devices is huge and the image upload speed is slow, which leads to the inability to upload important images in time, the risk cannot be detected in time, and the losses are caused.
According to the risk level, importance level and network bandwidth level of the target monitoring device, the timeliness of the image are determined, and priority transmission is carried out according to the timeliness to ensure that important images are uploaded in a timely manner.
By evaluating the timeliness of images, priority is given to the transmission of high-risk and high-importance images, avoiding delayed transmission, ensuring timely risk identification and reducing losses.
Smart Images

Figure CN119110032A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an image transmission method, apparatus, computer equipment, storage medium and program product. Background Art
[0002] With the development and improvement of the power grid structure, the construction of power lines has developed rapidly. In order to prevent the power transmission lines from being damaged by environmental factors or human factors, the power grid system usually monitors the environment of the power transmission lines by setting up bypass monitoring devices at different locations.
[0003] At present, the bypass monitoring device will feedback an image every hour, and then the server of the bypass monitoring device will perform image recognition to identify the risks of the environment in which the bypass monitoring device is located. However, in actual use, the number of bypass monitoring devices is huge, and the image upload process is slow, which leads to the failure to upload high-risk images in time, and the failure to detect risks in time, resulting in losses. Summary of the invention
[0004] Based on this, it is necessary to provide an image transmission method, device, computer equipment, storage medium and program product to address the above technical problems, which can upload relatively important images in a timely manner according to timeliness so that the server can detect risks in a timely manner.
[0005] In a first aspect, the present application provides an image transmission method, comprising:
[0006] After receiving the target image captured by the target monitoring device, determining the risk level of the environment in which the target monitoring device is located according to the target image;
[0007] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0008] Determining a timeliness level of the target image according to the risk level, the importance level, and the bandwidth level;
[0009] The target image is transmitted according to the timeliness level of the target image.
[0010] In one embodiment, determining the risk level of the environment in which the target monitoring device is located according to the target image includes:
[0011] Based on the risk identification model, risk identification is performed on the target image to obtain the risk event corresponding to the target image;
[0012] The risk level of the environment in which the target monitoring device is located is determined according to the risk event corresponding to the target image.
[0013] In one embodiment, obtaining the importance level of the target surveillance device includes:
[0014] Determine the importance level of the target monitoring device according to the voltage level of the power transmission line where the target monitoring device is located; or,
[0015] The importance level of the target monitoring device is obtained from the attribute information of the target monitoring device.
[0016] In one embodiment, obtaining the bandwidth level of the network access point of the target surveillance device includes:
[0017] When a communication connection is established with the management server of the target monitoring device, obtaining the round-trip delay of the communication with the management server through a network testing tool;
[0018] The bandwidth level of the network access point of the target monitoring device is determined based on the round-trip delay.
[0019] In one embodiment, determining the timeliness level of the target image according to the risk level, the importance level and the bandwidth level includes:
[0020] The product of the risk level, the importance level and the bandwidth level is used as the timeliness level of the target image.
[0021] In one embodiment, transmitting the target image according to the timeliness level of the target image includes:
[0022] Determining the sending time and sending strategy of the target image according to the timeliness level of the target image;
[0023] The target image is transmitted according to the sending time and the sending strategy.
[0024] In a second aspect, the present application further provides an image transmission device, comprising:
[0025] A first determination module is used to determine the risk level of the environment in which the target monitoring device is located according to the target image after receiving the target image collected by the target monitoring device;
[0026] A second determination module is used to obtain the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0027] A third determination module, configured to determine the timeliness level of the target image according to the risk level, the importance level and the bandwidth level;
[0028] The image transmission module is used to transmit the target image according to the timeliness level of the target image.
[0029] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0030] After receiving the target image captured by the target monitoring device, determining the risk level of the environment in which the target monitoring device is located according to the target image;
[0031] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0032] Determining a timeliness level of the target image according to the risk level, the importance level, and the bandwidth level;
[0033] The target image is transmitted according to the timeliness level of the target image.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0035] After receiving the target image captured by the target monitoring device, determining the risk level of the environment in which the target monitoring device is located according to the target image;
[0036] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0037] Determining a timeliness level of the target image according to the risk level, the importance level, and the bandwidth level;
[0038] The target image is transmitted according to the timeliness level of the target image.
[0039] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0040] After receiving the target image captured by the target monitoring device, determining the risk level of the environment in which the target monitoring device is located according to the target image;
[0041] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0042] Determining a timeliness level of the target image according to the risk level, the importance level, and the bandwidth level;
[0043] The target image is transmitted according to the timeliness level of the target image.
[0044] After receiving the target image captured by the target monitoring device, the above-mentioned image transmission method, device, computer equipment, storage medium and program product determine the risk level of the environment in which the target monitoring device is located based on the target image, and obtain the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device; further, according to the risk level, importance level and bandwidth level, determine the timeliness level of the target image, and transmit the target image according to the timeliness level of the target image. In the above-mentioned scheme, since the risk level, importance level and bandwidth level characterize the importance and urgency of the target image to a certain extent, and comprehensively consider the target image, the target monitoring device and the bandwidth conditions, the timeliness level of the target image is evaluated, thereby ensuring the accuracy of the determined timeliness level; further, according to the timeliness level of the target image, the target image is transmitted, thereby avoiding the situation where important target images are delayed in transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 A diagram showing an application environment of an image transmission method in an embodiment;
[0047] Figure 2 is a schematic flow chart of an image transmission method in one embodiment;
[0048] Figure 3 A schematic diagram of a process for determining a risk level in one embodiment;
[0049] Figure 4 A schematic diagram of a process for determining a bandwidth level in one embodiment;
[0050] Figure 5 is a schematic diagram of a process of transmitting a target image in one embodiment;
[0051] Figure 6 is a flow chart of an image transmission method in another embodiment;
[0052] Figure 7is a structural block diagram of an image transmission device in one embodiment;
[0053] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0055] The image transmission method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the identity proxy component 101 is a client installed in the target monitoring device 102, and the processing server 103 is a server for processing the image collected by the target monitoring device. Optionally, after receiving the target image collected by the target monitoring device, the identity proxy component 101 determines the risk level of the environment in which the target monitoring device is located according to the target image; obtains the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device; determines the timeliness level of the target image according to the risk level, importance level and bandwidth level; and transmits the target image according to the timeliness level of the target image.
[0056] In an exemplary embodiment, Figure 2 As shown, a method for image transmission is provided, which is applied to Figure 1 The identity proxy component 101 in the example is used as an example to illustrate, and specifically includes the following steps:
[0057] S201, after receiving a target image captured by a target monitoring device, determining the risk level of the environment in which the target monitoring device is located according to the target image.
[0058] The monitoring device is a monitoring device with a camera, which is used to collect images of the monitored area at regular intervals. The target monitoring device can be any monitoring device. The target image is an image captured by the target monitoring device.
[0059] Optionally, the target monitoring device will periodically capture image information of the environment in which it is located, for example, capturing and uploading it once every hour; therefore, after receiving the target image captured by the target monitoring device, the risk level of the content contained in the target image is assessed through a risk inference algorithm to obtain the risk level of the environment in which the target monitoring device is located.
[0060] S202, obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device.
[0061] Among them, the importance level represents the importance of the target monitoring device; the bandwidth level represents the network congestion level of the network access point of the target monitoring device.
[0062] Optionally, the importance level of the target monitoring device can be set independently according to the installation location of the target monitoring device; for example, if the installation location of the target monitoring device is relatively important, such as an environment prone to fire, the importance level of the target monitoring device can be set to 10, that is, a high importance level.
[0063] Optionally, the bandwidth level of the network access point of the target monitoring device can be changed regularly by the management server of the target monitoring device according to the time point, for example, at 0:00 at night, when the traffic is less crowded, the bandwidth level is high; at the peak of data transmission (for example, at the hour), the bandwidth level is low. Furthermore, the bandwidth level of the network access point of the target monitoring device can be obtained by communicating with the management server and sending a bandwidth level acquisition request to the management server.
[0064] Optionally, in order to ensure the accuracy and rationality of the determined bandwidth level, the importance level of the target monitoring device can also be determined according to the voltage level of the transmission line where the target monitoring device is located; that is, the importance level of the target monitoring device can be set in proportion to the voltage level according to or the voltage level of the transmission line. For example, for a 550kV transmission line, the importance level can be set to 5, for a 220kV transmission line, the importance level can be set to 4, and for a 110kV transmission line, the importance level can be set to 3.
[0065] In addition, the importance level of the target monitoring device can also be obtained from the attribute information of the target monitoring device. Specifically, the importance level of the target monitoring device included in the attribute information of the target monitoring device can be statically set by the identity proxy component.
[0066] S203, determining the timeliness level of the target image according to the risk level, importance level and bandwidth level.
[0067] The timeliness level represents the importance of the target image. A high timeliness level means that the target image is more important and needs to be transmitted in advance.
[0068] Optionally, the risk level, the importance level, and the bandwidth level may be added together, and based on the obtained sum, the timeliness of the target image may be evaluated to obtain a timeliness level.
[0069] Optionally, in order to ensure that the determined timeliness level is more accurate, the product of the risk level, importance level and bandwidth level can also be used as the timeliness level of the target image. That is, the greater the risk level, the higher the importance level and the higher the bandwidth level, the stronger the transmission timeliness requirement of the target image, that is, the higher the timeliness level.
[0070] S204: Transmit the target image according to the timeliness level of the target image.
[0071] Optionally, the target image transmission time can be set according to the timeliness level of the target image; the higher the timeliness level, the earlier the transmission time. For example, if the timeliness level of the target image is 10, the highest level, it can be arranged to be transmitted in the first 10 minutes of each hour; for target images with a timeliness level less than or equal to 5, they need to be queued for transmission.
[0072] It should be noted that after the target image is transmitted to the processing server of the target monitoring device, the processing server will conduct in-depth risk identification and assessment of the target image to promptly discover and resolve risks and reduce losses.
[0073] In the above-mentioned image transmission method, after receiving the target image captured by the target monitoring device, the risk level of the environment in which the target monitoring device is located is determined according to the target image, and the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device are obtained; further, the timeliness level of the target image is determined according to the risk level, importance level and bandwidth level, and the target image is transmitted according to the timeliness level of the target image. In the above-mentioned scheme, since the risk level, importance level and bandwidth level characterize the importance and urgency of the target image to a certain extent, and the timeliness level of the target image is evaluated by comprehensively considering the target image, the target monitoring device and the bandwidth conditions, the accuracy of the determined timeliness level is ensured; further, the target image is transmitted according to the timeliness level of the target image, thereby avoiding the situation where important target images are delayed in transmission.
[0074] Optionally, in order to ensure the accuracy of the risk level of the environment in which the target monitoring device is located, in one embodiment, Figure 3 As shown, a method for determining a risk level is provided, which specifically includes the following steps:
[0075] S301, based on the risk identification model, perform risk identification on the target image to obtain the risk event corresponding to the target image.
[0076] Among them, the risk identification model is used to identify risk events in the image; risk events are events that involve risks, for example, risk events may be fire, water accumulation, strong winds, etc.
[0077] Optionally, the target image can be input into a risk identification model, which performs risk identification on the target image according to model parameters and outputs an identification result; further, the identification result output by the risk identification model is used as the risk event corresponding to the target image.
[0078] S302, determining the risk level of the environment in which the target monitoring device is located according to the risk event corresponding to the target image.
[0079] Optionally, the risk of the environment in which the target monitoring device is located can be evaluated according to the severity of the risk event corresponding to the target image to obtain a risk level. For example, if there is no risk event, the risk level is 0; if there is a fire risk event, the risk level is 10; if there is a rainstorm risk event, the risk level is 9, etc.
[0080] In this embodiment, a risk identification model is introduced to identify risk events in the target image, and based on the risk events, the risk level of the environment in which the target monitoring device is located is determined, thereby ensuring the accuracy and rationality of the determined risk level.
[0081] Optionally, in order to ensure the accuracy of the determined bandwidth level, in one embodiment, Figure 4 As shown, a method for determining the bandwidth level of a network access point of a target monitoring device is provided, which specifically includes the following steps:
[0082] S401, when a communication connection is established with a management server of a target monitoring device, a round trip delay of communication with the management server is obtained through a network testing tool.
[0083] Among them, the round-trip delay is the total delay from the start of sending data by the sender to the time the sender receives confirmation from the receiver (the receiver sends confirmation immediately after receiving the data).
[0084] Optionally, a communication connection with the target monitoring device may be established first, and during the communication with the management server of the target monitoring device, the round-trip delay of the communication with the management server may be tested through a network testing tool.
[0085] S402: Determine the bandwidth level of the network access point of the target monitoring device according to the round-trip delay.
[0086] Optionally, the bandwidth level of the network access point of the target monitoring device can be set inversely proportional to the round-trip delay, that is, the longer the round-trip delay, the lower the bandwidth level of the network access point of the target monitoring device.
[0087] In this embodiment, by introducing the round-trip delay and determining the bandwidth level of the network access point of the target monitoring device according to the round-trip delay, the accuracy and real-time performance of the determined bandwidth level are ensured.
[0088] Optionally, in order to ensure more efficient transmission of the target image, in one embodiment, Figure 5 As shown, a method for transmitting a target image is provided, which specifically includes the following steps:
[0089] S501, determining the sending time and sending strategy of the target image according to the timeliness level of the target image.
[0090] Optionally, target images with high timeliness levels can be transmitted first, that is, target images are sent in order of timeliness levels from high to low. At the same time, a sending strategy for target images with different timeliness levels is formulated. For example, for a target image with high timeliness level, if after one sending, the receiving feedback received from the processing server is acceptance failure or connection failure, it will continue to be sent first until the sending threshold is reached.
[0091] S502: Transmit the target image according to the transmission time and transmission strategy.
[0092] Optionally, the target image may be transmitted within the sending time and according to the sending strategy.
[0093] In this embodiment, by determining different sending times for target images with different timeliness levels and formulating different sending strategies, it is ensured that target images with high timeliness levels can be sent first, thereby improving the efficiency of image transmission.
[0094] Figure 6 FIG. 1 is a flow chart of an image transmission method in another embodiment. Based on the above embodiment, this embodiment provides an optional example of an image transmission method. Figure 6 The specific implementation process is as follows:
[0095] S601, after receiving the target image captured by the target monitoring device, risk identification is performed on the target image based on the risk identification model to obtain the risk event corresponding to the target image.
[0096] S602, determining the risk level of the environment in which the target monitoring device is located according to the risk event corresponding to the target image.
[0097] S603, determining the importance level of the target monitoring device according to the voltage level of the transmission line where the target monitoring device is located; or, obtaining the importance level of the target monitoring device from the attribute information of the target monitoring device.
[0098] S604, when a communication connection is established with the management server of the target monitoring device, a round-trip delay of communication with the management server is obtained through a network testing tool.
[0099] S605: Determine the bandwidth level of the network access point of the target monitoring device according to the round-trip delay.
[0100] S606: The product of the risk level, the importance level and the bandwidth level is used as the timeliness level of the target image.
[0101] S607: Determine the sending time and sending strategy of the target image according to the timeliness level of the target image.
[0102] S608, transmitting the target image according to the sending time and the sending strategy.
[0103] The specific process of the above S601-S608 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0104] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0105] Based on the same inventive concept, the embodiment of the present application also provides an image transmission device for implementing the above-mentioned image transmission method. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above-mentioned method, so the specific limitations in one or more image transmission device embodiments provided below can refer to the limitations on the image transmission method above, and will not be repeated here.
[0106] In one embodiment, Figure 7 As shown, an image transmission device 70 is provided, comprising: a first determination module 10, a second determination module 20, a third determination module 30 and an image transmission module 40, wherein:
[0107] The first determination module 10 is used to determine the risk level of the environment where the target monitoring device is located according to the target image after receiving the target image captured by the target monitoring device.
[0108] The second determination module 20 is used to obtain the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device.
[0109] The third determination module 30 is used to determine the timeliness level of the target image according to the risk level, importance level and bandwidth level.
[0110] The image transmission module 40 is used to transmit the target image according to the timeliness level of the target image.
[0111] The above-mentioned image transmission device,
[0112] In one embodiment, the first determining module 10 is specifically configured to:
[0113] Based on the risk identification model, the target image is identified for risk and the risk event corresponding to the target image is obtained; according to the risk event corresponding to the target image, the risk level of the environment in which the target monitoring device is located is determined.
[0114] In one embodiment, the second determining module 20 is specifically configured to:
[0115] The importance level of the target monitoring device is determined according to the voltage level of the transmission line where the target monitoring device is located; or, the importance level of the target monitoring device is obtained from the attribute information of the target monitoring device.
[0116] In one embodiment, the second determining module 20 is further configured to:
[0117] When a communication connection is established with the management server of the target monitoring device, the round-trip delay of the communication with the management server is obtained through a network testing tool; based on the round-trip delay, the bandwidth level of the network access point of the target monitoring device is determined.
[0118] In one embodiment, the third determining module 30 is specifically configured to:
[0119] The product of the risk level, importance level and bandwidth level is used as the timeliness level of the target image.
[0120] In one embodiment, the image transmission module 40 is specifically used for:
[0121] According to the timeliness level of the target image, a sending time and a sending strategy of the target image are determined; and according to the sending time and the sending strategy, the target image is transmitted.
[0122] Each module in the above-mentioned image transmission device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0123] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an image transmission method is implemented.
[0124] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0125] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0126] After receiving the target image captured by the target monitoring device, determine the risk level of the environment where the target monitoring device is located according to the target image;
[0127] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0128] Determine the timeliness level of the target image based on the risk level, importance level and bandwidth level;
[0129] The target image is transmitted according to the timeliness level of the target image.
[0130] In one embodiment, when the processor executes the computer program to determine the risk level of the environment in which the target monitoring device is located based on the target image, the following steps are also implemented:
[0131] Based on the risk identification model, the target image is identified for risk and the risk event corresponding to the target image is obtained; according to the risk event corresponding to the target image, the risk level of the environment in which the target monitoring device is located is determined.
[0132] In one embodiment, when the processor executes the computer program to obtain the importance level of the target monitoring device, the processor further implements the following steps:
[0133] The importance level of the target monitoring device is determined according to the voltage level of the transmission line where the target monitoring device is located; or, the importance level of the target monitoring device is obtained from the attribute information of the target monitoring device.
[0134] In one embodiment, when the processor executes the computer program to obtain the bandwidth level of the network access point of the target monitoring device, the following steps are also implemented:
[0135] When a communication connection is established with the management server of the target monitoring device, the round-trip delay of the communication with the management server is obtained through a network testing tool; based on the round-trip delay, the bandwidth level of the network access point of the target monitoring device is determined.
[0136] In one embodiment, when the processor executes the computer program to determine the timeliness level of the target image according to the risk level, the importance level and the bandwidth level, the following steps are also implemented:
[0137] The product of the risk level, importance level and bandwidth level is used as the timeliness level of the target image.
[0138] In one embodiment, when the processor executes the computer program to transmit the target image according to the timeliness level of the target image, the processor further implements the following steps:
[0139] According to the timeliness level of the target image, the sending time and sending strategy of the target image are determined; according to the sending time and sending strategy, the target image is transmitted.
[0140] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0141] After receiving the target image captured by the target monitoring device, determine the risk level of the environment where the target monitoring device is located according to the target image;
[0142] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0143] Determine the timeliness level of the target image based on the risk level, importance level and bandwidth level;
[0144] The target image is transmitted according to the timeliness level of the target image.
[0145] In one embodiment, when the processor executes the computer program to determine the risk level of the environment in which the target monitoring device is located based on the target image, the following steps are also implemented:
[0146] Based on the risk identification model, the target image is identified for risk and the risk event corresponding to the target image is obtained; according to the risk event corresponding to the target image, the risk level of the environment in which the target monitoring device is located is determined.
[0147] In one embodiment, when the processor executes the computer program to obtain the importance level of the target monitoring device, the processor further implements the following steps:
[0148] The importance level of the target monitoring device is determined according to the voltage level of the transmission line where the target monitoring device is located; or, the importance level of the target monitoring device is obtained from the attribute information of the target monitoring device.
[0149] In one embodiment, when the processor executes the computer program to obtain the bandwidth level of the network access point of the target monitoring device, the following steps are also implemented:
[0150] When a communication connection is established with the management server of the target monitoring device, the round-trip delay of the communication with the management server is obtained through a network testing tool; based on the round-trip delay, the bandwidth level of the network access point of the target monitoring device is determined.
[0151] In one embodiment, when the processor executes the computer program to determine the timeliness level of the target image according to the risk level, the importance level and the bandwidth level, the following steps are also implemented:
[0152] The product of the risk level, importance level and bandwidth level is used as the timeliness level of the target image.
[0153] In one embodiment, when the processor executes the computer program to transmit the target image according to the timeliness level of the target image, the processor further implements the following steps:
[0154] According to the timeliness level of the target image, the sending time and sending strategy of the target image are determined; according to the sending time and sending strategy, the target image is transmitted.
[0155] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0156] After receiving the target image captured by the target monitoring device, determine the risk level of the environment where the target monitoring device is located according to the target image;
[0157] Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device;
[0158] Determine the timeliness level of the target image based on the risk level, importance level and bandwidth level;
[0159] The target image is transmitted according to the timeliness level of the target image.
[0160] In one embodiment, when the processor executes the computer program to determine the risk level of the environment in which the target monitoring device is located based on the target image, the following steps are also implemented:
[0161] Based on the risk identification model, the target image is identified for risk and the risk event corresponding to the target image is obtained; according to the risk event corresponding to the target image, the risk level of the environment in which the target monitoring device is located is determined.
[0162] In one embodiment, when the processor executes the computer program to obtain the importance level of the target monitoring device, the processor further implements the following steps:
[0163] The importance level of the target monitoring device is determined according to the voltage level of the transmission line where the target monitoring device is located; or, the importance level of the target monitoring device is obtained from the attribute information of the target monitoring device.
[0164] In one embodiment, when the processor executes the computer program to obtain the bandwidth level of the network access point of the target monitoring device, the following steps are also implemented:
[0165] When a communication connection is established with the management server of the target monitoring device, the round-trip delay of the communication with the management server is obtained through a network testing tool; based on the round-trip delay, the bandwidth level of the network access point of the target monitoring device is determined.
[0166] In one embodiment, when the processor executes the computer program to determine the timeliness level of the target image according to the risk level, the importance level and the bandwidth level, the following steps are also implemented:
[0167] The product of the risk level, importance level and bandwidth level is used as the timeliness level of the target image.
[0168] In one embodiment, when the processor executes the computer program to transmit the target image according to the timeliness level of the target image, the processor further implements the following steps:
[0169] According to the timeliness level of the target image, the sending time and sending strategy of the target image are determined; according to the sending time and sending strategy, the target image is transmitted.
[0170] It should be noted that the data involved in this application (including but not limited to data used for analysis, storage, display, etc.) are all information and data fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0171] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0172] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0173] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An image transmission method, characterized in that: The method comprises: After receiving the target image captured by the target monitoring device, determining the risk level of the environment in which the target monitoring device is located according to the target image; Obtaining the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device; Determining a timeliness level of the target image according to the risk level, the importance level, and the bandwidth level; The target image is transmitted according to the timeliness level of the target image.
2. The method according to claim 1, characterized in that Determining the risk level of the environment in which the target monitoring device is located according to the target image includes: Based on the risk identification model, risk identification is performed on the target image to obtain the risk event corresponding to the target image; The risk level of the environment in which the target monitoring device is located is determined according to the risk event corresponding to the target image.
3. The method according to claim 1, characterized in that The obtaining of the importance level of the target monitoring device includes: Determine the importance level of the target monitoring device according to the voltage level of the power transmission line where the target monitoring device is located; or, The importance level of the target monitoring device is obtained from the attribute information of the target monitoring device.
4. The method according to claim 1, characterized in that: Obtaining the bandwidth level of the network access point of the target surveillance device includes: When a communication connection is established with the management server of the target monitoring device, obtaining the round-trip delay of the communication with the management server through a network testing tool; The bandwidth level of the network access point of the target monitoring device is determined based on the round-trip delay.
5. The method according to claim 1, characterized in that Determining the timeliness level of the target image according to the risk level, the importance level and the bandwidth level includes: The product of the risk level, the importance level and the bandwidth level is used as the timeliness level of the target image.
6. The method according to claim 1, characterized in that The transmitting the target image according to the timeliness level of the target image includes: Determining the sending time and sending strategy of the target image according to the timeliness level of the target image; The target image is transmitted according to the sending time and the sending strategy.
7. An image transmission device, characterized in that: The device comprises: A first determination module is used to determine the risk level of the environment in which the target monitoring device is located according to the target image after receiving the target image collected by the target monitoring device; A second determination module is used to obtain the importance level of the target monitoring device and the bandwidth level of the network access point of the target monitoring device; A third determination module, configured to determine the timeliness level of the target image according to the risk level, the importance level and the bandwidth level; The image transmission module is used to transmit the target image according to the timeliness level of the target image.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
