CN115858689A - Internet of things relation mapping configuration method and system and computer storage medium - Google Patents

Internet of things relation mapping configuration method and system and computer storage medium Download PDF

Info

Publication number
CN115858689A
CN115858689A CN202211341093.5A CN202211341093A CN115858689A CN 115858689 A CN115858689 A CN 115858689A CN 202211341093 A CN202211341093 A CN 202211341093A CN 115858689 A CN115858689 A CN 115858689A
Authority
CN
China
Prior art keywords
relationship
configuration
internet
things
relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211341093.5A
Other languages
Chinese (zh)
Inventor
王辰阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Marmot Information Technology Co ltd
Original Assignee
Chongqing Marmot Information Technology 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 Chongqing Marmot Information Technology Co ltd filed Critical Chongqing Marmot Information Technology Co ltd
Priority to CN202211341093.5A priority Critical patent/CN115858689A/en
Publication of CN115858689A publication Critical patent/CN115858689A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a system for mapping and configuring the relation of the Internet of things, which are characterized in that the relation among the dimensions is established by defining the dimension capable of forming the relation in the platform of the Internet of things and storing the dimension in a database, a relation configuration code block is arranged in a dimension management function, a corresponding relation configuration interface is rendered, and corresponding relation data is selected in the relation configuration interface, so that the user-defined relation among the dimensions of the platform of the Internet of things is realized, the method and the system have more flexible usability, and when the relation is selected, multi-level association can be inquired through an associated table structure, then business logic processing is carried out, and the method and the system are more powerful in function compared with the platform of the Internet of things in the related technology.

Description

Internet of things relation mapping configuration method and system and computer storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a system for mapping and configuring Internet of things.
Background
In the internet of things industry, multiple relationship maps are generally provided, such as relationship maps of devices and equipment, devices and people, people and organization structures, devices and buildings, and devices and houses, and these relationships become especially important when the internet of things platform performs service linkage control. For example, when the internet of things platform receives an alarm signal of a smoke alarm, a responsible person corresponding to the alarm needs to be contacted to check the field condition and to open devices such as an alarm bell in a linkage control manner, and the device-to-device relationship mapping and the device-to-person relationship mapping need to be provided.
In the related art, for configuration of relationship mapping of the internet of things, a plurality of devices are generally divided into one service group in a grouping manner, and then relationships between the devices are expressed by using group names, for example, devices of the same building are put into one group, and devices of the same device principal are put into one group, such a configuration manner has the following disadvantages:
(1) A large number of devices with cross logic create too much packet data to maintain;
(2) Relationships can only be expressed in the dimensions of the device. When the relations between equipment and people, equipment and buildings and the like are involved, the relations can be identified only by names, errors are easy to occur when the equipment is used, and the relation with the true relations of the dimensions of people, buildings and the like is not realized;
(3) Multi-level relationship selection is not supported, for example, by a device leader, selecting an organization in which the person is located, and bringing devices associated with the organization through the organization.
Disclosure of Invention
The invention provides a method and a system for mapping and configuring the relationship of the Internet of things, which mainly solve the technical problems that: in the related art, for configuration of relationship mapping of the internet of things, a plurality of devices are generally divided into one service group in a grouping manner, and then relationships between the devices are expressed by using grouping names, so that too many grouping data are created, the maintenance is difficult, the relationships can be expressed only by using the dimensions of the devices, errors are easy to occur, and the problem of multi-level relationship selection is not supported.
In order to solve the technical problem, an embodiment of the present invention provides a method for mapping and configuring relationships of an internet of things, including the following steps:
step 1, defining dimensions capable of forming relations in an Internet of things platform, and storing the dimensions into a database;
step 2, establishing the relation between the dimensions;
step 3, building a relation configuration code block in the dimension management function, and rendering a corresponding relation configuration interface;
and 4, selecting corresponding relation data in the relation configuration interface.
In an embodiment of the present invention, the built-in relationship configuration code block includes:
defining a configuration form between the current management data and other dimensions;
and initializing a data submission interface corresponding to the configuration form.
In an embodiment of the present invention, the rendering a corresponding relationship configuration interface includes:
calling a relation configuration interface of the Internet of things platform, and judging whether a corresponding relation configuration which accords with the current dimension management exists;
and if the corresponding relation configuration is in accordance with the current dimension management, displaying the form corresponding to the built-in code block.
In an embodiment of the present invention, the method for mapping and configuring relationships of the internet of things further includes: and 5, controlling other dimension data corresponding to the relationship data according to the selected relationship data.
The embodiment of the present invention further provides an internet of things relationship mapping configuration system, including:
the dimension definition module is used for defining the dimension capable of forming the relationship in the platform of the Internet of things and storing the dimension into the database;
a relationship creation module for creating a relationship between the dimensions;
the management module is used for building a relationship configuration code block in the dimension management function and rendering a corresponding relationship configuration interface;
and the association module is used for selecting corresponding relation data in the relation configuration interface. .
In an embodiment of the present invention, the management module includes a built-in code block submodule, configured to define a configuration form between current management data and other dimensions, and initialize a data submission interface corresponding to the configuration form.
In an embodiment of the present invention, the management module includes a rendering submodule, configured to call a relationship configuration interface of the internet of things platform, determine whether there is a relationship configuration corresponding to current dimension management, and if there is a relationship configuration corresponding to current dimension management, display a form corresponding to the built-in code block.
In an embodiment of the invention, the internet of things relationship mapping configuration system further includes a control module, configured to control other dimension data corresponding to the relationship data according to the selected relationship data.
Embodiments of the present invention also provide a computer-readable storage medium, where one or more computer programs are stored, and the one or more computer programs are executable by one or more processors to implement the steps of the internet of things relationship mapping configuration method described above.
The beneficial technical effects of the invention are as follows:
according to the method and the system for configuring the Internet of things relational mapping, the dimensionality capable of forming the relationship in the Internet of things platform is defined and stored in the database to create the relationship between the dimensionalities, the relationship configuration code block is built in the dimension management function, the corresponding relationship configuration interface is rendered, and the corresponding relationship data is selected in the relationship configuration interface, so that the user-defined relationship between the dimensionalities of the Internet of things platform is realized, the method and the system have more flexible usability, and when the relationship is selected, the multi-level association can be inquired through the associated table structure, then the business logic processing is carried out, and the method and the system are functionally stronger than the Internet of things platform in the related technology.
Drawings
Fig. 1 is a flow chart of a relationship mapping configuration method of the internet of things in the present invention;
FIG. 2 is a schematic diagram of an exemplary relationship mapping for various dimensions in the present invention;
fig. 3 is a schematic structural diagram of the relationship mapping configuration system of the internet of things in the present invention;
fig. 4 is a schematic structural diagram of the relationship mapping configuration system of the internet of things in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
In order to solve the problems that in the related art, for configuration of relationship mapping of the internet of things, a plurality of devices are generally divided into one service group in a grouping mode, and then relationships between the devices are expressed by using group names, so that too many grouped data are created, the maintenance is difficult, the relationships can be expressed only by using the dimensions of the devices, errors are easy to occur, and multi-level relationship selection is not supported, the embodiment of the invention provides a relationship mapping configuration method of the internet of things.
As shown in fig. 1, a method for mapping and configuring relationships of internet of things includes the following steps:
s101, defining dimensions capable of forming relations in the Internet of things platform, and storing the dimensions into a database.
In this step, the dimensions may be customized by the user, such as the dimensions of personnel, equipment, buildings, houses, organizational structures, parks, and so forth.
And S102, creating the relation between the dimensions.
In this step, the user can custom create the relationship between each dimension (people, devices, building 8230;). For example, a relationship between a device and a person is defined as a device manager, and a relationship between a building and a person is defined as a building manager. The step supports the user to define the relationship among all dimensions of the Internet of things platform, the name among the relationship and the like, and has more flexible usability.
S103, building a relation configuration code block in the dimension management function, and rendering a corresponding relation configuration interface.
In this step, a relational configuration code block is built in each dimension management function (e.g., personnel management, device management, building management, etc.). For example, a code block configured in relation to a person is built in the device management interface. When a user creates a relationship between the device and the person in the relationship management, the device management interface renders a person relationship configuration interface corresponding to the device according to the built-in code block.
The built-in code block is used for defining a configuration form between current management data and other dimensions and initializing a data submission interface corresponding to the configuration form. For example, configuration forms between device a and person a, person B and person C, or configuration forms between person a and device a, device B and device C may be defined.
The rendering of the personnel relationship configuration interface corresponding to the device specifically includes: and calling a platform relation configuration interface, comparing whether the relation configuration corresponding to the composite current dimension management exists, and if so, displaying the form corresponding to the built-in code block.
And S104, selecting corresponding relation data in the relation configuration interface.
In the step, the relation between the two dimensions is stored in a database to be associated, and the relation definition of each dimension in the platform of the internet of things is completed. The relation among all dimensions of the platform of the Internet of things is real and has table structure storage association, when the relation is selected, multi-level association (such as A-B and B-C, and finally the indirect relation between A and C can be inquired) can be inquired through the associated table structure, then business logic processing is carried out, and the function is stronger.
As shown in fig. 4, in different dimensions, the relationship is passed. Data of different dimensions can be queried.
The service data is more flexible. The service data is not required to be written to be dead, so that the same service is defined by a plurality of different scenes.
For example: the high manager of a factory belonging to a certain area under a certain large vehicle and enterprise wants to know the failure event of the product when the factory produces the product (namely, a short message is sent to the high manager every time a failed product is generated)
It is now only necessary to define the relationship of the high-pipe and regional plants, the plant and the product failure checking equipment. And then defining the service can realize the above scenario. Without the need to bind highly managed personnel to specific equipment to generate a service. And because it is defined according to a relationship. The business logic processing of all regional factories can be realized by only defining one piece of business data. Such as: chongqing Gao guan receives Chongqing equipment production failure events, and Beijing Gao guan receives Beijing equipment production failure events.
As an example, fig. 2 provides a schematic diagram of the relationship between dimensions in an internet of things platform, wherein a campus comprises buildings 1 and 2, the building 1 is managed by a responsible person a (device administrator), and the building 1 comprises houses 1-1, 1-2, 8230, the houses 1-26 are respectively provided with devices 1-a and 1-B8230, the 8230, and the devices 1-Z; the building 2 is managed by a person in charge B (equipment manager), and the building 2 comprises houses 2-1, 2-2, 8230, 2-26, and is respectively provided with equipment 2-A, 2-B, 8230, 8230and 2-Z. And in the equipment management interface, selecting the equipment 2-A, displaying a corresponding form, and displaying that the equipment 2-A is installed in the house 2-1 and managed by the responsible person B, wherein the located building is the building 2.
After the corresponding personnel are selected in the equipment interface, the relation definition of the equipment dimension and the personnel dimension is realized. The relationship of a person to a device is defined in a relational configuration. The relationship name is defined as the device principal, the device principal relationship can be automatically rendered in a device management interface, and the principal of the current device can be customized.
For example, the device person in charge is in use in a specific service (device failure notification service). All the devices currently defined to be responsible for the service personnel can be obtained dynamically only by selecting the relationship. Without requiring selection of which devices one of the crashes is.
The relation among all dimensions of the platform of the internet of things is defined in different management interfaces, for example, an equipment manager maintains in the equipment management interface, and the same building management equipment maintains in building management, so that functional decoupling is realized. Not all relationships are maintained in the same function, and fine-grained control of function authority is facilitated.
In at least one embodiment of the present invention, the method for configuring internet of things relationship mapping further includes:
and S105, controlling other dimension data corresponding to the relationship data according to the selected relationship data.
Taking the relationship among the dimensions in the internet of things platform provided in fig. 2 as an example, when the selected relationship data is the house 1-1, the corresponding device 2-a can be controlled, or the linkage device 2-1 linked with the device 2-a is controlled.
Example two
In order to solve the problems that in the related art, for configuration of relationship mapping of the internet of things, a plurality of devices are generally divided into one service group in a grouping manner, and then the relationship between the devices is expressed by using a grouping name, so that too much grouping data is created, the maintenance is difficult, the relationship can be expressed only by using the dimension of the devices, errors are easy to occur, and multi-level relationship selection is not supported, the embodiment of the invention provides a relationship mapping configuration method of the internet of things.
As shown in fig. 3, a system for mapping and configuring relationships of internet of things includes:
and the dimension definition module is used for defining the dimension capable of forming the relationship in the Internet of things platform and storing the dimension into the database.
Wherein the dimensions can be customized by a user, such as dimensions of personnel, equipment, buildings, houses, organizational structures, parks, and the like.
A relationship creation module for creating a relationship between the dimensions.
The user can custom create the relationship between each dimension (personnel, equipment, building 8230;). For example, the relationship between a device and a person is defined as a device manager, and the relationship between a building and a person is defined as a building manager
And the management module is used for building a relationship configuration code block in the dimension management function and rendering a corresponding relationship configuration interface.
The management module comprises a built-in code block submodule for building a relationship configuration code block in each dimension management function (such as personnel management, equipment management, building management and the like). For example, a code block configured in relation to a person is built in the device management interface. When a user creates a relationship between the equipment and the personnel in the relationship management, rendering a personnel relationship configuration interface corresponding to the equipment in the equipment management interface according to the built-in code block.
The built-in code block is used for defining a configuration form between current management data and other dimensions and initializing a data submission interface corresponding to the configuration form. For example, configuration forms between device a and person a, person B and person C, or configuration forms between person a and device a, device B and device C may be defined.
The management module further includes a rendering submodule for rendering a personnel relationship configuration interface corresponding to the device, and the rendering process specifically includes: and calling a platform relation configuration interface, comparing whether a relation configuration corresponding to the current dimension management exists or not, and if so, displaying the form corresponding to the built-in code block.
And the association module is used for selecting corresponding relation data in the relation configuration interface.
And storing the relation between the two dimensions into a database for correlation, thereby completing the relation definition between the dimensions in the platform of the Internet of things. As an example, fig. 2 provides a schematic diagram of the relationship between dimensions in an internet of things platform, wherein a campus comprises buildings 1 and 2, the building 1 is managed by a responsible person a (device administrator), and the building 1 comprises houses 1-1, 1-2, 8230, the houses 1-26 are respectively provided with devices 1-a and 1-B8230, the 8230, and the devices 1-Z; the building 2 is managed by a person in charge B (equipment manager), and the building 2 comprises houses 2-1, 2-2, 8230, 2-26, and is respectively provided with equipment 2-A, 2-B, 8230, 8230and 2-Z. And in the equipment management interface, selecting the equipment 2-A, displaying a corresponding form, and displaying that the equipment 2-A is installed in the house 2-1 and managed by the responsible person B, wherein the located building is the building 2.
In at least one embodiment of the present invention, the internet of things relationship mapping configuration system further includes a control module, configured to control other dimension data corresponding to the relationship data according to the selected relationship data.
Taking the relationship among the dimensions in the internet of things platform provided in fig. 2 as an example, when the selected relationship data is the house 1-1, the corresponding device 2-a can be controlled, or the linkage device 2-1 linked with the device 2-a is controlled.
EXAMPLE III
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in this embodiment may be used to store one or more computer programs, where the stored one or more computer programs may be executed by a processor to implement at least one step of the internet of things relationship mapping configuration method in the first embodiment.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (9)

1. A method for configuring Internet of things relationship mapping is characterized by comprising the following steps:
step 1, defining dimensionality capable of forming a relationship in an Internet of things platform, and storing the dimensionality into a database;
step 2, establishing the relation between the dimensions;
step 3, building a relationship configuration code block in the dimension management function, and rendering a corresponding relationship configuration interface;
and 4, selecting corresponding relation data in the relation configuration interface.
2. The internet of things relationship mapping configuration method of claim 1, wherein the built-in relationship configuration code block comprises:
defining a configuration form between the current management data and other dimensions;
and initializing a data submission interface corresponding to the configuration form.
3. The internet of things relationship mapping configuration method of claim 1, wherein rendering a corresponding relationship configuration interface comprises:
calling a relation configuration interface of the Internet of things platform, and judging whether a corresponding relation configuration which accords with the current dimension management exists;
and if the corresponding relation configuration which accords with the current dimension management exists, displaying the form corresponding to the built-in code block.
4. The internet of things relationship mapping configuration method of claim 1, further comprising: and 5, controlling other dimension data corresponding to the relationship data according to the selected relationship data.
5. An internet of things relationship mapping configuration system, comprising:
the dimension definition module is used for defining the dimension capable of forming the relationship in the Internet of things platform and storing the dimension into the database;
a relationship creation module for creating a relationship between the dimensions;
the management module is used for building a relationship configuration code block in the dimension management function and rendering a corresponding relationship configuration interface;
and the association module is used for selecting corresponding relation data in the relation configuration interface.
6. The IOT relational mapping configuration system according to claim 5, wherein the management module comprises a built-in code block submodule for defining a configuration form between current management data and other dimensions and initializing a data submission interface corresponding to the configuration form.
7. The relationship mapping configuration system of the internet of things of claim 5, wherein the management module comprises a rendering sub-module, and is configured to call a relationship configuration interface of the internet of things platform, determine whether a relationship configuration corresponding to current dimension management exists, and display a form corresponding to the built-in code block if the relationship configuration corresponding to current dimension management exists.
8. The internet of things relationship mapping configuration system of claim 5, further comprising a control module for controlling other dimension data corresponding to relationship data according to the selected relationship data.
9. A computer-readable storage medium storing one or more computer programs, the one or more computer programs being executable by one or more processors to implement the steps of the internet of things relationship mapping configuration method as claimed in any one of claims 1-4.
CN202211341093.5A 2022-10-30 2022-10-30 Internet of things relation mapping configuration method and system and computer storage medium Pending CN115858689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211341093.5A CN115858689A (en) 2022-10-30 2022-10-30 Internet of things relation mapping configuration method and system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211341093.5A CN115858689A (en) 2022-10-30 2022-10-30 Internet of things relation mapping configuration method and system and computer storage medium

Publications (1)

Publication Number Publication Date
CN115858689A true CN115858689A (en) 2023-03-28

Family

ID=85662068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211341093.5A Pending CN115858689A (en) 2022-10-30 2022-10-30 Internet of things relation mapping configuration method and system and computer storage medium

Country Status (1)

Country Link
CN (1) CN115858689A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011177A1 (en) * 2005-07-05 2007-01-11 Microsoft Corporation Metadata-based form rendering and write-back
CN109325076A (en) * 2018-06-07 2019-02-12 北京百度网讯科技有限公司 Data managing method, equipment, computer equipment and readable medium in Internet of Things
CN113261028A (en) * 2019-01-04 2021-08-13 泰格斯国际有限责任公司 Intelligent workspace management system
CN113744390A (en) * 2021-08-25 2021-12-03 江苏杰瑞信息科技有限公司 Park-oriented visual intelligent management and control platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011177A1 (en) * 2005-07-05 2007-01-11 Microsoft Corporation Metadata-based form rendering and write-back
CN109325076A (en) * 2018-06-07 2019-02-12 北京百度网讯科技有限公司 Data managing method, equipment, computer equipment and readable medium in Internet of Things
CN113261028A (en) * 2019-01-04 2021-08-13 泰格斯国际有限责任公司 Intelligent workspace management system
CN113744390A (en) * 2021-08-25 2021-12-03 江苏杰瑞信息科技有限公司 Park-oriented visual intelligent management and control platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈琳;李勇;: "物联网架构下的Web信息数据库系统开发", 自动化与仪器仪表, no. 08 *

Similar Documents

Publication Publication Date Title
US20200167359A1 (en) Query task processing based on memory allocation and performance criteria
CN111240763B (en) Configuration updating method, device, equipment and storage medium
WO2017140131A1 (en) Data writing and reading method and apparatus, and cloud storage system
US20080005623A1 (en) System and method for model-based user interface using transformation nodes
US7844912B2 (en) System and method using transformation nodes with enhancement layers
CN110716878A (en) Automatic interface testing method, device and system
CN111813418B (en) Distributed link tracking method, device, computer equipment and storage medium
CN111177489A (en) Object data display method and system
CN110162344A (en) A kind of method, apparatus, computer equipment and readable storage medium storing program for executing that current limliting is isolated
CN115858689A (en) Internet of things relation mapping configuration method and system and computer storage medium
US11636446B2 (en) Systems and methods for providing status-based maintenance schedules
CN111522881A (en) Service data processing method, device, server and storage medium
CN109117152B (en) Service generation system and method
CN110837499B (en) Data access processing method, device, electronic equipment and storage medium
CN110532243A (en) Data processing method, device and electronic equipment
CN116185774A (en) Log monitoring installation method, device, computer equipment and storage medium
CN113328895B (en) Error code management system, abnormality positioning method, and storage medium
CN112286909B (en) Execution state determining method, device, server and storage medium
CN115185946A (en) Multi-tenant system, multi-tenant management method, computer device, and storage medium
CN111191057A (en) User-defined retrieval method and device, electronic equipment and storage medium thereof
CN114510460A (en) Database system capacity expansion method and device, electronic equipment and storage medium
CN114866417B (en) Method, system, medium, and apparatus for determining an organization network configuration
US20130046963A1 (en) Access to context information in a heterogeneous application environment
CN109597812B (en) Conference room batch online method and device, computer equipment and storage medium
CN111459471B (en) Information processing method, device 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