CN116132496A - Control system and method of Internet of things equipment and electronic equipment - Google Patents
Control system and method of Internet of things equipment and electronic equipment Download PDFInfo
- Publication number
- CN116132496A CN116132496A CN202310143419.1A CN202310143419A CN116132496A CN 116132496 A CN116132496 A CN 116132496A CN 202310143419 A CN202310143419 A CN 202310143419A CN 116132496 A CN116132496 A CN 116132496A
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- equipment
- management platform
- cloud management
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000006870 function Effects 0.000 claims description 13
- 230000003993 interaction Effects 0.000 claims description 11
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 230000006855 networking Effects 0.000 claims description 2
- 238000011161 development Methods 0.000 abstract description 15
- 230000008859 change Effects 0.000 abstract description 11
- 230000000694 effects Effects 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The disclosure provides a control system and method of Internet of things equipment and electronic equipment, wherein the system comprises: the cloud management platform of the Internet of things interacts with at least one device of the Internet of things; the Internet of things service of the user terminal interacts with the Internet of things cloud management platform and provides an AIDL interface related to the Internet of things equipment for at least one application of the user terminal to call, and when the Internet of things service detects that the application calls the AIDL interface, the Internet of things service generates a control instruction corresponding to the Internet of things equipment and sends the control instruction to the Internet of things cloud management platform so as to control the Internet of things equipment. The method and the device solve the problems that in the related art, when the control protocol of the IOT equipment is changed, the application of the user terminal, which needs to be controlled by the IOT equipment, needs to be subjected to secondary development to adapt to the change of the protocol, so that the user terminal system is unstable and the development cost is increased, and the effects of improving the stability of the user terminal system and reducing the development cost are achieved.
Description
Technical Field
The invention relates to the technical field of intelligent home, in particular to a control system and method of internet of things equipment and electronic equipment.
Background
With the high-speed development of the internet and the popularization of intelligent equipment, in some hotels, offices and family houses, the control of electric equipment such as light, air conditioners and curtains in a networking way can be realized through intelligent transformation, and a user terminal such as a television, an intelligent central control panel, a mobile phone App and the like becomes a mode for controlling interaction of the user aiming at the intelligent equipment. User terminals are generally provided with apps of different types and service contents facing users are different, but as internet of things (Internet of things, IOT) user terminals, different applications can use the capability of controlling intelligent equipment and interface display of equipment states more or less. The diversification of the manufacturers and protocols of the devices, the rapid iteration of the types of the IOT devices, will necessarily result in each change of the related protocols, each application controlled by the IOT device in the user terminal will be developed secondarily, different applications involve different development teams, the development time period is different, the development cost is increased, and meanwhile, the terminal is frequently updated, and the stability of the system and the user experience are affected. In addition, for the butt joint of IOT devices, communication between a user terminal and a cloud end is involved, device protocol control is generally performed through Http(s), long links are maintained to receive a change notification of a device state, and excessive long link maintenance inevitably leads to overhead of terminal performance.
At present, aiming at the problems that in the related art, when the control protocol of the IOT device is changed, applications of the user terminal, which need to be controlled by the IOT device, need to be developed for the second time to adapt to the change of the protocol, which results in instability of the user terminal system and increase of development cost, no effective solution has been proposed.
Disclosure of Invention
The present disclosure aims to provide a control system, a method, an electronic device and a computer readable storage medium for an internet of things device, so as to at least solve the problems in the related art that when an IOT device control protocol is changed, applications of a user terminal that need to use IOT device control need to be developed for a second time to adapt to the change of the protocol, resulting in instability of the user terminal system and increased development cost.
According to an aspect of the present disclosure, there is provided a control system of an internet of things device, including:
the cloud management platform of the Internet of things interacts with at least one device of the Internet of things;
the Internet of things service of the user terminal interacts with the Internet of things cloud management platform and provides an AIDL interface related to the Internet of things equipment for at least one application of the user terminal to call, wherein when the Internet of things service detects that the application calls the AIDL interface, a control instruction corresponding to the Internet of things equipment is generated and sent to the Internet of things cloud management platform, and the Internet of things cloud management platform controls the Internet of things equipment according to the control instruction.
According to another aspect of the present disclosure, there is provided a control method of an internet of things device, including:
when an Internet of things service of a user terminal detects that an application invokes an AIDL interface related to Internet of things equipment, generating a control instruction corresponding to the Internet of things equipment, wherein the Internet of things service is in interactive connection with an Internet of things cloud management platform which is in interactive connection with at least one Internet of things equipment, and the Internet of things service provides the AIDL interface for at least one application of the user terminal to invoke;
and sending the control instruction to the Internet of things cloud management platform, wherein the Internet of things cloud management platform controls the Internet of things equipment according to the control instruction.
According to another aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory in which a program is stored,
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the control method of the internet of things device in the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the control method of the internet of things device in the present disclosure.
According to the one or more technical schemes provided by the embodiment of the disclosure, the application service architecture of the IOT equipment control protocol can be unified, the capability of IOT equipment control is shared for different applications, and the convenient and quick response is provided for each application of the user terminal, so that the unified and standardized IOT equipment control interface is provided; under the condition of upgrading the IOT service application and increasing the functions, the third party application is not affected by the upgrading, and can call new control capability without iteration, so that the problems that in the related art, when the IOT equipment control protocol is changed, each application of the user terminal, which needs to be controlled by the IOT equipment, needs to be subjected to secondary development to adapt to the protocol change, so that the user terminal system is unstable and the development cost is increased can be solved, and the effects of improving the stability of the user terminal system and reducing the development cost are realized.
Drawings
Further details, features and advantages of the present disclosure are disclosed in the following description of exemplary embodiments, with reference to the following drawings, wherein:
fig. 1 shows a schematic diagram of a control system of an internet of things device according to an exemplary embodiment of the present disclosure;
fig. 2 illustrates a flowchart of a control method of an internet of things device according to an exemplary embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of an IOT service initiation flow in accordance with an exemplary embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a data storage architecture according to an exemplary embodiment of the present disclosure;
FIG. 5 shows a schematic diagram of a device model according to an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a schematic diagram of an application layer shared device control capability flow in accordance with an exemplary embodiment of the present disclosure;
fig. 7 shows a schematic diagram of a message synchronization architecture according to an exemplary embodiment of the present disclosure;
fig. 8 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Technical terms in the embodiments of the present disclosure are explained first as follows:
IOT Internet of Things, which is a huge network formed by combining various information sensing devices with a network, and can realize interconnection and intercommunication of any time, any place, people, machines and objects.
CS architecture: the client side comprises one or more programs running on a computer of a user, and the server sides are two types, namely a database server side, and the client side accesses data of the server side through database connection; the other is a Socket server, and the program of the server communicates with the program of the client through Socket.
Http(s): hyper Text Transfer Protocol (over SecureSocket Layer), hypertext transfer protocol.
AIDL Android Interface Definition Language, android interface definition language.
SQLite: is a lightweight database, is an ACID-compliant relational database management system, is contained in a relatively small C-library, and is a public domain project established by d.
Mqtt: message Queuing Telemetry Transport it works on the TCP/IP protocol family, a publish/subscribe messaging protocol designed for remote devices with low hardware performance and in poor network conditions.
Aspects of the present disclosure are described below with reference to the accompanying drawings.
The embodiment of the disclosure provides a control system of an internet of things device.
Fig. 1 shows a schematic diagram of a control system of an internet of things device according to an exemplary embodiment of the present disclosure, as shown in fig. 1, the system may include:
the cloud management platform of the Internet of things (such as the IOT cloud management platform shown in fig. 1) interacts with at least one device of the Internet of things (such as the intelligent device shown in fig. 1);
the internet of things service of the user terminal (such as the user terminal system IOT service shown in fig. 1) interacts with the internet of things cloud management platform and provides an AIDL interface related to the internet of things device for at least one application of the user terminal (such as a terminal setting application, a terminal voice application, a terminal notification application, a terminal XX application and the like shown in fig. 1) to call, wherein when the internet of things service detects that the application calls the AIDL interface, a control instruction corresponding to the internet of things device is generated, the control instruction is sent to the internet of things cloud management platform, and the internet of things cloud management platform controls the internet of things device according to the control instruction.
In some embodiments, the internet of things service performs message interaction with the internet of things cloud management platform by adopting an MQTT protocol, wherein the internet of things service receives a notification message sent by the internet of things cloud management platform and transmits the notification message to an application corresponding to the application identifier according to application identifier information carried in the notification message.
In some embodiments, the internet of things service performs data interaction with the internet of things cloud management platform by adopting an HTTP protocol, wherein the internet of things service obtains user account information bound by the user terminal and attribute information of the internet of things device bound by the user account from the internet of things cloud management platform, and stores the user account information and the attribute information of the internet of things device in a database.
In some embodiments, the internet of things service is configured to generate an equipment model according to attribute information of the internet of things equipment, and generate interfaces corresponding to different function control commands and states of the equipment model, where the interfaces encapsulate parsing information of different manufacturer protocols.
Based on the control system of the internet of things device, the embodiment of the disclosure also provides a control method of the internet of things device.
Fig. 2 shows a flowchart of a control method of an internet of things device according to an exemplary embodiment of the present disclosure, as shown in fig. 2, the method including the steps of:
step S201, when an Internet of things service of a user terminal detects that an application invokes an AIDL interface related to Internet of things equipment, a control instruction corresponding to the Internet of things equipment is generated, wherein the Internet of things service is interactively connected with an Internet of things cloud management platform, the Internet of things cloud management platform is interactively connected with at least one Internet of things equipment, and the Internet of things service provides the AIDL interface for at least one application of the user terminal to invoke;
step 202, the control instruction is sent to the internet of things cloud management platform, wherein the internet of things cloud management platform controls the internet of things device according to the control instruction.
Through the steps, the problems that in the related art, when the control protocol of the IOT equipment is changed, applications of the user terminal, which need to be controlled by the IOT equipment, are required to be subjected to secondary development to adapt to the change of the protocol, so that the user terminal system is unstable and the development cost is increased are solved, and the effects of improving the stability of the user terminal system and reducing the development cost are realized.
In some of these embodiments, the method may further comprise:
the Internet of things service receives the notification message issued by the Internet of things cloud management platform and transmits the notification message to an application corresponding to the application identifier according to the application identifier information carried in the notification message, wherein the Internet of things service performs message interaction with the Internet of things cloud management platform by adopting an MQTT protocol.
In some of these embodiments, the method may further comprise:
the Internet of things service acquires user account information bound by the user terminal and attribute information of Internet of things equipment bound by the user account from the Internet of things cloud management platform, and stores the user account information and the attribute information of the Internet of things equipment into a database, wherein the Internet of things service performs data interaction with the Internet of things cloud management platform by adopting an HTTP protocol.
In some of these embodiments, the method may further comprise:
the Internet of things service generates an equipment model according to the attribute information of the Internet of things equipment and generates interfaces corresponding to different function control commands and states of the equipment model, wherein the interfaces are packaged with analysis information of different manufacturer protocols.
Based on the requirement that different applications of the user terminal system have the control and status display on the IOT device under the same user account, the specific implementation process of the control and method of the internet of things device in the embodiment of the disclosure is described as follows:
(1) The start-up self-starting flow of the IOT service is shown in fig. 3, when the IOT service is started, the local mac of the system is obtained as a unique machine identifier of the terminal, the Mqtt link with the cloud service is established, the long link with the cloud is maintained by sending a heartbeat packet at regular time, the equipment state issued by the cloud and the message of user personalized configuration change are received in real time, and the unique identifier of the terminal and the terminal configuration information are reported to the cloud.
(2) And acquiring user account information bound by the current terminal system and all bound equipment attribute information under the account from the cloud service through a Http(s) request frame, and storing the user account information and the equipment attribute information into a database.
The data storage architecture of the embodiment of the disclosure is shown in fig. 4, in which SQLite is used as a database storage mode, and the IOT service may store cloud data in the SQLite database, or may load the stored data from the SQLite database; the IOT service may also request device data pull from the cloud server platform Http and Http requests control device operation. The cloud service platform can also inform the state change and the user configuration change of the IOT service device through the Mqtt message.
(3) After obtaining the equipment attribute information, the IOT service maps to different equipment models according to different product types, each equipment model provides different function control commands and state generation interfaces according to different equipment functions, and each interface encapsulates the analysis of different manufacturer protocols. The device model may specifically include, as shown in fig. 5, a device ID, a device name, a device on-line status, a device model number, a device function attribute list, and the like.
(4) And defining a set of general interfaces related to the equipment by adopting an AIDL interface mode, and calling the general interfaces to a third party App, wherein the third party application can acquire all equipment information of the current terminal user through the AIDL interface.
(5) After the application is registered through the IOT service AIDL, the service framework stores information such as AppId, package name and the like of the corresponding application into a database to finish one-time registration so as to inform the corresponding application of the subsequent message state.
(6) As shown in fig. 6, after receiving an AIDL call of an application device, the IOT service obtains cached corresponding device information from a database according to different service interfaces, generates corresponding JSON data as required, transmits the JSON data to a cloud service through Http(s), and performs operation processes such as control, scene linkage and the like on the device by the cloud service.
(7) As shown in fig. 7, after the messages such as the intelligent device and the user personalized configuration change are issued to the IOT service from the cloud service platform through the Mqtt protocol message, the framework obtains the currently matched application from the database application registry according to different subscription message types and the app id contained in the message body, judges whether the current application survives or not, and transmits the message to the application through the startService and the AIDL notification mode.
The embodiment of the disclosure provides a set of application service architecture capable of unifying the control protocol of the IOT equipment, the capability of the IOT equipment control is shared for different applications to use, and the application service architecture provides convenience and quick response for each application of a user terminal, and has unified and standardized IOT equipment control interfaces; under the condition of upgrading the IOT service application and adding the function, the third party application is ensured not to be affected by the upgrading, and the new control capability can be called without iteration. Dividing the IOT related business into different functional modules through a hierarchical architecture design, wherein each module performs its own role; meanwhile, considering the problem of reducing the performance overhead of a user terminal system, the embodiment of the disclosure adopts the Mqtt message protocol to exchange with background real-time messages, receives information in Json format, and stores the information in a SQlite database as a cache.
It should be noted that the steps illustrated in the above-described flow or flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The exemplary embodiments of the present disclosure also provide an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor for causing the electronic device to perform a method according to embodiments of the present disclosure when executed by the at least one processor.
The present disclosure also provides a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to an embodiment of the present disclosure.
The present disclosure also provides a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to embodiments of the disclosure.
Referring to fig. 8, a block diagram of an electronic device 800 that may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in electronic device 800 are connected to I/O interface 805, including: an input unit 806, an output unit 807, a storage unit 808, and a communication unit 809. The input unit 806 may be any type of device capable of inputting information to the electronic device 800, and the input unit 806 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 807 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. The storage unit 808 may include, but is not limited to, magnetic disks, optical disks. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices over computer networks, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the various methods and processes described above. For example, in some embodiments, the control method of the internet of things device may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. In some embodiments, the computing unit 801 may be configured to perform the control method of the internet of things device by any other suitable means (e.g., by means of firmware).
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
Claims (10)
1. The utility model provides a control system of thing networking device which characterized in that includes:
the cloud management platform of the Internet of things interacts with at least one device of the Internet of things;
the Internet of things service of the user terminal interacts with the Internet of things cloud management platform and provides an AIDL interface related to the Internet of things equipment for at least one application of the user terminal to call, wherein when the Internet of things service detects that the application calls the AIDL interface, a control instruction corresponding to the Internet of things equipment is generated and sent to the Internet of things cloud management platform, and the Internet of things cloud management platform controls the Internet of things equipment according to the control instruction.
2. The control system of the internet of things device according to claim 1, wherein the internet of things service performs message interaction with the internet of things cloud management platform by adopting an MQTT protocol, wherein the internet of things service receives a notification message issued by the internet of things cloud management platform and transmits the notification message to an application corresponding to the application identifier according to application identifier information carried in the notification message.
3. The control system of the internet of things device according to claim 1, wherein the internet of things service performs data interaction with the internet of things cloud management platform by adopting an HTTP protocol, wherein the internet of things service obtains user account information bound by the user terminal and attribute information of the internet of things device bound by the user account from the internet of things cloud management platform, and stores the user account information and the attribute information of the internet of things device in a database.
4. The control system of the internet of things device according to claim 3, wherein the internet of things service is configured to generate a device model according to attribute information of the internet of things device, and generate interfaces corresponding to different function control commands and states of the device model, where the interfaces encapsulate parsing information of different manufacturer protocols.
5. The control method of the Internet of things equipment is characterized by comprising the following steps of:
when an Internet of things service of a user terminal detects that an application invokes an AIDL interface related to Internet of things equipment, generating a control instruction corresponding to the Internet of things equipment, wherein the Internet of things service is in interactive connection with an Internet of things cloud management platform which is in interactive connection with at least one Internet of things equipment, and the Internet of things service provides the AIDL interface for at least one application of the user terminal to invoke;
and sending the control instruction to the Internet of things cloud management platform, wherein the Internet of things cloud management platform controls the Internet of things equipment according to the control instruction.
6. The method for controlling an internet of things device according to claim 5, further comprising:
the Internet of things service receives the notification message issued by the Internet of things cloud management platform and transmits the notification message to an application corresponding to the application identifier according to the application identifier information carried in the notification message, wherein the Internet of things service performs message interaction with the Internet of things cloud management platform by adopting an MQTT protocol.
7. The method for controlling an internet of things device according to claim 5, further comprising:
the Internet of things service acquires user account information bound by the user terminal and attribute information of Internet of things equipment bound by the user account from the Internet of things cloud management platform, and stores the user account information and the attribute information of the Internet of things equipment into a database, wherein the Internet of things service performs data interaction with the Internet of things cloud management platform by adopting an HTTP protocol.
8. The method for controlling an internet of things device according to claim 7, further comprising:
the Internet of things service generates an equipment model according to the attribute information of the Internet of things equipment and generates interfaces corresponding to different function control commands and states of the equipment model, wherein the interfaces are packaged with analysis information of different manufacturer protocols.
9. An electronic device, comprising:
a processor; and
a memory in which a program is stored,
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of controlling an internet of things device according to any of claims 5-8.
10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the control method of the internet of things device according to any one of claims 5-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310143419.1A CN116132496A (en) | 2023-02-03 | 2023-02-03 | Control system and method of Internet of things equipment and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310143419.1A CN116132496A (en) | 2023-02-03 | 2023-02-03 | Control system and method of Internet of things equipment and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116132496A true CN116132496A (en) | 2023-05-16 |
Family
ID=86309983
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310143419.1A Pending CN116132496A (en) | 2023-02-03 | 2023-02-03 | Control system and method of Internet of things equipment and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116132496A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109861978A (en) * | 2018-12-28 | 2019-06-07 | 浙江工业大学 | A kind of Internet of Things SaaS platform based on MQTT agreement |
CN111064980A (en) * | 2019-12-24 | 2020-04-24 | 深圳康佳电子科技有限公司 | Cloud-based audio and video playing control method and system |
CN111599428A (en) * | 2020-05-15 | 2020-08-28 | 北京京东方健康科技有限公司 | Health data management system based on Internet of things |
CN112087499A (en) * | 2020-08-26 | 2020-12-15 | 武汉普利商用机器有限公司 | Internet of things cloud management method and system |
CN112613024A (en) * | 2021-01-07 | 2021-04-06 | 国网上海市电力公司 | Data interaction method, device and system and storage medium |
-
2023
- 2023-02-03 CN CN202310143419.1A patent/CN116132496A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109861978A (en) * | 2018-12-28 | 2019-06-07 | 浙江工业大学 | A kind of Internet of Things SaaS platform based on MQTT agreement |
CN111064980A (en) * | 2019-12-24 | 2020-04-24 | 深圳康佳电子科技有限公司 | Cloud-based audio and video playing control method and system |
CN111599428A (en) * | 2020-05-15 | 2020-08-28 | 北京京东方健康科技有限公司 | Health data management system based on Internet of things |
CN112087499A (en) * | 2020-08-26 | 2020-12-15 | 武汉普利商用机器有限公司 | Internet of things cloud management method and system |
CN112613024A (en) * | 2021-01-07 | 2021-04-06 | 国网上海市电力公司 | Data interaction method, device and system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10805380B2 (en) | Data transmission method and device | |
EP2649502B1 (en) | Methods and systems for a remote desktop session utilizing a http handler and a remote desktop client common interface | |
US10165042B2 (en) | Methods and systems for conducting a remote desktop session via HTML that supports a 2D canvas and dynamic drawing | |
EP2649500B1 (en) | Methods and systems for accessing and controlling a remote desktop of a remote machine in real time by a web browser at a client device via http api utilizing a transcoding server | |
US10389787B2 (en) | Method, apparatus and system for transmitting media stream | |
US8966376B2 (en) | Methods and systems for remote desktop session redrawing via HTTP headers | |
WO2021013058A1 (en) | Exception prompting method, apparatus, system and device for big data product, and medium | |
CN111614729B (en) | Method and device for controlling kubernetes container cluster and electronic equipment | |
JP2015529878A (en) | Providing access to remote applications via a web client | |
US20240214472A1 (en) | Communication protocol conversion method, and device, system, and gateway device | |
CN112260853B (en) | Disaster recovery switching method and device, storage medium and electronic equipment | |
WO2012122767A1 (en) | Method, system and terminal for implementing cloud computing | |
CN113556584A (en) | Screenshot transmission method and device of cloud mobile phone, electronic equipment and storage medium | |
US11411812B2 (en) | Dynamic service creation for microservice-based integration service | |
WO2024061308A1 (en) | Notification processing method, and terminal device, server side and computer storage medium | |
WO2024103943A1 (en) | Service processing method and apparatus, storage medium, and device | |
CN110113430B (en) | Communication method between mobile phone and raspberry pie based on cloud database | |
CN115242972B (en) | Method and device for calling camera by application, electronic equipment and storage medium | |
US8856651B2 (en) | Remote user interface cooperative application | |
CN116132496A (en) | Control system and method of Internet of things equipment and electronic equipment | |
CN114679436B (en) | Session management method, server and computer readable storage medium | |
CN115865974A (en) | Edge device, cloud device, edge computing system and method, and storage medium | |
CN111131643B (en) | Call control method and device | |
CN109814904B (en) | HMI configuration synchronization system and method | |
CN113625586A (en) | Method and system for controlling smart home based on gateway |
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 |