CN114466048B - Method, device and storage medium for data transfer between Internet of things platforms - Google Patents
Method, device and storage medium for data transfer between Internet of things platforms Download PDFInfo
- Publication number
- CN114466048B CN114466048B CN202210224475.3A CN202210224475A CN114466048B CN 114466048 B CN114466048 B CN 114466048B CN 202210224475 A CN202210224475 A CN 202210224475A CN 114466048 B CN114466048 B CN 114466048B
- Authority
- CN
- China
- Prior art keywords
- data
- internet
- platform
- things
- protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/2866—Architectures; Arrangements
- H04L67/30—Profiles
- H04L67/306—User profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
The method comprises the steps of obtaining data transfer requirements among the Internet of things platforms, determining a data forwarding rule based on the data transfer requirements, presetting a group of network components for a candidate range of Internet of things protocols adopted by the Internet of things platforms for data transfer, and selecting and adapting the network components for data transfer from the group of network components based on the Internet of things protocols adopted by the data receiving platforms. The method also includes configuring the network components and the data forwarding rules based on the configuration mode input by the user, so that the data are transferred from the data sending platform to the data receiving platform. The method disclosed by the invention does not need to redevelop the Internet of things protocol of the data receiving platform, provides multiple configuration modes for users, can improve the difficulty of network component configuration and data flow rule configuration, and is more friendly in interface and more convenient and faster to operate.
Description
Technical Field
The present disclosure relates to the field of internet of things, and more particularly, to a method, an apparatus, and a storage medium for data transfer between platforms of internet of things.
Background
An existing internet of things gateway platform is generally configured with a data transfer module for forwarding messages reported by internet of things devices. In order to realize data transfer among different internet of things devices, a data forwarding rule needs to be preset so that data forwarding can be performed according to the data forwarding rule after data of a platform sending the data is reported.
In the existing internet of things gateway platform, the above processes are all completed by means of script development, and particularly when communication protocols and the like adopted by internet of things equipment which needs to send and receive data are not matched, the development needs to be carried out according to the protocols used by the equipment, even if the data flow rules are configured in a script mode based on the existing protocols, higher requirements are provided for the professional degree and programming/script writing capability of configurators, and meanwhile, the configuration is required to be very familiar with the object model and the like of the equipment, so that the method is not friendly to operators without strong programming/script writing experience.
Disclosure of Invention
The present disclosure is provided to solve the above-mentioned problems occurring in the prior art.
A method for data transfer between internet of things platforms is needed, which can utilize a candidate range of ready-to-use internet of things protocols that can be adopted by the first internet of things platform and the second internet of things platform, preset a set of network components, obtain the internet of things protocol adopted by a current actual data receiving platform, select and adapt a first network component from the set of network components, configure the first network component and a data forwarding rule in a manner including manual configuration, and finally forward the data to the data receiving platform by using the configured first network component, thereby implementing data transfer.
According to a first aspect of the present disclosure, a method for data transfer between internet of things platforms is provided, where the method for data transfer between internet of things platforms may be performed by at least one processor, and data transfer is performed between a first internet of things platform and a second internet of things platform through the following processes. The method can include acquiring a data flow requirement between the first internet of things platform and the second internet of things platform, wherein the data flow requirement defines at least one of a data sending platform and a data receiving platform, and a target device, a target time period, a target area and a digital attribute of the target device in a platform associated with the data flow. The method may also include determining a data forwarding rule based on the data flow requirement. The method may further include presetting a set of network components for candidate ranges of internet of things protocols to be adopted by the first internet of things platform and the second internet of things platform. The method may further include obtaining an internet of things protocol employed by the data receiving platform, selecting and adapting a first network component from the set of network components. The method may also include receiving user input of the configuration. The method may further include configuring the first network component and the data forwarding rule based on the received configuration of the user input such that data is streamed from the first internet of things platform as a data transmitting platform to the second internet of things platform as a data receiving platform and/or data is streamed from the second internet of things platform as a data transmitting platform to the first internet of things platform as a data receiving platform.
According to a second aspect of the present disclosure, an apparatus for data transfer between internet of things platforms may include an interface configured to obtain a data transfer requirement between the first internet of things platform and the second internet of things platform, wherein the data transfer requirement defines at least one of a data transmission platform, a data reception platform, and a target device, a target period, a target area, and a digitization attribute of the target device in a platform associated with transferred data; the apparatus may include at least one processor, and the processor may be configured to obtain a data flow requirement between the first internet of things platform and the second internet of things platform, where the data flow requirement defines at least one of a data sending platform and a data receiving platform, and a target device, a target period, a target area, and a digitization property of the target device in the platform associated with the flowed data. The processor may be further configured to determine a data forwarding rule based on the data flow requirement. The processor may be further configured to preset a set of network components for a candidate range of internet of things protocols to be used by the first internet of things platform and the second internet of things platform. The processor may be further configured to obtain an internet of things protocol employed by the data receiving platform, select and adapt a first network component from the set of network components. The processor may be further configured to receive user input of the configuration mode. The processor may be further configured to configure the first network component and the data forwarding rule based on a configuration of the received user input such that data is streamed from the first internet of things platform as a data sending platform to the second internet of things platform as a data receiving platform and/or data is streamed from the second internet of things platform as a data sending platform to the first internet of things platform as a data receiving platform.
According to a third aspect of the present disclosure, there is provided a non-transitory computer readable medium having instructions stored thereon, which when executed by a processor, implement the steps of the method for data flow between internet of things platforms according to various embodiments of the present disclosure. The method can include acquiring a data flow requirement between the first internet of things platform and the second internet of things platform, wherein the data flow requirement defines at least one of a data sending platform and a data receiving platform, and a target device, a target time period, a target area and a digital attribute of the target device in a platform associated with the data flow. The method may also include determining a data forwarding rule based on the data flow requirement. The method may further include presetting a set of network components for a candidate range of internet of things protocols to be adopted by the first internet of things platform and the second internet of things platform. The method may further include obtaining an internet of things protocol employed by the data receiving platform, selecting and adapting a first network component from the set of network components. The method may also include receiving user input of the configuration. The method may further include configuring the first network component and the data forwarding rule based on the received configuration of the user input such that data is streamed from the first internet of things platform as a data transmitting platform to the second internet of things platform as a data receiving platform and/or data is streamed from the second internet of things platform as a data transmitting platform to the first internet of things platform as a data receiving platform.
By using the method, the device and the storage medium for data transfer between the internet of things platforms according to the embodiments of the present disclosure, the candidate range of the internet of things protocol can be determined according to the knowledge of a user about the internet of things platform related to a certain device, a group of network components is preset, the corresponding internet of things protocol is obtained according to the current actual data receiving platform, the first network component adapted to the current actual data receiving platform is determined, and finally the data is forwarded to the data receiving platform by using the configured first network component, so that data transfer is realized. Through the mode, the Internet of things protocol used by the data transfer equipment does not need to be re-developed, the data transfer rule and the manual configuration mode of the network component required by the data transfer can be provided for a user, and compared with an original single mode based on script configuration, the friendliness and convenience of network component configuration and data transfer rule configuration are greatly improved.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar parts throughout the different views. The drawings illustrate various embodiments generally by way of example and not by way of limitation, and together with the description and claims serve to explain the disclosed embodiments. The same reference numbers will be used throughout the drawings to refer to the same or like parts, where appropriate. Such embodiments are illustrative and not intended to be exhaustive or exclusive embodiments of the present apparatus or method.
Fig. 1 shows a flowchart of a method for data flow between internet of things platforms according to an embodiment of the present disclosure.
Fig. 2 shows a flowchart of a method for data flow between internet of things platforms according to an embodiment of the present disclosure.
FIG. 3 illustrates a schematic diagram of an interface for adding and manually configuring network components according to an embodiment of the disclosure.
Fig. 4 shows a schematic diagram of an interface for manually configuring data forwarding rules, according to an embodiment of the present disclosure.
FIG. 5 is a schematic diagram illustrating an interface for manually configuring data forwarding rules, according to another possible embodiment.
FIG. 6 is a schematic diagram illustrating an interface for manually configuring data forwarding rules, according to yet another possible embodiment.
FIG. 7 shows a schematic diagram of an interface for a script to configure data forwarding rules, according to an embodiment of the present disclosure.
FIG. 8 is a schematic diagram illustrating an interface for a script to configure data forwarding rules, according to yet another possible embodiment.
Fig. 9 shows a block diagram of an apparatus for data flow between internet of things platforms according to an embodiment of the present disclosure.
Detailed Description
For a better understanding of the technical aspects of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings. Embodiments of the present disclosure are described in further detail below with reference to the figures and the detailed description, but the present disclosure is not limited thereto. The order in which the various steps described herein are described as examples should not be construed as a limitation if there is no requirement for a contextual relationship between each other, and one skilled in the art would know that sequential adjustments may be made without destroying the logical relationship between each other, rendering the overall process impractical.
Fig. 1 and 2 each show a flowchart of a method for data flow between internet of things platforms according to an embodiment of the present disclosure. As shown in fig. 1 and fig. 2, the method for data transfer between internet of things platforms according to the embodiment of the present disclosure includes that at least one processor performs data transfer between a first internet of things platform and a second internet of things platform by following a process, where the data transfer may be unidirectional or bidirectional, that is, the first internet of things platform may serve as a data sending platform, the sent data transfer is transferred to the second internet of things platform, and the second internet of things platform may also serve as a data sending platform, and the sent data transfer is transferred to the first internet of things platform. In addition, the first internet of things platform and the second internet of things platform can be one or more, in other words, the data flow can be any one of single-sending single-receiving, single-sending multiple-receiving, multiple-sending single-receiving and multiple-sending multiple-receiving.
In some embodiments, the method for data transfer between internet of things platforms starts with step S1, obtaining a data transfer requirement between the first internet of things platform and the second internet of things platform, where the data transfer requirement defines at least one of a data sending platform and a data receiving platform, and a target device, a target period, a target area, and a digital attribute of the target device in a platform associated with transferred data.
In some embodiments, the data flow requirement may be issued by a first internet of things platform or a second internet of things platform, and is not specifically limited herein. And defining which one of the first Internet of things platform and the second Internet of things platform is used as a data sending platform and which one is used as a data receiving platform according to the data transfer requirement, and meanwhile, determining the target equipment, the target time period, the target area and the digital attributes of the target equipment in the platform related to the transferred data. By way of example only, the target device may be at least one of a lighting device, an environmental monitoring device, a communication device, a gateway device, and a display device, among others. In this embodiment, taking the target device as an example of a lighting device, the digitized attributes of the target device may include, but are not limited to, the number of controller connections, the total number of slave controllers, the current playing file, the video type, the playing speed, the resource number, and the like.
Next, in step S2, a data forwarding rule may be determined based on the data flow requirement (as in step S201), wherein the data forwarding rule may be used to template the data flow requirement, for example, defined by text, and match the data flow requirement to the formatted data forwarding rule.
Then, in step S3, a set of network components may be preset for candidate ranges of the internet of things protocols that the first internet of things platform and the second internet of things platform will adopt. The candidate range of the internet of things protocol to be adopted refers to the internet of things protocol which is possibly adopted, and the candidate range of the internet of things protocol can be determined according to the knowledge condition of a user on the internet of things platform related to a certain device. In one embodiment, the possible internet of things protocol includes, but is not limited to, one of HTTP protocol, MQTT protocol, coAP protocol, socket protocol, TCP protocol, and FTP protocol, and thus, the preset set of network components includes, but is not limited to, one of HTTP client, MQTT client, coAP client, webSocket client, TCP client, and FTP client. Specifically, in this embodiment, it is assumed that the first internet of things platform sends data to the second internet of things platform by using an HTTP protocol, and the type of the network component configured on the first internet of things platform is an HTTP client type.
Then, in step S4, an internet of things protocol adopted by the data receiving platform may be obtained, and the first network component may be selected from the group of network components and adapted. Specifically, when the internet of things protocol adopted by the data receiving platform is a standard internet of things protocol, network components using the same network protocol can be found from a set of preset network components, and at this time, the network components are directly selected and can be used in the next step by performing specific configuration according to relevant information such as IP addresses of the first internet of things platform and the second internet of things platform. In other embodiments, the data receiving platform may use a network protocol that is not a standard internet of things protocol, but is, for example, an improved or modified network protocol, in which case the closest network component (e.g., a network component using the same family of network protocols) may be selected from a group of network components and then adapted to the data receiving platform.
In one embodiment, a user may be provided with a list of network components for a pre-set of network components. The user can view the information and specific configuration of each network component in the list and perform editing, debugging, stopping, etc. operations on the preset (i.e., previously established) network components.
Next, in step S5, a user input for a configuration mode may be received, and in step S6, the first network component and the data forwarding rule are configured based on the configuration mode of the received user input, so that data is circulated from the first internet of things platform as a data transmission platform to the second internet of things platform as a data reception platform, and/or data is circulated from the second internet of things platform as a data transmission platform to the first internet of things platform as a data reception platform.
In other embodiments, when data of the data sending platform is received, the data may be further matched with the configured data forwarding rule (as in step S204), and if the matching is successful, the data is forwarded to the data receiving platform by using the configured first network component, that is, the data sending platform reports data (as in step S202), the data reporting data is stored in Kafka (as in step S203, where Kafka is a high-throughput distributed publish-subscribe message system, which may process all action flow data of a consumer in a website), the data is matched with the configured data forwarding rule (as in step S204), and if the matching is successful, the data is forwarded (streamed) to the data receiving platform by using the configured first network component (as in step S205) (as in step S206).
It should be understood that, the target device may also use a non-standard internet of things protocol, and in other embodiments, when there is no network component corresponding to the internet of things protocol, the presetting a set of network components for the candidate range of internet of things protocols to be used by the first internet of things platform and the second internet of things platform further includes: and newly building the network component, and setting the type of the network protocol used by the network component as the Internet of things protocol.
In some embodiments, embodiments according to the present disclosure may provide a first way for a user to configure network components and data forwarding rules, i.e., a manual configuration way. FIG. 3 illustrates a schematic diagram of an interface for adding and manually configuring network components according to an embodiment of the disclosure. As shown in fig. 3, when a network component with an HTTP client is newly created, items such as a component name, a usage, a component type, baseUrl, whether SSL is turned on, whether HOST is verified, whether all certificates are trusted, and a description of the network component need to be set, where, for example, a component type matching a network protocol type used by an internet-of-things device receiving data may be selected from the component types. Specifically, by way of example only, when the network protocol used by the internet of things device receiving the data is the HTTP protocol, the component type may be set to the HTTP client accordingly. After the setting of the newly added network component is completed, the newly added network component can be stored, so that the network component can be called according to the component name when the data flow is carried out next time by adopting the Internet of things equipment with the same or similar network protocol.
According to the embodiment of the disclosure, a plurality of modes for configuring the network components and the data forwarding rules are provided for the user, for example, the user can input a desired configuration mode, such as a first mode (manual configuration mode), a second mode (script configuration mode) and the like, by clicking on an interface with a mouse and the like. In some embodiments, manually configuring may include providing drop-down box options for configuring the first network component and the data forwarding rules on an interface such that a user may easily complete manual configuration of the first network component and the data forwarding rules by clicking without requiring the writing of extensive scripts or code.
Fig. 4-6 show schematic diagrams of interfaces for manually configuring data forwarding rules, according to embodiments of the present disclosure. In fig. 4, taking a data sending device as an example of an illumination device, when a data forwarding rule is manually added and configured, a rule name, an editing mode, data selection (including device selection, attribute selection, and the like), forwarding configuration, and description of the rule need to be set, where the editing mode needs to be selected for manual addition, the device selection needs to select or input the type (illumination device) and specific model (x 13 edge) of the data sending device, and the attribute selection can define the items and detailed settings of the digitized attributes of the specific device that needs to perform data streaming. When configuring the data forwarding rule, a network component used by the target device in association may also be specified, for example, an HTTP client shown in fig. 4, and the specific setting is determined according to an internet of things protocol used by the data receiving device, which is not listed here.
In fig. 5, taking the data sending device as the gateway sub-device as an example, when the data forwarding rule is manually added and configured, the rule name, the editing mode, the data selection (including device selection, selection attribute, and the like), the forwarding configuration, and the description of the rule also need to be set, different from fig. 4, the type of the data sending device is selected as the gateway sub-device, the device model (or subtype) is the gateway sub-device 1, and the selection attribute frame is selected to stream the brightness attribute data of the gateway sub-device 1. Similar to fig. 4, in fig. 5, an MQTT client is selected according to an internet of things protocol (MQTT protocol) adopted by the data receiving device.
Fig. 6 is an example similar to fig. 4 and 5, but in the rule set in fig. 6, the data transmission platform is a light control device (light control 1), and the specific attribute data to be subjected to data streaming is luminance data. The network component used by the lamp control 1 device in fig. 6 to perform data flow is an HTTP client.
In some embodiments, embodiments according to the present disclosure may further provide a second way for a user to configure network components and the data forwarding rules, i.e., a script configuration way. Fig. 7 and 8 show schematic diagrams of interfaces for a script to configure data forwarding rules, according to embodiments of the present disclosure. FIG. 7 illustrates a schematic diagram of an interface for a script to configure data forwarding rules, according to an embodiment of the disclosure. FIG. 8 illustrates a schematic diagram of an interface for a script to configure data forwarding rules, according to yet another embodiment. In some embodiments, the script configuration manner may further include providing an object model of the device of the data transmission platform on the interface, specifically as shown in the table at the lower right of fig. 7 and the table at the lower right of fig. 8, where the object model at least includes the digital attributes of the device, for example, as shown in the table at the lower right of fig. 7, and in the case where the target device is a lighting device, the digital attributes of the device include, but are not limited to, the number of controller connections, the total number of distributed controllers, the current playing file, the video type, the playing speed, and the like. As another example, the digitized attributes of the device may also include brightness and light on, etc., as shown in the lower right table of FIG. 8. By directly calling the digital attribute, a user can conveniently and rapidly script the first network component and the data forwarding rule, so that the script configuration of the network component and the data forwarding rule is completed.
In some embodiments, the second mode further includes providing an interactive mode allowing a user to add and/or delete a digital attribute of a device on an interface, for example, a shortcut button 701 in fig. 7, and in response to the user operating the shortcut button, adding the digital attribute of the device corresponding to the operation to the script or deleting the digital attribute of the device from the script, so that the digital attribute of the device corresponding to the operation can be quickly added to the script or deleted from the script, thereby reducing difficulty of script writing for the user and improving efficiency of script writing. Although not shown in fig. 7 or 8, it should be understood that the addition and configuration of network components may also be accomplished in a similar manner by scripting.
According to the method of the embodiment of the disclosure, the user can realize the newly added rule in two modes of a manual configuration mode and a script configuration mode, and the manual configuration mode can enable the user to conveniently realize the rule configuration through simple click selection. The script configuration mode can enable a user to configure the mode rule through a self-defined script, a visual object model interface is provided, the user can quickly acquire the attribute of the object model to be forwarded, and the writing difficulty of the script is reduced. Although the script configuration mode still requires the user to have corresponding script development experience, the object model of the equipment can be provided for the user in the script configuration interface, so that the requirement on the professional degree of a script writer is reduced, the user can rapidly and accurately configure the script through a quick operation button 701 and the like similar to the one shown in fig. 7, the interface is more friendly, and the script writing difficulty is reduced. The manual configuration method provided by the embodiment of the present disclosure further does not require a user to have special program/script development experience and a high degree of professional field knowledge, and can implement manual configuration of rules only by clicking selection, simple input and other operations on a manual configuration interface.
In some embodiments, when the data receiving platform corresponding to the data sending platform is at least one (a plurality of) of platforms, obtaining the internet of things protocol adopted by the data receiving platform, and selecting and adapting a first network component from the set of network components further comprises: acquiring an internet of things protocol adopted by each data receiving platform, and selecting and adapting a first network component corresponding to the internet of things protocol adopted by each data receiving platform from the group of network components; when the number of the data receiving platforms is multiple, the actually adopted internet of things protocol of each data receiving platform selects and adapts the first network component corresponding to the internet of things protocol adopted by each data receiving platform from the group of network components.
In the above case, forwarding the data to the data receiving platform by using the configured first network component further comprises: and forwarding the data to each data receiving platform by using the configured first network component corresponding to the internet of things protocol adopted by each data receiving platform, so that each data receiving platform can receive the data.
In this embodiment, the method further includes: and setting an adopted encryption transmission mode for the first network component so as to improve the security of data transmission. In other embodiments, a specific encryption transmission mode can be modularly packaged, and the network component and the encryption transmission mode are configured in a module assembly mode in a combined mode, so that higher flexibility can be provided for the configuration of the network component of the data receiving platform.
Fig. 9 shows a block diagram of components of an apparatus for data flow between internet of things platforms according to an embodiment of the disclosure. As shown in fig. 9, a data streamer 900 according to an embodiment of the disclosure may include at least an interface 906 and a processor 901. The interface 906 may be configured to obtain a data flow requirement between the first internet of things platform and the second internet of things platform, wherein the data flow requirement defines at least one of a target device, a target period, a target area, and a digitized attribute of the target device in a data sending platform, a data receiving platform, and a platform associated with the flowed data. The processor 901 may be configured to: the method for data circulation among the Internet of things platforms is implemented according to various embodiments of the disclosure.
Through this interface 906, devices for data flow between internet of things platforms may be connected to a network (not shown), such as but not limited to a local area network or the internet. However, the communication mode implemented by the interface 906 is not limited to a network, and may include NFC, bluetooth, WIFI, and the like; either wired or wireless. Taking a network as an example, the interface 906 may connect devices for data flow between internet of things platforms, external devices of the first internet of things platform 907 and the second internet of things platform 908.
In some embodiments, data streamer 900 may be a dedicated intelligent device or a general purpose intelligent device. For example, the data streaming apparatus 900 may be a computer customized for data acquisition and data streaming tasks, or a server placed in a cloud.
The data streaming apparatus 900 may comprise a processor 901 and a memory 903 and may additionally comprise an input/output 902.
The processor 901 may be communicatively coupled to the memory 903 and configured to execute computer-executable instructions stored therein. The memory 903 may include Read Only Memory (ROM), flash memory, random Access Memory (RAM), dynamic Random Access Memory (DRAM) such as Synchronous DRAM (SDRAM) or Rambus DRAM, static memory (e.g., flash memory, static random access memory), etc., on which computer-executable instructions are stored in any format. In some embodiments, the memory 903 may store computer-executable instructions of one or more data flow programs 904. The computer program instructions may be accessed by processor 901, read from ROM or any other suitable memory location, and loaded into RAM for execution by processor 901. For example, the memory 903 may store one or more software applications. The software applications stored in the memory 903 may include, for example, an operating system (not shown) for a general computer system and an operating system for a soft control device.
Further, the memory 903 may store the entire software application or only a portion of the software application (e.g., the data flow program 904) that is executable by the processor 901.
Further, the memory 903 may store data generated/buffered when executing the computer program, e.g., data 905 needs to be circulated between the first internet of things platform 907 and the second internet of things platform 908.
The input/output 902 may be configured to allow the data streaming apparatus 900 to receive and/or transmit data. Input/output 902 may include one or more digital and/or analog communication devices that allow the device to communicate with a user or other machines and devices. For example, input/output 902 may include a keyboard and mouse that allow a user to provide input.
Interface 906 may include a network adapter, cable connector, serial connector, USB connector, parallel connector, high speed data transmission adapter such as fiber optic, USB 6.0, lightning, wireless network adapter such as Wi-Fi adapter, telecom (6G, 4G/LTE, etc.) adapter. The device may connect to a network through interface 906. The network may provide a Local Area Network (LAN), a wireless network, a cloud computing environment (e.g., as software for a service, as a platform for a service, as infrastructure for a service, etc.), a client-server, a Wide Area Network (WAN), etc.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer-readable and executable instructions, which when executed by a processor, implement the steps of the method for data flow of an internet of things gateway platform according to the foregoing embodiments. The storage medium may include read-only memory (ROM), flash memory, random-access memory (RAM), dynamic random-access memory (DRAM) such as Synchronous DRAM (SDRAM) or Rambus DRAM, static memory (e.g., flash memory, static random-access memory), etc., on which computer-executable instructions may be stored in any format.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the disclosure with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be utilized by those of ordinary skill in the art upon reading the foregoing description. In addition, in the foregoing detailed description, various features may be grouped together to streamline the disclosure. This should not be interpreted as an intention that a non-claimed disclosed feature is essential to any claim. Rather, the subject matter of the present disclosure may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above embodiments are only exemplary embodiments of the present disclosure, and are not intended to limit the present invention, the scope of which is defined by the claims. Various modifications and equivalents may be made thereto by those skilled in the art within the spirit and scope of the present disclosure, and such modifications and equivalents should be considered to be within the scope of the present invention.
Claims (10)
1. A method for data flow among Internet of things platforms is characterized by comprising the following steps of performing data flow between a first Internet of things platform and a second Internet of things platform through at least one processor:
acquiring a data flow requirement between the first internet of things platform and the second internet of things platform, wherein the data flow requirement defines at least one of a data sending platform, a data receiving platform, target equipment in a platform related to the data to be transferred, a target time period, a target area and a digital attribute of the target equipment;
determining a data forwarding rule based on the data flow requirement;
presetting a group of network components for the candidate range of the IOT protocol adopted by the first IOT platform and the second IOT platform;
acquiring an internet of things protocol adopted by the data receiving platform, and selecting and adapting a first network component from the group of network components;
receiving the input of a user to a configuration mode;
configuring the first network component and the data forwarding rule based on the received configuration mode of the user input, so that data flows from the first internet of things platform serving as a data sending platform to the second internet of things platform serving as a data receiving platform and/or data flows from the second internet of things platform serving as a data sending platform to the first internet of things platform serving as a data receiving platform;
the configuration mode comprises a first mode and a second mode, wherein,
the first mode is a manual configuration mode, and comprises the steps of providing a drop-down box option for each configuration of the first network component and the data forwarding rule on an interface, so that a user completes the manual configuration of the first network component and the data forwarding rule through clicking;
the second mode is a script configuration mode, and comprises providing an object model of the equipment of the data sending platform on an interface, wherein the object model at least comprises the digital attribute of the equipment, so that a user can complete script configuration of the first network component and the data forwarding rule by directly calling the digital attribute.
2. The method according to claim 1, wherein when receiving data of the data sending platform, matching the data with the configured data forwarding rule, and if matching is successful, forwarding the data to the data receiving platform by using the configured first network component.
3. The method of claim 2, wherein the number of the data receiving platforms corresponding to the data sending platform is at least one, obtaining an internet of things protocol used by the data receiving platforms, and selecting and adapting a first network component from the set of network components further comprises:
acquiring the Internet of things protocol adopted by each data receiving platform, and selecting and adapting a first network component corresponding to the Internet of things protocol adopted by each data receiving platform from the group of network components;
forwarding, with the configured first network component, the data to the data receiving platform further comprises: and forwarding the data to each data receiving platform by using the configured first network component corresponding to the internet of things protocol adopted by each data receiving platform.
4. The method of claim 1, wherein the second mode further comprises providing a button on the interface that allows a user to add and/or delete a digitized attribute of a device, and wherein in response to a user operating the button, the digitized attribute of the device corresponding to the operation is added to or deleted from the script.
5. The method of claim 1, wherein presetting a set of network components for a candidate range of internet of things protocols to be adopted by the first internet of things platform and the second internet of things platform further comprises:
and when no network component corresponding to the IOT protocol exists, newly establishing the network component, and setting the type of the network protocol used by the network component as the IOT protocol.
6. The method of claim 1, wherein the IOT protocol comprises at least one of HTTP protocol, MQTT protocol, coAP protocol, socket protocol, TCP protocol and FTP protocol.
7. The method of claim 1, wherein the target device is at least one of a lighting device, an environmental monitoring device, a communication device, a gateway device, a display device;
when the target device is a lighting device, the digital attribute of the target device is at least one of the number of connected controllers, the total number of sub-controllers, a current playing file, a video type, a playing speed and a resource number.
8. The method of claim 1, further comprising: and setting an adopted encryption transmission mode for the first network component.
9. A device that is used for data circulation between thing networking platform, its characterized in that includes:
an interface configured to obtain a data flow requirement between the first internet of things platform and the second internet of things platform, wherein the data flow requirement defines at least one of a target device, a target time period, a target area, and a digitized attribute of the target device in a data transmission platform, a data reception platform, and a platform associated with the data being flowed;
at least one processor configured to perform the method for data flow between internet of things platforms of any one of claims 1 to 8.
10. A non-transitory computer-readable medium having instructions stored thereon, which when executed by a processor implement the method for data flow between internet of things platforms of any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210224475.3A CN114466048B (en) | 2022-03-09 | 2022-03-09 | Method, device and storage medium for data transfer between Internet of things platforms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210224475.3A CN114466048B (en) | 2022-03-09 | 2022-03-09 | Method, device and storage medium for data transfer between Internet of things platforms |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114466048A CN114466048A (en) | 2022-05-10 |
CN114466048B true CN114466048B (en) | 2023-01-13 |
Family
ID=81417509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210224475.3A Active CN114466048B (en) | 2022-03-09 | 2022-03-09 | Method, device and storage medium for data transfer between Internet of things platforms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114466048B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024059A (en) * | 2012-12-19 | 2013-04-03 | 北京时代凌宇科技有限公司 | Middleware system of Internet of Things |
CN109889551A (en) * | 2019-04-16 | 2019-06-14 | 湖南树华环保科技有限公司 | A kind of method of the Internet of Things cloud platform of Intelligent hardware access |
CN112055062A (en) * | 2020-08-21 | 2020-12-08 | 深圳市信锐网科技术有限公司 | Data communication method, device, equipment and readable storage medium |
CN113347611A (en) * | 2021-05-17 | 2021-09-03 | 佳讯飞鸿(北京)智能科技研究院有限公司 | Internet of things M2M communication method and device and electronic equipment |
CN113485206A (en) * | 2021-08-06 | 2021-10-08 | 时代云英(重庆)科技有限公司 | Extensible Internet of things system and method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017095741A1 (en) * | 2015-11-30 | 2017-06-08 | Yeshog, Llc | A hardware agnostic platform for transparent access control of internet of everything (ioe) destinations |
WO2018095416A1 (en) * | 2016-11-24 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Information processing method, device and system |
US10433134B2 (en) * | 2017-01-24 | 2019-10-01 | Arris Enterprises Llc | Video gateway as an internet of things mesh enhancer apparatus and method |
US20220027417A1 (en) * | 2020-07-17 | 2022-01-27 | Rapidsos, Inc. | Modular application programming interface system |
CN113778983A (en) * | 2021-08-16 | 2021-12-10 | 济南浪潮智投智能科技有限公司 | Internet of things equipment and data standardized access and summary presentation method |
CN113805867B (en) * | 2021-08-24 | 2024-03-19 | 中通服咨询设计研究院有限公司 | Internet of things platform based on visual static script engine |
-
2022
- 2022-03-09 CN CN202210224475.3A patent/CN114466048B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024059A (en) * | 2012-12-19 | 2013-04-03 | 北京时代凌宇科技有限公司 | Middleware system of Internet of Things |
CN109889551A (en) * | 2019-04-16 | 2019-06-14 | 湖南树华环保科技有限公司 | A kind of method of the Internet of Things cloud platform of Intelligent hardware access |
CN112055062A (en) * | 2020-08-21 | 2020-12-08 | 深圳市信锐网科技术有限公司 | Data communication method, device, equipment and readable storage medium |
CN113347611A (en) * | 2021-05-17 | 2021-09-03 | 佳讯飞鸿(北京)智能科技研究院有限公司 | Internet of things M2M communication method and device and electronic equipment |
CN113485206A (en) * | 2021-08-06 | 2021-10-08 | 时代云英(重庆)科技有限公司 | Extensible Internet of things system and method |
Also Published As
Publication number | Publication date |
---|---|
CN114466048A (en) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102304698B1 (en) | Method and apparatus for automatic device program generation | |
US20190370685A1 (en) | Method and apparatus for generating model, method and apparatus for recognizing information | |
AU2017276254B2 (en) | Edge computing platform | |
US9619122B2 (en) | Method and apparatus for automatic device program generation | |
CN105389191B (en) | A kind of method for upgrading software based on LAN, device and system | |
CN108563579B (en) | White box testing method, device and system and storage medium | |
CN103873692A (en) | Method, device and system for resource sharing | |
US9351105B2 (en) | Location based applications | |
CN103595770A (en) | Method and device for achieving file downloading through SDK | |
CN113553257B (en) | Test method, device, storage medium and electronic equipment | |
US20150254301A1 (en) | Method, Terminal And System For Transmitting File Between Multiple Terminals | |
CN112306851A (en) | Automatic testing method and device | |
CN113722055A (en) | Data processing method and device, electronic equipment and computer readable medium | |
CN108023905B (en) | Internet of things application system and method | |
CN114466048B (en) | Method, device and storage medium for data transfer between Internet of things platforms | |
CN110851211A (en) | Method, apparatus, electronic device, and medium for displaying application information | |
US20170168923A1 (en) | System and method for creating a test application | |
CN111832273A (en) | Method and device for determining destination message, storage medium and electronic device | |
CN114466047B (en) | Method, platform, equipment and medium for conveniently accessing Internet of things equipment to Internet of things platform | |
CN105677331A (en) | Task execution method and device | |
CN115422058A (en) | Method and device for testing face recognition application | |
Carlson et al. | Ambient flow: A visual approach for remixing the Internet of Things | |
US20190213003A1 (en) | Method, system and software application for developing mobile applications | |
KR20220108967A (en) | Method for generating application for controlling external electronic device and electronic apparatus for supporting the same | |
CN104079649A (en) | Method for performing downloading in browser and browser |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |