[go: up one dir, main page]

CN111651289B - Internet of things data docking method, system and related equipment - Google Patents

Internet of things data docking method, system and related equipment Download PDF

Info

Publication number
CN111651289B
CN111651289B CN202010500382.XA CN202010500382A CN111651289B CN 111651289 B CN111651289 B CN 111651289B CN 202010500382 A CN202010500382 A CN 202010500382A CN 111651289 B CN111651289 B CN 111651289B
Authority
CN
China
Prior art keywords
data
platform
internet
things
external
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010500382.XA
Other languages
Chinese (zh)
Other versions
CN111651289A (en
Inventor
王宇鹏
王春宇
陈亮亮
林瀚
李小聪
谭继鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202010500382.XA priority Critical patent/CN111651289B/en
Publication of CN111651289A publication Critical patent/CN111651289A/en
Application granted granted Critical
Publication of CN111651289B publication Critical patent/CN111651289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method, a system and related equipment for interfacing data of the Internet of things, which are used for improving the development efficiency and compatibility of a platform of the Internet of things. The method of the embodiment of the application is applied to an internet of things platform, the internet of things platform comprises an adapting unit provided with at least two types of data docking assemblies, and the method comprises the following steps: creating a task program according to the received user instruction, wherein the task program is used for calling a data docking assembly of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking assembly of the target type; according to the external connection parameters of the external platform, external platform data are obtained from a server of the external platform; and converting the external platform data into data matched with the platform of the Internet of things.

Description

Internet of things data docking method, system and related equipment
Technical Field
The application relates to the technical field of data docking of the Internet of things, in particular to a data docking method, a data docking system and related equipment of the Internet of things.
Background
The platform of the internet of things often needs to be in butt joint with other external platforms of users, such as account information of a butt joint one-card system, a nail development platform, a WeChat development platform and the like, and organization structure information and access control authorization information of a butt joint host system, an access control system and the like.
The existing third-party external platforms are quite different, and the existing docking scheme is to customize and dock for each external platform. Customization refers to hard coding the current business module of the internet of things platform to adapt to the external platform. For example, account data of the one-card system and the nail open platform are connected, custom codes of the one-card system and the nail open platform are required to be added to the account management module of the internet of things platform, connection of the one-card system and the nail open platform is completed, data are acquired, and the data are converted into data matched with the internet of things platform.
In the existing scheme, the service module of the Internet of things platform is hard coded, so that the program of the Internet of things platform is strong in coupling with an external platform, and the Internet of things platform is poor in reusability and low in flexibility.
Disclosure of Invention
The embodiment of the application provides a method, a system and related equipment for interfacing data of the Internet of things, which are used for improving the development efficiency and compatibility of a platform of the Internet of things.
The first aspect of the embodiment of the application provides a data docking method of the internet of things, which is applied to an internet of things platform, wherein the internet of things platform comprises an adapting unit provided with at least two types of data docking assemblies, and the different types of data docking assemblies are respectively used for docking different external platforms, and the method comprises the following steps:
creating a task program according to the received user instruction, wherein the task program is used for calling a data docking assembly of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking assembly of the target type;
according to the external connection parameters of the external platform, external platform data are obtained from a server of the external platform;
and converting the external platform data into data matched with the platform of the Internet of things.
Optionally, as a possible implementation manner, in an embodiment of the present application, the obtaining the external platform data from the server of the external platform may include:
and calling a preset script program or a executable program in the data docking component of the target type, and extracting external platform data.
Optionally, as a possible implementation manner, in an embodiment of the present application, the extracting external platform data may include:
external platform data is extracted by means of database access, HTTP access or remote procedure call RPC.
Optionally, as a possible implementation manner, in an embodiment of the present application, the converting the external platform data into data matched with the platform of the internet of things may include:
caching the external platform data in a preset temporary table;
and performing format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
The second aspect of the embodiment of the application provides an internet of things data docking system, which is applied to an internet of things platform, wherein the internet of things platform comprises an adapting unit provided with at least two types of data docking components, and the system can comprise:
the task management module is used for creating a task program according to the received user instruction, wherein the task program is used for calling a target type data docking assembly in the adapting unit and configuring external connection parameters of an external platform for the target type data docking assembly;
the component management module is used for controlling the data docking component of the target type and acquiring external platform data from a server of the external platform;
and the data docking module is used for converting the external platform data into data matched with the platform of the Internet of things.
Optionally, as a possible implementation manner, the component management module in the embodiment of the present application may include:
and the calling unit is used for calling a preset script program or a executable program in the data docking assembly of the target type and extracting external platform data.
Optionally, as a possible implementation manner, the calling unit in the embodiment of the present application may include:
and the extraction subunit extracts the external platform data by adopting a database access, HTTP access or Remote Procedure Call (RPC) mode.
Optionally, as a possible implementation manner, the data docking module in the embodiment of the present application includes:
the caching unit is used for caching the external platform data in a preset temporary table;
and the processing unit is used for carrying out format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
A third aspect of the embodiments of the present application provides a computer apparatus comprising a processor for implementing the steps as in any one of the possible implementations of the first aspect and the first aspect when executing a computer program stored in a memory.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs steps as in any one of the possible implementations of the first aspect and the first aspect.
From the above technical solutions, the embodiment of the present application has the following advantages:
in the embodiment of the application, the internet of things platform is independently provided with the adapting unit, the adapting unit is provided with at least two types of data docking assemblies, and the different types of data docking assemblies are respectively used for docking different external platforms. The internet of things data docking system can create a task program according to the received user instruction, the task program can call a target type data docking component in the adapting unit, external connection parameters of an external platform are configured for the target type data docking component, external platform data are acquired from a server of the external platform according to the external connection parameters of the external platform, the external platform data are converted into internet of things platform matched data, and docking of the internet of things platform and the external platform is achieved based on the component. Because of the pluggable and reusability of the components, the development efficiency and compatibility of the Internet of things platform can be improved.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a data docking method of the Internet of things according to an embodiment of the present application;
fig. 2 is a schematic diagram of a specific application scenario of an internet of things data docking method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an architecture of an Internet of things system platform in a specific application embodiment of the present application;
FIG. 4 is a schematic diagram of different versions of the same data docking assembly in one embodiment of the present application;
fig. 5 is a schematic functional division diagram of an internet of things data docking system in a specific application embodiment in an embodiment of the present application;
FIG. 6 is a schematic diagram of a data acquisition flow in an embodiment of the present application;
FIG. 7 is a schematic diagram of temporary table field distribution in a specific embodiment of the present application;
FIG. 8 is a schematic diagram of a data docking flow in an embodiment of the present application;
FIG. 9 is a schematic diagram of an embodiment of an IOT data docking system according to an embodiment of the present application;
FIG. 10 is a diagram of a computer device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method, a system and related equipment for interfacing data of the Internet of things, which are used for improving the development efficiency and compatibility of a platform of the Internet of things.
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
The terms first, second, third, fourth and the like in the description and in the claims and in the above drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The existing docking scheme of the Internet of things platform and the external platform is to customize and dock for each external platform, so that the program of the Internet of things platform and the external platform are strong in coupling performance, and the Internet of things platform is poor in reusability and low in flexibility. In view of this, in the embodiment of the present application, an adaptation unit is separately provided on the platform of the internet of things, where the adaptation unit is provided with at least two types of data docking assemblies, and the different types of data docking assemblies are respectively used for docking different external platforms. Because of the pluggable and reusability of the components, the development efficiency and compatibility of the Internet of things platform can be improved.
For easy understanding, a specific flow in the embodiment of the present application is described below, referring to fig. 1, and an embodiment of a data docking method for internet of things in the embodiment of the present application may include:
101. creating a task program according to the received user instruction, wherein the task program is used for calling a data docking assembly of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking assembly of the target type;
when a new external platform needs to be accessed to the internet of things platform (comprising the adapting unit provided with at least two types of data docking assemblies), an external connection parameter of the external platform needing to be accessed can be input by an internet of things platform management user at a preset interactive interface to form a user instruction. The external connection parameters may include the IP address, port number, account information (e.g., account name and password) of the server, and the like, which are parameter information required for enabling the component to interact with the external platform.
After receiving the user instruction, the data docking system of the internet of things can create a corresponding task program, wherein the task program is used for calling a data docking component of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking component of the target type.
102. According to external connection parameters of the external platform, obtaining external platform data from a server of the external platform;
after the data docking component of the target type is configured, the data docking component of the target type can be controlled to acquire external platform data from a server of the external platform, and specific external platform data can be set according to requirements of a user and types of the external platform, which is not limited herein.
Alternatively, as a possible implementation manner, the external platform data may be obtained from a server of the external platform, and the external platform data may be extracted by calling a preset script program or a executable program in the data docking component of the target type.
Taking a script program as an example, the data docking component in the embodiment of the present application may include a script and a corresponding configuration file. The script is mainly used for acquiring and analyzing the third party platform data, and the configuration file mainly prescribes some basic attributes of the data docking assembly and which parameters and verification rules of the parameters need to be provided by using the data docking assembly.
When a script program or executable program is executed, external platform data may be extracted in the form of a database access, HTTP (HyperText Transfer Protocol) access, or remote procedure call RPC (Remote Procedure Call). For example, the server performs HTTP access based on the IP address and port of the server and logs in the corresponding account to download the data of the third-party external platform.
103. And converting the external platform data into data matched with the platform of the Internet of things.
Because of the diversity of external platform data structures, after external platform data is acquired, the external platform data needs to be converted into data matched with the platform of the internet of things.
Optionally, as a possible implementation manner, in the process of converting the external platform data into the data matched with the platform of the internet of things, the data docking system of the internet of things may buffer the external platform data in a preset temporary table, then format convert the data in the preset temporary table to generate the data matched with the platform of the internet of things, and call a preset API (Application Programming Interface) interface to store the data matched with the platform of the internet of things to a specified position, so as to facilitate subsequent call of the platform of the internet of things.
In the embodiment of the application, the internet of things platform is independently provided with the adapting unit, the adapting unit is provided with at least two types of data docking assemblies, and the different types of data docking assemblies are respectively used for docking different external platforms. The internet of things data docking system can create a task program according to the received user instruction, the task program can call a target type data docking component in the adapting unit, external connection parameters of an external platform are configured for the target type data docking component, external platform data are acquired from a server of the external platform according to the external connection parameters of the external platform, the external platform data are converted into internet of things platform matched data, and docking of the internet of things platform and the external platform is achieved based on the component. Because of the pluggable and reusability of the components, the development efficiency and compatibility of the Internet of things platform can be improved.
For easy understanding, please refer to fig. 2 to 4, and the method for interfacing data of the internet of things according to the embodiment of the present application will be described below with reference to specific application embodiments.
Referring to fig. 2, fig. 2 is a schematic diagram of an operation scenario of an embodiment, where the operation scenario includes a user side, a client, an internet of things and an internet of things platform. The user side comprises a large number of users of the Internet of things, such as card holding users in the one-card system. The client is an interface between a third party platform or a database and the Internet of things. The Internet of things platform realizes the data butt joint with the Internet of things of a third party platform or a database based on the client, and real-time service data of a user side are uploaded to the Internet of things platform through the Internet of things and are processed.
Referring to fig. 3, fig. 3 is a schematic diagram of an architecture of an internet of things system in a specific application embodiment, where an internet of things platform includes an adaptation unit and a service module (an account management module, an organization structure management module), and an external platform may have a one-card system, an instant messaging platform, a host system, and the like. Referring to fig. 4, the same type of component in the adapting unit may include different versions of components, and the different versions of components may be distinguished by serial numbers.
As shown in fig. 5, the functions of the data docking system of the internet of things in the specific application embodiment may be mainly divided into 5 parts:
1) And (3) component management: is responsible for adding data docking components (such as a one-card system docking component, a nail docking component and the like) to the internet of things platform, updating the components, removing the components from the internet of things platform and the like.
2) And (3) task management: is responsible for the addition, updating and removal of data docking tasks. In addition, task management is also responsible for execution scheduling, progress management and the like of tasks.
3) Script engine: mainly a lua virtual machine, and provides a script running environment.
4) Temporary table: temporarily storing data acquired from the third party platform.
5) And (3) data docking: and converting the temporary table data into formal platform data to complete the system docking.
The method for interfacing the one-card system (account system) comprises the following steps: creating a data synchronization task program, configuring necessary parameters (such as an IP address, a port number, a user password and the like) for the task program, configuring external connection parameters (such as the IP address, the port number, the user password and the like) of an external platform for a component of a docking account system by the task program, synchronizing account information of a third party one-card system to an Internet of things platform by the component of the docking account system, and then using the synchronized accounts as local accounts on the Internet of things platform, such as authorizing the accounts, logging in the platform and the like.
Exemplary, the method flow of docking the docking host system is: the method comprises the steps of creating a data synchronization task program, configuring necessary parameters (such as an IP address, a port number, a user password and the like) for the task program, configuring external connection parameters (such as the IP address, the port number, the user password and the like) of an external platform for a component of a docking host system, synchronizing a dormitory organization structure and a personnel living condition of a third-party host system to an Internet of things platform by the component of the docking host system, avoiding manually creating the organization structure on the platform, and automatically issuing access control authorization by combining personnel living information with data of a docked account system.
As shown in fig. 6, the flow of the data docking assembly obtaining external platform data is as follows: and the script is used for acquiring the third-party platform data, the data acquisition mode can be a direct access database, HTTP access, RPC call and other access modes, the acquired data format can be a format such as table data, json format and the like, and finally the data is stored in the temporary table. The data docking module reads the temporary table, and enables the data of each type to be docked into the service data of the platform by accessing the data processing interface of each service module.
The script supports accessing all current mainstream databases including, but not limited to, mySQL, oracle, SQL Server, postgreSQL, sqlite, mongamob. The data formats of the account temporary table and the organization structure temporary table can be reasonably set according to the structure of the user data. As shown in fig. 7, the account temporary table may be divided into fields of ID, account name, belonging group, etc.; the organizational temporary table may be divided into an ID, group name, parent group ID.
As shown in fig. 8, after the third party platform data is acquired, the data of different kinds are unified to be subjected to docking data processing by using the data docking module. The data docking module reads the temporary table (organization structure temporary table or account temporary table), and the data of each type are docked into the service data of the Internet of things platform by accessing the data processing interface (organization architecture processing unit or account processing unit) of each service module. For example, the account management module defines that the HTTP interface of the newly added docking account is/account/create, and then the newly added account data is written in the newly added middle table of the internet of things platform.
In the embodiment of the application, the internet of things platform is independently provided with the adapting unit, the adapting unit is provided with at least two types of data docking assemblies, and the different types of data docking assemblies are respectively used for docking different external platforms. The Internet of things data docking system can create a task program according to a received user instruction, the task program can call a target type data docking component in the adaptation layer, external connection parameters of an external platform are configured for the target type data docking component, external platform data are acquired from a server of the external platform according to the external connection parameters of the external platform, the external platform data are converted into Internet of things platform matched data, and docking of the Internet of things platform and the external platform is achieved based on the component. Because of the pluggable and reusability of the components, the development efficiency and compatibility of the Internet of things platform can be improved.
Referring to fig. 9, the embodiment of the application further provides an internet of things data docking system, which is applied to an internet of things platform, wherein the internet of things platform comprises an adapting unit provided with at least two types of data docking components, and the system can comprise:
the task management module 901 is configured to create a task program according to a received user instruction, where the task program is configured to call a target type data docking component in the adapting unit, and configure external connection parameters of an external platform for the target type data docking component;
the component management module 902 is configured to control a data docking component of a target type, and acquire external platform data from a server of an external platform;
the data docking module 903 is configured to convert the external platform data into data matched with the platform of the internet of things.
Optionally, as a possible implementation manner, the component management module in the embodiment of the present application may include:
and the calling unit is used for calling a preset script program or a executable program in the data docking component of the target type and extracting the external platform data.
Optionally, as a possible implementation manner, the calling unit in the embodiment of the present application may include:
and the extraction subunit extracts the external platform data by adopting a database access, HTTP access or Remote Procedure Call (RPC) mode.
Optionally, as a possible implementation manner, the data docking module in the embodiment of the present application may include:
the caching unit is used for caching the external platform data in a preset temporary table;
and the processing unit is used for carrying out format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The network chart editor in the embodiment of the present application is described above from the point of view of the modularized functional entity, please refer to fig. 10, and the computer apparatus in the embodiment of the present application is described below from the point of view of hardware processing:
the computer device 1 may include a memory 11, a processor 12, and an input-output bus 13. The steps in the above-described embodiment of the data docking method of the internet of things shown in fig. 1, such as steps 101 to 103 shown in fig. 1, are implemented when the processor 11 executes the computer program. In the alternative, the processor may implement the functions of the modules or units in the above-described embodiments of the apparatus when executing the computer program.
In some embodiments of the present application, the processor is specifically configured to improve development efficiency and compatibility of the platform of the internet of things, where the steps include:
creating a task program according to the received user instruction, wherein the task program is used for calling a data docking assembly of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking assembly of the target type;
according to external connection parameters of the external platform, obtaining external platform data from a server of the external platform;
and converting the external platform data into data matched with the platform of the Internet of things.
Optionally, as a possible implementation, the processor may be further configured to perform the following steps:
and calling a preset script program or an executable program in the data docking component of the target type, and extracting the external platform data.
Optionally, as a possible implementation, the processor may be further configured to perform the following steps:
external platform data is extracted by means of database access, HTTP access or remote procedure call RPC.
Optionally, as a possible implementation, the processor may be further configured to perform the following steps:
caching the external platform data in a preset temporary table;
and carrying out format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the computer device 1, such as a hard disk of the computer device 1. The memory 11 may also be an external storage device of the computer apparatus 1 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer apparatus 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the computer apparatus 1. The memory 11 may be used not only for storing application software installed in the computer apparatus 1 and various types of data, for example, codes of the computer program 01, but also for temporarily storing data that has been output or is to be output.
The processor 12 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 11, e.g. executing a computer program 01 or the like.
The input/output bus 13 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc.
Further, the computer apparatus may also comprise a wired or wireless network interface 14, and the network interface 14 may optionally comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the computer apparatus 1 and other electronic devices.
Optionally, the computer device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the computer device 1 and for displaying a visual user interface.
Fig. 10 shows only a computer device 1 with components 11-14 and a computer program 01, it being understood by a person skilled in the art that the structure shown in fig. 10 does not constitute a limitation of the computer device 1, and may comprise fewer or more components than shown, or may combine certain components, or a different arrangement of components.
The present application also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, can implement the steps of:
creating a task program according to the received user instruction, wherein the task program is used for calling a data docking assembly of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking assembly of the target type;
according to external connection parameters of the external platform, obtaining external platform data from a server of the external platform;
and converting the external platform data into data matched with the platform of the Internet of things.
Optionally, as a possible implementation, the processor may be further configured to perform the following steps:
and calling a preset script program or an executable program in the data docking component of the target type, and extracting the external platform data.
Optionally, as a possible implementation, the processor may be further configured to perform the following steps:
external platform data is extracted by means of database access, HTTP access or remote procedure call RPC.
Optionally, as a possible implementation, the processor may be further configured to perform the following steps:
caching the external platform data in a preset temporary table;
and carrying out format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. The data docking method of the Internet of things is characterized by being applied to an Internet of things platform, the Internet of things platform comprises an adapting unit provided with at least two types of data docking assemblies, and the data docking assemblies of different types are respectively used for docking different platforms, and the method comprises the following steps:
creating a task program according to the received user instruction, wherein the task program is used for calling a data docking assembly of a target type in the adapting unit and configuring external connection parameters of an external platform for the data docking assembly of the target type;
according to the external connection parameters of the external platform, external platform data are obtained from a server of the external platform;
converting the external platform data into data matched with an Internet of things platform;
the obtaining the external platform data from the server of the external platform comprises the following steps:
invoking a preset script program or an executable program in the data docking component of the target type, and extracting external platform data;
the converting the external platform data into the data matched with the platform of the internet of things comprises the following steps:
and performing format conversion on the external platform data to generate data matched with the Internet of things platform.
2. The method of claim 1, wherein the extracting external platform data comprises:
external platform data is extracted by means of database access, HTTP access or remote procedure call RPC.
3. The method according to any one of claims 1 to 2, wherein the converting the external platform data into data matched with an internet of things platform includes:
caching the external platform data in a preset temporary table;
and performing format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
4. The utility model provides an thing networking data docking system, its characterized in that applies to thing networking platform, thing networking platform is including being provided with the adaptation unit of at least two types data docking subassembly, and different types data docking subassembly is used for docking different external platform respectively, the system includes:
the task management module is used for creating a task program according to the received user instruction, wherein the task program is used for calling a target type data docking assembly in the adapting unit and configuring external connection parameters of an external platform for the target type data docking assembly;
the component management module is used for controlling the data docking component of the target type and acquiring external platform data from a server of the external platform;
the data docking module is used for converting the external platform data into data matched with the platform of the Internet of things;
the component management module includes:
the calling unit is used for calling a preset script program or an executable program in the data docking assembly of the target type and extracting external platform data;
the data docking module includes:
and the format conversion unit is used for carrying out format conversion on the external platform data to generate data matched with the Internet of things platform.
5. The system of claim 4, wherein the calling unit comprises:
and the extraction subunit extracts the external platform data by adopting a database access, HTTP access or Remote Procedure Call (RPC) mode.
6. The system of any of claims 4 to 5, wherein the data docking module comprises:
the caching unit is used for caching the external platform data in a preset temporary table;
and the processing unit is used for carrying out format conversion on the data of the preset temporary table to generate data matched with the Internet of things platform, and calling a preset API interface to store the data matched with the Internet of things platform to a designated position.
7. A computer device comprising a processor for implementing the steps of the method according to any one of claims 1 to 3 when executing a computer program stored in a memory.
8. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program implementing the steps of the method according to any one of claims 1 to 3 when executed by a processor.
CN202010500382.XA 2020-06-04 2020-06-04 Internet of things data docking method, system and related equipment Active CN111651289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010500382.XA CN111651289B (en) 2020-06-04 2020-06-04 Internet of things data docking method, system and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010500382.XA CN111651289B (en) 2020-06-04 2020-06-04 Internet of things data docking method, system and related equipment

Publications (2)

Publication Number Publication Date
CN111651289A CN111651289A (en) 2020-09-11
CN111651289B true CN111651289B (en) 2023-09-05

Family

ID=72345049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010500382.XA Active CN111651289B (en) 2020-06-04 2020-06-04 Internet of things data docking method, system and related equipment

Country Status (1)

Country Link
CN (1) CN111651289B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113159998A (en) * 2021-05-20 2021-07-23 青岛海信智慧生活科技股份有限公司 Community service management method and device
CN114546394B (en) * 2021-12-31 2023-02-28 电子科技大学 Unified IoT Peripheral Access and Control Method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395773A (en) * 2017-09-08 2017-11-24 深圳市智物联网络有限公司 A kind of Internet of Things management method and Internet of Things management platform
WO2018121573A1 (en) * 2016-12-28 2018-07-05 珠海国芯云科技有限公司 Cloud computing-based internet-of-things platform creation system and method thereof
CN108681488A (en) * 2018-05-19 2018-10-19 济南浪潮高新科技投资发展有限公司 A kind of platform of internet of things terminal data report method
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6857013B2 (en) * 1999-01-29 2005-02-15 Intermec Ip.Corp. Remote anomaly diagnosis and reconfiguration of an automatic data collection device platform over a telecommunications network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121573A1 (en) * 2016-12-28 2018-07-05 珠海国芯云科技有限公司 Cloud computing-based internet-of-things platform creation system and method thereof
CN107395773A (en) * 2017-09-08 2017-11-24 深圳市智物联网络有限公司 A kind of Internet of Things management method and Internet of Things management platform
CN108681488A (en) * 2018-05-19 2018-10-19 济南浪潮高新科技投资发展有限公司 A kind of platform of internet of things terminal data report method
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
滕海坤 ; 刘心声 ; 李伦彬 ; .基于RTSJ的物联网智能网关研究.盐城工学院学报(自然科学版).2018,(第01期),202010500382X. *

Also Published As

Publication number Publication date
CN111651289A (en) 2020-09-11

Similar Documents

Publication Publication Date Title
JP6695984B2 (en) Multitask scheduling method, system, application server, and computer-readable storage medium
CN104484171B (en) Terminal interface design system, method and relevant device
CN102571396B (en) Communication network system and routing inspection subsystem and routing inspection method of communication equipment
CN111651289B (en) Internet of things data docking method, system and related equipment
CN106357609B (en) A kind of method and system, public network server and private clound equipment creating user
CN108399331B (en) Application process trial method and system
CN112306473B (en) Program interface parameter transmission method, system and related equipment
CN105512029A (en) Method, server and system for testing intelligent terminal
CN106487815A (en) A kind of container operation safety verification processing method based on white list and system
CN101977121A (en) Configuration file processing method, device and system
US20230144949A1 (en) Virtual-machine cold migration method and apparatus, electronic device and storage medium
US9971751B1 (en) Version-specific request processing
CN108280754A (en) A kind of routing sub-control account checking method and system
WO2015062494A1 (en) Method and device for sdk uploading and downloading of a file
CN101277301B (en) Method, device and system for invocation of distributed system interface
CN110244963A (en) Data-updating method, device and terminal device
CN102982217A (en) Processing method and device of screen print
CN104731910A (en) SYSLOG storage method
CN105917307A (en) User interface framework
CN102143222B (en) Application resource downloading adaptation method and downloading adaptation device
CN111400281B (en) GIS data quality inspection and storage method for OSS object storage
CN111767149A (en) Scheduling method, device, equipment and storage equipment
CN116212398B (en) Game management method, device, equipment and medium based on data center
CN114090082B (en) Method and system for calling external interface by integrating rule engine
CN111459748A (en) Operation and maintenance control method, system and device based on command control and storage medium

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