CN111385320A - Method and device for expanding Internet of things system - Google Patents
Method and device for expanding Internet of things system Download PDFInfo
- Publication number
- CN111385320A CN111385320A CN201811618032.2A CN201811618032A CN111385320A CN 111385320 A CN111385320 A CN 111385320A CN 201811618032 A CN201811618032 A CN 201811618032A CN 111385320 A CN111385320 A CN 111385320A
- Authority
- CN
- China
- Prior art keywords
- equipment
- expanded
- internet
- platform
- things
- 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
- 238000004891 communication Methods 0.000 claims abstract description 27
- 238000004590 computer program Methods 0.000 claims description 15
- 230000003190 augmentative effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 230000006855 networking Effects 0.000 description 4
- 244000062793 Sorghum vulgare Species 0.000 description 3
- 235000019713 millet Nutrition 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method for expanding an internet of things system, which comprises the following steps: establishing communication connection with the equipment to be expanded through physical connection; acquiring the equipment information of the equipment to be expanded; judging whether the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system are the same or not based on the equipment information; if the Internet of things platform to which the equipment to be expanded belongs and the Internet of things platform of the Internet of things system do not belong to the same platform, a driving program corresponding to the Internet of things platform of the equipment to be expanded is obtained and installed, and a control instruction sent by the Internet of things platform of the Internet of things system for controlling the equipment to be expanded is converted into a control instruction which can be responded by the equipment to be expanded.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a device for expanding an Internet of things system.
Background
Along with the development of intelligent house and various intelligent hardware, the hardware manufacturer of thing networking intelligent terminal need insert various thing networking platforms with the product, for example, jingdong JD +, millet intelligent house platform, Ali cloud platform etc. present thing networking intelligent terminal intelligent application and fixed cloud platform of each manufacturer, the mode of inserting is that thing networking intelligent terminal product manufacturer produces corresponding hardware alone to every cloud platform, compatible different platforms, and the user is when buying intelligent house product, only can confine to a certain fixed thing allies oneself with the platform, the alternative is few.
Patent document CN105245427A discloses that when different mobile intelligent devices equipped with APPs of different third party cloud platforms access or control an internet of things intelligent terminal through a third party platform by introducing a unified cloud platform of a bus structure as an access transfer medium between the third party cloud platform and the internet of things intelligent terminal, the access protocol of the third party cloud platform is converted into the access protocol of the unified cloud platform through a protocol adapter in the unified cloud platform, so as to control the operation of the internet of things intelligent terminal simply, thereby solving the problem of compatibility of the internet of things intelligent terminal, but in the operation process of the scheme, all device information needs to be concentrated by the internet of things intelligent terminal device and then is in communication connection with the unified cloud platform device, in the control process, the information is essentially forwarded by the unified cloud platform to control the intelligent terminal, and in the data forwarding process, the situation of data packet loss is easy to occur, and the same cloud platform for forwarding information can cause the operation convenience of the controlled equipment to be poor, so that the slow response and insensitive situation are caused when a third-party intelligent terminal is controlled; on the other hand, the user needs to register the unified cloud platform account, which results in complex operation.
Disclosure of Invention
The invention provides a method and a device for expanding an internet of things system, and aims to solve the technical problems of poor operation convenience, slow reaction, insensitive control and complex operation in the existing internet of things compatible process.
The first aspect of the embodiments of the present invention provides a method for expanding an internet of things system, including: establishing communication connection with the equipment to be expanded through physical connection;
acquiring the equipment information of the equipment to be expanded;
judging whether the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system are the same or not based on the equipment information;
if the IOT platform to which the equipment to be expanded belongs and the IOT platform of the IOT system do not belong to the same platform, acquiring and installing a driving program corresponding to the IOT platform of the equipment to be expanded so as to convert a control instruction into a control instruction which can be responded by the equipment to be expanded when the equipment to be expanded receives the control instruction for controlling the equipment to be expanded, wherein the control instruction is sent by the IOT platform of the IOT system.
A second aspect of the embodiments of the present invention provides an apparatus for expanding an internet of things, including:
the connection execution unit is used for establishing communication connection with the equipment to be expanded through physical connection;
the information acquisition unit is used for acquiring the equipment information of the equipment to be expanded;
the judging unit is used for judging whether the internet of things platform to which the equipment to be expanded belongs and the internet of things platform of the internet of things system are the same platform equipment to be expanded or not based on the equipment information;
the driving unit is used for acquiring and installing a driving program corresponding to the internet of things platform of the equipment to be expanded if the internet of things platform to which the equipment to be expanded belongs and the internet of things platform of the internet of things system do not belong to the same platform, so that when the equipment to be expanded receives a control instruction for controlling the equipment to be expanded, which is sent by the internet of things platform of the internet of things system, the control instruction is converted into the control instruction which can be responded by the equipment to be expanded, and the equipment to be expanded is arranged on the equipment to be expanded.
A third aspect of the embodiments of the present invention provides a gateway, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of the embodiments of the present invention provides an internet of things system, which is characterized by including a physical device, a server, and the gateway according to the third aspect.
A fifth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program, wherein the computer program is configured to, when executed by a processor, implement the steps of the method according to any one of claims 1 to 3.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: by connecting with the equipment to be expanded, when the situation that the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system do not belong to the same platform is judged, a corresponding driving program is installed, when the control instruction for controlling the equipment to be expanded is sent by the Internet of things platform of the Internet of things system, the control instruction can be converted into the control instruction which can be responded by the equipment to be expanded, in this way, the server does not need to analyze or adaptively modify the control command, but converts the control instruction through a driver program in the device to be expanded, so that the operability of the device to be expanded is better, in the process of data transmission, the data is not easy to lose, so that the data transmission is more stable and the transmission speed is faster, in the compatible process of the Internet of things, the conversion speed can be higher when the control instruction is converted, and the flexibility of the control of the Internet of things system is improved.
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 embodiments or the prior art descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is an interaction diagram of an augmented Internet of things system provided by an embodiment of the invention;
fig. 2 is a flowchart of an implementation of a method for extending an internet of things system according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating an implementation of another method for extending an IOT system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus for expanding an internet of things system according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
FIG. 1 illustrates an embodiment of the present invention to provide an interactive view of an augmented Internet of things system; the system for expanding the internet of things comprises terminal equipment 101, a server 102, a device 200 for expanding the internet of things system and equipment 300 to be expanded, wherein the terminal equipment 101 is in communication connection with the server 102, and the terminal equipment 101 is in communication connection with the device 200 for expanding the internet of things system; the server 102 is in communication connection with the device 200 for expanding the internet of things, and the device 200 for expanding the internet of things is in communication connection with the device 300 to be expanded in a physical connection manner; the server 102, the terminal device 101 and the device 300 to be expanded belong to different internet of things platforms, and the server 102 and the terminal device 101 can be in communication connection with the device 300 to be expanded through the device 200 for expanding the internet of things system, so that the device 300 to be expanded can be controlled to execute corresponding control instructions across platforms.
As shown in fig. 1, the terminal device 101 is a smart phone, and in other embodiments of the present invention, the terminal device may also be a desktop computer, a tablet computer, a Personal Digital Assistant (PDA), or a wearable device. The server 102 is a device configured as an internet of things platform with an internet of things system, and stores information of a device to be expanded and a device for expanding the internet of things system.
Fig. 2 is a flowchart illustrating an implementation of a method for extending an internet of things system according to an embodiment of the present invention;
in S101, establishing communication connection with a device to be expanded through physical connection;
in the step, the device for expanding the internet of things system establishes communication connection with the device to be expanded in a physical connection mode, and the physical connection mode can establish communication connection with the device to be expanded in any one mode of matching a USB (universal serial bus), a Type-c interface, a Lighting interface or a Dock interface.
In S102, acquiring equipment information of equipment to be expanded; judging whether the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system are the same platform or not based on the equipment information;
the method for acquiring the equipment information of the equipment to be expanded comprises the following steps: and sending an instruction for acquiring equipment information to the equipment to be expanded, and returning the IP address, the MAC address, the working channel, the local area network state, the brand information and the model information of the equipment to be expanded after the equipment to be expanded receives the instruction.
After the device information of the device to be expanded is obtained, the device 200 for expanding the internet of things system determines the product model, the brand information, and the internet of things platform to which the device to be expanded belongs according to the device information.
Specifically, after the device information of the device to be expanded is acquired, the internet of things platform to which the device to be expanded belongs is judged according to the product model and the brand information, the brand information of the device to be expanded and the specific model, such as a millet Xiao ai sound box, can be accurately judged according to the product model and the brand information, and the specific model information of the Xiao ai sound box can be acquired through the product model and the brand information fed back by the sound box, so that the sound box is judged to belong to the millet internet of things platform, and the instruction function of the sound box can be acquired according to the specific model information, so that a corresponding dictionary table can be matched in the process of installing the driving program, and the processing speed of the driving program is accelerated.
After the IoT platform to which the equipment to be expanded belongs is acquired, whether the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system belong are the same is judged, and if the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system belong are the same, the IoT platform of the IoT system can be directly connected with the equipment to be expanded and controls the equipment to be expanded to execute a control instruction.
In S103, if the internet of things platform to which the device to be extended belongs and the internet of things platform of the internet of things system do not belong to the same platform, a driver corresponding to the internet of things platform of the device to be extended is acquired and installed, so that when the device to be extended receives a control instruction for controlling the device to be extended sent from a server different from the internet of things platform to which the device to be extended belongs, the control instruction is converted into a control instruction that the device to be extended can respond to.
Specifically, when the internet of things platform to which the device to be expanded belongs and the internet of things platform of the internet of things system do not belong to the same internet of things platform, acquiring and installing a driver corresponding to the internet of things platform to which the device to be expanded belongs according to the judgment result, wherein the driver is installed in the driver corresponding to the internet of things platform to which the device to be expanded belongs, and configuring a corresponding dictionary table in the driver according to the product model and brand information of the device to be expanded; according to the data of the dictionary table, when the device to be expanded receives a control instruction which is sent by an internet of things platform of the internet of things system and used for controlling the device to be expanded to execute operation, the control instruction can be analyzed according to the dictionary table, and the control instruction is converted into a control instruction which can be responded by the device to be expanded. The corresponding dictionary table is configured according to the product model and the brand information, so that the conversion speed is higher and the response of the equipment to be expanded is quicker in the process of converting the control instruction by the driving program.
Specifically, an internet of things platform of the internet of things system sends a control instruction for controlling a device to be expanded to execute operation; the control instruction for controlling the device to be expanded to execute the operation comprises a control instruction capable of controlling the device to be expanded to execute all functions, such as an on/off instruction of the device to be expanded and an instruction for switching the working state; taking a smart sound box as an example, the smart sound box generally includes instructions for starting and stopping the sound box, switching music, or switching a bluetooth function, or voice recognition control, and therefore, the control instruction sent by the internet of things platform of the internet of things system includes all control instructions for controlling the response of the smart sound box.
After receiving a control instruction for controlling the device to be expanded to execute operation, the driver searches in the dictionary table according to the dictionary table equipped in the driver, finds out a corresponding conversion relation, performs analysis transcoding on the control instruction, converts the control instruction into a serial port instruction, and sends the serial port instruction to the device to be expanded, after receiving the serial port instruction, the device to be expanded compares the baud rate of the serial port instruction according to the baud rate of the serial port instruction, and when the baud rate of the serial port instruction is consistent with that of the device to be expanded, performs response operation.
In S104, after responding to the control instruction, the device to be expanded feeds back an execution result to the driver.
Specifically, if the device to be expanded successfully responds to the control instruction, a feedback instruction is sent to the driver program as 1, if the device to be expanded does not successfully respond to the control instruction, a feedback instruction is sent to the driver program as 0, and after receiving the feedback instruction, the driver program sends the feedback instruction to an internet of things platform of the internet of things system for backup.
In an embodiment of the present invention, a method for expanding an internet of things system includes: establishing communication connection with the equipment to be expanded through physical connection; acquiring equipment information of equipment to be expanded; judging whether the Internet of things platform to which the equipment to be expanded belongs and the Internet of things platform of the Internet of things system are the same platform or not based on the equipment information, and generating a judgment result; if the Internet of things platform to which the equipment to be expanded belongs and the Internet of things platform of the Internet of things system do not belong to the same platform; obtaining and installing a driver corresponding to the internet of things platform of the device to be expanded according to the judgment result, converting the control instruction into a control instruction which can be responded by the device to be expanded when the device to be expanded receives the control instruction which is sent by a server different from the internet of things platform to which the device to be expanded belongs and controls the device to be expanded, and realizing communication connection with the device to be expanded in a physical connection mode, so that the driver in the device to be expanded converts the control instruction, the operability of the device to be expanded is better, and in the data transmission process, data is not easy to lose, the data transmission is more stable, the transmission speed is faster, and the flexibility of the control of the internet of things system is favorably improved in the compatible process of the internet of things; and the dictionary table is configured in the driver according to the equipment information of the equipment to be expanded, so that the driver can realize higher conversion speed when the control instruction is converted, and the equipment to be expanded responds more quickly.
In another embodiment of the present invention, referring to fig. 3, the terminal device 101 and the internet of things platform of the internet of things system can be in communication connection by controlling the device 300 to be expanded; the method comprises the following specific steps:
s201, the terminal equipment sends out a control instruction for controlling the equipment to be expanded;
s202, judging whether the network connection is normal or not; judging whether the network connection state of the equipment to be expanded is normal or not through the network state returned by the equipment information, sending an instruction to an internet of things platform of the internet of things system through the device 200 for expanding the internet of things system, and judging whether the device 200 for expanding the internet of things system is in communication connection with the internet of things platform of the internet of things system or not;
s203, when the network connection is normal, sending a control command to the connection of the internet of things platform of the internet of things system through the terminal device 101, and forwarding the control command to the device 200 for expanding the internet of things system by the internet of things platform of the internet of things system; according to the method, the control instruction is analyzed and converted into the control instruction which is responded by the equipment to be expanded.
Under the condition of network connection failure and the condition that the equipment to be expanded is disconnected, the mobile phone can be connected with the device 200 for expanding the internet of things in a wireless connection mode such as Bluetooth and WIFI (wireless fidelity), and a control instruction is directly sent to the device 200 for expanding the equipment; according to the method, the control instruction is analyzed and converted into the control instruction which is responded by the equipment to be expanded;
fig. 4 is a schematic diagram of an apparatus for expanding an internet of things system according to an embodiment of the present invention; for convenience of explanation, only portions related to the embodiments of the present invention are shown.
A device 200 for expanding an Internet of things system comprises a connection execution unit 201, an information acquisition unit 202, a judgment unit 203 and a drive unit 204, wherein the device 200 for expanding the Internet of things system is physically connected with a device 300 to be expanded through the connection execution unit 201.
The connection execution unit 201 is connected with the device to be expanded in any structure matched with a USB, a Type-c, a Lighting interface, or a Dock interface, wherein a specific connection mode of the connection execution unit 201 is determined according to the Type of the device to be expanded.
The information obtaining unit 202 is configured to obtain device information of the device 300 to be expanded; the information obtaining unit 202 sends an instruction for obtaining device information to the device to be extended, after receiving the instruction, the device to be extended returns the IP address, the MAC address, the working channel, the lan status, the brand information, and the model information of the device 300 to be extended to the information obtaining unit 202, and the information obtaining unit 202 sends the received device information to the determining unit 203.
The judging unit 203 judges whether the internet of things platform to which the device to be expanded belongs and the internet of things platform of the internet of things system are the same platform according to the device information;
optionally, if the affiliated internet of things platform and the internet of things platform of the internet of things system are the same, the internet of things platform of the internet of things system can be directly connected with the equipment to be expanded and control the equipment to be expanded to execute the control instruction; and if the affiliated internet of things platform and the internet of things platform of the internet of things system do not belong to the same platform, sending the judgment result to the driving unit 204.
The driving unit 204 is configured to obtain and install a driving program corresponding to the internet of things platform according to the determination result; and the control instruction is used for converting the control instruction into a control instruction which can be responded by the equipment to be expanded when receiving a control instruction which is sent by an Internet of things platform of the Internet of things system and is used for controlling the equipment to be expanded.
Optionally, after receiving a control instruction for controlling the device to be expanded to execute an operation, the driving unit 204 searches in the dictionary table according to the control instruction and according to the dictionary table equipped in the driving program, finds out a corresponding conversion relationship, performs parsing and transcoding on the control instruction, converts the control instruction into a serial port instruction, and sends the serial port instruction to the device to be expanded, after receiving the serial port instruction, the device to be expanded compares the serial port instruction according to a baud rate of the serial port instruction, and when the baud rate of the serial port instruction is consistent with that of the device to be expanded, performs a response operation.
Optionally, the device to be expanded 300 feeds back the execution result to the driving unit 204 after responding to the control instruction by the device to be expanded.
Specifically, if the device to be extended successfully responds to the control instruction, the feedback instruction is sent to the driver program as 1, if the device to be extended does not successfully respond to the control instruction, the feedback instruction is sent to the driver program as 0, and after receiving the feedback instruction, the driver program sends the feedback instruction to a platform of the internet of things system for backup.
Optionally, the apparatus 200 for expanding an internet of things system further includes a wireless connection execution unit 205 connected to the terminal device 101 and an internet of things platform of the internet of things system.
Optionally, the wireless connection module is any one or more of bluetooth, NFC, Zigbee, and Wifi.
Optionally, the apparatus 200 for expanding an internet of things system is a portable internet of things gateway, and the portable internet of things gateway and the device to be expanded implement a plug and play function.
In the embodiment, the device for expanding the internet of things system is in communication connection with the equipment to be expanded in a physical connection mode, so that a driving program in the equipment to be expanded converts a control instruction, the operability of the equipment to be expanded is better, and in the data transmission process, data is not easy to lose, so that the data transmission is more stable, the transmission speed is higher, and the flexibility of the control of the internet of things system is favorably improved in the compatible process of the internet of things; and the dictionary table is configured in the driver according to the equipment information of the equipment to be expanded, so that the driver can realize higher conversion speed when the control instruction is converted, the equipment to be expanded responds more quickly, and the plug-and-play function with the equipment to be expanded is realized by setting the device for expanding the internet of things system into a portable internet of things gateway.
The invention discloses a system for expanding equipment, which comprises a device 200 for expanding the internet of things, equipment 300 to be expanded and a server 102, wherein the device 200 for expanding the internet of things is inserted into the equipment 300 to be expanded, and the device 200 for expanding the internet of things is connected with the server 102; the server 102 is configured with an internet of things platform of the internet of things system;
the device 200 for expanding the internet of things system acquires the equipment information of the equipment 300 to be expanded; judging whether an Internet of things platform to which the equipment to be expanded belongs and an Internet of things platform of an Internet of things system are the same or not according to the equipment information, and if not, acquiring and installing a driving program corresponding to the intelligent home platform;
when receiving a control instruction for controlling the device 300 to be expanded, which is sent by an internet of things platform of the internet of things system, the device 200 for expanding the internet of things system converts the control instruction into a control instruction for controlling the device 300 to be expanded to respond;
the device to be expanded is in communication connection with the server 102 through the device for expanding the internet of things.
Optionally, a terminal device 101 is included, the server 102 is in communication connection with the mobile terminal, and the apparatus 200 for expanding the internet of things system is in communication connection with the terminal device 101;
optionally, the terminal device 101 may implement a communication connection with the server 102, and when the network connection is normal, the terminal device 101 sends a control instruction to the server 102, and the server 102 forwards the control instruction to the apparatus 200 for expanding the internet of things system, as described in the foregoing method, the control instruction is analyzed and converted into a control instruction for a device to be expanded to respond;
under the condition of network connection failure, namely under the condition that the equipment to be expanded is disconnected, the mobile phone can be connected with the device 200 for expanding the internet of things in a wireless connection mode such as Bluetooth and WIFI (wireless fidelity), and the control instruction is directly sent to the device 200 for expanding the equipment.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention; for convenience of explanation, only portions related to the embodiments of the present invention are shown.
A terminal device 400, as shown in fig. 5, comprises a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the above-described method embodiment for extending an internet of things, such as the steps S101 to S104 shown in fig. 2. Alternatively, the processor 40 implements the functions of the modules/units in the above device embodiments when executing the computer program 42; the memory is stored with a computer program that is executable on the processor, as shown in fig. 4 at 201 and 205 of the unit module.
Optionally, the terminal device 400 further includes an interface 43, where the interface is any one of a USB interface, a TYPE-C interface, a Lighting interface, or a Dock interface; the gateway 400 establishes a physical communication connection with the device 300 to be expanded through the interface 43.
Optionally, the terminal device further includes a wireless connection module 44, and the terminal device is in communication connection with the server and/or the terminal device through the wireless connection module.
Optionally, the wireless connection module 44 is any one or more of bluetooth, NFC, Zigbee, or Wifi.
The terminal device 400 may be a gateway or other form that can interface with the device to be expanded. The terminal device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 400 and does not constitute a limitation of terminal device 400 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the gateway 400.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device 400, such as a hard disk or a memory of the terminal device 6. The memory 41 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal device 400. Further, the memory 41 may also include both an internal storage unit and an external storage device of the terminal device 400. The memory 41 is used for storing the computer program and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A method of augmenting an internet of things system, comprising:
establishing communication connection with the equipment to be expanded through physical connection;
acquiring the equipment information of the equipment to be expanded;
judging whether the IoT platform to which the equipment to be expanded belongs and the IoT platform of the IoT system are the same or not based on the equipment information;
if the IOT platform to which the equipment to be expanded belongs and the IOT platform of the IOT system do not belong to the same platform, acquiring and installing a driving program corresponding to the IOT platform of the equipment to be expanded so as to convert a control instruction into a control instruction which can be responded by the equipment to be expanded when the equipment to be expanded receives the control instruction for controlling the equipment to be expanded, wherein the control instruction is sent by the IOT platform of the IOT system.
2. The method of claim 1, wherein: acquiring the device information of the device to be expanded, comprising: and sending an instruction for acquiring the equipment information to the equipment to be expanded so that the equipment to be expanded returns the equipment information of the equipment to be expanded after receiving the instruction.
3. The method of claim 1, wherein: and acquiring and installing a driver corresponding to the Internet of things platform of the equipment to be expanded, wherein the driver is configured with a dictionary table corresponding to the equipment in the driver according to the equipment information.
4. An apparatus for extending an internet of things system, comprising:
the connection execution unit is used for establishing communication connection with the equipment to be expanded through physical connection;
the information acquisition unit is used for acquiring the equipment information of the equipment to be expanded;
the judging unit is used for judging whether the internet of things platform to which the equipment to be expanded belongs and the internet of things platform of the internet of things system are the same platform equipment to be expanded or not based on the equipment information;
the driving unit is used for acquiring and installing a driving program corresponding to the internet of things platform of the equipment to be expanded if the internet of things platform to which the equipment to be expanded belongs and the internet of things platform of the internet of things system do not belong to the same platform, so that when the equipment to be expanded receives a control instruction for controlling the equipment to be expanded, which is sent by the internet of things platform of the internet of things system, the control instruction is converted into the control instruction which can be responded by the equipment to be expanded, and the equipment to be expanded is arranged on the equipment to be expanded.
5. A gateway, comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 3.
6. The gateway of claim 5, wherein the gateway further comprises any one of a USB interface, a TYPE-C interface, a Lighting interface, or a Dock interface; and the gateway establishes physical communication connection with the equipment to be expanded through the interface.
7. The gateway of claim 5, further comprising a wireless connection module through which the communication connection is made with the server and/or the terminal device.
8. The gateway of claim 7, wherein the wireless connection module is any one or more of Bluetooth, NFC, Zigbee, or Wifi.
9. An internet of things system, characterized by comprising terminal equipment, a server, equipment to be expanded and a gateway according to claims 5-8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811618032.2A CN111385320A (en) | 2018-12-28 | 2018-12-28 | Method and device for expanding Internet of things system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811618032.2A CN111385320A (en) | 2018-12-28 | 2018-12-28 | Method and device for expanding Internet of things system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111385320A true CN111385320A (en) | 2020-07-07 |
Family
ID=71220835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811618032.2A Pending CN111385320A (en) | 2018-12-28 | 2018-12-28 | Method and device for expanding Internet of things system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111385320A (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279798A (en) * | 2011-08-30 | 2011-12-14 | 中国工商银行股份有限公司 | Software testing method and system based on point function driving |
CN102355389A (en) * | 2011-08-15 | 2012-02-15 | 无锡互惠信息技术有限公司 | Hardware middleware applied to system of Internet of Things |
CN102802139A (en) * | 2012-07-10 | 2012-11-28 | 无锡航天飞邻测控技术有限公司 | Gateway data adapting system and method of Internet of Things |
CN103023681A (en) * | 2011-09-22 | 2013-04-03 | 北京天成信宇科技有限责任公司 | Smart home control device and updating method |
CN104901990A (en) * | 2014-07-18 | 2015-09-09 | 华东理工大学 | Sensor flexible access system based on internet of things and flexible access method thereof |
CN104932926A (en) * | 2015-07-09 | 2015-09-23 | 上海联彤网络通讯技术有限公司 | System and method for achieving dynamic matching of equipment and drives in intelligent operation system platform |
CN105245427A (en) * | 2015-11-24 | 2016-01-13 | 深圳酷宅科技有限公司 | Multi-Internet of Things cloud platform terminal access and control system based on bus adaption |
CN105676667A (en) * | 2016-03-28 | 2016-06-15 | 重庆世纪之光科技实业有限公司 | Intelligent home control system and realization method thereof |
CN106533860A (en) * | 2016-11-18 | 2017-03-22 | 深圳Tcl智能家庭科技有限公司 | Intelligent household interaction software bus system and realization method |
CN106850611A (en) * | 2017-01-25 | 2017-06-13 | 辽宁中科信科技有限公司 | A kind of cross-system Internet of Things safety communication technological service platform method |
CN106899638A (en) * | 2015-12-21 | 2017-06-27 | 中国科学院信息工程研究所 | A kind of fusions networking relationships system for solving Heterogeneous data and method |
WO2017206161A1 (en) * | 2016-06-03 | 2017-12-07 | 达闼科技(北京)有限公司 | Interface detection method and apparatus |
CN108683702A (en) * | 2018-04-06 | 2018-10-19 | 西北工业大学 | A kind of driving method of the plug and play of Internet of Things equipment access internet |
CN108806065A (en) * | 2018-05-25 | 2018-11-13 | 浙江华伟伟业智能科技有限公司 | A kind of the intelligent management control method and its system of Vending Machine |
CN109040261A (en) * | 2018-08-10 | 2018-12-18 | 南京熊猫电子制造有限公司 | A kind of the Internet of Things management platform and management method of intelligent refrigerator |
-
2018
- 2018-12-28 CN CN201811618032.2A patent/CN111385320A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355389A (en) * | 2011-08-15 | 2012-02-15 | 无锡互惠信息技术有限公司 | Hardware middleware applied to system of Internet of Things |
CN102279798A (en) * | 2011-08-30 | 2011-12-14 | 中国工商银行股份有限公司 | Software testing method and system based on point function driving |
CN103023681A (en) * | 2011-09-22 | 2013-04-03 | 北京天成信宇科技有限责任公司 | Smart home control device and updating method |
CN102802139A (en) * | 2012-07-10 | 2012-11-28 | 无锡航天飞邻测控技术有限公司 | Gateway data adapting system and method of Internet of Things |
CN104901990A (en) * | 2014-07-18 | 2015-09-09 | 华东理工大学 | Sensor flexible access system based on internet of things and flexible access method thereof |
CN104932926A (en) * | 2015-07-09 | 2015-09-23 | 上海联彤网络通讯技术有限公司 | System and method for achieving dynamic matching of equipment and drives in intelligent operation system platform |
CN105245427A (en) * | 2015-11-24 | 2016-01-13 | 深圳酷宅科技有限公司 | Multi-Internet of Things cloud platform terminal access and control system based on bus adaption |
CN106899638A (en) * | 2015-12-21 | 2017-06-27 | 中国科学院信息工程研究所 | A kind of fusions networking relationships system for solving Heterogeneous data and method |
CN105676667A (en) * | 2016-03-28 | 2016-06-15 | 重庆世纪之光科技实业有限公司 | Intelligent home control system and realization method thereof |
WO2017206161A1 (en) * | 2016-06-03 | 2017-12-07 | 达闼科技(北京)有限公司 | Interface detection method and apparatus |
CN106533860A (en) * | 2016-11-18 | 2017-03-22 | 深圳Tcl智能家庭科技有限公司 | Intelligent household interaction software bus system and realization method |
CN106850611A (en) * | 2017-01-25 | 2017-06-13 | 辽宁中科信科技有限公司 | A kind of cross-system Internet of Things safety communication technological service platform method |
CN108683702A (en) * | 2018-04-06 | 2018-10-19 | 西北工业大学 | A kind of driving method of the plug and play of Internet of Things equipment access internet |
CN108806065A (en) * | 2018-05-25 | 2018-11-13 | 浙江华伟伟业智能科技有限公司 | A kind of the intelligent management control method and its system of Vending Machine |
CN109040261A (en) * | 2018-08-10 | 2018-12-18 | 南京熊猫电子制造有限公司 | A kind of the Internet of Things management platform and management method of intelligent refrigerator |
Non-Patent Citations (2)
Title |
---|
赵建忠等: ""物联网应用层面的发展现状、趋势、问题、挑战和对策"", 《中国集成电路》 * |
黄佳玉: "基于zigbee协调器通用平台的研究及应用", 《计算机光盘软件与应用》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6611921B2 (en) | Terminal interconnection method, apparatus, nonvolatile computer storage medium, and computer program | |
US9244871B2 (en) | Method and apparatus for virtualizing hardware dongle over a wireless connection | |
US6519290B1 (en) | Integrated radio frequency interface | |
US20150207631A1 (en) | Accessory identification for mobile computing devices | |
CN107926075B (en) | System and method for supporting data communication in heterogeneous environment | |
US20120054400A1 (en) | System for Communicating Between Two Electrical Devices and Method Therefore | |
US8838865B2 (en) | Hot plug ad hoc computer resource allocation | |
CN101882116A (en) | Method for realizing audio transmission and mobile terminal | |
CN107391419B (en) | Support general sequence busbar concentrator of many host computers and automobile-used host computer | |
WO2018040746A1 (en) | Driver installation method, device, and electronic apparatus | |
WO2014127619A1 (en) | Method and system for supporting access of different types of sensors | |
WO2011116610A1 (en) | Method, system and device for initializing internet device | |
CN105577717A (en) | Control method and system having compatibility with various electric appliances | |
JP6033942B2 (en) | Device, system and method for assigning identifiers to components of a control system | |
US20160077986A1 (en) | Electronic apparatus providing real-time switching and sharing of usb electronic devices among hosts | |
CN101662453A (en) | Data conversion method and equipment aiming at collaboration standard | |
JP2012015803A (en) | Communication device, program, and communication method | |
JP5143191B2 (en) | System, server device, and method for using peripheral device | |
US20160021193A1 (en) | Method of automatically closing an application on transport disconnect | |
CN111385320A (en) | Method and device for expanding Internet of things system | |
CN104899164B (en) | Address addressing method for integrated circuit bus, integrated circuit bus device and system | |
EP3694151A1 (en) | Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium | |
CN115883572A (en) | Peripheral sharing method and device | |
CN115550108A (en) | USB data communication method and device based on hybrid network and computer equipment | |
CN109976694B (en) | Data transmission device, terminal, method and processor system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200707 |
|
RJ01 | Rejection of invention patent application after publication |