Monitoring image management method and device, computer device and storage medium
By using a unified monitoring image management platform to access smart cabinet monitoring images and prioritizing queries to the cloud and cabinet databases, the problems of untimely image retrieval and poor image quality at night have been solved, enabling efficient loss verification and improved user experience.
Patent Information
- Application Number
- CN202310159614.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-16
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-02-16
AI Technical Summary
The existing smart cabinet monitoring image retrieval process is complex, network instability leads to failures or low efficiency, poor image quality at night affects the efficiency of lost item verification, and user experience is poor.
The monitoring image management platform centrally accesses monitoring images, prioritizing queries to the cloud and cabinet databases. If queries fail, it queries third-party platforms. Image acquisition strategies are configured to improve efficiency and timeliness, and preset visual optimization algorithms are used to enhance nighttime image quality.
It simplifies the process of retrieving surveillance images, improves the efficiency of lost image verification and the timeliness of image retrieval, enhances the quality of nighttime images, and improves the user experience.
Smart Images

Figure CN116233365B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent cabinets, and in particular to a monitoring image management method and device, computer equipment and a storage medium. BACKGROUND
[0002] The intelligent cabinet is configured with a monitoring camera, which is used to continuously collect monitoring images of the intelligent cabinet and the surrounding area of the intelligent cabinet at all times, and store the collected monitoring images to a third-party video monitoring platform, so as to completely record the entire process of user delivery, collection, mail sending and mail taking.
[0003] When a user uses the intelligent cabinet to store or take out an article, the user will inevitably lose the article. The user can call the intelligent cabinet customer service telephone to feed back the problem, and the customer service staff can retrieve the monitoring images of the corresponding period according to the user feedback to check the loss and solve the problem. The existing method is generally to directly obtain the monitoring images from the API service interface provided by the third-party video monitoring platform to display to the customer service staff. The monitoring images undergo a transmission process from the monitoring camera hardware video recorder to the third-party video monitoring platform and then to the enterprise video monitoring platform. Due to the long retrieval process, on the one hand, the network environment is unstable, and the monitoring image retrieval instruction sending or the monitoring image retrieval fails frequently. On the other hand, the data interaction efficiency is greatly limited when the data flow limiting and concurrent quantity limiting occur, because each business of the intelligent cabinet terminal needs to be connected to the third-party video monitoring platform for monitoring image data interaction. In addition, the quality of the original images taken by the monitoring camera at night is poor, which increases the difficulty of monitoring image recognition and affects the work efficiency of the customer service staff in checking the loss.
[0004] With the wide popularization and use of the intelligent cabinet, the loss checking is more and more frequent. However, due to the limited energy of the customer service staff and the complex process of retrieving the monitoring images, the efficiency of the loss checking is affected, and the problem cannot be solved in time, resulting in poor user experience of the intelligent cabinet. SUMMARY
[0005] Therefore, it is necessary to provide a monitoring image management method and device, computer equipment and a storage medium to solve the problems of untimely retrieval of monitoring images and low efficiency of loss checking.
[0006] A monitoring image management method comprises the following steps:
[0007] receiving a monitoring image calling request;
[0008] obtaining image calling parameters corresponding to the monitoring image calling request;
[0009] query a cloud database according to the image calling parameter to determine whether target cloud address information corresponding to the monitoring image calling request exists;
[0010] If not, query a cabinet-side database according to the image calling parameter to obtain target monitoring images corresponding to the monitoring image calling request from the cabinet-side database;
[0011] If the target monitoring images corresponding to the monitoring image calling request fail to be obtained, send the image calling parameter to a third-party monitoring platform to enable the third-party monitoring platform to return target third-party address information corresponding to the monitoring image calling request;
[0012] receive the target third-party address information and obtain the target monitoring images according to the target third-party address information.
[0013] A monitoring image management device, comprising:
[0014] a calling request receiving module configured to receive a monitoring image calling request;
[0015] a calling parameter obtaining module configured to obtain an image calling parameter corresponding to the monitoring image calling request;
[0016] a cloud database querying module configured to query a cloud database according to the image calling parameter to determine whether target cloud address information corresponding to the monitoring image calling request exists;
[0017] a cabinet-side database querying module configured to, if not, query a cabinet-side database according to the image calling parameter to obtain target monitoring images corresponding to the monitoring image calling request from the cabinet-side database;
[0018] a third-party monitoring platform querying module configured to, if the target monitoring images corresponding to the monitoring image calling request fail to be obtained, send the image calling parameter to a third-party monitoring platform to enable the third-party monitoring platform to return target third-party address information corresponding to the monitoring image calling request;
[0019] a target monitoring image obtaining module configured to receive the target third-party address information and obtain the target monitoring images according to the target third-party address information.
[0020] A computer device, comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer readable instructions to implement the above monitoring image management method.
[0021] One or more readable storage media storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the above-described method of monitoring image management.
[0022] The above-described method of monitoring image management, device, computer equipment and storage medium, the method receives a monitoring image calling request; obtain the image calling parameter corresponding to the monitoring image calling request; according to the image calling parameter to the cloud database for query, judge whether there is target cloud address information corresponding to the monitoring image calling request; if not, according to the image calling parameter to the cabinet terminal database for query, to obtain the target monitoring image corresponding to the monitoring image calling request from the cabinet terminal database; if the target monitoring image corresponding to the monitoring image calling request is failed, the image calling parameter is sent to the third party monitoring platform, so that the third party monitoring platform returns the target third party address information corresponding to the monitoring image calling request; receive the target third party address information, and obtain the target monitoring image according to the target third party address information. The monitoring image management method of the application sets up a monitoring image management platform connected with each business end, client and work order system, and the calling of monitoring image is unified by the monitoring image management platform, which simplifies the calling process of monitoring image and improves the efficiency of loss checking. In addition, the monitoring image management platform configures the monitoring image acquisition strategy, preferentially judges whether the cloud database has reusable resources, then obtains the monitoring image from the local data of the cabinet terminal through the cabinet terminal database, and finally requests the third party monitoring platform to obtain the monitoring image, which reduces the data dependence on the third party monitoring platform and improves the timeliness of monitoring image calling. BRIEF DESCRIPTION OF DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the application. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0024] Figure 1 It is a flowchart of the monitoring image management method in an embodiment of the application;
[0025] Figure 2 It is a structural schematic diagram of the monitoring image management device in an embodiment of the application;
[0026] Figure 3 It is a schematic diagram of the computer equipment in an embodiment of the application. DETAILED DESCRIPTION
[0027] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of the present application.
[0028] In an embodiment, as shown in Figure 1 A monitoring image management method is provided, comprising the following steps S10-S60.
[0029] S10, receiving a monitoring image calling request.
[0030] Understandably, the users of the intelligent cabinet include express users and pickup users, and when the users use the intelligent cabinet to store and take out articles, the problem of lost articles will inevitably occur. The express users and the pickup users can check the article waybill status through the APP application, public number or small program of the customer mobile terminal, and initiate a monitoring image calling request through a lost check entry. In addition, the user can also feedback the article loss problem by calling the intelligent cabinet customer service telephone, and the customer service staff can query the article waybill information, article storage compartment position and article loss time period according to the user feedback and generate a lost check work order, and initiate a monitoring image calling request through the work order system. A monitoring image management platform is set in the background server of the intelligent cabinet, which is used to uniformly call monitoring images, and the monitoring image calling request is received through the monitoring image management platform to call the monitoring image video or monitoring image screenshot of the target cabinet compartment position in the target loss time period.
[0031] S20, obtaining image calling parameters corresponding to the monitoring image calling request.
[0032] Understandably, the image calling parameters include associated waybill information, associated compartment position information and associated loss time information associated with the lost articles. After the monitoring image management platform receives the monitoring image calling request, the monitoring image calling request is analyzed to obtain the associated waybill information associated with the lost articles, and the target cabinet compartment position information of the cabinet where the lost articles are located is determined according to the associated waybill information. The monitoring image management platform can automatically determine the loss time period through the opening and closing time of the target cabinet compartment position, or can determine the target loss time period selected by the express user, pickup user or customer service staff according to the calling time period selection instruction, so as to call the monitoring image video or monitoring image screenshot of the target cabinet compartment position in the target loss time period.
[0033] S30, querying the cloud database according to the image calling parameters to determine whether there is target cloud address information corresponding to the monitoring image calling request.
[0034] Understandably, the cloud database is a database for monitoring image management platform to access monitoring image data, on the one hand, for monitoring image management platform to store the newly added monitoring image data obtained from the cabinet machine end or the third party monitoring platform, and to generate the corresponding cloud address information. The cloud address information is the download address link corresponding to the monitoring image data stored in the cloud database. On the other hand, for monitoring image management platform to extract the cloud address information of the existing monitoring image data stored from the cabinet machine end or the third party monitoring platform. In order to respond to the monitoring image calling request, the monitoring image management platform first queries the cloud database according to the image calling parameters to determine whether there is target cloud address information corresponding to the monitoring image calling request, so as to directly reuse the target monitoring image corresponding to the target cloud address information in the cloud database.
[0035] S40, if not, querying the cabinet machine end database according to the image calling parameters to obtain the target monitoring image corresponding to the monitoring image calling request from the cabinet machine end database.
[0036] Understandably, if there is no target cloud address information corresponding to the monitoring image calling request, it means that there is no target monitoring image corresponding to the target cloud address information in the existing monitoring image data in the cloud database, and the monitoring image management platform has not called the same target monitoring image data of the same target cabinet compartment position in the same target missing time period. The cabinet machine end database is the local database of the intelligent cabinet. Since the cabinet machine end and the monitoring camera are in the same local area network, the network stability is good and the transmission speed is fast, therefore, when there is no reusable target monitoring image in the cloud database, the target monitoring image is queried through the cabinet machine end database first. The cabinet machine end of the intelligent cabinet can obtain the monitoring image data of the recent several times of the cabinet compartment from opening to closing from the monitoring camera according to the preset snapshot rule, and store it to the cabinet machine end database. When the storage space of the cabinet machine end database is full, the monitoring image data with earlier time is automatically overwritten. The cabinet machine end of the intelligent cabinet and the monitoring camera interact data through the software development kit (SDK) protocol of the monitoring service provider, so as to access the frame data of the monitoring image from each monitoring camera. The monitoring image management platform queries the cabinet machine end database according to the image calling parameters, and when there is target monitoring image satisfying the image calling parameters in the cabinet machine end database, the target monitoring image corresponding to the monitoring image calling request is directly obtained from the cabinet machine end database.
[0037] S50, if the target monitoring image corresponding to the monitoring image calling request fails to be obtained, the image calling parameters are sent to the third party monitoring platform, so that the third party monitoring platform returns the target third party address information corresponding to the monitoring image calling request.
[0038] Understandably, the storage space of the local database of the intelligent cabinet terminal is limited, and only the latest several monitoring image data can be obtained from the monitoring camera according to the preset snapshot rule. If the interval time of the lost time period is too long, the target monitoring image corresponding to the monitoring image calling request cannot be directly obtained from the terminal database. The third-party monitoring platform is a background service database of the monitoring service provider, independent of the cloud database and the terminal database of the intelligent cabinet, used for backing up the monitoring image data recorded by all monitoring cameras of the monitoring service provider, and providing paid monitoring image data query service to the monitoring service purchaser (such as the intelligent cabinet enterprise). There is a stable remote network connection between the third-party monitoring platform and the monitoring camera, which can continuously obtain and store the monitoring image data shot by the monitoring camera. The monitoring image management platform and the third-party monitoring platform interact through an application programming interface (API), and the third-party address information is a time-limited download address link corresponding to the monitoring image data stored in the third-party monitoring platform database. When the third-party monitoring platform receives the image calling parameters sent by the monitoring image management platform, the third-party monitoring platform queries the target monitoring image corresponding to the monitoring image calling request and generates the target third-party address information to return to the monitoring image management platform.
[0039] S60, receiving the target third-party address information, and obtaining the target monitoring image according to the target third-party address information.
[0040] Understandably, the monitoring image management platform receives the target third-party address information returned by the third-party monitoring platform, downloads the target monitoring image from the third-party monitoring platform database according to the target third-party address information and performs post-processing, and sends the processed target monitoring image to the client terminal and the work order system for display, realizing the loss check of the lost article.
[0041] The embodiment calls a monitoring image by receiving a monitoring image calling request; acquires image calling parameters corresponding to the monitoring image calling request; queries a cloud database according to the image calling parameters, and judges whether there is target cloud address information corresponding to the monitoring image calling request; if not, queries a cabinet terminal database according to the image calling parameters, so as to acquire target monitoring images corresponding to the monitoring image calling request from the cabinet terminal database; if the acquisition of the target monitoring images corresponding to the monitoring image calling request fails, sends the image calling parameters to a third-party monitoring platform, so that the third-party monitoring platform returns target third-party address information corresponding to the monitoring image calling request; receives the target third-party address information, and acquires the target monitoring images according to the target third-party address information. The monitoring image management method of the embodiment connects each business terminal, client and work order system through the monitoring image management platform, and calls the monitoring image by the monitoring image management platform, which simplifies the calling process of the monitoring image and improves the efficiency of loss checking. In addition, the monitoring image management platform configures a monitoring image acquisition strategy, preferentially judges whether there is reusable resource in the cloud database, then acquires the monitoring image from the local data of the cabinet terminal through the cabinet terminal database, and finally requests the monitoring image from the third-party monitoring platform, which reduces the data dependence on the third-party monitoring platform and improves the timeliness of the monitoring image calling. The monitoring image management platform is compatible with multiple monitoring image access modes and resources, and provides a unified docking platform for each project and each business, thereby improving the access efficiency. When each project and each business initiates the demand for monitoring image video download or video screenshot, the three different calling strategies are used to realize the timely calling of the monitoring image, automatically execute the work order closing, and improve the loss checking efficiency of the customer service staff.
[0042] Optionally, after the step S30, that is, the step of querying the cloud database according to the image calling parameters and judging whether there is target cloud address information corresponding to the monitoring image calling request, the step S30 further includes:
[0043] S301, if yes, acquiring the target monitoring images from the cloud database according to the target cloud address information.
[0044] Understandably, if the cloud database exists target cloud address information corresponding to the monitoring image calling request, it means that there is a target monitoring image that can be directly reused in the existing monitoring image data in the cloud database, and the monitoring image management platform has called the monitoring image data of the same target cabinet compartment position in the same target missing time period. In an embodiment, the courier user first discovers that the goods of the waybill are missing, the courier user initiates a monitoring image calling request through the loss check entry of the mobile terminal APP application, the monitoring image management platform responds to the monitoring image calling request, obtains the target monitoring image of the target cabinet compartment position in the target missing time period corresponding to the monitoring image calling request from the cabinet end database, and uploads the target monitoring image to the cloud database to generate the target cloud address information. Subsequently, the pickup user discovers that the goods of the same waybill are missing, the pickup user feeds back the goods missing problem by calling the intelligent cabinet customer service telephone, the customer service staff queries the goods waybill information, the goods storage compartment position and the goods missing time period according to the user feedback and generates a loss check work order, and initiates a monitoring image calling request through the work order system. The monitoring image management platform responds to the monitoring image calling request, first queries the cloud database, at this time the cloud database exists target cloud address information corresponding to the monitoring image calling request, that is, the cloud database exists target monitoring image of the same target cabinet compartment position in the same target missing time period corresponding to the monitoring image calling request, then the monitoring image management platform directly downloads the target monitoring image from the cloud database according to the target cloud address information.
[0045] The embodiment connects each business end, client end and work order system through the monitoring image management platform, and uniformly calls the monitoring image by the monitoring image management platform. After receiving the monitoring image calling request, the cloud database is first queried, and the reusable monitoring image is directly called, so that the time for monitoring image query and calling is saved, and the efficiency of loss check is improved.
[0046] Optionally, before the step S40, that is, before the cloud database is queried according to the image calling parameter, the step S40 comprises:
[0047] S401, the cabinet end receives the snapshot rule configuration information, and generates a preset snapshot rule;
[0048] S402, the cabinet end sends a monitoring snapshot request to the monitoring camera according to the preset snapshot rule, so that the monitoring camera snaps a monitoring image according to the monitoring snapshot request;
[0049] S403, the cabinet end receives the monitoring image returned by the monitoring camera, and stores the monitoring image to the cabinet end database.
[0050] Understandably, the snapshot rule configuration information is information set by the background for determining the monitoring camera snapshot rule, and the default snapshot rule configuration information of the system can be set, and the custom snapshot rule configuration information can be set by the operator according to the need. The preset snapshot rule is a specific rule generated according to the snapshot rule configuration information, for example, when one of the compartments of the cabinet machine end is opened, the monitoring camera is used to obtain the monitoring image video of the corresponding compartment in the time period from 10 seconds before the opening time point to 10 seconds after the closing time point. The cabinet machine end and the monitoring camera of the intelligent cabinet interact with each other through the software development kit (SDK) protocol of the monitoring service provider to obtain the monitoring image data recorded by the monitoring camera. The cabinet machine end sends a monitoring snapshot request to the monitoring camera according to the preset snapshot rule, receives the monitoring image returned by the monitoring camera in response to the monitoring snapshot request, and stores it in the cabinet machine end database.
[0051] In this embodiment, the cabinet machine end sends a monitoring snapshot request to the monitoring camera according to the preset snapshot rule, receives the monitoring image returned by the monitoring camera and stores it in the cabinet machine end database, so that when there is no reusable data in the cloud database, the monitoring image management platform can preferentially call the local data of the cabinet machine end. On the one hand, the cabinet machine end and the monitoring camera are in the same local area network, which improves the stability of calling the monitoring image and improves the efficiency of the loss check; on the other hand, the dependence on the third-party monitoring platform is reduced, and the cost of paid services is saved.
[0052] Optionally, in step S50, the target monitoring image is obtained according to the target third-party address information, comprising:
[0053] S501, obtaining an initial target monitoring image according to the target third-party address information;
[0054] S502, if the image calling parameter is a night time period, the initial target monitoring image is enhanced according to a preset visual optimization algorithm to obtain the target monitoring image.
[0055] Understandably, the night period refers to the period from the start time of the night in the smart cabinet delivery area to the end time of the night. The night period is different in different seasons and different areas. It can be set by the operation personnel according to the actual situation of the area, or the sunrise and sunset time of the delivery area can be input, or the light-on and light-off time of the smart cabinet can be input. The light-on and light-off time of the smart cabinet can be automatically adjusted by sensing the light. The preset visual optimization algorithm is a neural network algorithm pre-trained for enhancing the monitoring image in the night period. The enhancement processing at least includes noise reduction processing, brightness enhancement processing, contrast enhancement processing, white balance processing, image edge sharpening processing and color correction processing. Whether the monitoring image data obtained by the cabinet terminal database or the monitoring image data downloaded by the third-party monitoring platform, the essence is the data backup of the monitoring camera, which will contain the recording time of the monitoring camera, corresponding to the target missing time period range parameter in the image calling parameter. In an embodiment, it is judged whether the target missing time period in the image calling parameter of the initial target monitoring image obtained by the monitoring image management platform falls in the night period. When the target missing time period falls in the night period, the initial target monitoring image is enhanced according to the preset visual optimization algorithm to obtain the target monitoring image. When the target missing time period does not fall in the night period, no enhancement processing is needed, and the initial target monitoring image is directly used as the target monitoring image.
[0056] In this embodiment, the target monitoring image in the target missing time period is enhanced by the preset visual optimization algorithm, which ensures the quality of the target monitoring image, reduces the phenomenon of re-feedback due to image clarity, and improves the accuracy of the missing verification.
[0057] Optionally, after obtaining the target monitoring image according to the target third-party address information in step S50, the method further comprises:
[0058] S503, uploading the target monitoring image to the cloud database and obtaining the cloud address information of the target monitoring image;
[0059] S504, sending the cloud address information to the requestor of the monitoring image calling request.
[0060] Understandably, on the one hand, due to the limited storage space of the cabinet terminal database, the target monitoring image may be covered by new data; on the other hand, when the third-party monitoring platform provides paid monitoring image data query service, the returned third-party address information has a certain period, and after the period is exceeded, repeated access will be caused. Therefore, whether the monitoring image management platform obtains monitoring image data through the cabinet terminal database or downloads the monitoring image data through the third-party monitoring platform, the monitoring image data needs to be uploaded to the cloud database for long-term storage in order to reuse the monitoring image data. The cloud address information is the download address link corresponding to the monitoring image data stored in the cloud database, and the cloud address information includes the image calling parameters corresponding to the monitoring image data, such as the associated order information, so as to quickly query the target monitoring image from the cloud database. In an embodiment, the monitoring image management platform uploads the target monitoring image to the cloud database and obtains the target cloud address information of the target monitoring image, and sends the target cloud address information to the requestor of the monitoring image calling request. The requestor can be a work order system or various business and customer terminal APP applications. Among them, the work order system can set the work order automatic closing time limit for the monitoring image calling request, for example, if no feedback is received from the same requestor within 5 days, the work order is automatically closed; if feedback is received from the same requestor again within 5 days, the work order is automatically built and transferred to the customer service staff for processing.
[0061] In this embodiment, by uploading the target monitoring image to the cloud database and generating the cloud address information, the reusability of the monitoring image is ensured, and the cloud database is convenient to query, which saves the time of monitoring image query and calling.
[0062] Optionally, before the target monitoring image is uploaded to the cloud database in step S503, the method further includes:
[0063] S5031, extracting a screenshot rule from the monitoring image calling request;
[0064] S5032, performing screenshot processing on the target monitoring image according to the screenshot rule to obtain target monitoring screenshot data, and uploading the target monitoring screenshot data to the cloud database.
[0065] Understandably, the screenshot rule refers to an operation rule for taking screenshots of the monitoring image according to the needs in the monitoring image calling request. Considering that viewing the monitoring image video may ignore details, the target monitoring image can be automatically taken screenshots according to the screenshot rule, for example, set to generate a screenshot every 2 seconds, which is conducive to screenshot comparison. In an embodiment, before uploading the target monitoring image to the cloud database, it is judged whether there is a screenshot rule in the monitoring image calling request. If there is a screenshot rule, the target monitoring image is processed according to the screenshot rule and a watermark is added to obtain target monitoring screenshot data, so as to upload the target monitoring screenshot data to the cloud database. If there is no screenshot rule, the target monitoring image video is directly added with a watermark, and the target monitoring image video is uploaded to the cloud database. The monitoring image management platform obtains the target monitoring screenshot or the target monitoring image video from the cloud database according to the monitoring image calling request and sends it to the work order system or the customer terminal for display.
[0066] The embodiment takes screenshots of the target monitoring image through the screenshot rule in the monitoring image calling request, further optimizes the quality of the monitoring image, facilitates comparison and viewing by users and customer service staff, and improves the efficiency of loss checking.
[0067] Optionally, the image calling parameter includes associated hatch position information; in step S20, the image calling parameter corresponding to the monitoring image calling request is obtained, including:
[0068] S201, the associated hatch position information corresponding to the monitoring image calling request is obtained;
[0069] S202, the associated hatch position information is processed according to a preset recommendation algorithm to obtain camera recommended channel information;
[0070] S203, the target monitoring camera is determined according to the camera recommended channel information, so as to receive the target monitoring image returned by the target monitoring camera.
[0071] Understandably, a smart cabinet includes multiple cabinet slots. To ensure comprehensive monitoring coverage, a smart cabinet typically includes at least two surveillance cameras, such as a left and a right camera. Different cameras record images from different angles at different cabinet slot locations, resulting in varying levels of recognition accuracy. The preset recommendation algorithm is a neural network algorithm pre-trained based on the success rates of recognition from the left and right cameras at historical cabinet slot locations. It recommends whether to use the left camera image, the right camera image, or a combination of both for different cabinet slot locations. Camera recommendation channel information refers to the camera channels used to acquire surveillance images, such as a left camera channel, a right camera channel, or a dual-channel left camera. After the surveillance image management platform obtains the associated cabinet slot location information corresponding to the surveillance image request, it processes this information according to the preset recommendation algorithm to obtain the camera recommendation channel information and determine the target surveillance camera. This allows for data interaction between the cabinet and the target surveillance camera to acquire the target surveillance image, or for the target surveillance image to be returned by a third-party monitoring platform.
[0072] In this embodiment, when the monitoring image management platform acquires monitoring images of the target cabinet compartment location during the target time period of loss, it determines the recommended channel information of the camera through a preset recommendation algorithm and selects the corresponding monitoring camera for data interaction. This helps to save resources for calling up monitoring cameras, improves the accuracy and recognition success rate of monitoring images, and improves the efficiency of loss verification.
[0073] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0074] In one embodiment, a surveillance image management device is provided, which corresponds one-to-one with the surveillance image management method described in the above embodiments. For example... Figure 2 As shown, the monitoring image management device includes a call request receiving module 10, a call parameter acquisition module 20, a cloud database query module 30, a cabinet-side database query module 40, a third-party monitoring platform query module 50, and a target monitoring image acquisition module 60. Detailed descriptions of each functional module are as follows:
[0075] Call request receiving module 10 is used to receive monitoring image call requests;
[0076] The parameter acquisition module 20 is used to acquire the image call parameters corresponding to the monitoring image call request;
[0077] The cloud database query module 30 is configured to query a cloud database according to the image calling parameter, and determine whether target cloud address information corresponding to the monitoring image calling request exists.
[0078] The cabinet-side database query module 40 is configured to, if the target cloud address information does not exist, query a cabinet-side database according to the image calling parameter, so as to obtain the target monitoring image corresponding to the monitoring image calling request from the cabinet-side database.
[0079] The third-party monitoring platform query module 50 is configured to, if the target monitoring image corresponding to the monitoring image calling request fails to be obtained, send the image calling parameter to a third-party monitoring platform, so that the third-party monitoring platform returns target third-party address information corresponding to the monitoring image calling request.
[0080] The target monitoring image acquisition module 60 is configured to receive the target third-party address information, and acquire the target monitoring image according to the target third-party address information.
[0081] Optionally, the cloud database query module 30 comprises:
[0082] The cloud database query unit is configured to, if the target cloud address information exists, acquire the target monitoring image from the cloud database according to the target cloud address information.
[0083] Optionally, the cabinet-side database query module 40 comprises:
[0084] The preset snapshot rule generation unit is configured to receive snapshot rule configuration information at the cabinet side, and generate a preset snapshot rule.
[0085] The monitoring snapshot request sending unit is configured to send a monitoring snapshot request to a monitoring camera at the cabinet side according to the preset snapshot rule, so that the monitoring camera snaps a monitoring image according to the monitoring snapshot request.
[0086] The monitoring image receiving unit is configured to receive the monitoring image returned by the monitoring camera at the cabinet side, and store the monitoring image to the cabinet-side database.
[0087] Optionally, the third-party monitoring platform query module 50 comprises:
[0088] The initial target monitoring image acquisition unit is configured to acquire an initial target monitoring image according to the target third-party address information.
[0089] The enhancement processing unit is configured to, if the image calling parameter is a night time period, perform enhancement processing on the initial target monitoring image according to a preset visual optimization algorithm, to obtain the target monitoring image.
[0090] Optionally, the third-party monitoring platform query module 50 further comprises:
[0091] a cloud address information obtaining unit, configured to upload the target monitoring image to the cloud database and obtain cloud address information of the target monitoring image;
[0092] a cloud address information sending unit, configured to send the cloud address information to a requester of the monitoring image calling request.
[0093] Optionally, the third-party monitoring platform query module 50 further comprises:
[0094] a screenshot rule extraction unit, configured to extract a screenshot rule from the monitoring image calling request;
[0095] a screenshot processing unit, configured to perform screenshot processing on the target monitoring image according to the screenshot rule to obtain target monitoring screenshot data, and upload the target monitoring screenshot data to the cloud database.
[0096] Optionally, the calling parameter obtaining module 20 comprises:
[0097] an associated gate location information obtaining unit, configured to obtain associated gate location information corresponding to the monitoring image calling request;
[0098] a camera recommended channel information obtaining unit, configured to process the associated gate location information according to a preset recommendation algorithm to obtain camera recommended channel information;
[0099] a target monitoring camera determining unit, configured to determine a target monitoring camera according to the camera recommended channel information, to receive a target monitoring image returned by the target monitoring camera.
[0100] Specific limitations on the monitoring image management apparatus can be seen from the limitations on the monitoring image management method in the foregoing, which will not be repeated here. Each module in the above monitoring image management apparatus can be realized by software, hardware and combinations thereof in whole or in part. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0101] In one embodiment, a computer device is provided, which can be a terminal, and an internal structure diagram thereof can be as shown in Figure 3The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. The processor of the computer device is configured 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 and computer readable instructions. The internal memory provides an environment for running the operating system and computer readable instructions in the non-volatile storage medium. The network interface of the computer device is configured to communicate with an external server through a network connection. The computer readable instructions are executed by the processor to implement a monitoring image management method. The readable storage medium provided in the embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0102] In one embodiment, a computer device is provided, including a memory, a processor, and computer readable instructions stored on the memory and executable on the processor, the processor executing the computer readable instructions to implement the following steps:
[0103] receiving a monitoring image calling request;
[0104] obtaining image calling parameters corresponding to the monitoring image calling request;
[0105] querying a cloud database according to the image calling parameters to determine whether there is target cloud address information corresponding to the monitoring image calling request;
[0106] If not, querying a cabinet-side database according to the image calling parameters to obtain target monitoring images corresponding to the monitoring image calling request from the cabinet-side database;
[0107] If the target monitoring images corresponding to the monitoring image calling request are failed to be obtained, sending the image calling parameters to a third-party monitoring platform to make the third-party monitoring platform return target third-party address information corresponding to the monitoring image calling request;
[0108] receiving the target third-party address information and obtaining the target monitoring images according to the target third-party address information.
[0109] In one embodiment, one or more computer readable storage media storing computer readable instructions are provided. The readable storage medium provided in the embodiment includes a non-volatile readable storage medium and a volatile readable storage medium. The computer readable instructions stored on the readable storage medium are executed by one or more processors to implement the following steps:
[0110] receiving a monitoring image calling request;
[0111] obtaining image calling parameters corresponding to the monitoring image calling request;
[0112] querying the cloud database according to the image calling parameter, and determining whether there is target cloud address information corresponding to the monitoring image calling request;
[0113] If not, querying the cabinet-side database according to the image calling parameter, to obtain target monitoring image corresponding to the monitoring image calling request from the cabinet-side database;
[0114] If the target monitoring image corresponding to the monitoring image calling request fails to be obtained, sending the image calling parameter to the third-party monitoring platform, to make the third-party monitoring platform return target third-party address information corresponding to the monitoring image calling request;
[0115] receiving the target third-party address information, and obtaining the target monitoring image according to the target third-party address information.
[0116] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by computer readable instructions instructing related hardware, and the computer readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer readable instructions are executed, the processes of the above-mentioned embodiments can be included. Any reference to memory, storage, database or other medium used in each embodiment provided by the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0117] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
[0118] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application; although the present application has been described in detail with reference to the foregoing embodiments, those ordinarily skilled in the art should understand: the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of monitoring image management, characterized by, The method comprises the following steps: receiving a monitoring image calling request; obtaining image calling parameters corresponding to the monitoring image calling request, wherein the image calling parameters comprise associated waybill information, associated locker position information and associated lost time information associated with lost articles; querying a cloud database according to the image calling parameters to determine whether target cloud address information corresponding to the monitoring image calling request exists; if not, querying a cabinet machine end database according to the image calling parameters to obtain target monitoring images corresponding to the monitoring image calling request from the cabinet machine end database; if the target monitoring images corresponding to the monitoring image calling request cannot be obtained, sending the image calling parameters to a third-party monitoring platform to enable the third-party monitoring platform to return target third-party address information corresponding to the monitoring image calling request; receiving the target third-party address information and obtaining the target monitoring images according to the target third-party address information; wherein the step of obtaining the image calling parameters corresponding to the monitoring image calling request comprises the following steps: obtaining associated locker position information corresponding to the monitoring image calling request; processing the associated locker position information according to a preset recommendation algorithm to obtain camera recommended channel information; determining a target monitoring camera according to the camera recommended channel information to receive target monitoring images returned by the target monitoring camera.
2. The monitoring image management method according to Claim 1, wherein after the step of querying the cloud database according to the image calling parameters to determine whether target cloud address information corresponding to the monitoring image calling request exists, the method further comprises the following step: if the target cloud address information exists, obtaining the target monitoring images from the cloud database according to the target cloud address information.
3. The monitoring image management method of claim 1, wherein, before the step of querying the cabinet machine end database according to the image calling parameters, the method further comprises the following steps: receiving snap rule configuration information by the cabinet machine end to generate a preset snap rule; sending a monitoring snap request to a monitoring camera according to the preset snap rule by the cabinet machine end to enable the monitoring camera to snap monitoring images according to the monitoring snap request; receiving the monitoring images returned by the monitoring camera and storing the monitoring images into a cabinet machine end database by the cabinet machine end.
4. The monitoring image management method of claim 1, wherein, the step of obtaining the target monitoring images according to the target third-party address information comprises the following steps: obtaining initial target monitoring images according to the target third-party address information; if the image calling parameters are in a night time period, enhancing the initial target monitoring images according to a preset visual optimization algorithm to obtain the target monitoring images.
5. The monitoring image management method of claim 1, wherein, after the step of obtaining the target monitoring images according to the target third-party address information, the method further comprises the following steps: uploading the target monitoring images to the cloud database and obtaining cloud address information of the target monitoring images; sending the cloud address information to a requester of the monitoring image calling request.
6. The monitoring image management method of claim 5, wherein, before the step of uploading the target monitoring images to the cloud database, the method further comprises the following steps: extracting a screenshot rule from the monitoring image calling request; performing screenshot processing on the target monitoring images according to the screenshot rule to obtain target monitoring screenshot data, and uploading the target monitoring screenshot data to the cloud database.
7. An image monitoring apparatus characterized by comprising: The calling request receiving module is configured to receive a monitoring image calling request. The calling parameter obtaining module is configured to obtain image calling parameters corresponding to the monitoring image calling request, the image calling parameters including associated waybill information, associated compartment location information, and associated lost time information associated with the lost article. The cloud database querying module is configured to query a cloud database according to the image calling parameters to determine whether target cloud address information corresponding to the monitoring image calling request exists. The cabinet terminal database querying module is configured to, if the target cloud address information does not exist, query a cabinet terminal database according to the image calling parameters to obtain target monitoring images corresponding to the monitoring image calling request from the cabinet terminal database. The third-party monitoring platform querying module is configured to, if the target monitoring images corresponding to the monitoring image calling request are not obtained, send the image calling parameters to a third-party monitoring platform to enable the third-party monitoring platform to return target third-party address information corresponding to the monitoring image calling request. The target monitoring image obtaining module is configured to receive the target third-party address information and obtain the target monitoring images according to the target third-party address information. The calling parameter obtaining module includes: The associated compartment location information obtaining unit is configured to obtain associated compartment location information corresponding to the monitoring image calling request. The camera recommended channel information obtaining unit is configured to process the associated compartment location information according to a preset recommendation algorithm to obtain camera recommended channel information. The target monitoring camera determining unit is configured to determine a target monitoring camera according to the camera recommended channel information to receive target monitoring images returned by the target monitoring camera.
8. A computer device comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein, The processor executes the computer readable instructions to implement the monitoring image management method in any one of claims 1 to 6.
9. A computer-readable storage medium having stored computer-readable instructions, wherein, The computer readable instructions are executed by one or more processors to enable the one or more processors to perform the monitoring image management method in any one of claims 1 to 6.
Citation Information
Patent Citations
Double-dome-camera-based automatic detection and snapshot apparatus for illegal parking
CN105185109A
Monitoring data storage system
CN113194295A