CN114579394A - Log viewing method, log generating method and device and electronic equipment - Google Patents

Log viewing method, log generating method and device and electronic equipment Download PDF

Info

Publication number
CN114579394A
CN114579394A CN202210100765.7A CN202210100765A CN114579394A CN 114579394 A CN114579394 A CN 114579394A CN 202210100765 A CN202210100765 A CN 202210100765A CN 114579394 A CN114579394 A CN 114579394A
Authority
CN
China
Prior art keywords
event
log
target
picture
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210100765.7A
Other languages
Chinese (zh)
Inventor
高瑞浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202210100765.7A priority Critical patent/CN114579394A/en
Publication of CN114579394A publication Critical patent/CN114579394A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application discloses a log viewing method, a log generating method, a log viewing device and electronic equipment. The method comprises the following steps: responding to the log viewing operation aiming at the target equipment, and displaying a corresponding log recording interface; displaying event record information corresponding to a target event of target equipment in a log record interface; and if the log record of the target equipment comprises the event picture log corresponding to the target event, displaying the event picture log in an area corresponding to the corresponding event record information in the log record interface. By the method, the target event corresponding to the target equipment and the event record information corresponding to the target event can be displayed in the log record interface, so that a user can quickly associate the target event with the event record information corresponding to the target event when viewing logs, and the backtracking efficiency of the target event is improved.

Description

Log viewing method, log generating method and device and electronic equipment
Technical Field
The application relates to the technical field of smart home, in particular to a log viewing method, a log generating method and device and electronic equipment.
Background
With the development of the internet of things industry, in the intelligent home system, in order to ensure the service quality, a log of the intelligent home device is generated, so that a user can trace back an event according to the log. However, there is a problem that the efficiency is low in the process of event backtracking using the related log.
Disclosure of Invention
In view of the above problems, the present application provides a log viewing method, a log generating method, a log viewing device, and an electronic device, so as to improve the above problems.
In a first aspect, the present application provides a log viewing method, including: responding to the log viewing operation aiming at the target equipment, and displaying a corresponding log recording interface; displaying event record information corresponding to a target event of the target equipment in the log record interface;
if the log record of the target device comprises an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface; and the event picture log responds to the target event collection through the camera device associated with the target event of the target device and is bound with the corresponding event record information.
In a second aspect, the present application provides a log generation method, including: acquiring picture data acquired by camera equipment; carrying out event identification on the picture data, and identifying event picture data belonging to each target event in the picture data; generating event picture logs corresponding to the target events based on the event picture data, and binding the event picture logs corresponding to the target events into log records of target equipment corresponding to the target events in a related manner; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
In a third aspect, the present application provides a log viewing apparatus, including: the log recording interface display unit is used for responding to log viewing operation aiming at the target equipment and displaying a corresponding log recording interface; the target event record information display unit is used for displaying event record information corresponding to a target event of the target equipment in the log record interface; if the log record of the target device comprises an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface; and the event picture log responds to the target event collection through the camera device associated with the target event of the target device and is bound with the corresponding event record information.
As a mode, the logging interface includes an event timing sequence recording area and an event node recording area, and the logging interface display unit is specifically configured to display event timing sequence information corresponding to a target event of the target device in the event timing sequence area in the logging interface; and displaying event record information corresponding to the target event in an event record area in the log record interface.
Optionally, the event timing information includes a time node and an event duration of the target event, and the logging interface display unit is specifically configured to display the time node and the event duration of the target event according to the timing of the target event in an event timing area in the logging interface.
As another mode, the event record information includes an event node and event description information, and the target event record information display unit is specifically configured to display, in the log record interface, the event node and the event description information corresponding to the target event; and if the log record of the target equipment comprises the event picture log corresponding to the target event, displaying the event picture log in an area corresponding to the corresponding event node in the log record interface.
As another mode, the event record information includes an event node and an event picture log, the event picture log includes a picture log entry corresponding to an event image log and/or an event video log acquired by the image capture device, and the target event record information display unit is specifically configured to display, in an area corresponding to the event node in the log record interface, the picture log entry corresponding to the event image log and/or the event video log if the log record of the target device includes the event image log and/or the event video log for the target event; and responding to the trigger operation aiming at the picture log inlet, entering a picture display interface, and displaying the event image log and/or the event video log in the picture display interface.
Optionally, the picture log entry includes a picture thumbnail corresponding to the event image log and/or the event video log, and the target event record information display unit is specifically configured to, if the event picture log is the event image log, respond to a trigger operation for the picture thumbnail and display a complete image corresponding to the event image log; and if the event picture log is an event video log, responding to the trigger operation aiming at the picture thumbnail, entering a video playing interface, and playing the event video log in the video playing interface.
Wherein the event picture log comprises an event video log, the apparatus further comprising:
the video acquisition unit is used for acquiring the picture data acquired by the camera equipment; the picture data comprises picture data collected by the camera equipment in response to target events triggered by each target equipment; carrying out event identification on the picture data, and identifying event picture data belonging to the target event in the picture data; and generating an event video log corresponding to the target event based on the event picture data.
In a fourth aspect, the present application provides a log generating apparatus, comprising: the target event picture data acquisition unit is used for acquiring picture data acquired by the camera equipment; carrying out event identification on the picture data, and identifying event picture data belonging to each target event in the picture data; a log record generating unit, configured to generate an event picture log corresponding to each target event based on the event picture data, and associate and bind the event picture log corresponding to each target event to a log record of a target device corresponding to the target event; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
Wherein, as a mode, the picture data comprises video data, and the event picture log comprises an event image log and/or an event video log; the target event picture data acquiring unit is specifically configured to perform event identification on the video data, and identify an event image and/or an event video clip belonging to each target event in the video data. The log record generating unit is specifically configured to generate an event image log and/or an event video log corresponding to each target event according to the event image and/or the event video clip; and binding the event image logs and/or the event video logs corresponding to the target events into the log records of the target equipment corresponding to the target events in a correlated manner.
As another mode, the image data includes image data acquired in response to a target event triggered by each target device by an image capture device associated with a target event of each target device, and the target event image data acquisition unit is specifically configured to control an image capture device associated with a target event corresponding to the target device to acquire image data in an area corresponding to the target event in response to the target event triggered by the target device.
As another mode, the target event picture data acquiring unit is specifically configured to control the image pickup apparatus to acquire picture data of a first preset duration for the target event from a reference time if the image pickup apparatus is in a real-time operating state; the reference time is advanced by a second preset time length compared with the instruction receiving time when the image pickup equipment receives the image acquisition instruction; the instruction receiving time is the time corresponding to the image acquisition instruction generated aiming at the target event when the target device triggers the target event; and if the camera equipment is in a standby state, controlling the camera equipment to start to acquire picture data of a first preset duration in the area corresponding to the target event from the instruction receiving moment.
As still another mode, the image pickup apparatus includes at least one; at least one target event is associated with each target device, and the target event picture data acquisition unit is specifically configured to acquire picture data acquired by each image pickup device. The log record generating unit is specifically configured to identify event picture data belonging to each target event in the picture data, from the picture data collected by each image capturing apparatus, based on an association relationship between each image capturing apparatus and the target event of each target apparatus.
In a fifth aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a sixth aspect, the present application provides a computer-readable storage medium having a program code stored therein, wherein the program code performs the above method when running.
According to the log viewing method, the log generating device, the electronic device and the storage medium, after a log viewing operation for a target device is responded, a corresponding log recording interface is displayed, event recording information corresponding to a target event of the target device is displayed in the log recording interface, if the log record of the target device comprises an event picture log corresponding to the target event, the event picture log is displayed in an area corresponding to the corresponding event recording information in the log recording interface, and the event picture log is acquired by responding to the target event through a camera device associated with the target event of the target device and is bound with the corresponding event recording information. By the method, the target event corresponding to the target equipment and the event record information corresponding to the target event can be displayed in the log record interface, and the event picture log corresponding to the target event can be displayed in the log record interface under the condition that the log record of the target equipment comprises the event picture log corresponding to the target event, so that a user can quickly associate the target event with the event record information and the event picture log corresponding to the target event when viewing the log, and the target event backtracking efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application scenario of a log viewing method and a log generating method proposed in the present application;
fig. 2 shows a flowchart of a log viewing method proposed in an embodiment of the present application;
FIG. 3 is a schematic diagram of an application home interface presented in the present application;
FIG. 4 is a schematic diagram of a door and window sensor log entry display interface according to the teachings of the present application;
FIG. 5 is a schematic diagram illustrating a home interface of an application with alert event reminder as proposed in the present application;
FIG. 6 is a schematic diagram illustrating a door and window sensor device detail interface according to the teachings of the present application;
FIG. 7 is a flow chart illustrating a method for viewing logs in accordance with another embodiment of the present application;
FIG. 8 is a schematic diagram of another door and window sensor logging display interface presented herein;
FIG. 9 is a schematic diagram of yet another door and window sensor logging display interface as contemplated by the present application;
FIG. 10 is a flow chart illustrating a method for viewing logs in accordance with yet another embodiment of the present application;
fig. 11 is a schematic diagram illustrating a log record display interface of a target device associating a plurality of image capturing devices according to the present application;
fig. 12 is a flowchart illustrating a log generation method according to an embodiment of the present application;
FIG. 13 is a flow chart illustrating a method for log generation according to another embodiment of the present application;
FIG. 14 is a flowchart illustrating an application of a log viewing and log generating method proposed by the present application;
fig. 15 is a block diagram illustrating a structure of a log viewing apparatus according to an embodiment of the present application;
fig. 16 is a block diagram showing a structure of a log generating apparatus according to an embodiment of the present application;
fig. 17 is a block diagram illustrating an electronic device according to the present application;
fig. 18 is a storage unit, according to an embodiment of the present application, configured to store or carry program codes for implementing a log viewing method and a log generating method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the development of the internet of things industry, in the intelligent home system, in order to ensure the service quality, a log of the intelligent home device is generated, so that a user can trace back an event according to the log. There is also a problem of inefficiency in event backtracking using related logs.
The inventor finds that the efficiency is low in the process of using the related logs to backtrack the events in the related research. For example: the log only includes a text log, and if a user wants to trace back an event by viewing a video of the event, it usually takes a long time to search for video content related to the event from a large amount of videos.
Therefore, the inventor proposes a log viewing method, a log generating device, and an electronic device in the present application, after responding to a log viewing operation for a target device, a corresponding log recording interface is displayed, in the log recording interface, event recording information corresponding to a target event of the target device is displayed, if a log record of the target device includes an event picture log corresponding to the target event, the event picture log is displayed in an area corresponding to the corresponding event recording information in the log recording interface, and the event picture log is acquired in response to the target event through an image pickup device associated with the target event of the target device and is bound with the corresponding event recording information. By the method, the target event corresponding to the target equipment and the event record information corresponding to the target event can be displayed in the log record interface, and the event picture log corresponding to the target event can be displayed in the log record interface under the condition that the log record of the target equipment comprises the event picture log corresponding to the target event, so that a user can quickly associate the target event with the event record information and the event picture log corresponding to the target event when viewing the log, and the target event backtracking efficiency is improved.
The following description is provided for an application environment applicable to the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment suitable for the embodiment of the present application. The log viewing method and the log generating method provided by the embodiment of the application can be applied to the intelligent control system 200 shown in fig. 1, and the intelligent control system 200 includes a server 210, a user terminal 220 and a local area network 230. The local area network 230 includes an electronic device 231, an electronic device 233, and an electronic device 235. Among the devices included in the lan 230, the electronic device 231 may be a gateway, that is, a device that can directly establish a network connection with the server 210. Unlike the electronic device 231, the electronic device 233 and the electronic device 235 in the local area network 230 may not establish a network connection directly with the server 210, but establish a network connection with the server 210 through the electronic device 231. The electronic device 233 may be various types of smart sensors, smart controllers, lamps, air conditioners, curtains, televisions, refrigerators, fans, and other smart home devices. The electronic device 235 may be a camera, and in some embodiments, the electronic device 235 may also be integrated with a gateway. For example, the camera gateway may have a function of a smart camera, and may be used as a gateway to control other electronic devices connected thereto and to interact with the user terminal 220, the server 210, and the like.
Based on the foregoing system structure, the user terminal 220 may directly establish a network connection with the server 210 and then perform data interaction with the electronic device 231 as a gateway through the server 210. In addition, as another mode, the user terminal 220 may directly perform data interaction with the electronic device 231 as a gateway based on the near field communication mode. The short-distance communication mode includes ZigBee (ZigBee connection), bluetooth, WiFi (Wireless Fidelity), and the like.
Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, taking an example that a log viewing method provided in an embodiment of the present application is applied to a terminal for description, the method includes:
s110: and responding to the log viewing operation aiming at the target equipment, and displaying a corresponding log recording interface.
In this embodiment, the target device may be a device selected for log viewing. The target device may be an intelligent home device, for example: door and window sensor, temperature and humidity sensor, water logging sensor, smart jack etc.. The log recording interface is an interface for displaying a device log on a display screen of the terminal, and specifically may be an interface for displaying a log record generated by recording a target event triggered by the target device.
As a manner, a user may add a commonly used smart home device to a home interface of a related application program (for example, an application program for managing smart home devices), where the user may switch a display order of the commonly used smart home device on the home interface according to a preference, in this manner, the user may click the smart home device on the home interface, and in response to the click operation, the user terminal takes the smart home device on which the click operation is applied as a target device, and may display a log recording interface corresponding to the smart home device clicked by the user. For example, as shown in fig. 3, there are devices such as a door and window sensor, a socket, and a camera in the home interface of fig. 3, and when a user clicks a target device, such as a door and window sensor, a log recording interface corresponding to the door and window sensor shown in fig. 4 may be displayed.
Optionally, if an alarm event occurs in the smart home device, a reminder mark of the relevant alarm event may also be added in the home page interface of fig. 3. Optionally, a warning event may be set separately for each smart home device. For example, a warning event of a door and window sensor may be set to warn the user when the door is open; as another example, the alert event of the temperature and humidity sensor may be set to alert the user when the temperature is above 27 ℃. Illustratively, when the temperature and humidity sensor detects that the current temperature value is 29 ℃, the user terminal can display the current temperature value through the home interface shown in fig. 5 and mark a corresponding warning symbol to remind the user, so that the user can directly know whether a warning event occurs in time from the home interface shown in fig. 5 when using the relevant application program, thereby avoiding the occurrence of potential safety hazards and improving the user experience.
As another mode, a user may enter an equipment interface by clicking an equipment control of a related application, a list of equipment under a current user account may be displayed in the equipment interface, multiple smart home devices may be in the list, a detailed information interface of the smart home devices may be entered by clicking the smart home devices in the equipment interface, and an equipment log control is in the detailed information interface. In this way, the user can click the device log control to trigger and display the log recording interface corresponding to the smart home device clicked by the user. For example, referring to fig. 6 again, an "equipment" control is arranged below the home page interface shown in fig. 6, and a user can click the control to enter the equipment interface and can display a detailed information page of a door/window sensor by clicking the door/window sensor in the equipment interface; by clicking the "device log" control in the detailed information page, a log recording interface corresponding to the door and window sensor shown in fig. 4 can be displayed.
S120: and displaying event record information corresponding to the target event of the target equipment in the log record interface.
The target event may be an event determined from a plurality of candidate events corresponding to the target device, and the event record information is information for describing a relevant scene when the event occurs.
It should be noted that the alternative events corresponding to each type of target device may be different, for example, when the target device is a door and window sensor, the alternative events corresponding to the target device may be: open, close, open for more than a period of time, close for more than a period of time, etc.; when the target device is a water sensor, the alternative events corresponding to the target device may be: water immersion, water release, etc. are detected.
As one approach, the target event may be set by the user based on the user's own needs. In this way, a user can click a target device control in a display interface of a related application program, enter a detailed information interface of the target device, click a device event control in the detailed information interface, enter a display interface of a plurality of alternative events corresponding to the target device, and select and click one or more alternative event controls in the display interface according to the needs of the user, so that the selected alternative events are set as target events. For example, the user may set the target event of the door/window sensor as a door, and as shown in fig. 4, event record information such as the number of times the door is opened today, the state of the current door, and when the door is opened may be displayed in the log record interface corresponding to the door/window sensor of fig. 4.
It should be noted that the target events of the same target device may be different. For example, the target device may be a water sensor, and if the water sensor is placed in a sink of a kitchen, a user may set the detected water immersion as a target event, and because if the water sensor detects the water immersion, it indicates that there may be a water leakage in the kitchen or a water tap is not closed, and the like, the setting of the water immersion state as the target event may facilitate the user to check the sink condition in time and check a fault; if place the water sensor in the fish bowl, the user can set up the state of removing the water logging as the target event, because if the water logging sensor has detected to remove the water logging, indicate that the fish bowl probably has appeared leaking the scheduling problem, so set up the state of removing the water logging as the target event and can be convenient for the user in time to look over the fish bowl and confirm whether need repair the fish bowl.
Alternatively, the target event may be set by default based on the results of the big data analysis. For example, when the big data is analyzed to have the highest probability that the user sets the target event of the door and window sensor to "open", the target events of the door and window sensors of all the users may be set to "open".
S130: if the log record of the target device comprises an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface; and the event picture log responds to the target event collection through the camera device associated with the target event of the target device and is bound with the corresponding event record information.
In this embodiment, the event picture log may include an event video log. As one mode, the gateway or the server may first acquire picture data acquired by the camera device, where the picture data may include picture data acquired by the camera device in response to a target event triggered by each target device; event identification is carried out on the collected picture data, and event picture data belonging to a target event in the picture data is identified; an event video log corresponding to the target event is then generated based on the identified event picture data. Therefore, when a user terminal triggers a log viewing operation for the target device, the user terminal can acquire an event video log of a target event corresponding to the target device from a gateway or a server and display the event video log in an area corresponding to event recording information in a log recording interface.
Optionally, in this embodiment of the application, there may be a plurality of image capturing devices (e.g., cameras) associated with a target event of the target device, in this case, a target event corresponding to the target device and a plurality of event video logs corresponding to the target event may be displayed in an area corresponding to corresponding event recording information in a log recording interface, and the plurality of event video logs may be collected by different cameras.
As one way, a plurality of cameras associated with a target event of a target device may be used to record the target event from different angles. In this way, the event video logs can include the event picture data acquired from different angles, so that the event can be traced back from multiple angles, the scene of event tracing back is more comprehensive, and the condition that important information is lost due to the existence of dead angles of the monitoring picture is avoided. For example, in a smart home scene, a user may set a target event of a door and window sensor on a master horizontal door to be open, and associate the target event with a camera in a living room and a camera in a master horizontal room, when the master horizontal door is opened, the camera in the living room and the camera in the master horizontal room may simultaneously start to record an event that the master horizontal door is opened, and when the user finds that no person is in the home but the master horizontal door is opened, the user may completely trace back the event from multiple angles through a log record of the door and window sensor of the master horizontal door, so that the user determines whether the door is opened due to a stranger entering the master horizontal door, and the situation of missing important information is avoided.
Alternatively, multiple cameras associated with a target event of a target device may be used to record the target event from different modes. In this manner, the plurality of event video logs may include event picture data collected based on different modes, such as: the real picture data of the event, the infrared picture data of the event and the like so as to trace back the event from a plurality of modes, thereby enabling the scene of event backtracking to be more comprehensive, and avoiding missing important information of the event due to the reasons that light rays are dim or the sight of a camera in the real picture data mode is shielded and the like.
In the log viewing method provided by this embodiment, after a log viewing operation for a target device is responded, a corresponding log recording interface is displayed, event recording information corresponding to a target event of the target device is displayed in the log recording interface, if a log record of the target device includes an event picture log corresponding to the target event, the event picture log is displayed in an area corresponding to the corresponding event recording information in the log recording interface, and the event picture log is acquired in response to the target event through a camera device associated with the target event of the target device and is bound to the corresponding event recording information. By the method, the target event corresponding to the target equipment and the event record information corresponding to the target event can be displayed in the log record interface, and the event picture log corresponding to the target event can be displayed in the log record interface under the condition that the log record of the target equipment comprises the event picture log corresponding to the target event, so that a user can quickly associate the target event with the event record information and the event picture log corresponding to the target event when viewing the log, and the target event backtracking efficiency is improved.
Referring to fig. 7, a log viewing method provided by the present application includes:
s210: and responding to the log viewing operation aiming at the target equipment, and displaying a corresponding log recording interface.
S220: and displaying event time sequence information corresponding to the target event of the target equipment in an event time sequence area in the log recording interface.
In this embodiment of the present application, the event timing information may include a time node and an event duration of the target event, and as a manner, the user terminal may display the time node and the event duration of the target event according to the time sequence of the target event in an event timing area in a log recording interface.
Alternatively, a time stamp bar may be used to record the event duration of the target event, and date or time information may be used to indicate the time node of the target event. For example, as shown in fig. 8, the upper half area of the logging interface is an event timing area, and the event timing area displays time nodes corresponding to a plurality of events of the door and window sensor and a rectangular time mark bar, wherein the wider the rectangular time mark bar is, the longer the event duration of the target event is.
Optionally, the logging interface may be displayed weekly, and when displayed weekly, the time-stamp bar may indicate the duration of each day of the event in the week, and the time node may be the date of each day in the week; the logging interface may also be displayed by day, and when displayed by day, the time stamp bar may indicate the duration of each event in a day, and the time node may be time information in a day. By the method, the user can select which mode to display the log recording interface according to the self requirement, and the display flexibility is improved.
S230: and displaying event record information corresponding to the target event in an event record area in the log record interface.
In this embodiment of the present application, the event record information may include an event node and event description information, where the event node is a node that marks an event at a moment when the event is just triggered, and the event description information is description information used for describing an event state where the target device is located. As one way, the user terminal may display an event node and event description information corresponding to the target event in an event recording area in the logging interface.
Optionally, the event record information corresponding to the target event may be displayed in the form of an event marker bar, the event node may be displayed by a specific marker symbol, and the event node may further include an area corresponding to the event marker bar. For example, as shown in fig. 8, when the target device is a door and window sensor, the lower half area of the logging display interface is an event recording area, and event mark bars of the door and window sensor, such as "door closed detected", "door open detected", and the like, may be displayed in the event recording area. Further, in the event log area shown in fig. 8, the event node may include a circle next to the event marker bar, and a display area of the event occurrence time.
S240: and if the log record of the target equipment comprises the event picture log corresponding to the target event, displaying the event picture log in an area corresponding to the corresponding event node in the log record interface.
As a mode, the user can click the event marker strip corresponding to the target event, and the user terminal responds to the click operation, and can display the event picture log corresponding to the target event in the area corresponding to the corresponding event node of the target event, so that the content of the target device log is richer, the user can quickly associate the target event with the time information and the picture data corresponding to the target event, and the event backtracking efficiency is improved. For example, the target device may be a door and window sensor, and the target event may be "open door", as shown in fig. 9, in a lower half area of the door and window sensor log record display interface on the left side of fig. 9, there are a plurality of event nodes of the door and window sensor, where one event node includes a screen log control for the screen log of the event. When the user clicks the "door open detected" event node or the picture log control, the user terminal may display the video thumbnail corresponding to the event node below the "door open detected" event node, so as to present a door and window sensor log record display interface as shown on the right side of fig. 9.
Optionally, when the user finishes browsing the information corresponding to the target event, the user may click the event node or the picture log control corresponding to the target event again, and hide the time information and the picture information corresponding to the target event, so that the log record display interface may simultaneously display a plurality of event information corresponding to the target device, thereby improving the display efficiency.
Optionally, when the user finishes viewing the video content corresponding to the target event, the user may return to the interface with the target event video thumbnail, and then click the event marker bar corresponding to the target event, so as to hide the time information and the picture data corresponding to the target event. For example, when the user finishes viewing the video content under "door open detected", the user may return to the door and window sensor log record display interface shown on the right side of fig. 9 from the video playing interface, and then click "door open detected" may return to the door and window sensor log record display interface shown on the left side of fig. 9.
According to the log viewing method provided by the embodiment, the target event corresponding to the target device and the event record information corresponding to the target event can be displayed in the log recording interface, and the event picture log corresponding to the target event can be displayed in the log recording interface under the condition that the log record of the target device comprises the event picture log corresponding to the target event, so that a user can quickly associate the target event with the event record information and the event picture log corresponding to the target event when viewing the log, and the backtracking efficiency of the target event is improved. In addition, in the embodiment, the screen data corresponding to the target event can be displayed and hidden, so that the flexibility of displaying the log recording interface is improved.
Referring to fig. 10, a log viewing method provided by the present application includes:
s310: and responding to the log viewing operation aiming at the target equipment, and displaying a corresponding log recording interface.
S320: and displaying event record information corresponding to the target event of the target equipment in the log record interface.
S330: if the log record of the target device comprises an event image log and/or an event video log aiming at the target event, displaying a picture log inlet corresponding to the event image log and/or the event video log in an area corresponding to a corresponding event node in the log record interface.
Wherein the event picture log comprises an event image log and/or an event video log. The event image log can be generated based on the collected image data corresponding to the target event, and can also be extracted from the collected video data corresponding to the target event; the event image log corresponding to each event node may include one or more images corresponding to the target event. The event video log may specifically be generated based on the captured video data corresponding to the target event.
The picture log entry corresponding to the event image log and/or the event video log may be an image thumbnail and/or a video thumbnail. When the event video logs are displayed on the log recording interface, only the video thumbnails corresponding to the event video logs can be displayed, the video thumbnails can represent display entries of the event video logs, and the specific event video logs are further displayed by triggering the video thumbnails.
As one mode, a user may click an event marker bar corresponding to a target event, and in response to the click operation, the user terminal may display an image thumbnail and/or a video thumbnail corresponding to the target event in an area corresponding to a corresponding event node of the target event.
S340: and responding to the trigger operation aiming at the picture log inlet, entering a picture display interface, and displaying the event image log and/or the event video log in the picture display interface.
As one mode, if the event picture log is an event image log, the user terminal may display a complete image corresponding to the event image log in response to a trigger operation for the picture thumbnail; and if the event picture log is the event video log, the user terminal can respond to the trigger operation aiming at the picture thumbnail, enter a video playing interface and play the event video log in the video playing interface.
Optionally, when there are multiple cameras associated with the target device, a target event corresponding to the target device, time information corresponding to the target event, and multiple image thumbnails and/or video thumbnails may be displayed in the log recording interface. In this case, the user may select one of the image thumbnails and/or video thumbnails for presentation. For example, as shown in fig. 11(b), the target device may be a door and window sensor, which simultaneously binds to cameras of a balcony, a living room, and a hallway, and the user may click on a thumbnail corresponding to the camera of the living room among the three video thumbnails of fig. 11(b), at which time the user terminal may display the video playing interface shown in fig. 11 (c).
Optionally, the video thumbnail may be played in a full screen, and the full screen may be displayed in a horizontal screen or a vertical screen. For example, the video content may be displayed in a full screen manner by clicking a full screen control in the video playing interface shown in fig. 11(c), and when the video content is displayed in the full screen manner, whether the video content is displayed in a cross screen manner may be determined based on a rotation motion of the user terminal.
It should be noted that the duration length of the video content may be preset, and may be 15 seconds as an example.
According to the log viewing method provided by the embodiment, the target event corresponding to the target device and the event record information corresponding to the target event can be displayed in the log recording interface, and the event picture log corresponding to the target event can be displayed in the log recording interface under the condition that the log record of the target device comprises the event picture log corresponding to the target event, so that a user can quickly associate the target event with the event record information and the event picture log corresponding to the target event when viewing the log, and the target event backtracking efficiency is improved. Moreover, in the embodiment, when the target event of the target device is associated with a plurality of image capturing devices, the user can select the corresponding event image log and/or event video log corresponding to any image capturing device for viewing, so that the variety of log recording interface displays is improved.
Referring to fig. 12, a log generating method provided by the present application includes:
410: and acquiring picture data acquired by the camera equipment.
As one mode, in response to a target event triggered by a target device, the gateway or the server may control the image capturing device associated with the target event corresponding to the target device to capture image data in an area corresponding to the target event. More specifically, the gateway or the server may send an image capture instruction to the image capture device associated with the target event corresponding to the target device, so as to control the image capture device to capture the image data in the area corresponding to the target event.
As one mode, the image capturing apparatus associated with the target apparatus may be controlled to acquire screen data corresponding to the target event according to the operating state of the image capturing apparatus.
Optionally, if the image pickup apparatus is in a real-time working state, the image pickup apparatus is controlled to start to acquire the picture data of the first preset duration for the target event from the reference time. The reference time is advanced by a second preset time length compared with the instruction receiving time when the image acquisition instruction is received by the camera equipment; the instruction receiving time is the time corresponding to the image acquisition instruction generated for the target event when the target event is triggered by the target device.
When the camera associated with the target event receives the image acquisition instruction, the event has been continuously developed for a period of time, the camera associated with the target event is controlled to acquire the video with the first preset duration from the reference moment, and the development condition of the event can be completely recorded, so that a user can completely trace back the occurrence scene of the event through the video thumbnail in the log recording interface of the target device, and important information is prevented from being omitted.
It should be noted that, when the camera is in a real-time working state, the camera may buffer the acquired video frames into the buffer queue, extract the video frames in the buffer queue from the reference time when receiving the image acquisition instruction, and store the video frames with the first preset duration and generate the corresponding short videos when the duration of the extracted video frames reaches the first preset duration.
Furthermore, it should be noted that the value of the second preset time period may be determined based on the time corresponding to the transmission path of the image capturing instruction, and the longer the transmission path of the image capturing instruction is, the longer the second preset time period is. The length of the transmission path of the image acquisition instruction may be the number of communication nodes passed through in the transmission process of the image acquisition instruction, and the greater the number of communication nodes is, the longer the length of the transmission path is.
In this way, when the target device detects that the target event is triggered, the target device may report a message that the target event is triggered to the gateway, and after receiving the report message, the gateway may send an image acquisition instruction to the camera associated with the target device to control the camera to acquire image information corresponding to the target event. Since the duration of the lan transmission is about 300 ms, the second preset duration may be set to 2 seconds in order to record the event information from before the target event occurs.
As another mode, the image capture instruction may be transmitted by a server, in this mode, when the target device detects that the target event is triggered, the target device may report a message that the target event is triggered to a gateway, the gateway may forward the message to the server after receiving the report message, and after receiving the report message, the server may send the image capture instruction to the image capture device associated with the target event to control the image capture device to obtain the image data corresponding to the target event. Since the transmission time from the message triggered by the target event reported by the target device to the gateway is about 200 milliseconds, the transmission time from the gateway to the server is about 300 milliseconds, and the transmission time from the server to the camera device is about 1 second, the second preset time can be set to 5 seconds in order to start recording the event information before the target event occurs.
Optionally, if the camera device is in a standby state, the camera device is controlled to start to acquire the picture data of a first preset duration in the area corresponding to the target event from the instruction receiving time. For example, when the target device detects that the target event is triggered, the target device may report a message that the target event is triggered to a gateway or a server, and the gateway or the server may control, after receiving the report message, the image pickup device associated with the target event to start to capture a video with a first preset duration.
It should be noted that the first preset time period may be set by default for the relevant application, and for example, the first preset time period may be 15 seconds.
As another mode, the image capturing apparatus associated with the target apparatus may be controlled to acquire screen data corresponding to the target event according to the angle of view of the image capturing apparatus.
Optionally, if the viewing angle of the camera device is fixed, the camera device associated with the target event may be controlled to acquire image information corresponding to the target event in a preset area of the camera device, where the preset area is an area corresponding to the viewing angle of the camera device. Moreover, when the visual angle of the camera device is fixed, the visual angle of the camera device can be set to be a wide angle, and if the camera device is bound with target events of a plurality of target devices, collected preset area video pictures can be associated and reported to log records of the plurality of target devices. By the method, when the video thumbnail corresponding to the single target device is viewed, the event condition of the target device near the single target device can be observed at the same time, and the scene information recorded by the log is enriched.
Optionally, if the angle of view of the camera device is not fixed, the camera device associated with the target event may be controlled to turn toward the target device, and the image data corresponding to the target event acquired by the camera device associated with the target device may be acquired. By the method, under the condition that the number of the image pickup devices is limited and the image pickup devices are associated with a plurality of target devices, the image data of the target events corresponding to the plurality of target devices can be acquired by rotating the visual angle.
As another way, the image capturing device associated with the target event may be controlled to acquire the screen data corresponding to the target event based on a preset condition, where the preset condition may be automatically configured by the relevant application according to the target device. For example, the preset conditions of the door and window sensor may be set as: if the door and window are opened by a stranger, controlling a camera associated with the door and window sensor to acquire picture data when the door and window are opened; if the door and window is opened by a non-stranger, the control operation is not executed. By the method, the preset condition corresponding to the target equipment can be judged before the image pickup equipment associated with the control target event acquires the image data corresponding to the target event, and if the preset condition is met, the image data corresponding to the target event which is not concerned by the user can be filtered out, so that the user can quickly find the image data corresponding to the important event through the log recording interface, and the event backtracking efficiency is improved.
It should be noted that the association between the target event of the target device and the imaging device may be automatic or manually configured. In this way, the user terminal can display the camera device which is in the same scene with the target device (for example, the target device and the camera device are both arranged in a main horizontal position) on top, so that the user can quickly find the camera device which can monitor the target event corresponding to the target device, and the user experience is improved. The automatic association may be that the user terminal automatically determines the image pickup apparatus associated with the target event of the target apparatus according to the distance between the target apparatus and the image pickup apparatus, in which the closer the distance between the target apparatus and the image pickup apparatus, the more likely it is to indicate that the target apparatus and the image pickup apparatus are in the same scene, and for example, the user terminal may determine the distance between the target apparatus and the image pickup apparatus based on the signal strength, wherein the weaker the signal, the farther the distance is.
Furthermore, it should be noted that the association between the target event of the target device and the camera device may be bidirectional, that is, the association between the target event and the camera device may be achieved by binding the target event of the target device to the camera, or the association between the target event and the camera device may be achieved by binding the target event of the target device to the camera device.
S420: and carrying out event identification on the picture data, and identifying event picture data belonging to each target event in the picture data.
As one mode, the picture data may include video data, and the gateway or the server may perform event recognition on the collected video data, and recognize an event image and/or an event video clip belonging to each target event in the video data.
As a mode, the camera associated with the target event of the target device may upload the acquired image and/or video information of the target event to the gateway, and the gateway may forward the image and/or video information to the server after receiving the image information, so that the server may acquire the image and/or video information uploaded by the camera associated with the target device.
As another mode, the camera associated with the target device may upload the acquired target event image and/or video information to the gateway, and the gateway may store the image after receiving the image information, and upload the image and/or video information to the server after receiving a target event image and/or video information acquisition instruction from the server.
S430: generating event picture logs corresponding to the target events based on the event picture data, and binding the event picture logs corresponding to the target events into log records of target equipment corresponding to the target events in a related manner; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
As a mode, the gateway or the server may generate an event image log and/or an event video log corresponding to each target event according to the event image and/or the event video clip; and associating and binding the event image log and/or the event video log corresponding to each target event into the log record of the target equipment corresponding to the target event.
Optionally, the server may associate an event marker strip, an event image log and/or an event video log corresponding to the target event with the time when the target event is triggered to generate a log record of the target device, and then push the generated log record to the user terminal, so that the log record may be displayed in a log record interface of the target device.
According to the log generation method provided by the embodiment, the target event corresponding to the target device and the event record information corresponding to the target event can be displayed in the log record interface, so that a user can quickly associate the target event with the event record information corresponding to the target event when viewing the log, and the backtracking efficiency of the target event is improved. Moreover, in the embodiment, the image data corresponding to the target event can be acquired based on different working states and viewing angles of the image pickup device, so that the applicability and flexibility of the method provided by the application are improved.
Referring to fig. 13, a log generating method provided by the present application includes:
s510: and acquiring picture data collected by each camera device.
In the embodiment of the application, the image pickup equipment comprises at least one image pickup equipment; at least one target event is associated with each target device. As one approach, multiple cameras associated with a target event may be used to record the target event from different angles. In this way, the picture data collected by each camera device can include picture data shot from different angles, so that events can be traced back from multiple angles, the scene of event tracing back is more comprehensive, and the situation that important information is lost due to the existence of monitoring picture dead angles is avoided. For example, in a smart home scene, a door and window sensor on a master bedroom door can be associated with a camera device in a living room and a camera device in the master bedroom, when no person is in the home and the master bedroom door is opened, the camera device in the living room and the camera device in the master bedroom room can simultaneously start to record an event that the master bedroom door is opened, if a door is opened due to the fact that a stranger sneaks into the master bedroom, the event can be backtracked from multiple angles through the log record of the door and window sensor of the master bedroom door, and the situation of dead angles of a picture is avoided.
As another way, a plurality of image capturing apparatuses associated with a target event may be used to record the target event from different modes. In this manner, the picture data collected by each image pickup apparatus may include picture data photographed based on different modes, for example: real picture data, infrared picture data etc. to trace back the event from a plurality of modes, thereby make the scene of event backtracking more comprehensive, avoided missing the important information of event because of reasons such as the camera equipment sight of light dim or real picture data mode is sheltered from.
S520: based on the association relationship between each image pickup apparatus and the target event of each target apparatus, the event picture data belonging to each target event in the picture data is respectively identified from the picture data collected by each image pickup apparatus.
As one mode, the gateway or the server may identify event screen data of each target event from screen data collected by the plurality of image capturing apparatuses according to a correlation state between the plurality of image capturing apparatuses and the target event of each target apparatus.
S530: generating event picture logs corresponding to the target events based on the event picture data, and binding the event picture logs corresponding to the target events to log records of target equipment corresponding to the target events in an associated manner; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
As one mode, an event marker bar corresponding to a target event of the target device, a plurality of screen data, and time information corresponding to the target event may be associated to generate an event screen log record of the target device.
According to the log generation method provided by the embodiment, the target event corresponding to the target device and the event record information corresponding to the target event can be displayed in the log record interface, so that a user can quickly associate the target event with the event record information corresponding to the target event when viewing the log, and the backtracking efficiency of the target event is improved. In addition, in this embodiment, a target event of the target device may be associated with a plurality of image capturing devices, and the image capturing device associated with the target event may record image data of the target event through different viewing angles and modes, so that content recorded by a log of the target device and an event occurrence scene are enriched, and a user may acquire more comprehensive event backtracking information.
The application also provides an application scenario, and the application of the log viewing and log generating method in the application scenario is as follows: in the smart home scenario shown in fig. 1, a user may complete related configuration of a target device in a related application (for example, an application for managing smart home devices) of the user terminal 220 according to the flow shown in fig. 14(a), for example, the user may set a door and window sensor as the target device, set a target event device of the door and window sensor as a door opening device, and select a suitable camera device to perform association binding with the target event.
After the related configuration of the target device is completed, as shown in fig. 14(b), when a target event corresponding to the target device is triggered, the target device may report the target event to the gateway 231 or the server 210, and the gateway 231 or the server 210 may control, through an image acquisition instruction, the image pickup device associated with the target event to acquire image data corresponding to the target event. After the image capturing device associated with the target event collects the picture data of the preset duration, the picture data and the target event marker may be uploaded to the gateway 231 or the server 210, so that the gateway 231 or the server 210 may generate an event picture log corresponding to the target event.
When a user needs to view a target event, a device may be selected as a target device from related application programs (for example, application programs for managing smart home devices) of the user terminal 220 according to the flow shown in fig. 14(c), and a log is viewed on a log recording interface of the target device, at this time, the user terminal 220 responds to a log viewing operation for the target device, and displays the log recording interface corresponding to the target device to the user. If the target device has the event picture log, the user can view the event picture log (such as videos, images and the like) through an entry (such as a video thumbnail, an image thumbnail and the like) of the event picture log; if the target device does not have the event picture log, the user can check the detailed text log of the target event by clicking the target event on the log recording interface, so that the user can quickly associate the target event with the event recording information corresponding to the target event when checking the log, and the backtracking efficiency of the target event is improved.
Referring to fig. 15, the present application provides a log viewing apparatus 700, where the apparatus 700 includes:
a log recording interface display unit 710, configured to display a corresponding log recording interface in response to a log viewing operation for a target device;
a target event record information display unit 720, configured to display event record information corresponding to a target event of the target device in the logging interface; if the log record of the target device comprises an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface; and the event picture log responds to the target event collection through the camera device associated with the target event of the target device and is bound with the corresponding event record information.
As a mode, the logging interface includes an event timing sequence recording area and an event node recording area, and the logging interface display unit 710 is specifically configured to display event timing sequence information corresponding to a target event of the target device in the event timing sequence area in the logging interface; and displaying event record information corresponding to the target event in an event record area in the log record interface.
Optionally, the event timing information includes a time node and an event duration of the target event, and the logging interface display unit 710 is specifically configured to display the time node and the event duration of the target event according to the time sequence of the target event in an event timing area in the logging interface.
As another mode, the event record information includes an event node and event description information, and the target event record information display unit 720 is specifically configured to display, in the log record interface, the event node and the event description information corresponding to the target event; and if the log record of the target equipment comprises the event picture log corresponding to the target event, displaying the event picture log in an area corresponding to the corresponding event node in the log record interface.
As another mode, the event record information includes an event node and an event picture log, the event picture log includes a picture log entry corresponding to an event image log and/or an event video log acquired by the image capturing device, and the target event record information display unit 720 is specifically configured to display, in an area corresponding to the event node in the log recording interface, the picture log entry corresponding to the event image log and/or the event video log if the log record of the target device includes the event image log and/or the event video log for the target event; and responding to the trigger operation aiming at the picture log entry, entering a picture display interface, and displaying the event image log and/or the event video log in the picture display interface.
Optionally, the picture log entry includes a picture thumbnail corresponding to the event image log and/or the event video log, and the target event record information display unit 720 is specifically configured to, if the event picture log is the event image log, respond to a trigger operation for the picture thumbnail and display a complete image corresponding to the event image log; and if the event picture log is an event video log, responding to the trigger operation aiming at the picture thumbnail, entering a video playing interface, and playing the event video log in the video playing interface.
Wherein the event picture log comprises an event video log, the apparatus 700 further comprising:
the video acquiring unit 730 is used for acquiring the image data acquired by the camera device; the picture data comprises picture data collected by the camera equipment in response to target events triggered by each target equipment; carrying out event identification on the picture data, and identifying event picture data belonging to the target event in the picture data; and generating an event video log corresponding to the target event based on the event picture data.
Referring to fig. 16, the present application provides a log generating apparatus 900, where the apparatus 900 includes:
a target event picture data acquisition unit 910 configured to acquire picture data acquired by the image pickup apparatus; and carrying out event identification on the picture data, and identifying event picture data belonging to each target event in the picture data.
A log record generating unit 920, configured to generate an event picture log corresponding to each target event based on the event picture data, and associate and bind the event picture log corresponding to each target event to a log record of a target device corresponding to the target event; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
Wherein, as a mode, the picture data comprises video data, and the event picture log comprises an event image log and/or an event video log; the target event picture data acquiring unit 910 is specifically configured to perform event identification on the video data, and identify an event image and/or an event video clip belonging to each target event in the video data. The log record generating unit 920 is specifically configured to generate an event image log and/or an event video log corresponding to each target event according to the event image and/or the event video clip; and binding the event image logs and/or the event video logs corresponding to the target events into the log records of the target equipment corresponding to the target events in a correlated manner.
As another mode, the picture data includes picture data acquired in response to a target event triggered by each target device by an image capture device associated with a target event of each target device, and the target event picture data acquiring unit 910 is specifically configured to control an image capture device associated with a target event corresponding to the target device to acquire the picture data in an area corresponding to the target event in response to the target event triggered by the target device.
As another mode, the target event picture data acquiring unit 910 is specifically configured to, if the image capturing apparatus is in a real-time operating state, control the image capturing apparatus to acquire picture data of a first preset duration for the target event from a reference time; the reference time is advanced by a second preset time length compared with the instruction receiving time when the camera equipment receives the image acquisition instruction; the instruction receiving time is the time corresponding to the image acquisition instruction generated aiming at the target event when the target device triggers the target event; and if the camera equipment is in a standby state, controlling the camera equipment to start to acquire picture data of a first preset duration in the area corresponding to the target event from the instruction receiving moment.
As still another mode, the image pickup apparatus includes at least one; at least one target event is associated with each target device, and the target event picture data acquisition unit 910 is specifically configured to acquire picture data acquired by each image capturing device. The log record generating unit 920 is specifically configured to identify event screen data belonging to each target event in the screen data, from the screen data collected by each image capturing apparatus, based on an association relationship between each image capturing apparatus and the target event of each target apparatus.
An electronic device provided by the present application will be described below with reference to fig. 17.
Referring to fig. 17, based on the log viewing method, the log generating method, and the apparatus, another electronic device 100 capable of executing the log viewing method and the log generating method is further provided in the embodiment of the present application. The electronic device 100 includes one or more processors 102 (only one shown), a memory 104, and a camera device 106 coupled to each other. The memory 104 stores programs that can execute the content of the foregoing embodiments, and the processor 102 can execute the programs stored in the memory 104.
Processor 102 may include one or more processing cores, among others. The processor 102 interfaces with various components throughout the electronic device 100 using various interfaces and circuitry to perform various functions of the electronic device 100 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104 and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 102 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 102, but may be implemented by a communication chip.
The Memory 104 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
And the camera device 110 is used for collecting images and/or video information.
Furthermore, the electronic device 100 may further include a network module 108 and a sensor module 110 in addition to the aforementioned components.
The network module 108 is used for implementing information interaction between the electronic device 100 and other devices, for example, transmitting device control instructions, manipulation request instructions, status information acquisition instructions, and the like. When the electronic device 200 is embodied as a different device, the corresponding network module 108 may be different.
The sensor module 110 may include at least one sensor. Specifically, the sensor module 110 may include, but is not limited to: door and window sensors, temperature and humidity sensors, water immersion sensors, levels, light sensors, motion sensors, pressure sensors, infrared heat sensors, distance sensors, acceleration sensors, and other sensors.
Among them, the pressure sensor may detect a pressure generated by pressing on the electronic device 100. That is, the pressure sensor detects pressure generated by contact or pressing between the user and the electronic device, for example, contact or pressing between the user's ear and the mobile terminal. Thus, the pressure sensor may be used to determine whether contact or pressure has occurred between the user and the electronic device 100, as well as the magnitude of the pressure.
The acceleration sensor may detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and may be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the electronic device 100, and related functions (such as pedometer and tapping) for vibration recognition. In addition, the electronic device 100 may further be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein again.
As one mode, the network module of the electronic device 100 is a radio frequency module, and the radio frequency module is used for receiving and sending electromagnetic waves, so as to realize interconversion between the electromagnetic waves and the electrical signals, and thus communicate with a communication network or other devices. The radio frequency module may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. For example, the radio frequency module may interact with an external device through transmitted or received electromagnetic waves. For example, the radio frequency module may send instructions to the target device.
Referring to fig. 18, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 1300 has stored therein program code that can be called by a processor to execute the methods described in the above-described method embodiments.
The computer-readable storage medium 1300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 1300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 1310 may be compressed, for example, in a suitable form.
To sum up, the log viewing method, the log generating device and the electronic device provided by the application display a corresponding log recording interface after responding to the log viewing operation of the target device, display event recording information corresponding to the target event of the target device in the log recording interface, if the log recording of the target device includes the event picture log corresponding to the target event, display the event picture log in an area corresponding to the corresponding event recording information in the log recording interface, and respond to the target event collection through the camera device associated with the target event of the target device and bind with the corresponding event recording information. By the method, the target event corresponding to the target equipment and the event record information corresponding to the target event can be displayed in the log record interface, and the event picture log corresponding to the target event can be displayed in the log record interface under the condition that the log record of the target equipment comprises the event picture log corresponding to the target event, so that a user can quickly associate the target event with the event record information and the event picture log corresponding to the target event when viewing the log, and the target event backtracking efficiency is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (16)

1. A method of log viewing, the method comprising:
responding to the log viewing operation aiming at the target equipment, and displaying a corresponding log recording interface;
displaying event record information corresponding to a target event of the target equipment in the log record interface;
if the log record of the target device comprises an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface; and the event picture log responds to the target event collection through the camera device associated with the target event of the target device and is bound with the corresponding event record information.
2. The method of claim 1, wherein the logging interface comprises an event timing logging area and an event node logging area; the method further comprises the following steps:
displaying event time sequence information corresponding to a target event of the target device in an event time sequence area in the log recording interface;
the displaying, in the logging interface, event record information corresponding to a target event of the target device includes:
and displaying event record information corresponding to the target event in an event record area in the log record interface.
3. The method of claim 2, wherein the event timing information includes a time node and an event duration for the target event; the displaying, in an event timing area in the logging interface, event timing information corresponding to a target event of the target device includes:
and displaying the time node and the event duration of the target event in an event time sequence area in the log recording interface according to the time sequence of the target event.
4. The method of claim 1, wherein the event record information comprises event nodes and event description information; the displaying, in the logging interface, event record information corresponding to a target event of the target device includes:
displaying event nodes and event description information corresponding to the target events in the log recording interface;
if the log record of the target device includes an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface, including:
and if the log record of the target equipment comprises the event picture log corresponding to the target event, displaying the event picture log in an area corresponding to the corresponding event node in the log record interface.
5. The method according to claim 1, wherein the event record information comprises event nodes and event picture logs, and the event picture logs comprise picture log entries corresponding to event image logs and/or event video logs acquired by the camera device; if the log record of the target device includes an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface, including:
if the log record of the target device comprises an event image log and/or an event video log aiming at the target event, displaying a picture log inlet corresponding to the event image log and/or the event video log in an area corresponding to a corresponding event node in the log record interface;
the method further comprises the following steps:
and responding to the trigger operation aiming at the picture log inlet, entering a picture display interface, and displaying the event image log and/or the event video log in the picture display interface.
6. The method according to claim 5, wherein the picture log entry comprises a picture thumbnail corresponding to the event image log and/or event video log; the responding to the trigger operation aiming at the picture log entry, entering a picture display interface, and displaying the event image log and/or the event video log in the picture display interface comprises:
if the event picture log is the event image log, responding to the trigger operation aiming at the picture thumbnail, and displaying a complete image corresponding to the event image log;
and if the event picture log is an event video log, responding to the trigger operation aiming at the picture thumbnail, entering a video playing interface, and playing the event video log in the video playing interface.
7. The method according to any of claims 1-6, wherein the event picture log comprises an event video log, the method further comprising the step of video acquisition; the video acquisition step comprises:
acquiring picture data acquired by the camera equipment; the picture data comprises picture data collected by the camera equipment in response to target events triggered by each target equipment;
carrying out event identification on the picture data, and identifying event picture data belonging to the target event in the picture data;
and generating an event video log corresponding to the target event based on the event picture data.
8. A method of log generation, the method comprising:
acquiring picture data acquired by camera equipment;
event identification is carried out on the image data, and event image data which belong to each target event in the image data are identified;
generating event picture logs corresponding to the target events based on the event picture data, and binding the event picture logs corresponding to the target events into log records of target equipment corresponding to the target events in a related manner; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
9. The method of claim 8, wherein the picture data comprises video data, and the event picture log comprises an event image log and/or an event video log;
the event recognition of the picture data to recognize the event picture data belonging to each target event in the picture data includes:
performing event identification on the video data, and identifying event images and/or event video clips which belong to each target event in the video data;
the generating, based on the event picture data, event picture logs corresponding to the target events, and associating and binding the event picture logs corresponding to the target events to log records of target devices corresponding to the target events includes:
generating event image logs and/or event video logs corresponding to the target events according to the event images and/or the event video clips;
and binding the event image logs and/or the event video logs corresponding to the target events into the log records of the target equipment corresponding to the target events in a correlated manner.
10. The method according to claim 8, wherein the screen data includes screen data acquired in response to a target event triggered by each of the target apparatuses by an image pickup apparatus associated with the target event of each of the target apparatuses; before the picture data collected by the camera device is obtained, the method further comprises the following steps:
and responding to a target event triggered by the target equipment, and controlling the camera equipment associated with the target event corresponding to the target equipment to acquire picture data in an area corresponding to the target event.
11. The method according to claim 8, wherein the acquiring picture data collected by the camera device comprises:
if the camera equipment is in a real-time working state, controlling the camera equipment to acquire picture data of a first preset duration aiming at the target event from a reference moment; the reference time is advanced by a second preset time length compared with the instruction receiving time when the camera equipment receives the image acquisition instruction; the instruction receiving time is the time corresponding to the image acquisition instruction generated aiming at the target event when the target device triggers the target event;
and if the camera equipment is in a standby state, controlling the camera equipment to start to acquire picture data of a first preset duration in the area corresponding to the target event from the instruction receiving moment.
12. The method according to any one of claims 8 to 11, wherein the image capturing apparatus includes at least one; at least one target event of each target device is associated, and the acquiring of the picture data acquired by the camera device includes:
acquiring picture data acquired by each camera device;
the event recognition of the picture data to recognize the event picture data belonging to each target event in the picture data includes:
based on the association relationship between each image pickup apparatus and the target event of each target apparatus, the event picture data belonging to each target event in the picture data is respectively identified from the picture data collected by each image pickup apparatus.
13. An apparatus for viewing logs, the apparatus comprising:
the log recording interface display unit is used for responding to log viewing operation aiming at the target equipment and displaying a corresponding log recording interface;
the target event record information display unit is used for displaying event record information corresponding to a target event of the target equipment in the log record interface; if the log record of the target device comprises an event picture log corresponding to the target event, displaying the event picture log in an area corresponding to corresponding event record information in the log record interface; and the event picture log responds to the target event collection through the camera device associated with the target event of the target device and is bound with the corresponding event record information.
14. An apparatus for log generation, the apparatus comprising:
the target event picture data acquisition unit is used for acquiring picture data acquired by the camera equipment; carrying out event identification on the picture data, and identifying event picture data belonging to each target event in the picture data;
a log record generating unit, configured to generate an event picture log corresponding to each target event based on the event picture data, and associate and bind the event picture log corresponding to each target event to a log record of a target device corresponding to the target event; and the event picture log is used for displaying in a log recording interface corresponding to the target device.
15. An electronic device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-7; or
The one or more programs are configured to perform the method of any of claims 8-12.
16. A computer-readable storage medium, having program code stored therein, wherein the method of any one of claims 1-7 is performed when the program code is executed; or
The method of any of claims 8-12 is performed when the program code is run.
CN202210100765.7A 2022-01-27 2022-01-27 Log viewing method, log generating method and device and electronic equipment Pending CN114579394A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210100765.7A CN114579394A (en) 2022-01-27 2022-01-27 Log viewing method, log generating method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210100765.7A CN114579394A (en) 2022-01-27 2022-01-27 Log viewing method, log generating method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114579394A true CN114579394A (en) 2022-06-03

Family

ID=81769432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210100765.7A Pending CN114579394A (en) 2022-01-27 2022-01-27 Log viewing method, log generating method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114579394A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277383A (en) * 2022-07-28 2022-11-01 北京天融信网络安全技术有限公司 Log generation method and device, electronic equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277383A (en) * 2022-07-28 2022-11-01 北京天融信网络安全技术有限公司 Log generation method and device, electronic equipment and computer readable storage medium
CN115277383B (en) * 2022-07-28 2024-03-12 北京天融信网络安全技术有限公司 Log generation method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10902707B1 (en) Video monitoring and alarm verification technology
US11893796B2 (en) Methods and systems for detection of anomalous motion in a video stream and for creating a video summary
US8675071B1 (en) Video monitoring and alarm verification technology
CN108062507B (en) Video processing method and device
CN108769604B (en) Monitoring video processing method and device, terminal equipment and storage medium
CN106708451B (en) Method for monitoring state of intelligent device on same screen, projection device and user terminal
CN105472312A (en) Intelligent shooting system alarming method, intelligent shooting system and network camera
US8504928B2 (en) Communication terminal, display control method, and computer-readable medium storing display control program
CN107704233B (en) Information processing method and electronic equipment
CN109581886B (en) Equipment control method, device, system and storage medium
CN110401872A (en) Event-prompting method, device and storage medium based on smart home operating system
CN109977260B (en) Video acquisition method, device, system, electronic equipment and storage medium
CN114579394A (en) Log viewing method, log generating method and device and electronic equipment
CN103986845A (en) Information processing method and information processing device
CN110505438B (en) Queuing data acquisition method and camera
CN105450992A (en) Smart home monitoring method and system based on motion detection
US20230334976A1 (en) Digital video alarm situational monitoring computer system
CN102801964A (en) Intelligent home monitoring method based on motion detection and system thereof
CN112118390A (en) Camera control method and device, electronic equipment and storage medium
WO2018043372A1 (en) Information processing apparatus, information processing system, information processing method, and program product
CN115836516B (en) Monitoring system
Hang et al. Design and implementation of intelligent fire notification service using IP camera in smart home
CN112422907A (en) Image processing method, device and system
CN110781748A (en) IPC-based image processing method and camera
CN113179387B (en) Intelligent monitoring system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination