CN111432000A - Control method, device, equipment and storage medium of Internet of things equipment - Google Patents

Control method, device, equipment and storage medium of Internet of things equipment Download PDF

Info

Publication number
CN111432000A
CN111432000A CN202010211988.1A CN202010211988A CN111432000A CN 111432000 A CN111432000 A CN 111432000A CN 202010211988 A CN202010211988 A CN 202010211988A CN 111432000 A CN111432000 A CN 111432000A
Authority
CN
China
Prior art keywords
internet
target
things
equipment
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010211988.1A
Other languages
Chinese (zh)
Inventor
柏杨
殷源
周晓
高姗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202010211988.1A priority Critical patent/CN111432000A/en
Publication of CN111432000A publication Critical patent/CN111432000A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

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)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a control method, a control device, control equipment and a storage medium of Internet of things equipment. Wherein the method is performed by an adapter of an edge compute node, the method comprising: acquiring an Internet of things equipment control request from a control center of an edge computing node; performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment so as to indicate the target Internet of things equipment to respond. The Internet of things equipment control request is converted into a format which can be received by the target Internet of things equipment through the target adapter at the edge computing node, so that the pressure of the center of the Internet of things cloud platform is reduced, the equipment control time is saved, and the equipment control efficiency is improved.

Description

Control method, device, equipment and storage medium of Internet of things equipment
Technical Field
The embodiment of the invention relates to computer technology, in particular to a control method, a control device, control equipment and a storage medium of Internet of things equipment.
Background
With the development of the internet of things technology, when a building is networked, more and more front-end devices need to be accessed, a key task of the building networking is to adapt to various front-end devices, and the content of the adaptation comprises protocol adaptation, data adaptation and the like.
In the prior art, adaptation work is carried out on an internet of things platform, and data processing pressure and implementation complexity of the internet of things platform are very high, so that edge computing nodes are usually deployed at an edge end, the edge end completes adaptation of site equipment, and then the site equipment is accessed to an internet of things cloud platform.
However, the front-end devices are complex and various, the edge terminal is continuously connected to a new type of front-end device, which results in frequent upgrade of the edge terminal, the control center of the edge terminal and the cloud platform of the internet of things have high working pressure, data format and protocol conversion needs to be performed on each device, a lot of time is wasted, and the device control efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a control method, a control device, equipment and a storage medium of Internet of things equipment, so that the control efficiency of the equipment is improved, and the pressure of an Internet of things cloud platform is reduced.
In a first aspect, an embodiment of the present invention provides an internet of things device control method, which is executed by an adapter in an edge computing node, and the method includes:
acquiring an Internet of things equipment control request from a control center of an edge computing node;
performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result;
and sending the first conversion result to the associated target Internet of things equipment so as to indicate the target Internet of things equipment to respond.
In a second aspect, an embodiment of the present invention further provides an internet of things device control method, which is executed by a control center in an edge computing node, and the method includes:
acquiring an Internet of things equipment control request from an Internet of things cloud platform;
selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request;
sending the IOT device control request to the target adapter to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
In a third aspect, an embodiment of the present invention further provides an internet of things device control apparatus, where the apparatus is configured in an adapter in an edge computing node, and the apparatus includes:
the control request acquisition module is used for acquiring an Internet of things equipment control request from a control center of the edge computing node;
a first conversion result obtaining module, configured to perform communication protocol conversion and/or data format conversion on the internet of things device control request to obtain a first conversion result;
and the first conversion result sending module is used for sending the first conversion result to the associated target Internet of things equipment so as to indicate the target Internet of things equipment to respond.
In a fourth aspect, an embodiment of the present invention further provides an internet of things device control apparatus, configured in a control center of an edge computing node, where the apparatus includes:
the control request obtaining module is used for obtaining an Internet of things equipment control request from an Internet of things cloud platform;
the target adapter selection module is used for selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request;
a control request sending module, configured to send the internet of things device control request to the target adapter to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
In a fifth aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for controlling an internet of things device according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for controlling the internet of things device according to the first aspect or the second aspect.
According to the embodiment of the invention, the control center of the edge computing node sends the control request of the Internet of things equipment to the target adapter, the target adapter converts the control request of the Internet of things equipment into the receivable communication protocol of the target Internet of things equipment and the recognizable data format, so that the problem that the communication protocol and the data format of all target Internet of things equipment are converted by the Internet of things cloud platform in the prior art is solved, the working pressure of the Internet of things cloud platform is reduced, the phenomenon that the operation of all equipment is influenced by the failure of the cloud end is avoided, the equipment control time is saved, and the equipment control efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a method for controlling an internet of things device according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for controlling an internet of things device according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a process of issuing a control request of an internet of things device according to a second embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating reporting of device feedback information in the second embodiment of the present invention;
fig. 5 is a block diagram of a control device of an internet of things device according to a third embodiment of the present invention;
fig. 6 is a block diagram of a control apparatus of an internet of things device according to a fourth embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computer device in the sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a method for controlling an internet of things device according to an embodiment of the present invention, where the embodiment is applicable to a case where an adapter sends a control request to a device, and the method may be executed by an internet of things device control apparatus configured on the adapter in an edge computing node. As shown in fig. 1, the method specifically includes the following steps:
and step 110, obtaining an Internet of things equipment control request from a control center of the edge computing node.
The control center of the edge computing node receives an Internet of things equipment control request of a worker for target Internet of things equipment, and the control center sends the Internet of things equipment control request to the target adapter. A plurality of adapters can be configured in the edge computing node, and one adapter can process the internet of things device control request of one device type. The internet of things equipment control request can include a target equipment type, and a target adapter for receiving the internet of things equipment control request is matched with the target equipment type of the target internet of things equipment. For example, there are two adapters below the edge computing node, which are adapter one and adapter two, respectively, where adapter one is a computer type adapter and adapter two is a lamp type adapter. And if the target equipment type in the Internet of things equipment control request is a lamp, sending the Internet of things equipment control request to the second adapter.
And step 120, performing communication protocol conversion and/or data format conversion on the control request of the internet of things device to obtain a first conversion result.
The adapter receives the Internet of things equipment control request, converts a current communication protocol for transmitting the Internet of things equipment control request into a target communication protocol matched with target Internet of things equipment, converts a current data format in the Internet of things equipment control request into a target data format recognizable by the target Internet of things equipment, and takes the converted communication protocol and data format as a first conversion result.
In this embodiment, optionally, the internet of things device control request includes identification information of the target internet of things device, a type of the target device, and a target control instruction; correspondingly, the communication protocol conversion and/or the data format conversion are performed on the internet of things equipment control request to obtain a first conversion result, and the method comprises the following steps: based on a target communication protocol associated with the type of the target equipment, carrying out communication protocol conversion on the equipment control request of the Internet of things; and converting the data format of the target control instruction based on the target data format associated with the target equipment type.
Specifically, the internet of things device control request may include identification information of the target internet of things device, a type of the target device, and a target control instruction, where the identification information of the target internet of things device is a unique identifier for identifying the target internet of things device, and for example, the target internet of things device may be identified by an ID; the type of the target device may be indicated by a type ID, for example, the target device type information of the lamp is 001, and the target device type information of the computer is 002; the target control instruction is a control action for the internet of things device, for example, turning on or turning off the internet of things device.
The communication protocols which can be received by different types of target Internet of things equipment and the identified data formats are different, and after the adapter receives the Internet of things equipment control request, the communication protocol conversion is carried out on the Internet of things equipment control request according to the target communication protocol associated with the type of the target equipment, and the current general communication protocol is converted into the target communication protocol. And according to the target data format associated with the target equipment type, performing data format conversion on the target control instruction, and converting the current general data format into the target data format. The first conversion result may include a target communication protocol and a target data format, i.e. the target data format is transmitted in the target communication protocol. The beneficial effect of the arrangement is that the matched adapter converts the communication protocol and/or the data format of the control request of the Internet of things equipment, so that the pressure of a control center is reduced, and the conversion efficiency of the communication protocol and/or the data format is improved.
And step 130, sending a first conversion result to the associated target internet of things equipment to indicate the target internet of things equipment to respond.
The adapter determines the target Internet of things equipment to respond to the Internet of things equipment control request according to identification information of the target Internet of things equipment in the Internet of things equipment control request, and a plurality of Internet of things equipment of the same type can be connected to one adapter. The adapter sends the converted first conversion result to the target Internet of things equipment, and the target Internet of things equipment receives the recognizable Internet of things equipment control request, completes a target control instruction therein and realizes control over the target Internet of things equipment.
In this embodiment, optionally, the method further includes: receiving equipment feedback information from any Internet of things equipment; performing communication protocol conversion and/or data format conversion on the equipment feedback information to obtain a second conversion result; and sending a second conversion result to the Internet of things cloud platform through the control center.
Specifically, any internet of things device can send device feedback information to the internet of things cloud platform according to a preset requirement, wherein the device feedback information can include identification information of a target internet of things device, a type of the target device, and target feedback content. And the Internet of things equipment sends the equipment feedback information to an adapter associated with the type of the target equipment according to the type of the target equipment. The adapter carries out communication protocol conversion on the device feedback information based on a target communication protocol associated with the type of the target device; and performing data format conversion on the target control instruction based on the target data format associated with the type of the target equipment to obtain a second conversion result. The second conversion result includes a generic communication protocol and a generic data format, i.e., the generic data format is transmitted in the generic communication protocol. The adapter sends the second conversion result to the control center, and the control center sends the second conversion result to the Internet of things cloud platform to complete feedback of the target device. The beneficial effect of the arrangement is that the related adapter converts the communication protocol and the data format of the equipment feedback information, thereby reducing the working pressure of the control center, solving the problem of converting all the equipment feedback information by one control center and improving the transmission efficiency of the equipment feedback information.
According to the technical scheme, the control center of the edge computing node sends the control request of the internet of things equipment to the target adapter, the control request of the internet of things equipment is converted into the receivable communication protocol of the target internet of things equipment by the target adapter, and the data format can be recognized, the problem that the communication protocol and the data format of all target internet of things equipment are converted by the control center of the edge computing node in the prior art is solved, the working pressure of an internet of things cloud platform is reduced, the control center is prevented from being broken down, the equipment control time is saved, and the equipment control efficiency is improved.
Example two
Fig. 2 is a flowchart illustrating a method for controlling an internet of things device according to a second embodiment of the present invention, where the method is applicable to a case where a control center sends a control request to an adapter, and the method can be executed by an internet of things device control apparatus configured on the control center in an edge computing node. As shown in fig. 2, the method specifically includes the following steps:
step 210, obtaining an internet of things equipment control request from the internet of things cloud platform.
The method comprises the steps that a worker sends an Internet of things equipment control request for target Internet of things equipment on an Internet of things cloud platform and sends the Internet of things equipment control request to a control center of an edge computing node.
And step 220, selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request.
The control center obtains the control request of the Internet of things equipment, determines the target adapter matched with the target Internet of things equipment, and selects the corresponding target adapter from the candidate adapters of the edge computing node.
In this embodiment, optionally, the internet of things device control request includes a target device type; correspondingly, according to the internet of things equipment control request, selecting a target adapter from candidate adapters in the edge computing node includes: and determining the candidate adapter associated with the target equipment type in the edge computing node as the target adapter.
Specifically, the internet of things device control request may include identification information of the target internet of things device, a type of the target device, and a target control instruction. Each device type is associated with one adapter, the control center obtains the target device type, selects a candidate adapter associated with the target device type from the edge computing nodes, and determines the candidate adapter as the target adapter. The beneficial effect that sets up like this lies in, control center finds the adapter of relevance fast according to the target device type to send thing networking device control request to corresponding target thing networking device by the adapter, do not need the communication protocol and the data format conversion process that control center handled all thing networking device control requests, alleviate the pressure of thing networking cloud platform, avoid control center to break down.
Step 230, sending an internet of things device control request to the target adapter to instruct the target adapter to execute the following steps: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
After finding the associated target adapter, the control center sends the Internet of things equipment control request to the target adapter. The target adapter converts the current general communication protocol and/or general data format according to the target communication protocol and/or target data format associated with the type of the target device, so that the converted first conversion result can be received and identified by the target internet of things device.
Fig. 3 is a schematic flowchart of issuing a control request of an internet of things device in the embodiment of the present invention. A worker initiates an Internet of things equipment control request on an application interface, and the Internet of things equipment control request is sent to an Internet of things cloud platform in a general instruction mode. And the Internet of things cloud platform issues the received Internet of things equipment control request to a control center in an edge node in a general instruction form, wherein the edge node is an edge computing node. The control center transmits the Internet of things equipment control request to the designated adapter in a general instruction form, the adapter converts the Internet of things equipment control request into a self-defined instruction form according to the type of the target equipment in the Internet of things equipment control request, and the self-defined instruction form is sent to the target Internet of things equipment according to the identification information of the target Internet of things equipment to complete the instruction issuing process.
In this embodiment, optionally, the method further includes: receiving a second conversion result from any adapter; the second conversion result is obtained by the adapter performing communication protocol conversion and/or data format conversion on the device feedback information received from the internet of things device; and sending a second conversion result to the Internet of things cloud platform.
Specifically, any internet of things device can send device feedback information to the adapter, the adapter obtains a second conversion result according to the device feedback information, and the second conversion result is a universal communication protocol and a universal data format obtained after the adapter performs communication protocol conversion and/or data format conversion on the device feedback information sent by the target internet of things device. The adapter sends the second conversion result to the control center, and the control center sends the second conversion result to the internet of things cloud platform, so that the feedback process of the internet of things equipment to the internet of things cloud platform is completed. The beneficial effects of the arrangement are that the control center does not need to convert the communication protocol and/or data format of the equipment feedback information, and only needs to transmit the converted second conversion result, so that the pressure of the cloud platform of the internet of things is reduced, and the feedback efficiency is improved.
Fig. 4 is a schematic flow chart illustrating reporting of device feedback information in an embodiment of the present invention. The Internet of things equipment reports equipment feedback information in a custom instruction form to the adapter, the equipment feedback information is reported to the control center in a general instruction form after being converted by the adapter, the control center reports the equipment feedback information to the Internet of things cloud platform in the general instruction form, and the Internet of things cloud platform sends the equipment feedback information to the application interface in the general instruction form for information display.
In this embodiment, optionally, the method further includes: responding to an adding request of any Internet of things equipment, and determining the type of the newly added equipment of the Internet of things equipment; determining whether a candidate adapter associated with the type of the newly added equipment exists in the edge computing node; and if not, adding a candidate adapter associated with the type of the newly added equipment in the edge computing node.
Specifically, new internet of things equipment information can be added into the control center, the staff issues an adding request of the internet of things equipment to the internet of things cloud platform, and the internet of things cloud platform sends the adding request of the internet of things equipment to the control center. The adding request of the internet of things device may include identification information of the newly added internet of things device and a type of the newly added device. And the control center acquires the type of the newly added equipment, determines the adapter matched with the type of the newly added equipment, and searches whether the adapter matched with the type of the newly added equipment exists in the candidate adapters in the edge computing node. If the new equipment exists, reporting the new equipment to the cloud platform of the Internet of things to activate the new equipment; and if the new type of adapter does not exist, loading the new type of adapter in the edge computing node as a candidate adapter, establishing the communication connection between the candidate adapter and the newly-added equipment, and reporting the communication connection to the Internet of things cloud platform to complete the activation of the newly-added equipment. The beneficial effect that sets up like this lies in, when adding newly-increased equipment, need not carry out whole renewal to the edge calculation node, has solved prior art, and the problem of edge calculation node frequent upgrading practices thrift the upgrade time, avoids the control delay to thing networking device, improves control efficiency.
According to the embodiment of the invention, the control center receives the control request of the equipment of the Internet of things, the target adapter matched with the target equipment is searched, and the target adapter converts the control request of the equipment of the Internet of things, so that the working pressure of the control center and the cloud platform of the Internet of things is reduced, the transmission time of the control request of the equipment of the Internet of things is saved, and the control efficiency of the equipment of the Internet of things is improved.
EXAMPLE III
Fig. 5 is a block diagram of an internet of things device control apparatus according to a third embodiment of the present invention, which is capable of executing the internet of things device control method according to any embodiment of the present invention, and an adapter configured in an edge computing node has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus specifically includes:
a control request obtaining module 501, configured to obtain an internet of things device control request from a control center of an edge computing node;
a first conversion result obtaining module 502, configured to perform communication protocol conversion and/or data format conversion on the internet of things device control request to obtain a first conversion result;
the first conversion result sending module 503 is configured to send the first conversion result to the associated target internet of things device to indicate the target internet of things device to respond.
Optionally, the internet of things device control request includes identification information of the target internet of things device, a type of the target device, and a target control instruction;
accordingly, the first conversion result obtaining module 502 is specifically configured to:
based on a target communication protocol associated with the type of the target equipment, carrying out communication protocol conversion on the equipment control request of the Internet of things;
and converting the data format of the target control instruction based on the target data format associated with the target equipment type.
Optionally, the apparatus further comprises:
the equipment feedback information receiving module is used for receiving equipment feedback information from any Internet of things equipment;
the second conversion result obtaining module is used for carrying out communication protocol conversion and/or data format conversion on the equipment feedback information to obtain a second conversion result;
and the second conversion result sending module is used for sending a second conversion result to the Internet of things cloud platform through the control center.
According to the embodiment of the invention, the control center of the edge computing node sends the control request of the Internet of things equipment to the target adapter, the target adapter converts the control request of the Internet of things equipment into the receivable communication protocol of the target Internet of things equipment and the recognizable data format, so that the problem that the control center of the edge computing node converts the communication protocol and the data format of all the target Internet of things equipment in the prior art is solved, the working pressure of the control center and the Internet of things cloud platform is reduced, the control center is prevented from being out of order, the equipment control time is saved, and the equipment control efficiency is improved.
Example four
Fig. 6 is a block diagram of an internet of things device control apparatus according to a fourth embodiment of the present invention, which is configured in a control center of an edge computing node and capable of executing the internet of things device control method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus specifically includes:
a control request obtaining module 601, configured to obtain an internet of things device control request from an internet of things cloud platform;
a target adapter selection module 602, configured to select a target adapter from candidate adapters in an edge computing node according to an internet of things device control request;
a control request sending module 603, configured to send an internet of things device control request to a target adapter, so as to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
Optionally, the internet of things device control request includes a target device type;
accordingly, the target adapter selection module 602 is specifically configured to:
and determining the candidate adapter associated with the target equipment type in the edge computing node as the target adapter.
Optionally, the apparatus further comprises:
a second conversion result receiving module, configured to receive a second conversion result from any adapter; the second conversion result is obtained by the adapter performing communication protocol conversion and/or data format conversion on the device feedback information received from the internet of things device;
and the second conversion result sending module is used for sending a second conversion result to the Internet of things cloud platform.
Optionally, the apparatus further comprises:
the device adding module is used for responding to an adding request of any piece of Internet of things equipment and determining the type of the added device of the Internet of things equipment;
the adapter determining module is used for determining whether the edge computing node has a candidate adapter associated with the type of the newly added equipment;
and the adapter adding module is used for adding the candidate adapter associated with the type of the newly added equipment in the edge computing node if the candidate adapter is not added.
According to the embodiment of the invention, the control center receives the control request of the equipment of the Internet of things, the target adapter matched with the target equipment is searched, and the target adapter converts the control request of the equipment of the Internet of things, so that the working pressure of the control center and the cloud platform of the Internet of things is reduced, the transmission time of the control request of the equipment of the Internet of things is saved, and the control efficiency of the equipment of the Internet of things is improved.
EXAMPLE five
Fig. 7 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary computer device 700 suitable for use in implementing embodiments one and three of the present invention. The computer device 700 shown in fig. 7 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer device 700 is in the form of a general purpose computing device. The components of the computer device 700 may include, but are not limited to: one or more processors or processing units 701, a system memory 702, and a bus 703 that couples various system components including the system memory 702 and the processing unit 701.
Bus 703 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 700 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 700 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 702 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)704 and/or cache memory 705. The computer device 700 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 706 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 703 via one or more data media interfaces. Memory 702 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments one and three of the invention.
A program/utility 708 having a set (at least one) of program modules 707 may be stored, for example, in memory 702, such program modules 707 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 707 generally perform the functions and/or methods of the first and third embodiments of the present invention as described herein.
Computer device 700 may also communicate with one or more external devices 709 (e.g., keyboard, pointing device, display 710, etc.), as well as with one or more devices that enable a user to interact with the computer device 700, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 700 to communicate with one or more other computing devices, such communication may occur via input/output (I/O) interface 711, and the computer device 700 may also communicate with one or more networks (e.g., local area network (L AN), Wide Area Network (WAN) and/or a public network, such as the Internet) via network adapter 712. As shown, network adapter 712 communicates with the other modules of the computer device 700 via bus 703. it should be appreciated that, although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with the computer device 700, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and backup data storage systems, etc.
The processing unit 701 executes various functional applications and data processing by running a program stored in the system memory 702, for example, to implement a method for controlling an internet of things device according to the first and third embodiments of the present invention, including:
acquiring an Internet of things equipment control request from a control center of an edge computing node;
performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result;
and sending a first conversion result to the associated target Internet of things equipment to indicate the target Internet of things equipment to respond.
EXAMPLE six
Fig. 8 is a schematic structural diagram of a computer device according to a sixth embodiment of the present invention. Fig. 8 illustrates a block diagram of an exemplary computer device 800 suitable for use in implementing embodiments two and four of the present invention. The computer device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present invention.
As shown in fig. 8, computer device 800 is in the form of a general purpose computing device. The components of computer device 800 may include, but are not limited to: one or more processors or processing units 801, a system memory 802, and a bus 803 that couples various system components including the system memory 802 and the processing unit 801.
Bus 803 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 800 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 800 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 802 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)804 and/or cache memory 805. The computer device 800 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 806 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, and commonly referred to as a "hard drive"). Although not shown in FIG. 8, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 803 by one or more data media interfaces. Memory 802 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments two and four of the invention.
A program/utility 808 having a set (at least one) of program modules 807 may be stored, for instance, in memory 802, such program modules 807 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 807 generally implement the functions and/or methodologies of embodiments two and four described herein.
Computer device 800 may also communicate with one or more external devices 809 (e.g., keyboard, pointing device, display 810, etc.), and may also communicate with one or more devices that enable a user to interact with the computer device 800, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 800 to communicate with one or more other computing devices.
The processing unit 801 executes various functional applications and data processing by running the program stored in the system memory 802, for example, implementing an internet of things device control method provided by the second and fourth embodiments of the present invention, including:
acquiring an Internet of things equipment control request from an Internet of things cloud platform;
selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request;
sending an internet of things device control request to a target adapter to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
EXAMPLE seven
The seventh embodiment of the present invention further provides a storage medium containing computer-executable instructions, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for controlling the internet of things device, provided by the first, third, and fifth embodiments of the present invention, is implemented, and includes:
acquiring an Internet of things equipment control request from a control center of an edge computing node;
performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result;
and sending a first conversion result to the associated target Internet of things equipment to indicate the target Internet of things equipment to respond.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
Example eight
An eighth embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements a method for controlling an internet of things device according to the second, fourth, and sixth embodiments of the present invention, where the method includes:
acquiring an Internet of things equipment control request from an Internet of things cloud platform;
selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request;
sending an internet of things device control request to a target adapter to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (11)

1. An internet of things device control method, performed by an adapter in an edge computing node, the method comprising:
acquiring an Internet of things equipment control request from a control center of an edge computing node;
performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result;
and sending the first conversion result to the associated target Internet of things equipment so as to indicate the target Internet of things equipment to respond.
2. The method of claim 1, wherein the IOT device control request includes identification information of a target IOT device, a target device type, and a target control instruction;
correspondingly, the performing communication protocol conversion and/or data format conversion on the internet of things device control request to obtain a first conversion result includes:
performing communication protocol conversion on the Internet of things equipment control request based on a target communication protocol associated with the target equipment type;
and performing data format conversion on the target control instruction based on the target data format associated with the target equipment type.
3. The method of claim 1, further comprising:
receiving equipment feedback information from any Internet of things equipment;
performing communication protocol conversion and/or data format conversion on the equipment feedback information to obtain a second conversion result;
and sending the second conversion result to an Internet of things cloud platform through the control center.
4. An Internet of things equipment control method, which is executed by a control center in an edge computing node, and comprises the following steps:
acquiring an Internet of things equipment control request from an Internet of things cloud platform;
selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request;
sending the IOT device control request to the target adapter to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
5. The method of claim 4, wherein the IOT device control request comprises a target device type;
correspondingly, according to the internet of things device control request, selecting a target adapter from candidate adapters in an edge computing node includes:
and determining the candidate adapter associated with the target equipment type in the edge computing node as the target adapter.
6. The method of claim 4, further comprising:
receiving a second conversion result from any adapter; the second conversion result is obtained by the adapter performing communication protocol conversion and/or data format conversion on the device feedback information received from the internet of things device;
and sending the second conversion result to the Internet of things cloud platform.
7. The method of claim 4, further comprising:
responding to an adding request of any Internet of things equipment, and determining the type of the newly added equipment of the Internet of things equipment;
determining whether a candidate adapter associated with the type of the newly added equipment exists in the edge computing node;
and if not, adding the candidate adapter associated with the type of the newly added equipment in the edge computing node.
8. An internet of things equipment control apparatus, the apparatus configured as an adapter in an edge computing node, the apparatus comprising:
the control request acquisition module is used for acquiring an Internet of things equipment control request from a control center of the edge computing node;
a first conversion result obtaining module, configured to perform communication protocol conversion and/or data format conversion on the internet of things device control request to obtain a first conversion result;
and the first conversion result sending module is used for sending the first conversion result to the associated target Internet of things equipment so as to indicate the target Internet of things equipment to respond.
9. An internet of things equipment control apparatus, the apparatus being configured at a control center in an edge computing node, the apparatus comprising:
the control request obtaining module is used for obtaining an Internet of things equipment control request from an Internet of things cloud platform;
the target adapter selection module is used for selecting a target adapter from candidate adapters in the edge computing node according to the Internet of things equipment control request;
a control request sending module, configured to send the internet of things device control request to the target adapter to instruct the target adapter to perform the following: performing communication protocol conversion and/or data format conversion on the Internet of things equipment control request to obtain a first conversion result; and sending the first conversion result to the associated target Internet of things equipment.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the internet of things device control method as claimed in any one of claims 1-3 or 4-7 when executing the program.
11. A storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the internet of things device control method of any one of claims 1-3 or 4-7.
CN202010211988.1A 2020-03-24 2020-03-24 Control method, device, equipment and storage medium of Internet of things equipment Pending CN111432000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010211988.1A CN111432000A (en) 2020-03-24 2020-03-24 Control method, device, equipment and storage medium of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010211988.1A CN111432000A (en) 2020-03-24 2020-03-24 Control method, device, equipment and storage medium of Internet of things equipment

Publications (1)

Publication Number Publication Date
CN111432000A true CN111432000A (en) 2020-07-17

Family

ID=71549020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010211988.1A Pending CN111432000A (en) 2020-03-24 2020-03-24 Control method, device, equipment and storage medium of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111432000A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491143A (en) * 2020-11-23 2021-03-12 国网北京市电力公司 Power utilization monitoring method and device for power grid power utilization system
CN112667473A (en) * 2020-12-28 2021-04-16 联想(北京)有限公司 Method, device and computer readable medium for edge terminal resource assessment
CN113300936A (en) * 2021-02-01 2021-08-24 阿里巴巴集团控股有限公司 CDN node, edge node signaling adaptation method, device and storage medium
CN113691605A (en) * 2021-08-18 2021-11-23 深圳市晨北科技有限公司 Data transmission method and device, electronic equipment and storage medium
CN114363430A (en) * 2021-12-24 2022-04-15 北京金山云网络技术有限公司 Device control method, device, system, storage medium and electronic device
CN115134632A (en) * 2021-03-25 2022-09-30 中国移动通信集团安徽有限公司 Video code rate control method, device, medium and Content Delivery Network (CDN) system
CN115134391A (en) * 2022-05-30 2022-09-30 青岛海尔智慧生活电器有限公司 Equipment control method and device of non-Internet-of-things equipment
CN115589433A (en) * 2022-11-23 2023-01-10 北京大学 Data processing method, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108294A (en) * 2011-11-10 2013-05-15 中国电信股份有限公司 Data forwarding processing method and gateway equipment and communication system
CN108667924A (en) * 2018-04-18 2018-10-16 大连理工大学 A kind of gateway device method for building up that edge calculations service is provided
CN110351378A (en) * 2019-07-17 2019-10-18 深圳市智物联网络有限公司 A kind of control method and system of internet of things equipment
CN110365541A (en) * 2019-07-31 2019-10-22 腾讯科技(深圳)有限公司 Generation method, instruction sending method and the device of corresponding relationship in a kind of gateway
CN110891057A (en) * 2019-11-22 2020-03-17 北京启迪区块链科技发展有限公司 Protocol conversion method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108294A (en) * 2011-11-10 2013-05-15 中国电信股份有限公司 Data forwarding processing method and gateway equipment and communication system
CN108667924A (en) * 2018-04-18 2018-10-16 大连理工大学 A kind of gateway device method for building up that edge calculations service is provided
CN110351378A (en) * 2019-07-17 2019-10-18 深圳市智物联网络有限公司 A kind of control method and system of internet of things equipment
CN110365541A (en) * 2019-07-31 2019-10-22 腾讯科技(深圳)有限公司 Generation method, instruction sending method and the device of corresponding relationship in a kind of gateway
CN110891057A (en) * 2019-11-22 2020-03-17 北京启迪区块链科技发展有限公司 Protocol conversion method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANATOLIJS ZABASTA: "《Smart municipal systems and services platform development》", 《2016 17TH INTERNATIONAL CONFERENCE ON MECHATRONICS - MECHATRONIKA (ME)》 *
谢佳柏: "《基于低功耗蓝牙和WebSocket的物联网数据网关》", 《仪表技术与传感器》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491143A (en) * 2020-11-23 2021-03-12 国网北京市电力公司 Power utilization monitoring method and device for power grid power utilization system
CN112667473A (en) * 2020-12-28 2021-04-16 联想(北京)有限公司 Method, device and computer readable medium for edge terminal resource assessment
CN113300936A (en) * 2021-02-01 2021-08-24 阿里巴巴集团控股有限公司 CDN node, edge node signaling adaptation method, device and storage medium
CN113300936B (en) * 2021-02-01 2023-04-14 阿里巴巴集团控股有限公司 CDN node, edge node signaling adaptation method, device and storage medium
CN115134632A (en) * 2021-03-25 2022-09-30 中国移动通信集团安徽有限公司 Video code rate control method, device, medium and Content Delivery Network (CDN) system
CN115134632B (en) * 2021-03-25 2024-04-09 中国移动通信集团安徽有限公司 Video code rate control method, device, medium and content delivery network CDN system
CN113691605A (en) * 2021-08-18 2021-11-23 深圳市晨北科技有限公司 Data transmission method and device, electronic equipment and storage medium
CN114363430A (en) * 2021-12-24 2022-04-15 北京金山云网络技术有限公司 Device control method, device, system, storage medium and electronic device
CN115134391A (en) * 2022-05-30 2022-09-30 青岛海尔智慧生活电器有限公司 Equipment control method and device of non-Internet-of-things equipment
CN115589433A (en) * 2022-11-23 2023-01-10 北京大学 Data processing method, device and computer readable storage medium
CN115589433B (en) * 2022-11-23 2023-05-30 北京大学 Data processing method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN111432000A (en) Control method, device, equipment and storage medium of Internet of things equipment
CN110891057B (en) Protocol conversion method, device, equipment and storage medium
CN109669787B (en) Data transmission method and device, storage medium and electronic equipment
CN109101664B (en) Data transmission method, device, equipment and medium for lightweight node
CN110263277B (en) Page data display method, page data updating device, page data equipment and storage medium
CN108280020B (en) Monitoring method and device of computer equipment, terminal and computer storage medium
CN107817962B (en) Remote control method, device, control server and storage medium
CN111614757A (en) Message interaction method, device, equipment and medium for client and server
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN111818145B (en) File transmission method, device, system, equipment and storage medium
CN112276943A (en) Robot teaching control method, teaching control system, computer device, and medium
WO2021190659A1 (en) System data acquisition method and apparatus, and medium and electronic device
CN112966824A (en) Deployment method and device of inference library and electronic equipment
CN111737564A (en) Information query method, device, equipment and medium
EP4095686A2 (en) Method for switching skin of mini-program page, and electronic device
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN109086097B (en) Method and device for starting small program, server and storage medium
CN111510499B (en) Communication method, device, equipment and storage medium
CN111324364A (en) Method, device, equipment and storage medium for equipment management
CN110377476A (en) Terminal test method, terminal and readable storage medium storing program for executing
CN113778455B (en) Code conversion method and device, electronic equipment and storage medium
CN110515807B (en) Database table monitoring method, device, equipment and storage medium
CN110365763B (en) Data synchronization method, device, equipment and storage medium
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN112187842B (en) Local area network data processing system and local area network data processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220921

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200717

RJ01 Rejection of invention patent application after publication