WO2024000754A1 - 感知事件上报方法、装置、存储介质及电子装置 - Google Patents

感知事件上报方法、装置、存储介质及电子装置 Download PDF

Info

Publication number
WO2024000754A1
WO2024000754A1 PCT/CN2022/112546 CN2022112546W WO2024000754A1 WO 2024000754 A1 WO2024000754 A1 WO 2024000754A1 CN 2022112546 W CN2022112546 W CN 2022112546W WO 2024000754 A1 WO2024000754 A1 WO 2024000754A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensing
smart home
event
home device
cloud platform
Prior art date
Application number
PCT/CN2022/112546
Other languages
English (en)
French (fr)
Inventor
王先庆
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
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 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2024000754A1 publication Critical patent/WO2024000754A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the field of data transmission technology, specifically, to a sensing event reporting method, device, storage medium and electronic device.
  • some smart home devices have sensing or monitoring functions, which can monitor the home environment, their own operating status, etc. in real time during operation, and upload the sensing data itself or the sensing data analysis results to the cloud platform.
  • This application provides a sensing event reporting method, device, storage medium and electronic device to solve the problem of data security risks existing in existing smart home devices when uploading data to the cloud platform, and at the same time reduce the processing capabilities of smart home devices. More demanding questions.
  • this application provides a sensing event reporting method, which method is applied to an edge host connected to at least one smart home device.
  • the method includes:
  • Receive sensing data reported by at least one smart home device is raw data collected by the smart home device;
  • the data list includes judgment logic for judging whether the sensing event is occurs; the sensing event is an event triggered when the sensing data satisfies the judgment logic;
  • the sensing event is reported to the cloud platform, so that the cloud platform pushes the sensing event to the user terminal.
  • this application provides a sensing event reporting device, which is applied to an edge host connected to at least one smart home device.
  • the device includes:
  • a receiving module configured to receive sensing data reported by at least one smart home device; the sensing data is raw data collected by the smart home device;
  • a processing module configured to analyze the sensing data according to a data list corresponding to at least one sensing event obtained from the cloud platform, and generate a sensing event corresponding to the smart home device;
  • the data list includes judgment logic for Determine whether the sensing event occurs;
  • the sensing event is an event triggered when the sensing data satisfies the judgment logic;
  • the reporting module is configured to report the sensing event to the cloud platform, so that the cloud platform pushes the sensing event to the user terminal.
  • the present application provides a computer-readable storage medium.
  • the computer-readable storage medium includes a stored program, wherein when the program is run, the method according to any one of the first aspects is executed.
  • the present application provides an electronic device, including a memory and a processor.
  • a computer program is stored in the memory, and the processor is configured to execute the method described in any one of the first aspects through the computer program. method.
  • This application provides a sensing event reporting method, device, storage medium and electronic device.
  • the method is applied to an edge host connected to at least one smart home device.
  • the method includes: receiving sensing data reported by at least one smart home device;
  • the sensing data is the original data collected by the smart home device;
  • the sensing data is analyzed according to the data list corresponding to at least one sensing event obtained from the cloud platform, and a sensing event corresponding to the smart home device is generated;
  • the data list includes judgment logic for judging whether the sensing event occurs; the sensing event is an event triggered when the sensing data satisfies the judgment logic; the sensing event is reported to the cloud platform so that The cloud platform pushes the sensing event to the user terminal.
  • Figure 1 is an application scenario diagram according to an embodiment of the present application
  • Figure 2 is a schematic diagram of a smart home device reporting information according to the prior art
  • Figure 3 is a schematic flowchart of a sensing event reporting method according to an embodiment of the present application.
  • Figure 4 is a schematic diagram of multi-terminal interaction during a sensing event reporting process according to an embodiment of the present application
  • Figure 5 is a schematic structural diagram of a sensing event reporting device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • a sensing event reporting method is provided.
  • the above sensing event reporting method can be applied to a system composed of multiple smart home devices, edge hosts and cloud platforms as shown in Figure 1.
  • a home domain network can contain n smart home devices, such as refrigerators, washing machines, doorbells, water heaters, etc.
  • at least one edge host can be set up to connect to n smart home devices.
  • Home devices can send the generated sensing data to the edge host, and the edge host processes the sensing data.
  • a sensing event is generated and reported to the cloud platform through the network.
  • the above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network.
  • the above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network.
  • the above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth.
  • FIG 2 is a schematic diagram of a smart home device reporting information according to the prior art.
  • the smart home device reports information to itself.
  • the obtained sensing data is analyzed, and when information that needs to be notified to the cloud platform in a timely manner is found, it is reported to the cloud platform in the form of sensing events, such as the smart home device 1 shown in Figure 2; the other is to report the sensing data directly, when the smart home device
  • the sensing data itself is reported to the cloud platform, which analyzes the sensing data, generates analysis results, and notifies the user, as shown in Figure 2 of the smart home Device 2.
  • the device in order to realize the analysis of sensing data, the device itself needs to have strong processing capabilities. When the processing capability of the device itself is weak, it cannot Analyze the sensing events that need to be reported to the user from the sensing data; for the above-mentioned smart home device 2, it will be limited by data security, and sensing data involving user privacy (such as video surveillance data) is not suitable for transmission to the cloud platform. analyze.
  • embodiments of this application provide a sensing event reporting method.
  • the edge host analyzes the sensing data reported by smart home devices to identify sensing events, and Generating sensing events and reporting them to the cloud platform can make up for the shortcomings of limited processing capabilities of smart home devices, and can also avoid data security risks caused by sensing data flowing out of the user's home.
  • FIG 3 is a schematic flowchart of a sensing event reporting method according to an embodiment of the present application.
  • the execution subject of the method is an edge host connected to at least one smart home device, and the edge host is a device with data processing functions.
  • the method includes:
  • Step S301 Receive sensing data reported by at least one smart home device.
  • the edge host is connected to the smart home device, and the number of edge hosts is at least one. Corresponding to a home group, it can contain multiple smart home devices, and each smart home device is connected to the edge host. Specifically, when the number of edge hosts is one, the edge host is connected to all smart home devices in the home group; when the number of edge hosts is multiple, each edge host is connected to multiple smart home devices in the home group. connected.
  • the sensing data is the original data collected by the smart home device. After the smart home device obtains the sensing data through the sensor, the sensing data can be uploaded to the connected edge host. For example, when the smart home device is a video doorbell, the video doorbell can report the video data it collects to the edge host.
  • Step S302 Analyze the sensing data according to a data list corresponding to at least one sensing event obtained from the cloud platform, and generate a sensing event corresponding to the smart home device; the data list includes judgment logic for judging the Sense whether an event occurs.
  • At least one data list corresponding to the smart home device obtained from the cloud platform is stored in the edge host.
  • the data list and the sensing event are in one-to-one correspondence.
  • the sensing event may include sensing event 1. sensing event 2 and sensing event 3, wherein each sensing event is set with a data list.
  • the sensing event is an event triggered when the sensing data satisfies the judgment logic.
  • Judgment logic is stored in the data list, and the sensing data is analyzed through the judgment logic to determine whether the corresponding sensing event occurs. For example, if sensing event 1 is "Someone is staying” and the judgment logic corresponding to sensing event 1 is "Someone is staying in front of the door for 30 seconds", then the edge host can analyze the sensing data and determine whether the sensing data satisfies the requirement that someone is staying at the door. If the condition of staying for 30 seconds is met, it is determined that sensing event 1 occurs and the sensing event 1 is generated.
  • generating a sensing event means generating a message representing the sensing event.
  • edge hosts By introducing edge hosts, the ability to process sensory data generated by smart home devices and identify sensory events is significantly improved, improving the intelligence level of the home.
  • Step S303 Report the sensing event to the cloud platform, so that the cloud platform pushes the sensing event to the user terminal.
  • the edge host After the edge host generates a sensing event, it reports the sensing event to the cloud platform. After receiving the sensing event reported by the edge host, the cloud platform pushes the sensing event that the user needs to know to the user terminal according to the user's needs.
  • the user can set the sensing events that need to be understood in the user terminal, and the cloud platform can save the user's corresponding watch list locally.
  • the cloud platform receives the sensing event, it searches for the corresponding watch list. If the watch list is If this sensing event is included, it can be pushed directly to the user terminal.
  • This application provides a sensing event reporting method, which introduces an edge host into the home, connects the edge host to a smart home device, and receives sensing data reported by at least one smart home device. Based on at least one sensing event obtained from the cloud platform, The data list analyzes the sensing data and generates sensing events corresponding to the smart home devices. The data list includes judgment logic for judging whether the sensing events occur and reports the sensing events to the cloud. Platform, so that the cloud platform pushes the sensing events to the user terminal, without the need for smart home devices to directly report sensing data to the cloud platform, and without the need for smart home devices to process the sensing data, which solves the problem of data security and at the same time improves intelligence There is also no requirement for the processing power of home equipment.
  • the data list also includes: sensing event format definition; generating sensing events corresponding to the smart home device, including:
  • the sensing event is generated according to the sensing event format definition; wherein the sensing event format definition includes at least one of the following: event name, event type, parameter list, sensing subject, event body, and event description.
  • the data list also includes a sensing event format definition, including at least one field describing the sensing event. Different sensing events can correspond to different sensing event format definitions. When it is determined that a sensing event occurs, a sensing event can be generated according to the sensing event format definition, that is, a sensing event message is generated.
  • the event name represents the unique identifier of the event, which is used to distinguish different sensing events.
  • the event type can be the category to which the sensing event belongs, such as notification events, alarm events and fault events, so that the cloud platform or users can distinguish the importance of sensing events and process them in different ways.
  • notification events can represent changes in the operating status of the device itself, monitoring objects, etc., or other conditions that need to remind the user. For example, when the smart home device is a washing machine, the "clothes have been washed" event is reported.
  • Alarm events can indicate that a device is experiencing or is about to experience a situation that may endanger user safety, family safety, or the normal operation of the device. For example, when the smart home device is a smoke detector, a "smoke alarm” event is reported.
  • a fault event can represent a fault in itself or in a functional module of the monitored object. For example, when the smart home device is a refrigerator, a "temperature sensor fault” event is reported.
  • the parameter list is the parameters corresponding to the sensing event, such as smoke concentration, temperature in the refrigerator, etc.
  • the sensing subjects are smart home devices corresponding to the sensing data, such as smoke detectors, refrigerators, etc.
  • the subject of the event is the object described by the event, such as people, equipment or home environment; when the perceived event is “someone staying in front of the door", the subject of the event is the person; when the perceived event is “smoke concentration exceeds the standard", the subject of the event is the home environment; when The sensing event is "temperature sensor failure", and the event subject is the device.
  • the event description is a simple description of the sensing event, which facilitates the cloud platform or the user to quickly understand the sensing event.
  • sensing events By setting the format definition of sensing events, sensing events can be quickly generated. By setting the above fields, sensing events can be described comprehensively and accurately.
  • the method also includes:
  • the smart home device When the smart home device is connected, determine the smart home device type; request at least one data list corresponding to the sensing event from the cloud platform according to the smart home device type; the data list is the manufacturer of the smart home device Created in advance on the cloud platform; receiving a data list corresponding to at least one sensing event sent by the cloud platform.
  • a data list needs to be obtained first. Specifically, after the smart home device is connected to the edge host, the data list can be requested from the cloud platform.
  • the type of the smart home device is first determined, such as whether the smart home device is a refrigerator, a washing machine, or a smoke detector.
  • a smart home device is connected to an edge host, it can send an identification code indicating the type of smart home device.
  • the edge host determines the smart home device type based on the received identification code.
  • the corresponding data list can be obtained from the cloud platform according to the type of smart home device.
  • a data list corresponding to different smart home device types is stored in the cloud platform, which may be a data list corresponding to one sensing event, or a data list corresponding to multiple sensing events.
  • the data list is defined for the vendor and stored in the cloud platform.
  • the data list sent by the cloud platform is received, so that after receiving the sensing data sent by the smart home device, the sensing data can be analyzed based on the data list.
  • the data list corresponding to the connected smart home device can be accurately obtained.
  • the cloud platform after receiving the data list corresponding to at least one sensing event sent by the cloud platform, it also includes:
  • Receive code resources sent by the cloud platform are used to determine whether the sensing data satisfies at least one judgment condition in the judgment logic, and determine whether the sensing event occurs based on whether the judgment condition is satisfied.
  • the data list can also include code links.
  • the code links indicate that the corresponding sensing events need to be implemented using specific algorithms or codes when determining.
  • a request is sent to the cloud platform to obtain the code resource.
  • an identifier can be set in the data list.
  • the identifier is a preset value, it means that the data list contains a code link.
  • the request sent to the cloud platform can automatically trigger a code link.
  • the code resources sent by the cloud platform are received, and the sensing data is analyzed based on the judgment logic in the code resources and data list to determine whether the corresponding sensing event occurs.
  • the judgment logic corresponding to the "someone staying” event is "someone stayed in front of the door for 30 seconds.”
  • the edge host receives the data list corresponding to the video doorbell, Traverse the list and find that the code link url_1 exists in the sensing list of the "someone staying” sensing event, and then request the code resource from the cloud platform. This code resource is used to determine whether someone is staying. Therefore, when analyzing the sensing data based on the judgment logic, it is also necessary to call code resources to determine whether someone is staying. When it is determined that someone is staying, continue to determine whether the stay time reaches 30 seconds.
  • code links are set in the data list to implement auxiliary judgment logic to determine the occurrence of the sensing event and improve the accuracy of determining the occurrence of the sensing event.
  • the method also includes:
  • control instructions sent by the cloud platform are instructions sent by the user to the cloud platform after receiving sensing events pushed by the cloud platform; control the operation of the smart device according to the control instructions state.
  • the edge host After the edge host sends the sensing event to the cloud platform, if the cloud platform sends the sensing event to the user terminal, and after the user receives the sensing event through the user terminal, the user can send corresponding instructions to the cloud platform based on the sensing event, so that the cloud platform The instructions are sent to the smart home device through the edge host, thereby changing the operating status of the smart home device.
  • the method further includes: determining the processing capability of each smart home device and sending it to the smart home device, so that the smart home device reports sensing data according to the processing capability, or performing processing on the sensing data. Report sensing events after processing;
  • the receiving sensing data reported by at least one smart home device includes:
  • Receive information reported by at least one smart home device If the processing capability of the smart home device does not meet the preset requirements, parse the information to obtain sensing data; if the preset requirements are met, parse the information to obtain sensing events. .
  • the node that processes the sensing data is a smart home device or an edge host based on the processing capabilities of the smart home device.
  • the processing capabilities of each smart home device can be determined first.
  • a smart home device When a smart home device is connected to an edge host, it can send its own processing capabilities. After receiving the processing capabilities sent by the smart home device, the edge host can then send the processing capabilities to the smart home device, so that the smart home device can be processed in accordance with the processing capabilities of the smart home device.
  • the data processing method corresponding to the processing capability processes the sensory data. For example, when the processing capability meets the preset requirements, the smart home device can process the sensing data and then report the sensing event; when the processing capability does not meet the preset requirements, the smart home device can directly report the sensing data.
  • the method of parsing the received information when receiving sensing data sent by smart home devices, can be determined based on the processing capabilities of the smart home devices.
  • the processing capabilities of the smart home devices do not meet the preset requirements
  • the processing capability of the smart home device meets the preset requirements, the information can be analyzed by parsing sensing events to obtain sensing events.
  • the above method can make full use of the processing capabilities of some smart home devices, reduce the data processing volume of edge hosts, and improve data processing efficiency.
  • determine the processing capabilities of each smart home device including:
  • judgment conditions can be set.
  • the judgment can be made based on the number of smart home devices in a home group.
  • the number is greater than the preset value, it means that the edge host needs to process a large amount of data, and the step of determining the processing capabilities of the smart home devices is performed; when When the number is less than the preset value, it means that the edge host needs to process less data, and the analysis process of the sensing data of all smart home devices can be implemented based on the edge host.
  • the above method realizes that when the number of smart home devices is small, the analysis of sensing data is implemented on the edge host. There is no need to additionally judge the processing capabilities of each smart home device, saving the edge host's time. Operating procedures.
  • Figure 4 is a schematic diagram of multi-end interaction during a sensing event reporting process provided by an embodiment of the present application. As shown in Figure 4, the entire interaction process includes the following steps:
  • Step 1 The manufacturer pre-creates a data list corresponding to each type of smart home device on the cloud platform, including judgment logic, and may also include sensing event format definitions and/or code links;
  • Step 2 The smart home device is connected to the edge host;
  • Step 3 The edge host requests a data list from the cloud platform based on the smart home device type
  • Step 4 The cloud platform returns the data list to the edge host
  • Step 5 When the data list contains code links, the edge host requests code resources from the cloud platform;
  • Step 6 The edge host downloads code resources from the cloud platform
  • Step 7 The smart home device reports sensing data to the edge host
  • Step 8 The edge host analyzes the sensing data reported by the device, and determines sensing events based on the judgment logic
  • Step 9 The edge host generates sensing events according to the sensing event format definition
  • Step 10 The edge host reports the sensing event to the cloud platform
  • Step 11 The cloud platform pushes sensing events to the user terminal
  • Step 12 The manufacturer updates the data list of smart home devices in the cloud platform
  • Step 13 The cloud platform actively pushes the updated data list to the edge host, and repeats the above steps 5 to 11.
  • FIG. 5 is a schematic structural diagram of a sensing event reporting device according to an embodiment of the present application. As shown in Figure 5, the device is used with at least An edge host connected to smart home devices. The device includes:
  • the receiving module 501 is configured to receive sensing data reported by at least one smart home device; the sensing data is raw data collected by the smart home device;
  • the processing module 502 is configured to analyze the sensing data according to a data list corresponding to at least one sensing event obtained from the cloud platform, and generate a sensing event corresponding to the smart home device; the data list includes judgment logic, using To determine whether the sensing event occurs; the sensing event is an event triggered when the sensing data satisfies the judgment logic;
  • the reporting module 503 is configured to report the sensing event to the cloud platform, so that the cloud platform pushes the sensing event to the user terminal.
  • the data list also includes: sensing event format definition; when generating a sensing event corresponding to the smart home device, the processing module 502 is specifically configured as:
  • the sensing event format definition includes at least one of the following:
  • Event name event type, parameter list, sensing subject, event body, and event description.
  • the device further includes a determination module, specifically configured as:
  • the device further includes: a traversal module, specifically configured as:
  • Receive code resources sent by the cloud platform are used to determine whether the sensing data satisfies at least one judgment condition in the judgment logic, and determine whether the sensing event occurs based on whether the judgment condition is satisfied.
  • the device also includes a control module, specifically configured as:
  • control instructions sent by the cloud platform are instructions sent by the user to the cloud platform after receiving sensing events pushed by the cloud platform;
  • the determination module is also configured as:
  • the receiving module is specifically configured as:
  • Receive information reported by at least one smart home device If the processing capability of the smart home device does not meet the preset requirements, parse the information to obtain sensing data; if the preset requirements are met, parse the information to obtain sensing events. .
  • the determination module when determining the processing capability of each smart home device, is specifically configured as:
  • the processing capability of each smart home device is determined.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in Figure 6, the electronic device of this embodiment may include:
  • Memory 601 and processor 602 the memory 601 stores a computer program, and the processor 602 is configured to execute the method as described in any of the above embodiments through the computer program.
  • the memory 601 can be independent or integrated with the processor 602 .
  • Embodiments of the present application also provide a computer-readable storage medium.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the processor executes the computer-executable instructions, the method described in any of the foregoing embodiments is implemented.
  • An embodiment of the present application also provides a computer program product, including a computer program, which implements the method described in any of the foregoing embodiments when executed by a processor.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of modules is only a logical function division.
  • there may be other division methods for example, multiple modules may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the above integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium.
  • the above-mentioned software function module is stored in a storage medium and includes a number of instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute some steps of the methods described in various embodiments of the present application.
  • processor can be a central processing unit (Central Processing Unit, referred to as CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor, referred to as DSP), application specific integrated circuit (Application Specific Integrated Circuit, (referred to as ASIC), etc.
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the steps of the method disclosed in the application can be directly implemented by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the memory may include high-speed RAM memory, and may also include non-volatile storage NVM, such as at least one disk memory, which may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
  • NVM non-volatile storage
  • the above storage medium can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Except programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable except programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
  • An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium can be located in Application Specific Integrated Circuits (ASICs for short).
  • ASICs Application Specific Integrated Circuits
  • the processor and the storage medium may also exist as discrete components in an electronic device or a host control device.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

一种感知事件上报方法、装置、存储介质及电子装置,该方法应用于与至少一个智能家居设备(1,2……n)连接的边缘主机,该方法包括:接收至少一个智能家居设备上报的感知数据(S301);根据从云平台获取的至少一条感知事件对应的数据列表对感知数据进行分析,生成与智能家居设备对应的感知事件(S302);数据列表包括判断逻辑,用于判断感知事件是否发生;将感知事件上报给云平台,以使云平台向用户终端推送感知事件(S303)。

Description

感知事件上报方法、装置、存储介质及电子装置
本申请要求于2022年6月30日提交中国专利局、申请号为202210764523.8、申请名称为“感知事件上报方法、装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据传输技术领域,具体而言,涉及一种感知事件上报方法、装置、存储介质及电子装置。
背景技术
随着智慧家庭技术的发展,智能家居设备的控制方式也日趋智能化,力图通过预测用户的需求和意图,主动为用户提供个性化的服务,而对用户的需求和意图的精准预测,是建立在对智能设备的运行状态的精确感知的基础上。
在智能家居应用场景下,某些智能家居设备具备感知或监控功能,能够在运行过程中实时监测家居环境、自身运行状态等,并将感知数据本身或感知数据分析结果上传给云平台。
上述数据传输方式存在数据安全隐患的问题,或者,对智能家居设备的处理能力要求较高的问题。
发明内容
本申请提供一种感知事件上报方法、装置、存储介质及电子装置,以解决现有的智能家居设备在向云平台上传数据时存在的数据安全隐患的问题,同时降低对智能家居设备的处理能力要求较高的问题。
第一方面,本申请提供一种感知事件上报方法,所述方法应用于与至少一个智能家居设备连接的边缘主机,所述方法包括:
接收至少一个智能家居设备上报的感知数据;所述感知数据为所述智能家居 设备采集的原始数据;
根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生;所述感知事件为所述感知数据满足所述判断逻辑时触发的事件;
将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
第二方面,本申请提供一种感知事件上报装置,所述装置应用于与至少一个智能家居设备连接的边缘主机,所述装置包括:
接收模块,被配置为接收至少一个智能家居设备上报的感知数据;所述感知数据为所述智能家居设备采集的原始数据;
处理模块,被配置为根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生;所述感知事件为所述感知数据满足所述判断逻辑时触发的事件;
上报模块,被配置为将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
第三方面,本申请提供一种计算机可读的存储介质,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行如第一方面任一项所述的方法。
第四方面,本申请提供一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行如第一方面任一项所述的方法。
本申请提供一种感知事件上报方法、装置、存储介质及电子装置,所述方法应用于与至少一个智能家居设备连接的边缘主机,所述方法包括:接收至少一个智能家居设备上报的感知数据;所述感知数据为所述智能家居设备采集的原始数据;根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生;所述感知事件为所述感知数据满足所述判断逻 辑时触发的事件;将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是根据本申请实施例的一种应用场景图;
图2是根据现有技术的一种智能家居设备上报信息的示意图;
图3是根据本申请实施例的一种感知事件上报方法的流程示意图;
图4是根据本申请实施例的一种感知事件上报过程中多端交互示意图;
图5是根据本申请实施例的一种感知事件上报装置的结构示意图;
图6是根据本申请实施例的一种电子装置的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有” 以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本申请实施例的一个方面,提供了一种感知事件上报方法。可选的,在本实施例中,上述感知事件上报方法可以应用于如图1所示的由多个智能家居设备、边缘主机和云平台组成的系统。如图1所示,在一个家庭域网络下可以包含n个智能家居设备,如冰箱、洗衣机、门铃、热水器等设备,同时还可以设置至少一个边缘主机,与n个智能家居设备相连,上述智能家居设备可以将产生的感知数据发送给边缘主机,边缘主机对感知数据进行处理,当识别到感知事件时,生成感知事件并通过网络上报给云平台。
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。
图2是根据现有技术的一种智能家居设备上报信息的示意图,如图2所示,现有技术中,智能家居设备上报信息的方式,主要为两种,一种是智能家居设备对自身获取的感知数据进行分析,发现需要及时通知云平台的信息时以感知事件的形式上报给云平台,如图2所示的智能家居设备1;另一种是直接上报感知数据,当智能家居设备自身的处理能力受限或者获取的感知数据较为复杂时,将感知数据本身上报给云平台,由云平台对感知数据进行分析,产生分析结果,并通知给用户,如图2所示的智能家居设备2。
针对上述两种信息上报方式,均存在一定缺陷,针对上述智能家居设备1,若要实现对感知数据的分析,需要设备自身具备较强的处理能力,当设备自身的处理能力较弱时,无法从感知数据中分析出需要上报用户的感知事件;针对上述智能家居设备2,则会受限于数据安全性,对于涉及用户隐私的感知数据(例如视频监控数据),不适合传输到云平台进行分析。
基于上述问题,本申请实施例提供了一种感知事件上报方法,通过引入边缘主机,将其作为感知数据的处理节点,通过边缘主机对智能家居设备上报的感知 数据进行分析以识别感知事件,并生成感知事件上报给云平台,可以弥补智能家居设备的处理能力有限这一短板,还可以避免感知数据流出用户家庭带来的数据安全隐患的问题。
下面结合附图,对本申请的一些实施方式作详细说明。在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。另外,下述各方法实施例中的步骤时序仅为一种举例,而非严格限定。
图3是根据本申请实施例的一种感知事件上报方法的流程示意图。所述方法的执行主体为与至少一个智能家居设备连接的边缘主机,边缘主机为具备数据处理功能的设备,如图3所示,所述方法包括:
步骤S301、接收至少一个智能家居设备上报的感知数据。
边缘主机与智能家居设备相连,边缘主机的个数为至少一个。对应一个家庭组,可以包含多个智能家居设备,各个智能家居设备均与边缘主机相连。具体的,当边缘主机的个数为一个时,边缘主机与家庭组中所有的智能家居设备相连;当边缘主机的个数为多个时,每一边缘主机与家庭组中多个智能家居设备相连。
所述感知数据为所述智能家居设备采集的原始数据,当智能家居设备通过传感器获取到感知数据后,可以将感知数据上传给相连的边缘主机。例如,当智能家居设备为可视门铃时,可视门铃可以向边缘主机上报自己采集的视频数据。
步骤S302、根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生。
在边缘主机中存储有从云平台获取的与智能家居设备对应的至少一条数据列表,数据列表与感知事件是一一对应的,例如,对于可视门铃,感知事件可以包括感知事件1、感知事件2和感知事件3,其中,每一感知事件均设置有一数据列表。
在所述感知事件为所述感知数据满足所述判断逻辑时触发的事件。数据列表中存储有判断逻辑,通过判断逻辑对感知数据进行分析,以确定对应的感知事件是否发生。例如,感知事件1为“有人逗留”,与感知事件1对应的判断逻辑为“有人在门前停留时间达到30秒”,则边缘主机可以对感知数据进行分析,判断 感知数据是否满足有人在门前停留30秒这一条件,若满足,则确定感知事件1发生,并生成该感知事件1。
其中,生成感知事件是指生成表示感知事件的消息。
通过引入边缘主机显著提升对智能家居设备产生的感知数据的处理和感知事件识别的能力,改善家居的智能化水平。
步骤S303、将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
在边缘主机生成感知事件后,将感知事件上报给云平台,云平台在接收到边缘主机上报的感知事件后,根据用户需求,将用户需要了解的感知事件推送给用户终端。
具体的,用户可以在用户终端中设置需要了解的感知事件,云平台可以在本地保存该用户对应的关注列表,当云平台在接收到该感知事件后,查找对应的关注列表,若关注列表中包含该感知事件,则可以直接向用户终端推送。
本申请提供一种感知事件上报方法,在家庭中引入边缘主机,将边缘主机与智能家居设备连接,通过接收至少一个智能家居设备上报的感知数据,根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件,所述数据列表包括判断逻辑,用于判断所述感知事件是否发生,将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件,无需智能家居设备直接将感知数据上报给云平台,也无需智能家居设备对感知数据进行处理,解决了数据安全问题,同时对智能家居设备的处理能力也不存在要求。
可选的,所述数据列表还包括:感知事件格式定义;生成与所述智能家居设备对应的感知事件,包括:
根据所述感知事件格式定义生成所述感知事件;其中,所述感知事件格式定义包括下述至少一项:事件名称、事件类型、参数列表、感知主体、事件主体以及事件描述。
在数据列表中还包括感知事件格式定义,包含对感知事件进行描述的至少一个字段。不同的感知事件可以对应不同的感知事件格式定义,当在确定有感知事 件发生时,可以根据感知事件格式定义生成感知事件,也就是生成感知事件的消息。
可选的,事件名称表示事件的唯一标识,用于对不同感知事件进行区分。
事件类型可以为感知事件所属类别,如通知事件、告警事件和故障事件,便于云平台或用户区分感知事件的重要性,以进行不同方式的处理。
示例性的,通知事件可以表示设备自身运行状态、监测对象等发生变化,或者,其他需要提醒用户的状况。例如,智能家居设备为洗衣机时,上报的“衣服已洗完”事件。告警事件可以表示设备正在或即将发生可能危害用户安全、家庭安全或设备正常运行的情况。例如,智能家居设备为烟雾探测器时,上报的“烟雾报警”事件。故障事件可以表示自身或监测对象的某个功能模块发生故障,例如,智能家居设备为冰箱时,上报的“温度传感器故障”事件。
参数列表为感知事件对应的参数,例如烟雾浓度、冰箱内的温度等。
感知主体为与感知数据对应的智能家居设备,如烟雾探测器、冰箱等。
事件主体为事件描述的对象,例如人、设备或家居环境;当感知事件为“门前有人逗留”时,事件主体为人;当感知事件为“烟雾浓度超标”时,事件主体为家居环境;当感知事件为“温度传感器故障”,事件主体为设备。
事件描述为感知事件的简单描述,便于云平台或用户对感知事件的快速了解。
通过设置感知事件格式定义便于快速生成感知事件,通过设置上述字段可以全面及准确的对感知事件进行描述。
可选的,所述方法还包括:
当所述智能家居设备接入后,确定智能家居设备类型;根据所述智能家居设备类型从所述云平台请求至少一条感知事件对应的数据列表;所述数据列表为所述智能家居设备的厂商预先在云平台创建的;接收所述云平台发送的至少一条感知事件对应的数据列表。
为了可以对智能家居设备发送的感知数据进行分析,需要先获取数据列表。具体的,可以在智能家居设备接入边缘主机后,从云平台请求数据列表。
当智能家居设备接入后,先判断智能家居设备类型,如智能家居设备为冰箱、洗衣机还是烟雾探测器等。智能家居设备在接入边缘主机时,可以发送表示智能 家居设备类型的标识码,边缘主机根据接收的标识码来确定智能家居设备类型。
由于不同的类型的智能家居设备对应的数据列表不同,因此,根据智能家居设备类型可以从云平台获取对应的数据列表。示例性的,在云平台中存储有不同智能家居设备类型对应的数据列表,其中,可以为一条感知事件对应的数据列表,或者,多条感知事件对应的数据列表。数据列表为厂商定义并存储在云平台中。
最后接收云平台发送的数据列表,以便在接收到智能家居设备发送的感知数据后,可以基于数据列表对感知数据进行分析。
通过当智能家居设备接入边缘主机时,基于智能家居设备类型来获取数据列表,能够准确获取接入的智能家居设备对应的数据列表。
可选的,在接收所述云平台发送的至少一条感知事件对应的数据列表后,还包括:
遍历获取的所述数据列表,当所述数据列表中包含代码链接时,向所述云平台发送获取对应的代码资源的请求;
接收所述云平台发送的代码资源;所述代码资源用于确定所述感知数据是否满足所述判断逻辑中的至少一个判断条件,并根据是否满足所述判断条件来确定所述感知事件是否发生。
数据列表中还可以包括代码链接,代码链接表示对应的感知事件在判定时需要采用特定的算法或代码来实现。
在接收到云平台发送的数据列表后,遍历所有的数据列表,当某一数据列表包含代码链接时,则向云平台发送请求,以获取该代码资源。具体的,可以在数据列表中设置标识符,当标识符为预设值时表示该数据列表包含代码链接。具体的,向云平台发送的请求可以是自动触发代码链接。
最后接收云平台发送的代码资源,以基于所述代码资源和数据列表中的判断逻辑对感知数据进行分析,确定对应的感知事件是否发生。
示例性的,当智能家居设备为可视门铃时,“有人逗留”事件对应的判断逻辑为“有人在门前停留时间达到30秒”,边缘主机在接收到可视门铃对应的数据列表后,对列表进行遍历,发现“有人逗留”感知事件的感知列表存在代码链接url_1,则向云平台请求该代码资源,该代码资源用于判断是否有人停留。因此, 在根据判断逻辑对感知数据进行分析时,还需要调用代码资源来确定是否存在有人逗留,当确定有人逗留时,继续判断逗留时间是否达到30秒。
当仅根据判断逻辑无法确定感知事件是否发生时,通过在数据列表中设置代码链接,以实现辅助判断逻辑确定感知事件的发生,提高确定感知事件发生的准确性。
可选的,所述方法还包括:
接收所述云平台发送的控制指令;所述控制指令为所述用户在接收到云平台推送的感知事件后,向所述云平台发送的指令;根据所述控制指令控制所述智能设备的运行状态。
边缘主机在向云平台发送感知事件后,若云平台将感知事件发送给用户终端,而用户通过用户终端接收到该感知事件后,可以根据感知事件向云平台发送相应的指令,以使云平台将所述指令通过边缘主机发送给智能家居设备,从而改变智能家居设备的运行状态。
通过上述对智能家居设备的控制方式,实现在发生紧急的感知事件时,用户可以及时进行控制,提高了对智能家居设备控制的灵活性。
可选的,所述方法还包括:确定每一智能家居设备的处理能力并发送给所述智能家居设备,以使所述智能家居设备根据所述处理能力上报感知数据,或者,对感知数据进行加工后上报感知事件;
所述接收至少一个智能家居设备上报的感知数据,包括:
接收至少一个智能家居设备上报的信息,若所述智能家居设备的处理能力不满足预设要求,则解析所述信息以得到感知数据;若满足预设要求,则解析所述信息以得到感知事件。
在一种实施方式中,还可以根据智能家居设备的处理能力,灵活确定对感知数据处理的节点为智能家居设备还是边缘主机。但是若采用智能家居设备对感知数据进行处理,则对智能家居设备的处理能力需要有一定的要求,因此,可以先确定每一智能家居设备的处理能力。
当智能家居设备接入边缘主机时,可以发送自身的处理能力,边缘主机在接收到智能家居设备发送的处理能力后,可以将该处理能力再发送给智能家居设备, 使得智能家居设备按照与该处理能力对应的数据处理方式对感知数据进行处理。示例性的,当处理能力满足预设要求时,智能家居设备可以对感知数据进行加工后上报感知事件;当处理能力不满足预设要求时,智能家居设备可以直接上报感知数据。
相应的,对于边缘主机来说,在接收智能家居设备发送的感知数据时,可以根据智能家居设备的处理能力确定对接收的信息进行解析的方式,当智能家居设备的处理能力不满足预设要求时,可以采用解析感知数据的方式对信息解析,以得到感知数据;当智能家居设备的处理能力满足预设要求时,可以采用解析感知事件的方式对信息解析,以得到感知事件。
上述方法通过根据智能家居设备的处理能力,确定对感知数据分析的节点,可以充分利用部分智能家居设备的处理能力,减轻边缘主机的数据处理量,提高数据处理效率。
可选的,确定每一智能家居设备的处理能力,包括:
确定家庭组中智能家居设备的数量;当所述数量大于预设值时,确定每一智能家居设备的处理能力。
对于灵活确定对感知数据处理的节点为智能家居设备还是边缘主机这一实施方式,可以设置判断条件。
具体的,可以根据一个家庭组中智能家居设备的数量来进行判断,当数量大于预设值时,表示边缘主机需要处理的数据量较多,则执行确定智能家居设备的处理能力的步骤;当数量小于预设值时,表示边缘主机需要处理的数据量较少,对所有智能家居设备的感知数据的分析过程可以基于边缘主机来实现。
上述方法通过对智能家居设备数量的判断,实现当智能家居设备的数量少时,将感知数据的分析工作放在边缘主机来实现,不需要额外判断每一智能家居设备的处理能力,节省边缘主机的操作流程。
图4为本申请实施例提供的一种感知事件上报过程中多端交互示意图,如图4所示,整个交互过程包括下述步骤:
步骤1、厂商在云平台预先创建每类智能家居设备对应的数据列表,包括判断逻辑,还可以包括感知事件格式定义和/或代码链接;
步骤2、智能家居设备接入边缘主机;
步骤3、边缘主机根据智能家居设备类型向云平台请求数据列表;
步骤4、云平台向边缘主机返回数据列表;
步骤5、数据列表包含代码链接时,边缘主机向云平台请求代码资源;
步骤6、边缘主机从云平台下载代码资源;
步骤7、智能家居设备向边缘主机上报感知数据;
步骤8、边缘主机对设备上报的感知数据进行分析,根据判断逻辑,判定感知事件;
步骤9、边缘主机按照感知事件格式定义,生成感知事件;
步骤10、边缘主机将感知事件上报云平台;
步骤11、云平台向用户终端推送感知事件;
步骤12、厂商更新云平台中智能家居设备的数据列表;
步骤13、云平台主动向边缘主机推送更新后的数据列表,并重复上述步骤5至步骤11。
对应于上述方法,本申请实施例还提供一种感知事件上报装置,图5是根据本申请实施例的一种感知事件上报装置的结构示意图;如图5所示,所述装置应用于与至少一个智能家居设备连接的边缘主机,所述装置包括:
接收模块501,被配置为接收至少一个智能家居设备上报的感知数据;所述感知数据为所述智能家居设备采集的原始数据;
处理模块502,被配置为根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生;所述感知事件为所述感知数据满足所述判断逻辑时触发的事件;
上报模块503,被配置为将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
可选的,所述数据列表还包括:感知事件格式定义;所述处理模块502在生成与所述智能家居设备对应的感知事件时,具体被配置为:
根据所述感知事件格式定义生成所述感知事件;
其中,所述感知事件格式定义包括下述至少一项:
事件名称、事件类型、参数列表、感知主体、事件主体以及事件描述。
可选的,所述装置还包括确定模块,具体被配置为:
当所述智能家居设备接入后,确定智能家居设备类型;
根据所述智能家居设备类型从所述云平台请求至少一条感知事件对应的数据列表;所述数据列表为所述智能家居设备的厂商预先在云平台创建的;
接收所述云平台发送的至少一条感知事件对应的数据列表。
可选的,所述装置还包括:遍历模块,具体被配置为:
遍历获取的所述数据列表,当所述数据列表中包含代码链接时,向所述云平台发送获取对应的代码资源的请求;
接收所述云平台发送的代码资源;所述代码资源用于确定所述感知数据是否满足所述判断逻辑中的至少一个判断条件,并根据是否满足所述判断条件来确定所述感知事件是否发生。
可选的,所述装置还包括控制模块,具体被配置为:
接收所述云平台发送的控制指令;所述控制指令为所述用户在接收到云平台推送的感知事件后,向所述云平台发送的指令;
根据所述控制指令控制所述智能设备的运行状态。
可选的,所述确定模块,还被配置为:
确定每一智能家居设备的处理能力并发送给所述智能家居设备,以使所述智能家居设备根据所述处理能力上报感知数据,或者,对感知数据进行加工后上报感知事件;
所述接收模块在接收至少一个智能家居设备上报的感知数据时,具体被配置为:
接收至少一个智能家居设备上报的信息,若所述智能家居设备的处理能力不满足预设要求,则解析所述信息以得到感知数据;若满足预设要求,则解析所述信息以得到感知事件。
可选的,所述确定模块在确定每一智能家居设备的处理能力时,具体被配置为:
确定家庭组中智能家居设备的数量;
当所述数量大于预设值时,确定每一智能家居设备的处理能力。
本申请实施例提供的装置的具体实现原理和技术效果可以参见前述实施例,此处不再赘述。
图6是根据本申请实施例的一种电子装置的结构示意图。如图6所示,本实施例的电子装置可以包括:
存储器601和处理器602,所述存储器601中存储有计算机程序,所述处理器602被设置为通过所述计算机程序执行如上述任一实施例所述的方法。
可选地,存储器601既可以是独立的,也可以跟处理器602集成在一起。
本实施例提供的电子装置的实现原理和技术效果可以参见前述各实施例,此处不再赘述。
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现前述任一实施例所述的方法。
本申请实施例还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现前述任一实施例所述的方法。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的部分步骤。
应理解,上述处理器可以是中央处理单元(Central Processing Unit,简称CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)等。通用处理 器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。
上述存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。
一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路(Application Specific Integrated Circuits,简称ASIC)中。当然,处理器和存储介质也可以作为分立组件存在于电子设备或主控设备中。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备 等)执行本申请各个实施例所述的方法。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (16)

  1. 一种感知事件上报方法,所述方法应用于与至少一个智能家居设备连接的边缘主机,所述方法包括:
    接收至少一个智能家居设备上报的感知数据;所述感知数据为所述智能家居设备采集的原始数据;
    根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生;所述感知事件为所述感知数据满足所述判断逻辑时触发的事件;
    将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
  2. 根据权利要求1所述的方法,其中,所述数据列表还包括:感知事件格式定义;生成与所述智能家居设备对应的感知事件,包括:
    根据所述感知事件格式定义生成所述感知事件;
    其中,所述感知事件格式定义包括下述至少一项:
    事件名称、事件类型、参数列表、感知主体、事件主体以及事件描述。
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:
    当所述智能家居设备接入后,确定智能家居设备类型;
    根据所述智能家居设备类型从所述云平台请求至少一条感知事件对应的数据列表;所述数据列表为所述智能家居设备的厂商预先在云平台创建的;
    接收所述云平台发送的至少一条感知事件对应的数据列表。
  4. 根据权利要求3所述的方法,其中,在接收所述云平台发送的至少一条感知事件对应的数据列表后,还包括:
    遍历获取的所述数据列表,当所述数据列表中包含代码链接时,向所述云平台发送获取对应的代码资源的请求;
    接收所述云平台发送的代码资源;所述代码资源用于确定所述感知数据是否满足所述判断逻辑中的至少一个判断条件,并根据是否满足所述判断条件来确定所述感知事件是否发生。
  5. 根据权利要求1-4任一项所述的方法,其中,所述方法还包括:
    接收所述云平台发送的控制指令;所述控制指令为所述用户在接收到云平台推送的感知事件后,向所述云平台发送的指令;
    根据所述控制指令控制所述智能设备的运行状态。
  6. 根据权利要求1-5任一项所述的方法,其中,所述方法还包括:
    确定每一智能家居设备的处理能力并发送给所述智能家居设备,以使所述智能家居设备根据所述处理能力上报感知数据,或者,对感知数据进行加工后上报感知事件;
    所述接收至少一个智能家居设备上报的感知数据,包括:
    接收至少一个智能家居设备上报的信息,若所述智能家居设备的处理能力不满足预设要求,则解析所述信息以得到感知数据;若满足预设要求,则解析所述信息以得到感知事件。
  7. 根据权利要求6所述的方法,其中,确定每一智能家居设备的处理能力,包括:
    确定家庭组中智能家居设备的数量;
    当所述数量大于预设值时,确定每一智能家居设备的处理能力。
  8. 一种感知事件上报装置,所述装置应用于与至少一个智能家居设备连接的边缘主机,所述装置包括:
    接收模块,被配置为接收至少一个智能家居设备上报的感知数据;所述感知数据为所述智能家居设备采集的原始数据;
    处理模块,被配置为根据从云平台获取的至少一条感知事件对应的数据列表对所述感知数据进行分析,生成与所述智能家居设备对应的感知事件;所述数据列表包括判断逻辑,用于判断所述感知事件是否发生;所述感知事件为所述感知数据满足所述判断逻辑时触发的事件;
    上报模块,被配置为将所述感知事件上报给所述云平台,以使所述云平台向用户终端推送所述感知事件。
  9. 根据权利要求8所述的装置,其中,所述数据列表还包括:感知事件格式定义;所述处理模块在生成与所述智能家居设备对应的感知事件时,具体被配 置为:
    根据所述感知事件格式定义生成所述感知事件;
    其中,所述感知事件格式定义包括下述至少一项:
    事件名称、事件类型、参数列表、感知主体、事件主体以及事件描述。
  10. 根据权利要求8或9所述的装置,其中,所述装置还包括:确定模块,具体被配置为:
    当所述智能家居设备接入后,确定智能家居设备类型;
    根据所述智能家居设备类型从所述云平台请求至少一条感知事件对应的数据列表;所述数据列表为所述智能家居设备的厂商预先在云平台创建的;
    接收所述云平台发送的至少一条感知事件对应的数据列表。
  11. 根据权利要求10所述的装置,其中,所述装置还包括:遍历模块,具体被配置为:
    遍历获取的所述数据列表,当所述数据列表中包含代码链接时,向所述云平台发送获取对应的代码资源的请求;
    接收所述云平台发送的代码资源;所述代码资源用于确定所述感知数据是否满足所述判断逻辑中的至少一个判断条件,并根据是否满足所述判断条件来确定所述感知事件是否发生。
  12. 根据权利要求8-11任一项所述的装置,其中,所述装置还包括:控制模块,具体被配置为:
    接收所述云平台发送的控制指令;所述控制指令为所述用户在接收到云平台推送的感知事件后,向所述云平台发送的指令;
    根据所述控制指令控制所述智能设备的运行状态。
  13. 根据权利要求8-12任一项所述的装置,其中,所述确定模块,还被配置为:
    确定每一智能家居设备的处理能力并发送给所述智能家居设备,以使所述智能家居设备根据所述处理能力上报感知数据,或者,对感知数据进行加工后上报感知事件;
    所述接收模块在接收至少一个智能家居设备上报的感知数据时,具体被配置 为:
    接收至少一个智能家居设备上报的信息,若所述智能家居设备的处理能力不满足预设要求,则解析所述信息以得到感知数据;若满足预设要求,则解析所述信息以得到感知事件。
  14. 根据权利要求13所述的装置,其中,所述确定模块在确定每一智能家居设备的处理能力时,具体被配置为:
    确定家庭组中智能家居设备的数量;
    当所述数量大于预设值时,确定每一智能家居设备的处理能力。
  15. 一种计算机可读的存储介质,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至7中任一项所述的方法。
  16. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至7中任一项所述的方法。
PCT/CN2022/112546 2022-06-30 2022-08-15 感知事件上报方法、装置、存储介质及电子装置 WO2024000754A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210764523.8A CN115314330B (zh) 2022-06-30 2022-06-30 感知事件上报方法、装置、存储介质及电子装置
CN202210764523.8 2022-06-30

Publications (1)

Publication Number Publication Date
WO2024000754A1 true WO2024000754A1 (zh) 2024-01-04

Family

ID=83855253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/112546 WO2024000754A1 (zh) 2022-06-30 2022-08-15 感知事件上报方法、装置、存储介质及电子装置

Country Status (2)

Country Link
CN (1) CN115314330B (zh)
WO (1) WO2024000754A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056451A (zh) * 2016-05-27 2016-10-26 大连楼兰科技股份有限公司 基于车辆obd传感器的远程无人定损系统
US20160364972A1 (en) * 2015-06-11 2016-12-15 Google Inc. Systems and Methods for Providing a Smart Notifications System
CN109407524A (zh) * 2017-08-17 2019-03-01 深圳市中兴微电子技术有限公司 一种智能家居系统管理方法、装置及计算机可读存储介质
CN110414478A (zh) * 2019-08-08 2019-11-05 东莞德福得精密五金制品有限公司 人工智能云计算非应用感应器的意外事故液体气体泄漏监控方法
CN111025925A (zh) * 2019-12-05 2020-04-17 重庆特斯联智慧科技股份有限公司 一种基于云计算的智能家居配备系统
CN112804294A (zh) * 2020-12-24 2021-05-14 上海翰萨智能科技有限公司 一种边缘主机系统及其交互方法、场景分析方法
CN114170272A (zh) * 2021-11-29 2022-03-11 中国汽车技术研究中心有限公司 一种云端环境下基于感知传感器的事故报告、储存方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973653A (zh) * 2013-02-01 2014-08-06 上海迪爱斯通信设备有限公司 智能感知分析仪
CN109544858A (zh) * 2018-12-03 2019-03-29 来德凯摩株式会社 物联网家庭防犯系统
CN111541772A (zh) * 2020-04-29 2020-08-14 四川虹美智能科技有限公司 智能提醒方法和系统以及云服务器
CN112711194A (zh) * 2021-01-08 2021-04-27 极景门窗有限公司 面向智能家居的门窗安防协同控制方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160364972A1 (en) * 2015-06-11 2016-12-15 Google Inc. Systems and Methods for Providing a Smart Notifications System
CN106056451A (zh) * 2016-05-27 2016-10-26 大连楼兰科技股份有限公司 基于车辆obd传感器的远程无人定损系统
CN109407524A (zh) * 2017-08-17 2019-03-01 深圳市中兴微电子技术有限公司 一种智能家居系统管理方法、装置及计算机可读存储介质
CN110414478A (zh) * 2019-08-08 2019-11-05 东莞德福得精密五金制品有限公司 人工智能云计算非应用感应器的意外事故液体气体泄漏监控方法
CN111025925A (zh) * 2019-12-05 2020-04-17 重庆特斯联智慧科技股份有限公司 一种基于云计算的智能家居配备系统
CN112804294A (zh) * 2020-12-24 2021-05-14 上海翰萨智能科技有限公司 一种边缘主机系统及其交互方法、场景分析方法
CN114170272A (zh) * 2021-11-29 2022-03-11 中国汽车技术研究中心有限公司 一种云端环境下基于感知传感器的事故报告、储存方法

Also Published As

Publication number Publication date
CN115314330B (zh) 2024-04-19
CN115314330A (zh) 2022-11-08

Similar Documents

Publication Publication Date Title
US10206108B2 (en) Device and method for smart home
US10242558B2 (en) Systems and methods for handling latent anomalies
US9246777B2 (en) Computer program and monitoring apparatus
US20150120914A1 (en) Service monitoring system and service monitoring method
US20090094484A1 (en) System and method for autonomously processing faults in home network environments
WO2017114152A1 (zh) 一种业务拨测方法、装置以及系统
JP2021527869A (ja) IoTセキュリティにおけるパターンマッチングベースの検出
JP6763898B2 (ja) 通信制御装置、通信制御方法および通信制御プログラム
WO2017215476A1 (zh) 一种用于物联网的智能设备控制方法、装置和设备
CN112131036A (zh) 一种过载保护方法、装置、设备及计算机可读存储介质
CN111130867B (zh) 一种基于物联网的智能家居设备告警方法及装置
TW201738795A (zh) 侵入檢測裝置、侵入檢測方法以及侵入檢測程式產品
WO2024000754A1 (zh) 感知事件上报方法、装置、存储介质及电子装置
CN104937613A (zh) 量化数据质量的探试
CN113835961B (zh) 告警信息监控方法、装置、服务器及存储介质
CN112822683B (zh) 一种利用移动网络进行非法外联的检测方法
CN108667655B (zh) 接口的告警方法、装置、网络管理系统和计算机可读介质
CN116016244A (zh) 监控网络故障处理过程的方法、装置及设备
CN109995618B (zh) 网络存活监控方法、装置、设备与计算机可读存储介质
TW201800960A (zh) 用於物聯網的事件處理方法、裝置和設備
CN112967481B (zh) 安防警报信息智能处理方法、安防设备及计算机可读存储介质
JP2023524953A (ja) モノのインターネットに基づく動作関連付け方法、電子デバイス及び記憶媒体
US11854370B1 (en) Security sharing systems and methods
CN116016102A (zh) 监控网络变更的方法、装置、设备及存储介质
CN117290428B (zh) 物联设备的数据管理方法、设备和可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22948845

Country of ref document: EP

Kind code of ref document: A1