Intelligent equipment event analysis method and device

By using caching technology in smart devices to obtain pre-event multi-modal data, the problem of event assistance investigation delay is solved, the efficiency of event assistance investigation is improved, and the user experience is improved.

CN118656355APending Publication Date: 2024-09-17BEIJING JINGDONG TUOXIAN TECH CO LTD

Patent Information

Application Number
CN202410954893.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

During the interaction between users and smart devices, when multi-modal data is collected for analysis when an event occurs, the delay causes user interaction delays, reduces the efficiency of event investigation, and affects the user experience.

Method used

By determining the type of auxiliary data associated with the target event, multi-modal cache data and real-time data before the target event occur are obtained. Ring cache and two-way chain cache technology are used to quickly obtain cache data to reduce multi-modal data acquisition delays and improve event performance. Assistance investigation efficiency.

Benefits of technology

It effectively avoids the multi-modal data acquisition delay in event assistance investigation, improves the efficiency of event assistance investigation, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656355A
    Figure CN118656355A
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent device event analysis method and device, and the method comprises the steps: determining the type of assistant investigation data associated with a target event; acquiring cache data and real-time data corresponding to the type of the assistant investigation data; the cache data comprises multi-modal data before the target event occurs; and according to the cache data and the real-time data, obtaining an event assistant investigation result. According to the embodiment, the delay problem of obtaining the multi-modal data for event assistant investigation can be avoided, and the event assistant investigation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence and human-computer interaction technology, and in particular to a method and device for analyzing events of intelligent devices. Background Art

[0002] In the process of user interaction with smart devices, the user interaction gradually shifts from relying on single-modal data to relying on multi-modal data. For example, image analysis and recognition can be performed while voice input is in progress, thereby enabling differentiated services based on user scenarios.

[0003] However, when an event occurs, if multimodal data needs to be collected for further analysis, sufficient data needs to be collected for analysis in the shortest possible time. If data is collected after the event occurs, it will inevitably lead to delays in user interaction, reduce the efficiency of event coordination, and seriously affect the user experience. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure at least provide a smart device event analysis method, apparatus, electronic device and storage medium, which can avoid the delay problem of multimodal data acquisition for event coordination and improve the efficiency of event coordination.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for analyzing events of a smart device, including:

[0006] Determine the type of investigation data associated with the target event;

[0007] Obtain cached data and real-time data corresponding to the query data type; the cached data includes multimodal data before the target event occurs;

[0008] The event coordination results are obtained based on the cached data and real-time data.

[0009] Optionally, the cooperative search data type includes voice streaming data; obtaining cache data corresponding to the cooperative search data type includes:

[0010] According to the timestamp information of the target event, at least one voice data before the timestamp information is obtained from the circular buffer as the buffer data; the circular buffer includes the start time and the end time of each voice data.

[0011] Optionally, the method further comprises:

[0012] In response to the end time of the first voice data in the circular buffer being after the start time of the second voice data, taking the start time of the first voice data as the starting point, voice data of a preset duration is acquired as the buffer data.

[0013] Optionally, the cooperative search data type includes image frame streaming data; obtaining cache data corresponding to the cooperative search data type includes:

[0014] According to the timestamp information of the target event, at least one frame of image data before the timestamp information is obtained from the bidirectional link cache; the bidirectional link cache includes the original image of each frame of image data and at least one of the depth map and the point cloud map corresponding to the original image.

[0015] Optionally, the image data in the bidirectional link cache is obtained by the following steps:

[0016] Based on the feature information of consecutive frames in the video stream, determine the degree of change between every two frames;

[0017] The image data of consecutive frames whose degree of change exceeds a preset threshold are stored in a bidirectional link buffer.

[0018] Optionally, real-time data corresponding to the query data type is obtained, including:

[0019] Based on the timestamp information of the target event, multimodal data after the timestamp information is collected as real-time data; the real-time data includes at least one of voice data and image data.

[0020] In a second aspect, an embodiment of the present disclosure provides a smart device event analysis device, including:

[0021] A determination module, used to determine the type of cooperative investigation data associated with the target event;

[0022] An acquisition module is used to acquire cache data and real-time data corresponding to the data type of the cooperative inquiry; the cache data includes multimodal data before the target event occurs;

[0023] The coordination module is used to obtain event coordination results based on cached data and real-time data.

[0024] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any optional implementation of the first aspect are performed.

[0025] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect, or any optional implementation of the first aspect are executed.

[0026] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program, which implements the method of any of the above embodiments when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0028] Figure 1 A flow chart of a smart device event analysis method provided by an embodiment of the present disclosure is shown;

[0029] Figure 2 A schematic diagram of a ring buffer for caching voice streaming data in the smart device event analysis method provided by an embodiment of the present disclosure is shown;

[0030] Figure 3 A schematic diagram of a bidirectional chain cache for caching image data in the smart device event analysis method provided by an embodiment of the present disclosure is shown;

[0031] Figure 4 A schematic diagram of a ring buffer for caching health streaming data in the smart device event analysis method provided by an embodiment of the present disclosure is shown;

[0032] Figure 5 A schematic diagram showing a method for obtaining cooperative investigation data in the smart device event analysis method provided by an embodiment of the present disclosure

[0033] Figure 6 A schematic diagram showing another method for obtaining cooperative investigation data in the smart device event analysis method provided by an embodiment of the present disclosure;

[0034] Figure 7 A schematic diagram showing a transient event triggering a long-duration event in the smart device event analysis method provided by an embodiment of the present disclosure is shown;

[0035] Figure 8 A schematic diagram showing a long-term event triggering a transient event in the smart device event analysis method provided by an embodiment of the present disclosure;

[0036] Fig. 9A schematic diagram showing a long-duration event triggering a long-duration event in the smart device event analysis method provided by the disclosed embodiment is shown;

[0037] Fig.10 A schematic diagram of a smart device event analysis device provided by an embodiment of the present disclosure is shown;

[0038] Fig.11 An exemplary system architecture is shown in which embodiments of the present disclosure may be applied;

[0039] Fig.12 A schematic diagram of the structure of a computer system of a terminal device or a server used to implement an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0041] It should be noted that in the technical solution of the present invention, the collection, use, storage, sharing and transfer of user personal information involved are in compliance with the provisions of relevant laws and regulations, and it is necessary to inform the user and obtain the user's consent or authorization. When applicable, the user's personal information is de-identified and / or anonymized and / or encrypted.

[0042] Research has found that the interaction between smart devices and users mainly relies on unimodal voice input. Users can initiate voice commands to make smart devices perform operations associated with voice commands; for example, users can initiate a voice command "What's the weather like today" to make smart devices search and reply to relevant weather information. However, unimodal input has very limited perception of user scenarios. Existing technologies are gradually transforming the data that users rely on for interaction with smart devices from unimodal to multimodal.

[0043] However, when an event occurs, if multimodal data needs to be collected for further analysis, sufficient data needs to be collected for analysis in the shortest possible time. If data is collected after the event occurs, it will inevitably lead to delays in user interaction, reduce the efficiency of event coordination, and seriously affect the user experience.

[0044] Based on the above research, the disclosed embodiment provides a method for analyzing events of smart devices, which determines the type of cooperative investigation data associated with the target event; obtains cached data and real-time data corresponding to the cooperative investigation data type; the cached data includes multimodal data before the target event occurs; and obtains the event cooperative investigation result based on the cached data and real-time data. This can avoid the delay problem of obtaining multimodal data for event cooperative investigation and improve the efficiency of event cooperative investigation.

[0045] The raising of the above problems and the solutions are the results obtained by the inventor after practice and careful research. The discovery process of the above problems and the solutions proposed for the above problems should be the contributions made by the inventor to the present disclosure during the disclosure process.

[0046] The technical solutions in the present disclosure will be clearly and completely described below in conjunction with the drawings in the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0047] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0048] To facilitate understanding of this embodiment, a method for analyzing smart device events disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the method for analyzing smart device events provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or other processing device, and the terminal device can be a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, an intelligent robot, etc. In some possible implementations, the method for analyzing smart device events can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0049] See also Figure 1FIG. 1 is a flowchart of a method for analyzing smart device events provided by an embodiment of the present disclosure, the method comprising S101 to S103, wherein:

[0050] Event coordination can refer to the need to synchronously collect data of other modalities or types when an event of one modality or type occurs to jointly determine the overall situation of the event, that is, cross-modal data coordination. In addition, event coordination can also refer to the need to initiate joint analysis of other events to determine the specific situation when an event occurs, that is, cross-event joint coordination. In steps S101 to S103, cross-modal data coordination is mainly explained.

[0051] S101: Determine the type of cooperative investigation data associated with the target event.

[0052] In this step, the target event may include any event triggered when the user interacts with the smart device, specifically including security events such as security alarms and identity verification failures, health events such as abnormal heart rate and fall detection, and environmental events such as smoke alarms and abnormal temperature. In specific implementations, different smart devices can trigger different target events. For example, the target event of identity verification failure can correspond to a variety of smart devices such as smart phones and smart door locks, and the target event of abnormal heart rate can correspond to smart devices such as smart bracelets.

[0053] In an embodiment of the present disclosure, when the occurrence of a target event is detected, the type of cooperative inquiry data associated with the target event can be immediately determined, and cross-modal data corresponding to the cooperative inquiry data type can be obtained, thereby realizing cross-modal data cooperative inquiry.

[0054] In the embodiment of the present disclosure, the cooperative investigation data type may include voice streaming data, image transient data, image frame streaming data, health long-term data, etc. It should be noted that the above examples of cooperative investigation data types are only a feasible classification method of the embodiment of the present disclosure and do not constitute an improper limitation on the present invention.

[0055] Specifically, transient data may refer to data that is generated at a specific moment and is only valid for a short period of time, usually within 100 milliseconds, such as a frame of image captured by a camera when an event occurs. Streaming data may refer to data that is continuously generated and transmitted and processed in a real-time stream. The collection start time and collection end time of these data are not fixed, and the effective data collection duration is at least more than 500 milliseconds, such as a voice or video collected when an event occurs. Long-term data may refer to data that requires a long time to analyze to obtain results. The data length required for analyzing different types of long-term data is not fixed, but the data length required for analyzing the same type of long-term data may be consistent. For example, at least 30 seconds of heart rate monitoring data may be required to obtain heart rate analysis results; while respiratory rate detection may require at least 45 seconds of monitoring data to obtain analysis results.

[0056] For example, assuming that the target event is an intrusion event triggered by a smart door lock, the corresponding cooperative investigation data type may include video streaming data of a camera device associated with the smart door lock, voice streaming data of a sound collection device associated with the smart door lock, and sensor status data (e.g., whether the door lock is opened), etc. Through the above-mentioned cooperative investigation data types associated with the target event, the situation of the target event can be determined through cooperative investigation analysis of multiple cross-modal data. In addition, if the above-mentioned multiple data indicate that the intrusion behavior has actually occurred, decision suggestions can be provided to the user, such as calling the police or remotely controlling the lock, etc.

[0057] For example, assuming that the target event is a fall detection event triggered by the user's smart wearable device, the corresponding cooperative investigation data type can include video streaming data from indoor monitoring devices, long-term health data such as the user's heart rate and blood pressure recorded by the smart wearable device, and environmental data such as humidity and temperature in the room.

[0058] S102: Acquire cached data and real-time data corresponding to the cooperative query data type; the cached data includes multimodal data before the target event occurs.

[0059] In this step, cache data and real-time data corresponding to the cooperative investigation data type can be obtained. Among them, the cache data can be multimodal data before the target event occurs, such as image frame streaming data, voice streaming data, long-term health data, etc. stored in the cache before the target event occurs. Obtaining cache data from the cache can avoid the situation where the corresponding multimodal data is obtained after the event occurs, thereby solving the delay problem of obtaining cooperative investigation data and improving the efficiency of event cooperative investigation.

[0060] In a specific implementation, cached data and real-time data can be acquired through an acquisition device associated with a smart device. For example, image frame streaming data can be acquired based on a camera device associated with a smart device, and long-term health data can be acquired by a sensor device associated with a smart device.

[0061] In the disclosed embodiment, a circular buffer may be used to store non-fixed-length streaming data such as voice.

[0062] For example, taking the storage of non-fixed-length voice streaming data as an example, before storing the voice streaming data, the length, capacity and other parameters of the corresponding circular buffer can be set. For example, the length of the circular buffer can be enough to cache at least two voice data. Assuming that the general user voice input duration does not exceed 15 seconds, the length of the circular buffer can be set to cache at least 30 seconds of voice.

[0063] Regarding the setting of specific capacity, it can be determined according to the sampling rate and the number of quantization bits. Specifically, the sampling rate indicates the number of audio samples collected per second. When setting the sampling rate, according to the Nyquist theorem, the sampling rate needs to be at least twice the highest frequency to fully reconstruct the signal. The frequency range of human speech is roughly between 300Hz and 3400Hz. It is necessary to ensure that the set sampling rate can cover the main part of the speech frequency. For example, the sampling rate can be set to 16kHz. The number of quantization bits indicates how many bits are used to represent each audio sample, which is used to quantize the amplitude of the audio signal. For example, the number of quantization bits can be set to 16 bits, which can provide sufficient sound quality details and a lower noise level.

[0064] Taking the sampling rate as 16kHz and the quantization bit as 16 bits as an example, at least 960KB of capacity is required in the circular buffer to store the corresponding voice streaming data.

[0065] In one possible implementation, the cooperative investigation data type includes voice streaming data; obtaining cache data corresponding to the cooperative investigation data type includes: obtaining at least one voice data before the timestamp information as cache data from a circular cache based on the timestamp information of the occurrence of the target event; the circular cache includes the start time and end time of each voice data.

[0066] Figure 2 A schematic diagram of a circular buffer for caching voice streaming data in the smart device event analysis method provided in the embodiment of the present disclosure. Figure 2 As shown in (1), the ring buffer may include as well as Two voice data; among them, and Respectively represent the starting points of two voice data, and They respectively represent the end points of two days of voice data.

[0067] like Figure 2 As shown in (2), in the storage as well as When two voice data are recorded, the start time and end time as well as the start address and end address of the two voices can be recorded, where C can represent the current address. Figure 2 As shown in (4), at the current address C, in clockwise direction, and When between Some of the data in this voice data is expired. This segment of voice data can be regarded as invalid data, that is, unusable data. Figure 2 As shown in (5), at the current address C, in clockwise direction, and When between All the data in this voice data is expired data. In the above two situations, the ring buffer can be This voice data is used as cache data. Figure 2 (6) As shown in the figure, at the current address C, in clockwise direction, and Between, it can be shown and Both of these voice data are expired data.

[0068] In a special case, in response to the end time of the first voice data in the circular buffer being after the start time of the second voice data, voice data of a preset duration is acquired as buffer data with the start time of the first voice data as the starting point.

[0069] In the specific implementation, invalid buffered voice may occur. Assuming that the maximum length of two voice data in the ring buffer is preset to 15 seconds, if the voice input duration of one voice data exceeds the preset maximum duration, an invalid buffered voice may occur. Figure 2 In (3), if one voice message covers another voice message, the covered voice message data can be regarded as invalid data. In this case, the latest valid starting point can be used as the starting point to obtain the voice message data of the preset duration as the cache data. Figure 2 As shown in (3), due to This voice data exceeds the preset length, resulting in the end point Located at the start point of the next voice data after, Some of the data have been Overwrite. As the latest starting point, 15 seconds of voice data are acquired as buffer data.

[0070] The above method can realize forward acquisition of cached data when the target event occurs, rather than backward acquisition of new data starting from the point where the target event occurs. This can avoid the delay problem of multimodal data acquisition for event coordination and improve the efficiency of event coordination.

[0071] In another possible implementation, a time window cache can be used to maintain cached data by time period to ensure that data within a certain time range is available at any time point. In a specific implementation, a fixed time window size can be set. For example, a time window can store the data of the last T seconds. When new data arrives each time, data exceeding the time window can be removed and new data can be added. In addition, by using methods such as double buffering and queue caching, the required data can be quickly obtained when an event occurs, ensuring the timely acquisition and processing of the cooperative investigation data, thereby reducing delays.

[0072] In an embodiment of the present disclosure, the cooperative investigation data type includes image frame streaming data; obtaining cache data corresponding to the cooperative investigation data type includes: obtaining at least one frame of image data before the timestamp information from the bidirectional link cache based on the timestamp information of the occurrence of the target event; the bidirectional link cache includes the original image of each frame of image data and at least one of the depth map and the point cloud map corresponding to the original image.

[0073] Figure 3 A schematic diagram of a bidirectional chain cache for caching image data in the smart device event analysis method provided in an embodiment of the present disclosure. Figure 3 As shown, the image frame streaming data can be stored in the bidirectional chain buffer in the form of an image frame sequence. In a specific implementation, as Figure 3 As shown, the bidirectional chain cache can be composed of multiple frame buffers, and each buffer can store at least one of a depth map and a point cloud map corresponding to the image frame in addition to storing the original image data of the corresponding image frame. In addition, each buffer can also store description information corresponding to each image frame, such as the size, format and storage time of the image data.

[0074] In one possible implementation, the image data in the bidirectional chain cache is obtained by the following steps: determining the degree of change between every two frames based on feature information of consecutive frames in the video stream; and storing the image data of consecutive frames whose degree of change exceeds a preset threshold in the bidirectional chain cache.

[0075] In a specific implementation, if each image frame in the video streaming data is cached, due to the limitation of cache space, problems such as old image frames being overwritten may occur. Therefore, the key frame method can be used to store only key frames in the bidirectional link cache to avoid the problem of data being overwritten due to excessive storage. The key frames here can be frames with large changes before and after the picture, or frames containing key objects.

[0076] Specifically, feature information can be extracted from each image frame in the video streaming data to determine the degree of change before and after the image frame or whether the image frame includes a key object. Then, the two image frames before and after whose degree of change exceeds a preset threshold can be used as image data that need to be cached, or the image frame including the key object in the picture can be used as image data that need to be cached. It should be noted that the embodiment of the present disclosure does not specifically limit the above-mentioned method of extracting feature information, and its function can be realized.

[0077] In another possible implementation, an image data acquisition interval may be set so that the image data to be stored in the bidirectional link buffer is acquired at a fixed time interval.

[0078] In the embodiment of the present disclosure, the cooperative investigation data type may also include health streaming data. Figure 4 A schematic diagram of a ring buffer for caching health streaming data in the smart device event analysis method provided in an embodiment of the present disclosure. Figure 4 As shown, the healthy streaming data can be written cyclically in the circular buffer, and C can be used to represent the current write address. In a specific implementation, the length of the circular buffer used to store the healthy streaming data can be set according to the specific data stored. For example, if 45 seconds of breathing data are required to analyze the respiratory rate, the length of the circular buffer used to store the breathing data can be set to a length that can cache 45 seconds of breathing data. When obtaining the healthy streaming data from the circular buffer, you can press the current address and fetch the data of the required length forward.

[0079] It should be noted that the above description only describes the method for caching voice streaming data, image frame streaming data and health streaming data. The above description is only a possible implementation method of the embodiment of the present disclosure and does not constitute an improper limitation on the present invention.

[0080] In the embodiments of the present disclosure, transient data does not need to be obtained from the cache, such as photographed images, and the corresponding data can be obtained synchronously when the target event occurs.

[0081] In an embodiment of the present disclosure, real-time data corresponding to the cooperative investigation data type is obtained, including: based on the timestamp information of the target event, collecting multimodal data after the timestamp information as real-time data; the real-time data includes at least one of voice data and image data.

[0082] In the embodiments of the present disclosure, the transient data can be used as real-time data and synchronously acquired when the target event occurs, without being pre-stored in a cache. Specifically, the transient data here can include image data obtained by taking a photo, etc.

[0083] Figure 5 A schematic diagram of a method for obtaining cooperative investigation data in the smart device event analysis method provided in an embodiment of the present disclosure. Figure 5 As shown, when a target event occurs, cached data and real-time data can be obtained to perform event coordination.

[0084] Figure 6 A schematic diagram of another method for obtaining cooperative investigation data in the smart device event analysis method provided in the embodiment of the present disclosure. Figure 6 As shown, when the target event is a voice wake-up event, real-time voice streaming data can be obtained after the target event occurs.

[0085] In the specific implementation, since the target event is the voice wake-up time, it is necessary to obtain the user's voice input after wake-up. For example, the user can wake up the voice service function of the smart device by inputting the voice command of "Little A Assistant", which means that a voice wake-up event has occurred. After the wake-up event occurs, the smart device needs to continue to obtain the user's next instruction in order to make a corresponding response, which cannot be obtained from the cache. When the user continues to input the voice command of "open the list of domestic TV series", the smart device can perform subsequent analysis and operations.

[0086] S103: Obtain event coordination results based on cached data and real-time data.

[0087] In this step, after the cache data and the real-time data are obtained, event coordination can be performed based on the obtained cache data and real-time data to obtain the event coordination result.

[0088] For example, assuming that the target event is a fall detection event, after obtaining health streaming cache data such as heart rate and breathing, as well as transient real-time data such as camera images, it is possible to determine whether the user has actually fallen based on these data.

[0089] In the embodiment of the present disclosure, event coordination can also include cross-event joint coordination. In the cross-event joint coordination, it can include situations such as transient events triggering long-term events, long-term events triggering transient events, and long-term events triggering long-term events.

[0090] Figure 7 A schematic diagram of a transient event triggering a long-term event in a smart device event analysis method provided in an embodiment of the present disclosure. For example, in a network security monitoring system, if a server is detected to be suddenly attacked by abnormal traffic, the system can automatically trigger a long-term traffic analysis and attack behavior tracing of the server to determine the source of the attack and the response plan.

[0091] Figure 8 A schematic diagram of a long-term event triggering a transient event in the smart device event analysis method provided in an embodiment of the present disclosure. For example, a medical monitoring system continuously monitors the vital signs data of a patient. When the vital signs data indicates that the patient's heart rate is at a dangerous level, the system can immediately issue an alarm and initiate an emergency treatment process.

[0092] Fig. 9 A schematic diagram of a long-term event triggering a long-term event in the smart device event analysis method provided in the disclosed embodiment. Fig. 9 As shown, when a long-term event triggers a long-term event, the joint detection can be notified at the beginning, instead of waiting for the detection of the preceding long-term event to be completed before notifying the subsequent long-term event for detection. In addition, a long-term event with a shorter duration can notify a long-term event with a longer duration for synchronous detection, thereby ensuring the timeliness of the event. Exemplarily, a meteorological monitoring system needs to track the meteorological conditions of a certain place, and can simultaneously detect the rainfall conditions and temperature conditions of the place. While starting to monitor the rainfall conditions of the place, the temperature conditions of the place can be triggered to monitor. If it is monitored that the place has rained for 3 consecutive days, it means that the preceding event has occurred and is notified to the temperature monitoring event. When the temperature monitoring event monitors that the temperature during and after the rainfall is lower than the preset threshold, the joint event can be triggered. If no rainfall is detected in the place, the temperature monitoring can be stopped.

[0093] According to a second aspect of the embodiment of the present disclosure, Fig.10 As shown, a smart device event analysis device 1000 is provided, comprising:

[0094] A determination module 1001 is used to determine the type of cooperative investigation data associated with the target event;

[0095] The acquisition module 1002 is used to acquire cache data and real-time data corresponding to the query data type; the cache data includes multimodal data before the target event occurs;

[0096] The coordination module 1003 is used to obtain event coordination results based on cached data and real-time data.

[0097] Optionally, the acquisition module 1002 is specifically used for:

[0098] According to the timestamp information of the target event, at least one voice data before the timestamp information is obtained from the circular buffer as the buffer data; the circular buffer includes the start time and the end time of each voice data.

[0099] Optionally, the acquisition module 1002 is further used for:

[0100] In response to the end time of the first voice data in the circular buffer being after the start time of the second voice data, taking the start time of the first voice data as the starting point, voice data of a preset duration is acquired as the buffer data.

[0101] Optionally, the acquisition module 1002 is specifically used for:

[0102] According to the timestamp information of the target event, at least one frame of image data before the timestamp information is obtained from the bidirectional link cache; the bidirectional link cache includes the original image of each frame of image data and at least one of the depth map and the point cloud map corresponding to the original image.

[0103] Optionally, the smart device event analysis apparatus further includes a cache module 1004;

[0104] The cache module 1004 is specifically used for:

[0105] Based on the feature information of consecutive frames in the video stream, determine the degree of change between every two frames;

[0106] The image data of consecutive frames whose degree of change exceeds a preset threshold are stored in a bidirectional link buffer.

[0107] Optionally, the acquisition module 1002 is specifically used for:

[0108] Based on the timestamp information of the target event, multimodal data after the timestamp information is collected as real-time data; the real-time data includes at least one of voice data and image data.

[0109] According to the third aspect of an embodiment of the present disclosure, an electronic device for analyzing smart device events is provided, comprising: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present invention.

[0110] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method provided by the first aspect of the embodiment of the present disclosure is implemented.

[0111] According to a fifth aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and the computer program implements the method of any of the above embodiments when executed by a processor.

[0112] Fig.11 An exemplary system architecture 1100 is shown to which the smart device event analysis method or smart device event analysis apparatus implemented by the present disclosure can be applied.

[0113] like Fig.11 As shown, system architecture 1100 may include terminal devices 1101, 1102, 1103, a network 1104, and a server 1105. Network 1104 is used to provide a medium for communication links between terminal devices 1101, 1102, 1103 and server 1105. Network 1104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0114] Users can use terminal devices 1101, 1102, 1103 to interact with server 1105 through network 1104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 1101, 1102, 1103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0115] The terminal devices 1101 , 1102 , and 1103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0116] The server 1105 may be a server that provides various services, such as a background management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 1101, 1102, and 1103. The background management server may process the received smart device event analysis request and feed back the processing result (only an example) to the terminal device.

[0117] It should be noted that the method for analyzing smart device events provided in the embodiment of the present invention is generally executed by the server 1105, and accordingly, the apparatus for analyzing smart device events is generally disposed in the server 1105. The method for analyzing smart device events provided in the embodiment of the present invention can also be executed by the terminal devices 1101, 1102, and 1103, and accordingly, the apparatus for analyzing smart device events can be disposed in the terminal devices 1101, 1102, and 1103.

[0118] It should be understood that Fig.11 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0119] Reference below Fig.12, which shows a schematic diagram of the structure of a computer system 1200 of a terminal device suitable for implementing an embodiment of the present invention. Fig.12 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0120] like Fig.12 As shown, the computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage part 1208 into a random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the system 1200 are also stored. The CPU 1201, the ROM 1202, and the RAM 1203 are connected to each other through a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0121] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage section 1208 as needed.

[0122] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1209, and / or installed from the removable medium 1211. When the computer program is executed by the central processing unit (CPU) 1201, the above-mentioned functions defined in the system of the present invention are executed.

[0123] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0124] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0125] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor. For example, a processor includes a determination module, an acquisition module, and a coordination module, wherein the names of these modules do not constitute a limitation on the modules themselves in some cases. For example, the determination module may also be described as a "coordination data type module for determining the data associated with the target event".

[0126] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device implements the following method: determining the type of coordination data associated with the target event; obtaining cached data and real-time data corresponding to the coordination data type; the cached data includes multimodal data before the target event occurs; and obtaining the event coordination result based on the cached data and the real-time data.

[0127] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes 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 disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for analyzing events of smart devices, characterized in that: include: Determine the type of investigation data associated with the target event; Acquire cache data and real-time data corresponding to the cooperative inquiry data type; the cache data includes multimodal data before the target event occurs; The event coordination result is obtained according to the cached data and the real-time data.

2. The method according to claim 1, characterized in that The coordinated query data type includes voice streaming data; obtaining cache data corresponding to the coordinated query data type includes: According to the timestamp information of the target event, at least one voice data before the timestamp information is obtained from the circular buffer as the buffer data; the circular buffer includes the start time and the end time of each voice data.

3. The method according to claim 2, characterized in that The method further comprises: In response to the end time of the first voice data in the circular buffer being after the start time of the second voice data, voice data of a preset duration is acquired as the buffer data with the start time of the first voice data as the starting point.

4. The method according to claim 1, characterized in that: The cooperative search data type includes image frame streaming data; obtaining cache data corresponding to the cooperative search data type includes: According to the timestamp information of the occurrence of the target event, at least one frame of image data before the timestamp information is obtained from the bidirectional link cache; the bidirectional link cache includes an original image of each frame of image data and at least one of a depth map and a point cloud map corresponding to the original image.

5. The method according to claim 4, characterized in that The image data in the bidirectional chain buffer is obtained by the following steps: Based on the feature information of consecutive frames in the video stream, determine the degree of change between every two frames; The image data of the consecutive frames whose degree of change exceeds a preset threshold are stored in the bidirectional link buffer.

6. The method according to claim 1, characterized in that Acquiring real-time data corresponding to the type of data to be investigated, including: Based on the timestamp information of the target event, multimodal data after the timestamp information is collected as the real-time data; the real-time data includes at least one of voice data and image data.

7. A smart device event analysis device, characterized in that: include: A determination module, used to determine the type of cooperative investigation data associated with the target event; An acquisition module, used to acquire cache data and real-time data corresponding to the cooperative inquiry data type; the cache data includes multimodal data before the target event occurs; The coordination module is used to obtain event coordination results based on the cache data and real-time data.

8. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Multi-target three-dimensional trajectory tracking method and device

    CN110533687A

  • Advertisement pushing management method and device based on MR glasses and application

    CN112181152A

  • Augmented reality visualization method based on depth camera and application

    CN112258658A

  • Automatic data recording, storing and classifying system and method

    CN112860747A

  • Real-time voice stream slice analysis method and system and computer equipment

    CN115242735A

Cited By

  • Scheduling method, device and equipment for natural resource multimode computational analysis model

    CN119271379A