Event notification method and device, storage medium and terminal

By intelligently analyzing the cover data of the incident video in front of the door, determining the event level and selecting an appropriate notification method, the problem of a single event notification strategy for smart door locks is solved, enabling flexible processing of events of different emergency levels, and improving user experience.

CN118690284APending Publication Date: 2024-09-24SHENZHEN QIHOO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410695727.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The event notification strategy of existing smart door locks is single and cannot be flexibly adjusted. It is easy to disturb users when unnecessary or fail to notify in time when needed.

Method used

By determining the cover data of the event video in front of the door, input the event notification model to obtain the event level, and select the appropriate notification method according to the event level, including SMS, phone call or pop-up notification.

Benefits of technology

It realizes flexible notifications for events of different emergency levels, improves user experience, ensures timely response in emergencies and reduces unnecessary interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690284A
    Figure CN118690284A
Patent Text Reader

Abstract

The invention discloses an event notification method and device, a storage medium and a terminal. Determining cover data of a door-ahead event video recorded for the door-ahead event; the cover data are input into the event notification large model, the event level of a door event output by the event notification large model based on the cover data is determined, and the event level is used for describing the emergency degree of the door event; and determining a target notification mode corresponding to the door event according to the event level, and sending notification information of the door event according to the target notification mode. The large event classification model can perform intelligent analysis according to the video cover data to determine the door event reflected by the cover data and analyze the emergency degree from the property of the event so as to obtain the event level of the door event; if the event level is output based on the large event classification model, different notification modes can be adopted for each event according to the event level, so that a more reasonable notification mode can be adopted for each event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart door locks, and in particular to an event notification method, device, storage medium and terminal. Background Art

[0002] Compared with traditional mechanical locks, smart door locks not only have the function of opening and closing the door, but also can visually monitor the scene in front of the door, so that users can understand various events happening in front of the door. With its convenience, safety and intelligence, smart door locks solve the problems of traditional door locks and provide users with a safer, more convenient and intelligent life experience. In order to enable users to understand the events that occur in a timely manner, an event notification method is needed to notify users according to the events that occur. Summary of the invention

[0003] The present application provides an event notification method, device, storage medium and terminal, which can solve the technical problem in the related art that unreasonable notification strategies easily disturb users.

[0004] In a first aspect, an embodiment of the present application provides an event notification method, the method comprising:

[0005] Determine cover data of the door front event video recorded for the door front event;

[0006] Input the cover data into the event notification big model, and determine the event level of the door front event output by the event notification big model based on the cover data, wherein the event level is used to describe the urgency of the door front event;

[0007] The target notification method corresponding to the above-mentioned door-front event is determined according to the above-mentioned event level, and notification information of the above-mentioned door-front event is issued according to the above-mentioned target notification method.

[0008] In a feasible implementation manner, the above-mentioned determination of the event level of the above-mentioned door front event output by the above-mentioned event notification big model based on the above-mentioned cover data includes: after determining that the above-mentioned event notification big model obtains the event type information of the above-mentioned door front event based on the above-mentioned cover data, the event level of the above-mentioned door front event is output according to the above-mentioned event type information.

[0009] In a feasible implementation manner, the above-mentioned event type information includes character information, event information and scene information. After the above-mentioned event notification big model is determined to obtain the event type information of the above-mentioned door-front event based on the above-mentioned cover data, the event level of the above-mentioned door-front event output according to the above-mentioned event type information includes: after the above-mentioned event notification big model is determined to obtain the character information, event information and scene information of the above-mentioned door-front event based on the above-mentioned cover data, a first-level prediction result is obtained based on the above-mentioned character information, a second-level prediction result is obtained based on the above-mentioned event information and a third-level prediction result is obtained based on the above-mentioned scene information, and the event level of the door-front event is output by integrating the above-mentioned first-level prediction result, the above-mentioned second-level prediction result and the above-mentioned third-level prediction result; wherein, the level prediction result is the probability that the above-mentioned door-front event predicted by the above-mentioned event notification big model belongs to each event level among multiple event levels.

[0010] In a feasible implementation, the method further includes: responding to an event level setting instruction for the target event type information, determining the target event level corresponding to the target event type information based on the event level setting information in the event level setting instruction; before inputting the cover data into the event notification big model, it further includes: judging whether the door front event has the target event type information based on the cover data; if so, determining that the event level of the door front event is the target event level; if not, executing the step of inputting the cover data into the event notification big model.

[0011] In a feasible implementation, the above-mentioned event notification model is used to weight the above-mentioned multiple levels of prediction results of the above-mentioned door-front event based on the preset weights corresponding to each level of prediction result when fusing the multiple levels of prediction results of the above-mentioned door-front event to obtain the event level of the above-mentioned door-front event.

[0012] In a feasible implementation, the above-mentioned event level includes at least one of a general event level, an important event level, a dangerous event level, and an emergency event level; the above-mentioned method also includes: presetting different notification methods for each event level according to the urgency of each event level in the multiple event levels, and the preset notification method includes at least one of SMS notification, phone notification, and pop-up notification.

[0013] In a feasible implementation manner, the method further includes: in response to a notification mode adjustment instruction triggered for a target event level, changing the notification mode of the target event level based on notification mode modification information in the notification mode adjustment instruction.

[0014] In a feasible implementation, the method further includes: constructing an initial event notification big model for the event notification scenario based on the basic multimodal big model; obtaining multiple sample cover data, wherein the multiple sample cover data are all sample data with standard level labels; inputting the multiple sample cover data into the initial event notification big model, and training the initial event notification big model; during the training process of the initial event notification big model, controlling the initial event notification big model to output predicted level labels for the multiple sample cover data, and adjusting the parameters of the initial event notification big model according to the predicted level labels and the standard level labels of the multiple sample cover data until the initial event notification big model converges, thereby obtaining the trained event notification big model.

[0015] In a feasible implementation manner, the parameters of the above-mentioned initial event notification large model are adjusted according to the above-mentioned prediction level labels and the standard level labels of the above-mentioned multiple sample cover data until the above-mentioned initial event notification large model converges, including: calculating the training loss value according to the above-mentioned prediction level labels and the standard level labels of the above-mentioned multiple sample cover data, adjusting the parameters of the above-mentioned initial event notification large model based on the above-mentioned training loss value until the training loss value of the above-mentioned initial event notification large model meets the target value condition, and determining that the above-mentioned initial event notification large model converges.

[0016] In a second aspect, an embodiment of the present application provides an event notification device, the device comprising:

[0017] A cover acquisition module, used to determine cover data of the door front event video recorded for the door front event;

[0018] An event grading module, used for inputting the cover data into the event notification big model, and determining the event level of the door front event output by the event notification big model based on the cover data, wherein the event level is used to describe the urgency of the door front event;

[0019] The event notification module is used to determine the target notification method corresponding to the above-mentioned door-front event according to the above-mentioned event level, and send out the notification information of the above-mentioned door-front event according to the above-mentioned target notification method.

[0020] In a third aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method.

[0021] In a fourth aspect, an embodiment of the present application provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is suitable for being loaded by the processor and executing the steps of the method.

[0022] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

[0023] The present application provides an event notification method, which determines the cover data of the door front event video recorded for the door front event; inputs the cover data into the event notification big model, determines the event level of the door front event output by the event notification big model based on the cover data, and the event level is used to describe the urgency of the door front event; determines the target notification method corresponding to the door front event according to the event level, and sends the notification information of the door front event according to the target notification method. Since the event classification big model can perform intelligent analysis based on the video cover data, determine the door front event reflected by the cover data and analyze its urgency from the nature of the event, thereby obtaining the event level of the door front event; then based on the event level output by the event classification big model, different notification methods can be adopted for each event according to the level of the event, so that a more reasonable notification method can be adopted for various events, and flexible notification of events of different urgency levels can be achieved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0025] Figure 1 An exemplary system architecture diagram of an event notification method provided in an embodiment of the present application;

[0026] Figure 2 A flowchart of an event notification method provided in an embodiment of the present application;

[0027] Figure 3 A flowchart of an event notification method provided in an embodiment of the present application;

[0028] Figure 4 A flowchart of a model training method for a large event notification model provided in an embodiment of the present application;

[0029] Figure 5 A structural block diagram of an event notification device provided in an embodiment of the present application;

[0030] Figure 6 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the features and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0032] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0033] With the development of the Internet and technology, people pay more and more attention to home security issues. Traditional mechanical locks have gradually failed to meet the security needs of users. Therefore, more intelligent and simple locks in terms of security, identification, and management have emerged. Compared with traditional mechanical locks, smart door locks not only have the function of opening and closing the door, but also can visually monitor the scene in front of the door, so that users can understand various events happening in front of the door. With its convenience, safety and intelligence, smart door locks solve the problems of traditional door locks and provide users with a safer, more convenient and intelligent life experience.

[0034] In order to enable users to understand the events in time, users are usually notified when the events occur so that they can be informed of the events in time. Common reminder notification methods include sound alarms, flashing lights, sending text messages to user terminals, calling user terminals, etc. However, the selection strategy for the notification method of door front events is usually single and cannot be flexibly adjusted. However, door front events do not necessarily occur as expected. The characters, scenes and plots in the events are diverse. Therefore, it is very easy to make mistakes to notify users according to a single notification strategy. Not only may users be disturbed when it is not necessary, but users may also not be notified in time when they need to be notified.

[0035] Therefore, an embodiment of the present application provides an event notification method to solve the technical problem that the above-mentioned unreasonable notification strategy easily disturbs the user.

[0036] See also Figure 1 , Figure 1 An exemplary system architecture diagram of an event notification method provided in an embodiment of the present application.

[0037] like Figure 1As shown, the system architecture may include a terminal 101, a network 102, and a server 103. The network 102 is used to provide a medium for a communication link between the terminal 101 and the server 103. The network 102 may include various types of wired communication links or wireless communication links, for example, the wired communication link includes an optical fiber, a twisted pair, or a coaxial cable, and the wireless communication link includes a Bluetooth communication link, a Wireless-Fidelity (Wi-Fi) communication link, or a microwave communication link.

[0038] The terminal 101 can interact with the server 103 through the network 102 to receive messages from the server 103 or send messages to the server 103, or the terminal 101 can interact with the server 103 through the network 102 to receive messages or data sent by other users to the server 103. The terminal 101 can be hardware or software. When the terminal 101 is hardware, it can be various electronic devices, including but not limited to smart watches, smart phones, tablet computers, laptop portable computers and desktop computers. When the terminal 101 is software, it can be installed in the electronic devices listed above, which can be implemented as multiple software or software modules (for example: used to provide distributed services), or it can be implemented as a single software or software module, which is not specifically limited here.

[0039] In an embodiment of the present application, terminal 101 first determines the cover data of the door front event video recorded for the door front event; then terminal 101 inputs the cover data into the event notification big model, determines the event level of the door front event output by the event notification big model based on the cover data, and the event level is used to describe the urgency of the door front event; finally, terminal 101 determines the target notification method corresponding to the door front event according to the event level, and sends the notification information of the door front event according to the target notification method.

[0040] The server 103 may be a business server that provides various services. It should be noted that the server 103 may be hardware or software. When the server 103 is hardware, it may be implemented as a distributed server cluster consisting of multiple servers, or it may be implemented as a single server. When the server 103 is software, it may be implemented as multiple software or software modules (for example, for providing distributed services), or it may be implemented as a single software or software module, which is not specifically limited here.

[0041] Alternatively, the system architecture may not include the server 103. In other words, the server 103 may be an optional device in the embodiments of this specification. That is, the method provided in the embodiments of this specification may be applied to a system structure that only includes the terminal 101, and the embodiments of this application do not limit this.

[0042] It should be understood that Figure 1The number of terminals, networks and servers in the figure is only for illustration and any number of terminals, networks and servers may be used according to implementation requirements.

[0043] See also Figure 2 , Figure 2 A flowchart of an event notification method provided for an embodiment of the present application. The execution subject of the embodiment of the present application can be a terminal that executes the event notification, or a processor in the terminal that executes the event notification method, or an event notification service in the terminal that executes the event notification method. For the convenience of description, the specific execution process of the event notification method is introduced below by taking the execution subject as the processor in the terminal as an example.

[0044] like Figure 2 As shown, the event notification method may at least include:

[0045] S202: Determine cover data of the door front event video recorded for the door front event.

[0046] Optionally, different door-front events have different natures and different urgency levels, and users may pay different attention to different events. For example, for children in a family, the event of children going out is more urgent than the event of children returning home, so users may care about the event of children going out, but not the event of children returning home; for strangers, the event of strangers staying for a long time is more urgent than the event of strangers passing by, so users may care about the event of strangers staying for a long time, but not the event of strangers passing by. Therefore, for door-front events with different urgency levels, the event notification method should first be accurately and adaptively selected. For urgent events that users care about, a relatively tense method should be used to notify, while for non-urgent events that users do not care about, a relatively quiet and gentle method should be used to notify.

[0047] Optionally, when grading each door-front event, it is first necessary to obtain the cover data of these door-front event videos. The cover data is usually a representative screenshot of a video, which can quickly and accurately convey the main content of the video. These cover images are not only highly visually appealing, but also help users quickly browse and filter a large amount of video materials to find the content they really care about. Therefore, based on the cover data, the event videos can be better graded based on the video content.

[0048] In a feasible implementation, the door-front event video and the cover data of the door-front event video are collected and uploaded by the smart door lock. In the process of determining the cover data, the smart door lock accurately captures the key frames, scene changes, and possible people or objects involved in the video content, and screens out the most representative and informative cover data to ensure the accuracy and effectiveness of subsequent analysis.

[0049] S204. Input the cover data into the event notification big model, and determine the event level of the door-front event output by the event notification big model based on the cover data. The event level is used to describe the urgency of the door-front event.

[0050] Optionally, in order to analyze the cover data and classify events, deep learning technology can be used to train an event notification model. This model is used to process various complex cover data, identify the urgency of the door front event, and match the event level. After receiving the cover data, the event notification model will immediately start its computing and analysis capabilities to perform a detailed analysis of the door front event in the video.

[0051] Optionally, by analyzing the key elements and features in the cover data, the event notification model can accurately determine the urgency of the door-front event and output the corresponding event level. Specifically, the event level includes at least one of the general event level, important event level, dangerous event level, and emergency event level. Among them, the event level analyzed by the event notification model is not only a simple classification label, but also a detailed description and quantification of the urgency of the door-front event. The event level obtained by deep learning and big data analysis based on the model can accurately reflect the nature, scope of influence and possible consequences of the door-front event, and provide an important basis for subsequent emergency response and decision-making. Throughout the process, the event notification model focuses on the accuracy of the data and the depth of analysis to ensure that the judgment of the event level can truly reflect the urgency of the door-front event. The processing method based on the event notification model not only improves the work efficiency of event level identification, but also provides more timely and effective support for responding to door-front events.

[0052] S206: Determine the target notification method corresponding to the door front event according to the event level, and send notification information of the door front event according to the target notification method.

[0053] Optionally, in the process of dealing with door-front events, after accurately determining the level of the event, it is necessary to further take appropriate measures and notification methods so that users can know the occurrence of the event in a timely and accurate manner. Specifically, the event level describes the urgency of the event. Different notification methods are preset for each event level according to the urgency of each event level in multiple event levels. The preset notification methods include at least one of SMS notification, phone notification, and pop-up notification. After determining the event level, the target notification method corresponding to the door-front event can be further determined, and the corresponding notification information can be issued according to the target notification method. For urgent events that require immediate response, it may be necessary to directly notify relevant personnel through telephone, SMS or emergency broadcasting to ensure the timeliness and effectiveness of the information. For some non-urgent but important information, notifications may be made through channels such as email and SMS so that relevant personnel can view and handle them at the appropriate time.

[0054] Optionally, when sending notification information, the notification content will clearly state key information such as the nature of the event, the location of occurrence, the scope of impact, and the response measures, to ensure that the recipient can quickly understand and respond accordingly. In this way, the target notification method is determined according to the level of the event in front of the door, and accurate and clear notification information is sent in an appropriate manner. A more reasonable notification method can be adopted for various events, and flexible notifications of events of different urgency levels can be achieved, thereby improving the user experience.

[0055] Optionally, the user can also adjust the notification method corresponding to each event level, accept and respond to the notification method adjustment instruction triggered by the user for the target event level, and change the notification method of the target event level based on the notification method modification information in the notification method adjustment instruction.

[0056] In an embodiment of the present application, an event notification method is provided to determine the cover data of the door front event video recorded for the door front event; input the cover data into the event notification big model, determine the event level of the door front event output by the event notification big model based on the cover data, and the event level is used to describe the urgency of the door front event; determine the target notification method corresponding to the door front event according to the event level, and send out notification information of the door front event according to the target notification method. Since the event classification big model can perform intelligent analysis based on the video cover data, determine the door front event reflected by the cover data and analyze its urgency from the nature of the event, thereby obtaining the event level of the door front event; then based on the event level output by the event classification big model, different notification methods can be adopted for each event according to the level of the event, so that a more reasonable notification method can be adopted for various events, and flexible notification of events of different urgency levels can be achieved, thereby improving the user experience.

[0057] See also Figure 3 , Figure 3 A flowchart of an event notification method provided in an embodiment of the present application.

[0058] like Figure 3 As shown, the event notification method may at least include:

[0059] S302: Determine cover data of the door front event video recorded for the door front event.

[0060] Regarding step S302, please refer to the detailed description in step S202, which will not be repeated here.

[0061] S304: In response to the event level setting instruction for the target event type information, determine the target event level corresponding to the target event type information based on the event level setting information in the event level setting instruction.

[0062] In the embodiment of the present application, considering that the user may also pay high attention to some general events, or want to cancel the emergency notification method of some emergency events, in order to meet the user's customized adjustment needs for the event notification method of each event level, it is possible to receive and respond to the event level setting instruction issued by the user for the target event type information, and determine the target event level corresponding to the target event type information based on the event level setting information in the event level setting instruction, so that the user can customize the event level of various types of events, thereby realizing the adjustment of the event notification method of different types of events. Event type information includes the character type, event type, scene type, etc. of the event. Each event has at least one aspect of type information. When the user modifies the event level notification method of a certain event type, the notification method of all event videos identified as the event type is also modified.

[0063] S306. Determine whether the door event has target event type information according to the cover data; if so, determine the event level of the door event to be the target event level.

[0064] Optionally, when an event occurs, it is possible to determine whether the door-front event has target event type information based on the cover data of the event video. When the door-front event has target event type information, it means that the event level has been customized by the user. In this case, the target event level corresponding to the target event type information should be determined as the event level corresponding to the current door-front event.

[0065] S308. If not, input the cover data into the event notification big model, determine that after the event notification big model obtains the event type information of the door event based on the cover data, it outputs the event level of the door event according to the event type information.

[0066] Optionally, if an event of an event type without a user-defined event level is identified, the cover data is further input into the event notification big model, and the event notification big model is used to identify the event level of the door event.

[0067] Optionally, the event notification big model is deeply optimized to quickly and accurately extract valuable information from the massive cover data. When the cover data is imported, the event notification big model will immediately start the analysis engine and begin detailed and comprehensive data analysis. In this process, the event notification big model will conduct in-depth analysis and comparison of the cover data based on preset algorithms and rules to accurately determine the type of event that occurred at the door. After determining the specific type of the event at the door, the event notification big model can call its built-in evaluation mechanism to perform detailed level classification of the event. Based on the event type information and evaluation results, the event notification big model will output the event level of the event at the door. In order to further determine the notification method based on the level information of the event at the door, the entire process is efficient and accurate, providing reliable support for security management at the door.

[0068] Specifically, in the process of in-depth processing of the cover data, the event notification model parses and extracts key information about the door event one by one. This information mainly includes character information, event information and scene information. All aspects of information are crucial to fully understand the nature of the door event. For these aspects of information, based on the character information in the cover data, the event notification model can obtain the first-level prediction results of the door event in terms of characters, where the level prediction results are the probabilities of the door event predicted by the event notification model to belong to each event level in multiple event levels. This prediction result will provide an important reference for the subsequent overall event level judgment. On the other hand, based on the event information in the cover data, the event notification model can obtain the second-level prediction results of the door event in terms of events. And based on the scene information in the cover data, the event notification model can obtain the third-level prediction results of the door event in terms of scenes.

[0069] Furthermore, after completing the level predictions of the three aspects, the event notification model fuses the three prediction results. When fusing the multiple level prediction results of the door-front event, a feasible implementation method is to weight the multiple level prediction results based on the preset weights corresponding to the prediction results of each level to obtain the event level of the door-front event. The final event level comprehensively considers the information of the three aspects of people, events and scenes to ensure the accuracy and reliability of the prediction results.

[0070] S310: Determine the target notification method corresponding to the door front event according to the event level, and send notification information of the door front event according to the target notification method.

[0071] Regarding step S310, please refer to the detailed description in step S206, which will not be repeated here.

[0072] In an embodiment of the present application, an event notification method is provided, in response to an event level setting instruction for target event type information, a target event level corresponding to the target event type information is determined based on the event level setting information in the event level setting instruction, so that the user can customize the event level of various types of events, thereby realizing the adjustment of the event notification method of different types of events. It is judged whether the door front event has the target event type information according to the cover data. If so, the event level of the door front event is determined to be the target event level. If an event of the event type set for the user occurs, then its event level is directly determined according to the user's setting information; otherwise, the model is used to analyze the data in real time to obtain the event level. In the process of in-depth processing of the cover data, the event notification model parses and extracts the character information, event information and scene information of the door front event one by one, and for these aspects of information, the level of the door front event is predicted in terms of characters respectively, and finally the level prediction results of various aspects are integrated to obtain the event level corresponding to the door front event as a whole. The model comprehensively considers the information of characters, events and scenes in the prediction process, ensuring the accuracy and reliability of the prediction results.

[0073] See also Figure 4 , Figure 4 A flowchart of a model training method for a large event notification model provided in an embodiment of the present application.

[0074] like Figure 4 As shown, the model training method of the event classification large model may at least include:

[0075] S402: Construct an initial event notification big model for the event notification scenario based on the basic multimodal big model.

[0076] Optionally, the event notification big model needs to classify the cover data based on multiple aspects of the cover data. In this case, a trained basic multimodal big model can be obtained. The basic multimodal big model can output prediction results for the prediction object based on multiple different types of features of the prediction object. Therefore, an initial event notification big model for the event notification scenario is constructed based on the basic multimodal big model, so that the initial event notification big model can also obtain the ability to "output prediction results for the prediction object based on multiple different types of features of the prediction object".

[0077] Optionally, when the basic multimodal big model is directly used in a specific scenario, the unadjusted big model is difficult to adapt to the new scenario. Based on this, after building the initial event notification big model for the event classification scenario, the initial event notification big model needs to be trained specifically.

[0078] S404. Acquire multiple sample cover data, where the multiple sample cover data are all sample data with standard level labels.

[0079] Optionally, multiple sample cover data for training the initial event notification model are obtained, and the multiple sample cover data are all sample data with standard level labels. The standard level label is the correct standard level corresponding to each sample cover image, so it can be used as a standard label for the sample cover data.

[0080] S406: Input multiple sample cover data into the initial event notification big model to train the initial event notification big model.

[0081] S408. During the training process of the initial event notification big model, the initial event notification big model is controlled to output prediction level labels for multiple sample cover data, and the parameters of the initial event notification big model are adjusted according to the prediction level labels and the standard level labels of the multiple sample cover data until the initial event notification big model converges to obtain the trained event notification big model.

[0082] Optionally, during the training process of the initial event notification large model, the initial event notification large model is controlled to output predicted level labels for multiple sample cover data. These predicted level labels are the level prediction results of the initial event notification large model for multiple sample cover data. Then, the gap between the predicted level labels and the standard level labels is the gap between the current state of the initial event notification large model and the expected performance. Furthermore, the training loss value of the model can be calculated based on the predicted level labels and the standard level labels of multiple sample cover data, and the parameters in the initial event notification large model are adjusted based on the training loss value until the initial event notification large model converges to obtain the trained event notification large model.

[0083] Optionally, the model training end condition of the model may include, for example, the value of the loss function meets the target value condition, the number of iterations reaches a preset number threshold, etc. The specific model training end condition can be determined based on actual conditions and is not specifically limited here.

[0084] In an embodiment of the present application, an event notification method is provided, which includes a method for training an event notification big model. The event notification big model is constructed through the basic multimodal big model, and the event notification big model is trained in a targeted manner in the event notification scenario, so that the event notification big model can perform in-depth analysis of the cover data, and through learning the sample cover data, it can obtain information that comprehensively considers the three aspects of people, events and scenes in the event notification scenario, thereby outputting more accurate and reliable prediction results.

[0085] See also Figure 5 , Figure 5 A structural block diagram of an event notification device provided in an embodiment of the present application.

[0086] like Figure 5 As shown, the event notification device 500 includes:

[0087] A cover acquisition module 510, used to determine cover data of the door front event video recorded for the door front event;

[0088] An event classification module 520 is used to input the cover data into the event notification big model, and determine the event level of the door front event output by the event notification big model based on the cover data, where the event level is used to describe the urgency of the door front event;

[0089] The event notification module 530 is used to determine the target notification method corresponding to the door front event according to the event level, and send notification information of the door front event according to the target notification method.

[0090] Optionally, the event classification module 520 is further used to determine the event level of the door front event output according to the event type information after the event notification model obtains the event type information of the door front event based on the cover data.

[0091] Optionally, the event type information includes character information, event information and scene information; the event classification module 520 is also used to determine that after the event notification large model obtains the character information, event information and scene information of the door event based on the cover data, it obtains the first level prediction result based on the character information, the second level prediction result based on the event information and the third level prediction result based on the scene information, and integrates the first level prediction result, the second level prediction result and the third level prediction result to output the event level of the door event; wherein the level prediction result is the probability that the door event predicted by the event notification large model belongs to each event level among multiple event levels.

[0092] Optionally, the event notification device 500 also includes: a notification setting module for preset events, which is used to respond to an event level setting instruction for the target event type information, and determine the target event level corresponding to the target event type information based on the event level setting information in the event level setting instruction; a notification strategy selection module, which is used to determine whether the door front event has the target event type information based on the cover data; if so, determine that the event level of the door front event is the target event level; if not, execute the step of inputting the cover data into the event notification model.

[0093] Optionally, the event notification large model is used to weight the multiple levels of prediction results of the door-front event based on preset weights corresponding to the prediction results of each level to obtain the event level of the door-front event when fusing the multiple levels of prediction results of the door-front event.

[0094] Optionally, the event level includes at least one of a general event level, an important event level, a dangerous event level, and an emergency event level. The event notification device 500 also includes: a notification method preset module, used to preset different notification methods for each event level according to the urgency of each event level in the multiple event levels, and the preset notification method includes at least one of SMS notification, phone notification, and pop-up notification.

[0095] Optionally, the event notification device 500 further includes: a notification mode customization module, which is used to respond to a notification mode adjustment instruction triggered for a target event level and change the notification mode of the target event level based on notification mode modification information in the notification mode adjustment instruction.

[0096] Optionally, the event notification device 500 also includes: a model training module, which is used to build an initial event notification big model for the event notification scenario based on the basic multimodal big model; obtain multiple sample cover data, and the multiple sample cover data are all sample data with standard level labels; input the multiple sample cover data into the initial event notification big model to train the initial event notification big model; during the training process of the initial event notification big model, control the initial event notification big model to output predicted level labels for the multiple sample cover data, and adjust the parameters of the initial event notification big model according to the predicted level labels and the standard level labels of the multiple sample cover data until the initial event notification big model converges to obtain the trained event notification big model.

[0097] Optionally, the model training module is also used to calculate the training loss value based on the predicted level label and the standard level label of multiple sample cover data, and adjust the parameters of the initial event notification large model based on the training loss value until the training loss value of the initial event notification large model meets the target value condition, thereby determining that the initial event notification large model converges.

[0098] In an embodiment of the present application, an event notification device is provided, wherein a cover acquisition module is used to determine the cover data of the door front event video recorded for the door front event; an event classification module is used to input the cover data into the event notification big model, determine the event level of the door front event output by the event notification big model based on the cover data, and the event level is used to describe the urgency of the door front event; an event notification module is used to determine the target notification method corresponding to the door front event according to the event level, and send out notification information of the door front event according to the target notification method. Since the event classification big model can perform intelligent analysis based on the video cover data, determine the door front event reflected by the cover data and analyze its urgency from the nature of the event, thereby obtaining the event level of the door front event; then based on the event level output by the event classification big model, different notification methods can be adopted for each event according to the level of the event, so that a more reasonable notification method can be adopted for various events, and flexible notification of events of different urgency levels can be achieved, thereby improving the user experience.

[0099] An embodiment of the present application further provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the steps of any method in the above embodiments.

[0100] See also Figure 6 , Figure 6 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. Figure 6 As shown, the terminal 600 may include: at least one terminal processor 601 , at least one network interface 604 , a user interface 603 , a memory 605 , and at least one communication bus 602 .

[0101] The communication bus 602 is used to realize the connection and communication between these components.

[0102] The user interface 603 may include a display screen (Display) and a camera (Camera), and the optional user interface 603 may also include a standard wired interface and a wireless interface.

[0103] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0104] Among them, the terminal processor 601 may include one or more processing cores. The terminal processor 601 uses various interfaces and lines to connect various parts in the entire terminal 600, and executes various functions and processes data of the terminal 600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the terminal processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The terminal processor 601 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the terminal processor 601, and it can be implemented separately through a chip.

[0105] Among them, the memory 605 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory, ROM). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 605 may also be optionally at least one storage device located away from the aforementioned terminal processor 601. As Figure 6 As shown, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an event notification program.

[0106] exist Figure 6In the terminal 600 shown, the user interface 603 is mainly used to provide an input interface for the user and obtain the data input by the user; and the terminal processor 601 can be used to call the event notification program stored in the memory 605 and specifically perform the following operations:

[0107] Determine cover data of the door front event video recorded for the door front event;

[0108] Input the cover data into the event notification big model, and determine the event level of the door front event output by the event notification big model based on the cover data, where the event level is used to describe the urgency of the door front event;

[0109] The target notification method corresponding to the door front event is determined according to the event level, and notification information of the door front event is issued according to the target notification method.

[0110] In some embodiments, when the terminal processor 601 determines the event level of the door front event output by the event notification big model based on the cover data, it specifically performs the following steps: after determining the event notification big model to obtain the event type information of the door front event based on the cover data, the event level of the door front event is output according to the event type information.

[0111] In some embodiments, the event type information includes character information, event information and scene information; after the terminal processor 601 executes the event notification big model to determine the event type information of the door front event based on the cover data, when outputting the event level of the door front event according to the event type information, it specifically performs the following steps: after the event notification big model is determined to obtain the character information, event information and scene information of the door front event based on the cover data, a first-level prediction result is obtained based on the character information, a second-level prediction result is obtained based on the event information, and a third-level prediction result is obtained based on the scene information, and the event level of the door front event is output by integrating the first-level prediction result, the second-level prediction result and the third-level prediction result; wherein the level prediction result is the probability that the door front event predicted by the event notification big model belongs to each event level among multiple event levels.

[0112] In some embodiments, the terminal processor 601 further specifically performs the following steps: in response to an event level setting instruction for the target event type information, determining the target event level corresponding to the target event type information based on the event level setting information in the event level setting instruction; before executing the step of inputting the cover data into the event notification large model, the terminal processor 601 further specifically performs the following steps: judging whether the door front event has the target event type information according to the cover data; if so, determining that the event level of the door front event is the target event level; if not, executing the step of inputting the cover data into the event notification large model.

[0113] In some embodiments, the event notification model is used to weight the multiple levels of prediction results of the door-front event based on the preset weights corresponding to the prediction results of each level to obtain the event level of the door-front event when fusing the multiple levels of prediction results of the door-front event.

[0114] In some embodiments, the event level includes at least one of a general event level, an important event level, a dangerous event level, and an emergency event level; the terminal processor 601 also specifically performs the following steps: according to the urgency of each event level in the multiple event levels, different notification methods are preset for each event level, and the preset notification method includes at least one of SMS notification, phone notification, and pop-up notification.

[0115] In some embodiments, the terminal processor 601 further specifically performs the following steps: in response to a notification mode adjustment instruction triggered for a target event level, changing the notification mode of the target event level based on notification mode modification information in the notification mode adjustment instruction.

[0116] In some embodiments, the terminal processor 601 also specifically performs the following steps: constructing an initial event notification big model for the event notification scenario based on the basic multimodal big model; obtaining multiple sample cover data, and the multiple sample cover data are all sample data with standard level labels; inputting the multiple sample cover data into the initial event notification big model, and training the initial event notification big model; during the training process of the initial event notification big model, controlling the initial event notification big model to output predicted level labels for the multiple sample cover data, and adjusting the parameters of the initial event notification big model according to the predicted level labels and the standard level labels of the multiple sample cover data until the initial event notification big model converges, thereby obtaining the trained event notification big model.

[0117] In some embodiments, when the terminal processor 601 adjusts the parameters of the initial event notification large model according to the predicted level label and the standard level label of multiple sample cover data until the initial event notification large model converges, it also specifically performs the following steps: calculate the training loss value according to the predicted level label and the standard level label of multiple sample cover data, adjust the parameters of the initial event notification large model based on the training loss value until the training loss value of the initial event notification large model meets the target value condition, and determine that the initial event notification large model converges.

[0118] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0119] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0120] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The above computer program product includes one or more computer instructions. When the above computer program instructions are loaded and executed on a computer, the above process or function according to the embodiment of this specification is generated in whole or in part. The above computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The above computer instructions can be stored in a computer-readable storage medium or transmitted by the above computer-readable storage medium. The above computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The above computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The above-mentioned available media can be magnetic media (for example, floppy disks, hard disks, tapes), optical media (for example, digital versatile discs (DVD)), or semiconductor media (for example, solid state drives (SSD)), etc.

[0121] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0122] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0123] The above is a description of an event notification method, device, storage medium and terminal provided in the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An event notification method, characterized in that: The method comprises: Determine cover data of the door front event video recorded for the door front event; Input the cover data into the event notification big model, determine the event level of the door front event output by the event notification big model based on the cover data, and the event level is used to describe the urgency of the door front event; The target notification method corresponding to the door event is determined according to the event level, and notification information of the door event is issued according to the target notification method.

2. The method according to claim 1, characterized in that The determining the event level of the door front event output by the event notification big model based on the cover data comprises: After determining that the event notification model obtains the event type information of the door event based on the cover data, the event level of the door event is output according to the event type information.

3. The method according to claim 2, characterized in that The event type information includes character information, event information and scene information. After the event notification big model is determined to obtain the event type information of the door event based on the cover data, the event level of the door event output according to the event type information includes: After determining that the event notification big model obtains the character information, event information and scene information of the door front event based on the cover data, obtains a first level prediction result based on the character information, obtains a second level prediction result based on the event information and obtains a third level prediction result based on the scene information, and integrates the first level prediction result, the second level prediction result and the third level prediction result to output the event level of the door front event; The level prediction result is the probability that the door event belongs to each event level among multiple event levels predicted by the event notification large model.

4. The method according to claim 2, characterized in that: The method further comprises: In response to an event level setting instruction for target event type information, determining a target event level corresponding to the target event type information based on the event level setting information in the event level setting instruction; Before notifying the large model of the cover data input event, the method further includes: Determining whether the door front event has the target event type information according to the cover data; If yes, then determining the event level of the door front event as the target event level; If not, the step of notifying the macro model of the cover data input event is performed.

5. The method according to claim 1, characterized in that The event level includes at least one of a general event level, an important event level, a dangerous event level, and an emergency event level; the method further includes: Different notification methods are preset for each event level according to the urgency of each event level in the multiple event levels. The preset notification method includes at least one of SMS notification, phone notification, and pop-up notification.

6. The method according to claim 1, characterized in that The method further comprises: In response to a notification mode adjustment instruction triggered for a target event level, a notification mode of the target event level is changed based on notification mode modification information in the notification mode adjustment instruction.

7. The method according to claim 1, characterized in that The method further comprises: Construct an initial event notification big model for event notification scenarios based on the basic multimodal big model; Acquire multiple sample cover data, where the multiple sample cover data are all sample data with standard level labels; Inputting the plurality of sample cover data into the initial event notification large model to train the initial event notification large model; During the training process of the initial event notification large model, the initial event notification large model is controlled to output prediction level labels for the multiple sample cover data, and the parameters of the initial event notification large model are adjusted according to the prediction level labels and the standard level labels of the multiple sample cover data until the initial event notification large model converges to obtain the trained event notification large model.

8. An event notification device, characterized in that: The device comprises: A cover acquisition module, used to determine cover data of the door front event video recorded for the door front event; An event grading module, used for inputting the cover data into the event notification big model, and determining the event level of the door front event output by the event notification big model based on the cover data, wherein the event level is used to describe the urgency of the door front event; An event notification module is used to determine a target notification method corresponding to the door event according to the event level, and send notification information of the door event according to the target notification method.

9. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the steps of the method according to any one of claims 1 to 7.

10. A terminal, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the program.