Nothing Special   »   [go: up one dir, main page]

CN110798462B - Smart home system and equipment access method - Google Patents

Smart home system and equipment access method Download PDF

Info

Publication number
CN110798462B
CN110798462B CN201911023229.6A CN201911023229A CN110798462B CN 110798462 B CN110798462 B CN 110798462B CN 201911023229 A CN201911023229 A CN 201911023229A CN 110798462 B CN110798462 B CN 110798462B
Authority
CN
China
Prior art keywords
equipment
function module
protocol
smart home
information
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.)
Active
Application number
CN201911023229.6A
Other languages
Chinese (zh)
Other versions
CN110798462A (en
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.)
Qingdao Hisense Smart Home Systems Co ltd
Original Assignee
Qingdao Hisense Smart Home Systems 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 Qingdao Hisense Smart Home Systems Co ltd filed Critical Qingdao Hisense Smart Home Systems Co ltd
Priority to CN201911023229.6A priority Critical patent/CN110798462B/en
Publication of CN110798462A publication Critical patent/CN110798462A/en
Application granted granted Critical
Publication of CN110798462B publication Critical patent/CN110798462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an intelligent home system and a device access method, wherein the system comprises: the mobile terminal system is used for providing common basic data information accessed by a user and the equipment terminal, the cloud terminal system is used for providing core function information of the smart home and providing extended function registration, and the equipment terminal system is used for providing a uniform equipment access protocol so that various equipment can be automatically accessed according to the uniform equipment access protocol. The unified and high-compatibility equipment access protocol is provided through the equipment end system, and the work of new equipment access is reduced; the mobile terminal provides common basic data information accessed by the user and the equipment terminal, so that repeated development work of each terminal is avoided; the cloud system provides extended function registration, so that coupling between the system and functions is reduced, and customized development work of new functions is reduced.

Description

Smart home system and equipment access method
Technical Field
The embodiment of the invention relates to the technical field of smart home, in particular to a smart home system and a device access method.
Background
As a new hot spot industry, various smart devices are developed, and devices that can access to a smart home system are complex and diverse, and access and control modes of different brands and different series or different types of devices are different. Each equipment manufacturer has own equipment access protocol, the protocol formats are not uniform, the mutual compatibility is poor, the access of new equipment must be customized and developed, and the intelligent home system needs to perform protocol uniform conversion work on the new equipment so as to be compatible with the existing protocol content; more and more novel interactive terminals based on android systems need to be uniformly accessed into the smart home system, and each terminal needs to be repeatedly developed and docked according to the same function and interface, so that time and labor are wasted; due to the limitation of the architecture, the traditional smart home has poor expansibility on new functions, too deep coupling degree between the functions and the core, more changes are made when the functions are newly accessed, and other normal services and functions are easily influenced.
Disclosure of Invention
The embodiment of the invention provides an intelligent home system and a device access method, which are used for providing the intelligent home system with automatic expansion functions and reducing the coupling between the system and the functions.
In a first aspect, an embodiment of the present invention provides an intelligent home system, including: a mobile end system, a cloud end system and an equipment end system;
the mobile terminal system is used for providing common basic data information accessed by a user and a device terminal;
the cloud system is used for providing core function information of the smart home and providing extended function registration;
the equipment end system is used for providing a uniform equipment access protocol so that various equipment can be automatically accessed according to the uniform equipment access protocol.
In the technical scheme, a unified high-compatibility equipment access protocol is provided through an equipment end system, and the work of accessing new equipment is reduced; the mobile terminal provides common basic data information accessed by the user and the equipment terminal, so that repeated development work of each terminal is avoided; the cloud system provides extended function registration, so that coupling between the system and functions is reduced, and customized development work of new functions is reduced.
Optionally, the mobile terminal system includes an android core function library;
the android core function library is packaged with common basic data interfaces and services of the smart home system; and providing common basic data information for the user and the equipment terminal.
Optionally, the cloud system includes a core function module and an extension function module;
the core function module is used for providing basic service functions and basic data information of the smart home system;
the extension function module is used for automatically registering and accessing when integrating new function extension and storing the registration information of the new function in the core function module.
Optionally, the cloud system further includes a data query interface, a function registration interface, and a data callback interface;
the extended function module inquires common basic data information from the core function module through the data inquiry interface;
the extended function module stores the registration information of the new function in the core function module through the function registration interface;
and the core function module calls back the state information related to the new function to the extended function module through the data call-back interface.
Optionally, the unified device access protocol includes a fixed data format and a fixed transmission protocol, a unified discovery process of the device, a broadcast rule of the device, an instruction set protocol, a control set protocol, a state reporting protocol of the device, and a device upgrade protocol.
In a second aspect, an embodiment of the present invention provides an apparatus access method for an intelligent home system based on the first aspect, including:
acquiring the device type of a device to be accessed;
determining whether to store the device type locally;
if not, acquiring a device state set and instruction set information corresponding to the device type from the cloud system;
and completing the access to the equipment to be accessed according to the equipment state set and the instruction set information corresponding to the equipment type.
Optionally, if the device state set and the instruction set information corresponding to the device type are not acquired from the cloud system, it is determined that the access fails.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of the second aspect according to the obtained program.
In a fourth aspect, the embodiments of the present invention also provide a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer-readable instructions are read and executed by a computer, the computer is caused to execute the method of the second aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 structural diagram of an intelligent home system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a cloud system according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a device access method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. 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 invention.
Fig. 1 schematically illustrates an intelligent home system 100 according to an embodiment of the present invention, where the intelligent home system 100 may include a mobile-end system 110, a cloud-end system 120, and a device-end system 130.
The mobile terminal system is used for providing common basic data information accessed by the user and the equipment terminal.
The cloud system is used for providing core function information of the smart home and providing extended function registration.
The equipment end system is used for providing a uniform equipment access protocol so that various equipment can be automatically accessed according to the uniform equipment access protocol.
The unified and high-compatibility equipment access protocol is provided through the equipment end system, and the work of new equipment access is reduced; the mobile terminal provides common basic data information accessed by the user and the equipment terminal, so that repeated development work of each terminal is avoided; the cloud system provides extended function registration, so that coupling between the system and functions is reduced, and customized development work of new functions is reduced.
Specifically, a unified device access protocol can be integrated at a device end, the unified device access protocol is provided mainly according to wifi devices and ZigBee devices, and the devices can automatically access to the system without redundant adaptation by mainly complying with the protocol. The unified device access protocol may include: the communication protocol commonly used by the smart home equipment is covered by a fixed data format, a fixed transmission protocol, a unified discovery process of the equipment, a broadcast rule of the equipment, an instruction set protocol, a control set protocol, a state reporting protocol of the equipment, an equipment upgrading protocol and the like, and all communication requirements after the equipment is electrified are covered.
The novel equipment is accessed into the smart home system, the equipment can be automatically accessed into the smart home system only by accessing the smart home system according to the uniform equipment access protocol, and for the wifi protocol equipment, the cloud end address of equipment butt joint is modified into the cloud end system butt joint address provided by the smart home system; for the ZigBee equipment, after the ZigBee equipment is developed according to a protocol, the new equipment can be automatically accessed into the ZigBee gateway and can be accessed into the smart home system through the gateway.
The mobile terminal system comprises an android core function library. The android core function library is packaged with common basic data interfaces and services of the smart home system; and providing common basic data information for the user and the equipment terminal.
To all the android terminals that need repeated butt joint high in the clouds basic data interface problem, the system is removing the end and is encapsulating the basic data butt joint function that wisdom home systems is commonly used, provides the core function storehouse, and the development at each terminal only need with the core function storehouse integrated to removing the end in, calls the interface and the service that encapsulate, need not care the remote data interface butt joint of bottom, reduces the development work load that new terminal inserted.
The android core function library encapsulates common data interfaces such as common user login, authentication, message pull-out, device control and device information acquisition, and a new terminal developer does not need to care about the interactive work between the bottom layer and the cloud system and only needs to directly call the interfaces for use.
As shown in fig. 2, the cloud system may include a core function module and an extended function module. The core function module is used for providing basic service functions and basic data information of the smart home system. The extended function module is used for automatically registering and accessing when a new function is integrated and storing the registration information of the new function in the core function module.
The cloud system further comprises a data query interface, a function registration interface and a data callback interface. The extended function module inquires the common basic data information from the core function module through the data inquiry interface. The extended function module stores the registration information of the new function in the core function module through the function registration interface. And the core function module calls back the state information related to the new function to the extended function module through the data call-back interface.
Specifically, the smart home system is divided into two parts in the aspect of functions: the smart home system comprises a core function module and a function expansion module, wherein the core function module provides smart home core functions, such as basic functions of users, equipment, messages, alarms and the like; for the function expansion module, the smart home system provides a function plug-in registration interface for automatic registration access when new function expansion is integrated, provides a basic service inquiry interface related to the smart home so that the new function module can acquire basic data and provides service callback registration service, and can timely inform the expansion function module of information such as equipment information change, new information, new alarm and the like.
For example, when the smart home system needs to be newly accessed with the virtual reality service, the preferred virtual reality service automatically registers in the smart home system according to the configured information, and the relevant service interface and the information callback can be used after the registration is completed. After the registration is successful, the smart home system provides a series of interface services for the virtual reality service to call, for example, an authentication interface is provided to identify whether a requester has authority to access, a user basic information query interface is provided, and the relevant information of a user can be queried, so that the virtual reality service provides personalized service; and the inquiry interface of the equipment information is provided, so that the virtual reality service knows which hardware equipment can be used as support by the service.
Meanwhile, when the virtual reality service is registered, a callback interface address must be provided for the smart home system core function module to call back, for example, the user key information that the virtual reality service depends on: when information such as age and height changes, or hardware information of equipment depended on by the virtual reality service changes (for example, a key sensor is off-line, a user takes a gesture to capture a camera off-line, and the like), the smart home core function module can timely push the information to related services through a callback interface, and the virtual reality service can timely adjust after capturing the information, so that more accurate service is provided for the user, or an alarm message is sent to inform the user.
Through three interfaces of registration of service, callback of state information and inquiry of basic information, the smart home system provides most of function points required by function expansion, when a new function is accessed, the smart home system can support relevant services of the function without being changed greatly, and the coupling performance of the function and the core function of the smart home system is reduced.
Based on the smart home system, fig. 3 exemplarily shows a flow of a device access method according to an embodiment of the present invention, where the flow may be executed by a mobile end system.
As shown in fig. 3, the process specifically includes:
step 301, obtaining the device type of the device to be accessed.
Each device has a device type, and a device state set and instruction set information corresponding to the device type can be obtained through the device type to complete device access.
Step 302, determining whether the device type is stored locally, if not, turning to step 303, and if so, turning to step 304.
Generally, a mobile terminal device is provided with a local sandbox of a mobile terminal system, and the local sandbox may store a device type of an accessed device and a device state set and instruction set information corresponding to the device type. Thus, it may be preferable to determine whether the device type is stored locally.
Step 303, obtaining a device state set and instruction set information corresponding to the device type from the cloud system.
If the device type is not stored locally, the device state set and the instruction set information corresponding to the device type need to be downloaded from the cloud system, so as to complete the access of the device to be accessed.
And step 304, completing the access to the device to be accessed according to the device state set and the instruction set information corresponding to the device type.
The device state set is mainly used for displaying state information of the accessed device, and the instruction set is mainly used for controlling the accessed device.
If the device state set and the instruction set information corresponding to the device type are not acquired from the cloud system, the cloud system returns an error value at the moment, and therefore access failure is determined.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the equipment access method according to the obtained program.
Based on the same technical concept, embodiments of the present invention also provide a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the device access method.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A device access method based on a smart home system is characterized in that the smart home system comprises: a mobile end system, a cloud end system and an equipment end system;
the mobile terminal system is used for providing common basic data information accessed by a user and a device terminal;
the cloud system is used for providing core function information of the smart home and providing extended function registration;
the equipment end system is used for providing a uniform equipment access protocol so as to enable various equipment to automatically access according to the uniform equipment access protocol; the method comprises the following steps:
the mobile end system acquires the equipment type of equipment to be accessed;
the mobile end system determining whether to store the device type locally;
if not, the mobile terminal system acquires a device state set and instruction set information corresponding to the device type from a cloud system;
and the mobile end system completes the access to the equipment to be accessed according to the equipment state set and the instruction set information corresponding to the equipment type.
2. The method of claim 1, wherein the mobile-end system comprises an android core functionality library;
the android core function library is packaged with common basic data interfaces and services of the smart home system; and providing common basic data information for the user and the equipment terminal.
3. The method of claim 1, wherein the cloud system comprises a core function module and an extended function module;
the core function module is used for providing basic service functions and basic data information of the smart home system;
the extension function module is used for automatically registering and accessing when integrating new function extension and storing the registration information of the new function in the core function module.
4. The method of claim 3, wherein the cloud system further comprises a data query interface, a function registration interface, and a data callback interface;
the extended function module inquires common basic data information from the core function module through the data inquiry interface;
the extended function module stores the registration information of the new function in the core function module through the function registration interface;
and the core function module calls back the state information related to the new function to the extended function module through the data call-back interface.
5. The method of any of claims 1 to 4, wherein the unified device access protocol comprises a fixed data format and transport protocol, a unified discovery procedure for devices, broadcast rules for devices, an instruction set protocol, a control set protocol, a status reporting protocol for devices, and a device upgrade protocol.
6. The method of claim 1, wherein the access failure is determined if the device state set and instruction set information corresponding to the device type is not obtained from the cloud system.
7. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 6 in accordance with the obtained program.
8. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 6.
CN201911023229.6A 2019-10-25 2019-10-25 Smart home system and equipment access method Active CN110798462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911023229.6A CN110798462B (en) 2019-10-25 2019-10-25 Smart home system and equipment access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911023229.6A CN110798462B (en) 2019-10-25 2019-10-25 Smart home system and equipment access method

Publications (2)

Publication Number Publication Date
CN110798462A CN110798462A (en) 2020-02-14
CN110798462B true CN110798462B (en) 2021-11-02

Family

ID=69441255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911023229.6A Active CN110798462B (en) 2019-10-25 2019-10-25 Smart home system and equipment access method

Country Status (1)

Country Link
CN (1) CN110798462B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562772B (en) * 2020-05-26 2021-07-20 山东艾琳智能科技有限公司 Intelligent home system
CN113037616B (en) * 2021-03-31 2022-11-04 中国工商银行股份有限公司 Interactive method and device for cooperatively controlling multiple robots
CN114019809B (en) * 2021-11-02 2023-08-15 上海喜日电子科技有限公司 Household monitoring method and household equipment monitoring management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355390A (en) * 2011-08-16 2012-02-15 中国科学院电工研究所 Intelligent home system
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
CN103139020A (en) * 2011-11-22 2013-06-05 范庭芳 Intelligent home system based on internet of things and household appliance access standard
CN104618481A (en) * 2015-01-30 2015-05-13 青岛海尔科技有限公司 Thing networking APP (application) development method and device and thing networking system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150370272A1 (en) * 2014-06-23 2015-12-24 Google Inc. Intelligent configuration of a smart environment based on arrival time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355390A (en) * 2011-08-16 2012-02-15 中国科学院电工研究所 Intelligent home system
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
CN103139020A (en) * 2011-11-22 2013-06-05 范庭芳 Intelligent home system based on internet of things and household appliance access standard
CN104618481A (en) * 2015-01-30 2015-05-13 青岛海尔科技有限公司 Thing networking APP (application) development method and device and thing networking system

Also Published As

Publication number Publication date
CN110798462A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110798462B (en) Smart home system and equipment access method
JP6859340B2 (en) Equipment, systems and methods for retrieving, processing and updating global information
JP2016535895A (en) Software update method, system and device
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN110677462B (en) Access processing method, system, device and storage medium for multi-block chain network
US20130152069A1 (en) Method, apparatus and system for initiating terminal operation
CN111459039A (en) Intelligent household equipment management method and device
CN110650203B (en) Data transmission method, device and system, computer storage medium and electronic equipment
CN106789466B (en) Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance
CN111556158A (en) Access method, access device, access equipment and storage medium of Internet of things platform
CN114980302A (en) Equipment access method, equipment management method, system and computer equipment
CN111444442B (en) Information recommendation method and device
US20130219306A1 (en) Method for realizing ic equipment control software-oriented gui platformization
CN104703301A (en) Multi-service access system and multi-service access control method
CN113791766A (en) Method for combining data interfaces, electronic device and readable storage medium
US12101429B2 (en) Method for service decision distribution among multiple terminal devices and system
CN109787900A (en) Transmission method, device, equipment and machine readable media
CN112749158A (en) Energy system data processing method and device
CN115102999B (en) DevOps system, service providing method, storage medium and electronic device
CN105229607B (en) Display control unit and display control method
CN114006942B (en) Data processing method, system, electronic equipment and storage medium
CN113448607B (en) Method and device for firmware upgrading and intelligent household appliance
CN109600738A (en) Updating method of user information, device, equipment and storage medium
CN115550449A (en) Digital commodity processing method, device, equipment and medium based on Internet of vehicles
CN115269050A (en) Multi-map calling method and device, storage medium and computer equipment

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
GR01 Patent grant
GR01 Patent grant