CN112637338B - Method, device, equipment and storage medium for managing node service of Internet of things - Google Patents

Method, device, equipment and storage medium for managing node service of Internet of things Download PDF

Info

Publication number
CN112637338B
CN112637338B CN202011531281.5A CN202011531281A CN112637338B CN 112637338 B CN112637338 B CN 112637338B CN 202011531281 A CN202011531281 A CN 202011531281A CN 112637338 B CN112637338 B CN 112637338B
Authority
CN
China
Prior art keywords
service
internet
node
things
content information
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
CN202011531281.5A
Other languages
Chinese (zh)
Other versions
CN112637338A (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.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang 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 Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202011531281.5A priority Critical patent/CN112637338B/en
Publication of CN112637338A publication Critical patent/CN112637338A/en
Application granted granted Critical
Publication of CN112637338B publication Critical patent/CN112637338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/20Information sensed or collected by the things relating to the thing itself
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y30/00IoT infrastructure
    • G16Y30/10Security thereof
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for managing node services of the Internet of things. According to the technical scheme, authority authentication is carried out on the Internet of things terminal according to authentication information uploaded by the Internet of things terminal, so that service calling authorities of the Internet of things terminal to all service nodes are determined, an available service table of the Internet of things terminal is created according to the service calling authorities and the service information dictionary, when the Internet of things terminal sends a service calling request, corresponding service content information is determined according to the available service table, corresponding service is called to the service nodes according to node addresses corresponding to the determined service content information, service results obtained by the service nodes responding to the service calling request are returned to the Internet of things terminal, service requirements of the Internet of things terminal are met, and safety of all the service nodes and management safety of the Internet of things are effectively improved.

Description

Method, device, equipment and storage medium for managing node service of Internet of things
Technical Field
The embodiment of the application relates to the technical field of the Internet of things, in particular to a method, a device, equipment and a storage medium for managing node services of the Internet of things.
Background
With the development of the internet of things technology, the service capability provided by the internet of things is also gradually improved. In order to meet the requirements of different internet of things terminals on different service capacities, different service contents are generally arranged in a plurality of nodes of the internet of things, and the internet of things terminal accessed to the internet of things can perform corresponding data processing by calling the service contents of the corresponding nodes.
However, the internet of things terminal accessed to the internet of things can access any service node in the internet of things network, so that the security of the service node is easily threatened, and the security management of the internet of things is not facilitated.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for managing node services of the Internet of things, so as to improve the safety of management of the Internet of things.
In a first aspect, an embodiment of the present application provides a method for managing node services of an internet of things, including:
performing authority authentication on the Internet of things terminal based on authentication information uploaded by the Internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records the node address of a service node of the Internet of things terminal with service calling authority;
creating an available service table for the internet of things terminal based on the authority authentication result and a service information dictionary, wherein the service information dictionary stores address correspondence between service content information provided by each service node and node addresses, and the available service table records the service content information and the node addresses corresponding to the service nodes of the internet of things terminal with service calling authority;
responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table;
and forwarding the service call request to the service node based on the node address, responding the service call request by the service node to obtain a service result, and sending the service result to the Internet of things terminal.
Further, before the authentication information uploaded by the internet of things terminal performs authority authentication on the internet of things terminal to obtain an authority authentication result, the method further comprises:
and storing the service content information and the node addresses provided by the service nodes in a service information dictionary.
Further, the storing the service content information and the node address provided by each service node in the service information dictionary includes:
receiving service content information and node addresses provided by all service nodes in an Internet of things network;
and taking the node address as a key, taking the corresponding service content information as a value, and storing the service content information and the node address in a service information dictionary.
Further, after storing the service content information and the node address provided by each service node in the service information dictionary, the method further includes:
and updating the service information dictionary according to the update time corresponding to the service content information in the service information dictionary.
Further, after updating the service information dictionary according to the update time corresponding to the service content information in the service information dictionary, the method further includes:
and in response to the updating operation of the service information dictionary, updating the available service table based on the updated service information dictionary.
Further, the creating an available service table for the internet of things terminal based on the authority authentication result and the service information dictionary includes:
determining a node address corresponding to a service node of which the terminal of the Internet of things has service calling authority, and determining the service content information corresponding to the node address according to the service information dictionary;
and establishing an available service table for the terminal of the Internet of things according to the determined node address and the service content information.
Further, the determining, according to the available service table, the service content information indicated by the service call request and the node address corresponding to the service content information includes:
determining service content information indicated by the service call request;
and searching the determined service content information in the available service table, and determining a corresponding node address based on the searched service content information.
In a second aspect, an embodiment of the present application provides an internet of things node service management device, including a permission authentication module, a list creation module, a request response module, and a service call module, where:
the authority authentication module is used for performing authority authentication on the internet of things terminal based on authentication information uploaded by the internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records a node address of a service node of the internet of things terminal with service calling authority;
the list creation module is used for creating an available service list for the internet of things terminal based on the authority authentication result and a service information dictionary, wherein the service information dictionary stores address correspondence between service content information provided by each service node and node addresses, and the available service list records service content information and node addresses corresponding to the service nodes of the internet of things terminal with service calling authority;
the request response module is used for responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table;
and the service calling module is used for forwarding the service calling request to the service node based on the node address, responding the service calling request by the service node to obtain a service result, and sending the service result to the terminal of the Internet of things.
In a third aspect, an embodiment of the present application provides an internet of things node service management device, including: a memory and one or more processors;
the memory is used for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for managing node services of the internet of things according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the internet of things node service management method according to the first aspect.
According to the method and the device, authority authentication is conducted on the Internet of things terminal according to authentication information uploaded by the Internet of things terminal, so that service calling authorities of the Internet of things terminal to all service nodes are determined, an available service table of the Internet of things terminal is created according to the service calling authorities and the service information dictionary, when the Internet of things terminal sends a service calling request, corresponding service content information is determined according to the available service table, corresponding service is called to the service nodes according to node addresses corresponding to the determined service content information, service results obtained by the service nodes responding to the service calling request are returned to the Internet of things terminal, service requirements of the Internet of things terminal are met, and safety of all the service nodes and management safety of the Internet of things are effectively improved.
Drawings
Fig. 1 is a flowchart of a method for managing node services of the internet of things according to an embodiment of the present application;
fig. 2 is a flowchart of another method for managing node services of the internet of things according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an internet of things node service management device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an internet of things node service management device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments thereof is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an internet of things node service management method provided by an embodiment of the present application, where the method for managing the internet of things node service provided by the embodiment of the present application may be executed by an internet of things node service management device, and the internet of things node service management device may be implemented by means of hardware and/or software and integrated in an internet of things node service management device (e.g. an internet of things gateway).
The following describes an example of an internet of things node service management device executing an internet of things node service management method. Referring to fig. 1, the method for managing the node service of the internet of things comprises the following steps:
s101: and carrying out authority authentication on the Internet of things terminal based on authentication information uploaded by the Internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records the node address of a service node of which the Internet of things terminal has service calling authority.
The internet of things terminal accesses the wireless channel provided by the internet of things node service management device provided in this embodiment by a wireless access manner (for example, wiFi, zigBee, loRa, etc.), and sends a login application carrying a login password to the internet of things node service management device based on the wireless channel. After receiving the login password uploaded by the internet of things terminal, the internet of things node service management device carries out login verification on the internet of things terminal based on the self-set authentication password and the login matching condition, and allows the internet of things terminal to be accessed into the internet of things network when the internet of things terminal passes the login verification, otherwise, the internet of things terminal is refused to log in application and disconnected from the internet of things terminal.
Further, after the internet of things terminal is successfully accessed to the internet of things network, the internet of things terminal uploads authentication information to the internet of things node service management device. And the corresponding relation of different authentication information to the service calling authorities of all service nodes in the Internet of things is pre-stored in the Internet of things node service management device. After receiving the authentication information, the service management device of the node of the Internet of things determines the service calling authority of each service node in the network of the Internet of things corresponding to the authentication information according to the authority corresponding relation, and generates an authority authentication result of the terminal of the Internet of things based on the determined service calling authority of each service node in the network of the Internet of things.
S102: and creating an available service table for the Internet of things terminal based on the authority authentication result and a service information dictionary, wherein the service information dictionary stores address correspondence between service content information and node addresses provided by each service node, and the available service table records the service content information and the node addresses corresponding to the service nodes of the Internet of things terminal with service calling authority.
Exemplary, after determining the authority authentication result of the internet of things terminal, determining service nodes of the internet of things terminal with service call authorities in the internet of things network based on the authority authentication result, and determining node addresses of the service call authorities.
And determining the service content information corresponding to the determined node address according to the address correspondence between the service content information provided by each service node and the node address recorded in the service information dictionary. It can be understood that the service content information records the service capability available to the corresponding service node, and the determined service capability corresponding to the service content information is the service capability that the terminal of the internet of things can call from the corresponding service node.
Further, after determining service content information and node addresses corresponding to service nodes with service calling rights in the internet of things, the internet of things terminal establishes an available service table for the internet of things terminal, records the service content information and the node addresses corresponding to the service nodes with the service calling rights in the internet of things terminal in the available service table, and determines the corresponding relation between the service content information and the node addresses.
S103: and responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table.
The service node service management device is used for managing the service capacity of the service node, and the service capacity of the service node is required to be invoked by the service terminal.
And after receiving a service call request sent by the terminal of the Internet of things, determining service content information indicated by the service call request. Further, an available service table corresponding to the internet of things terminal is determined, searching is conducted in the available service table according to service content information indicated by the service call request, if no corresponding service information content exists in the available service table, a response flow to the service call request is ended, and an available service prompt is returned to the internet of things terminal.
Further, after the corresponding service content information is retrieved from the available service table, the node address corresponding to the service content information is determined. If a plurality of service content information is retrieved, one service content information is randomly designated and a node address corresponding to the service content information is determined.
S104: and forwarding the service call request to the service node based on the node address, responding the service call request by the service node to obtain a service result, and sending the service result to the Internet of things terminal.
The service node responds to the service call request, processes the data or instruction information to be processed based on the service capability provided by the service node, and obtains a service result. After receiving the service result returned by the service node, the service result is sent to the corresponding terminal of the Internet of things so that the terminal of the Internet of things can carry out the next work.
According to the method, the authority authentication is carried out on the Internet of things terminal according to the authentication information uploaded by the Internet of things terminal, so that the service calling authority of the Internet of things terminal for each service node is determined, an available service table of the Internet of things terminal is created according to the service calling authority and the service information dictionary, when the Internet of things terminal sends a service calling request, corresponding service content information is determined according to the available service table, corresponding service is called for the service node according to the node address corresponding to the determined service content information, and a service result obtained by the service node responding to the service calling request is returned to the Internet of things terminal, so that the service requirement of the Internet of things terminal is met, and the safety of each service node and the management safety of the Internet of things are effectively improved.
On the basis of the above embodiment, fig. 2 shows a flowchart of another method for managing node services of the internet of things according to the embodiment of the present application, where the method for managing node services of the internet of things is a concrete method for managing node services of the internet of things. Referring to fig. 2, the method for managing the node service of the internet of things comprises the following steps:
s201: and storing the service content information and the node addresses provided by the service nodes in a service information dictionary.
The service information dictionary stores address correspondence between service content information and node addresses provided by each service node, and the internet of things node service management device stores the service content information and the node addresses provided by each service node in the service information dictionary after receiving the service content information and the node addresses sent by each service node.
Specifically, storing the service content information and the node address provided by each service node in the service information dictionary includes steps S2011-S2012:
s2011: and receiving service content information and node addresses provided by all service nodes in the Internet of things network.
S2012: and taking the node address as a key, taking the corresponding service content information as a value, and storing the service content information and the node address in a service information dictionary.
In this embodiment, after each service node accesses the internet of things network, the service content information and the corresponding node address are broadcast to the internet of things network at regular time according to the service capability provided by the service node. The node service management device of the internet of things maintains a service information dictionary through a Redis database, the service information dictionary stores data in a key value pair mode, specifically, the service information dictionary takes a node address as a key, takes service content information as a value, and stores the node address and the service content information.
Specifically, service content information and node addresses reported by all service nodes are acquired from the internet of things at regular time, the node addresses are used as keys, the corresponding service content information is used as a value, and the service content information and the corresponding node addresses are stored in a service information dictionary.
S202: and updating the service information dictionary according to the update time corresponding to the service content information in the service information dictionary.
Specifically, service content information and node addresses reported by all service nodes are acquired from the internet of things at regular time, the newly received node addresses are used as keys, and corresponding newly received service content information is used as a value, so that key value pairs originally stored in the service information dictionary are subjected to coverage updating. The time interval of the service node for acquiring the service content information and the node address from the Internet of things network is larger than the time interval of the service node for broadcasting the service content information and the node address to the Internet of things network.
Further, the node address is compared with the node address recorded in the service information dictionary, and when the node address which is not recorded in the service information dictionary is found (for example, when a new service node joins the internet of things network or the service node joins the internet of things network again), the new node address is used as a key, and the corresponding service content information is added into the service information dictionary as a value for storage.
Further, the node address and the key value pair corresponding to the service content information are added and updated in the service information dictionary, the update time of each key value pair is recorded at the same time, the internet of things node service management device checks the update time of each key value pair according to the set time interval, and when the update time is longer than the set time (longer than the time interval of broadcasting the service content information and the node address to the internet of things by the service node), the key value pair is deleted from the service information dictionary, so that the node address and the service content information which are recorded in the service information dictionary and are not acquired in the set time are deleted, and the service node corresponding to the node address recorded in the service information dictionary is ensured to be normally on line.
S203: and in response to the updating operation of the service information dictionary, updating the available service table based on the updated service information dictionary.
Specifically, the available service tables of the online-logged-in internet of things terminals are stored in the Redis database, after key value pairs in the service information dictionary are updated, the available service tables corresponding to the online-logged-in internet of things terminals are synchronously updated based on the updated service information dictionary in response to the updating operation of the service information dictionary. For example, determining node addresses recorded in each available service table, acquiring corresponding service content information from the updated service information dictionary, and performing overlay update. And when deleting the node address in the service information dictionary, synchronously deleting the node address and corresponding service content information in each available service list.
S204: and carrying out authority authentication on the Internet of things terminal based on authentication information uploaded by the Internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records the node address of a service node of which the Internet of things terminal has service calling authority.
S205: and determining a node address corresponding to a service node of the Internet of things terminal with service calling authority, and determining the service content information corresponding to the node address according to the service information dictionary.
Specifically, service nodes with service calling authorities of the internet of things terminal are determined according to the authority authentication result, and node addresses corresponding to the service nodes are determined.
Further, according to the address correspondence between the service content information and the node address recorded in the service information dictionary, the service content information corresponding to the determined node address is called in the service information dictionary.
S206: and establishing an available service table for the terminal of the Internet of things according to the determined node address and the service content information.
Specifically, after determining the node address of the service node with the service call authority and the corresponding service content information of the internet of things terminal, an available service table is created for the internet of things terminal in a Redis database, and the determined node address and the determined service content information are recorded in the available service table.
S207: and responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request.
In one possible embodiment, after the available service table corresponding to each internet of things terminal is created or updated, corresponding service content information is fed back to each internet of things terminal. The terminal of the Internet of things can determine the service capability which can be called to the Internet of things network according to the received service content information, and send a service calling request carrying the corresponding service content information to the node service management device of the Internet of things according to the service capability which needs to be called.
Specifically, after receiving a service call request sent by the internet of things terminal, the service call request is analyzed and service content information carried by the service call request is determined.
S208: and searching the determined service content information in the available service table, and determining a corresponding node address based on the searched service content information.
Specifically, an available service table corresponding to the internet of things terminal sending the service call request is called in the Redis database, and service content information carried by the service call request is searched and found in the available service table. If the service content information is found out, the service content information can be directly determined to be the service content information corresponding to the service call request, and if the service content information is found out, the service content information is randomly designated to be the service content information corresponding to the service call request.
Further, after searching and determining one piece of service content information, determining a node address corresponding to the service content information in the available service table, and determining a service node corresponding to the node address as a service node for providing corresponding service capability for the terminal of the internet of things.
S209: and forwarding the service call request to the service node based on the node address, responding the service call request by the service node to obtain a service result, and sending the service result to the Internet of things terminal.
According to the method, the authority authentication is carried out on the Internet of things terminal according to the authentication information uploaded by the Internet of things terminal, so that the service calling authority of the Internet of things terminal for each service node is determined, an available service table of the Internet of things terminal is created according to the service calling authority and the service information dictionary, when the Internet of things terminal sends a service calling request, corresponding service content information is determined according to the available service table, corresponding service is called for the service node according to the node address corresponding to the determined service content information, and a service result obtained by the service node responding to the service calling request is returned to the Internet of things terminal, so that the service requirement of the Internet of things terminal is met, and the safety of each service node and the management safety of the Internet of things are effectively improved. Meanwhile, the service information dictionary and the available service table are updated in real time, so that the service capability provided by the service node can be correctly invoked by the terminal of the Internet of things, the situation that the service node for determining the service capability cannot be accessed due to the fact that the service node fails or goes offline is reduced, and user experience is optimized.
Fig. 3 is a schematic structural diagram of an internet of things node service management device according to an embodiment of the present application. As shown in fig. 3, the internet of things node service management apparatus includes a right authentication module 31, a list creation module 32, a request response module 33, and a service invocation module 34.
The authority authentication module 31 is configured to perform authority authentication on an internet of things terminal based on authentication information uploaded by the internet of things terminal to obtain an authority authentication result, where the authority authentication result records a node address of a service node of the internet of things terminal having service calling authority; the list creation module 32 is configured to create an available service table for the internet of things terminal based on the authority authentication result and a service information dictionary, where the service information dictionary stores address correspondence between service content information provided by each service node and node addresses, and the available service table records service content information and node addresses corresponding to service nodes that have service call authority for the internet of things terminal; the request response module 33 is configured to respond to a service call request sent by the internet of things terminal, and determine service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table; the service calling module 34 is configured to forward the service calling request to the service node based on the node address, obtain a service result by the service node in response to the service calling request, and send the service result to the terminal of the internet of things.
According to the method, the authority authentication is carried out on the Internet of things terminal according to the authentication information uploaded by the Internet of things terminal, so that the service calling authority of the Internet of things terminal for each service node is determined, an available service table of the Internet of things terminal is created according to the service calling authority and the service information dictionary, when the Internet of things terminal sends a service calling request, corresponding service content information is determined according to the available service table, corresponding service is called for the service node according to the node address corresponding to the determined service content information, and a service result obtained by the service node responding to the service calling request is returned to the Internet of things terminal, so that the service requirement of the Internet of things terminal is met, and the safety of each service node and the management safety of the Internet of things are effectively improved.
The embodiment of the application also provides the node service management equipment of the Internet of things, which can integrate the node service management device of the Internet of things. Fig. 4 is a schematic structural diagram of an internet of things node service management device according to an embodiment of the present application. Referring to fig. 4, the node service management apparatus of the internet of things includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 is configured to store one or more programs; the one or more programs, when executed by the one or more processors 41, cause the one or more processors 41 to implement the method for managing node services of the internet of things as provided in the above embodiment. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or otherwise, for example in fig. 4 by a bus connection.
The memory 42 is used as a computer readable storage medium for storing software programs, computer executable programs, and modules, and is used for storing program instructions/modules corresponding to the method for managing node services of the internet of things (for example, the authority authentication module 31, the list creation module 32, the request response module 33, and the service call module 34 in the device for managing node services of the internet of things according to any embodiment of the present application). The memory 42 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the device, etc. In addition, memory 42 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 42 may further comprise memory located remotely from processor 41, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet of things, an intranet, a local area network, a mobile communication network, and combinations thereof.
The input means 43 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output device 44 may include a display device such as a display screen.
The processor 41 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 42, i.e. implements the above-described node service management method of the internet of things.
The device, the equipment and the computer for managing the node service of the Internet of things provided by the embodiment can be used for executing the method for managing the node service of the Internet of things provided by any embodiment, and have corresponding functions and beneficial effects.
The present application also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are configured to perform the method for managing node services of the internet of things provided in the above embodiment, where the method for managing node services of the internet of things includes: performing authority authentication on the Internet of things terminal based on authentication information uploaded by the Internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records the node address of a service node of the Internet of things terminal with service calling authority; creating an available service table for the internet of things terminal based on the authority authentication result and a service information dictionary, wherein the service information dictionary stores address correspondence between service content information provided by each service node and node addresses, and the available service table records the service content information and the node addresses corresponding to the service nodes of the internet of things terminal with service calling authority; responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table; and forwarding the service call request to the service node based on the node address, responding the service call request by the service node to obtain a service result, and sending the service result to the Internet of things terminal.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the method for managing the node service of the internet of things as described above, and may also perform the related operations in the method for managing the node service of the internet of things provided in any embodiment of the present application.
The device, the equipment and the storage medium for managing the node service of the internet of things provided in the foregoing embodiments may perform the method for managing the node service of the internet of things provided in any embodiment of the present application, and technical details not described in detail in the foregoing embodiments may refer to the method for managing the node service of the internet of things provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (6)

1. The node service management method of the Internet of things is characterized by comprising the following steps of:
storing service content information and node addresses provided by all service nodes in a service information dictionary, and performing authority authentication on an internet of things terminal based on authentication information uploaded by the internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records the node address of the service node of which the internet of things terminal has service calling authority;
determining a node address corresponding to a service node of which the terminal of the Internet of things has service calling authority, and determining the service content information corresponding to the node address according to the service information dictionary; creating an available service table for the Internet of things terminal according to the determined node address and the service content information, wherein the service information dictionary stores address corresponding relations between the service content information provided by each service node and the node address, and the available service table records the service content information and the node address corresponding to the service node of the Internet of things terminal with service calling authority;
responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table;
forwarding the service call request to the service node based on the node address, responding to the service call request by the service node to obtain a service result, and sending the service result to the Internet of things terminal;
updating the service information dictionary according to the update time corresponding to the service content information in the service information dictionary, wherein the update time of each key value pair is checked according to a set time interval, and when the update time is longer than a set time length, the node address and the service content information which are not acquired in the set time are deleted from the service information dictionary;
and responding to the updating operation of the service information dictionary, and updating the available service table based on the updated service information dictionary, wherein after the available service table corresponding to each Internet of things terminal is created or updated, the corresponding service content information is fed back to each Internet of things terminal, the Internet of things terminal determines the service capability which can be called for the Internet of things network according to the received service content information, and sends a service call request carrying the corresponding service content information according to the service capability which needs to be called.
2. The method for managing node services of the internet of things according to claim 1, wherein storing the service content information and the node address provided by each service node in the service information dictionary comprises:
receiving service content information and node addresses provided by all service nodes in an Internet of things network;
and taking the node address as a key, taking the corresponding service content information as a value, and storing the service content information and the node address in a service information dictionary.
3. The method for managing node services of the internet of things according to claim 1, wherein determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table includes:
determining service content information indicated by the service call request;
and searching the determined service content information in the available service table, and determining a corresponding node address based on the searched service content information.
4. The node service management device of the Internet of things is characterized by comprising a permission authentication module, a list creation module, a request response module and a service calling module, wherein:
the authority authentication module is used for storing service content information and node addresses provided by all the service nodes in a service information dictionary, and performing authority authentication on the internet of things terminal based on authentication information uploaded by the internet of things terminal to obtain an authority authentication result, wherein the authority authentication result records the node address of the service node of which the internet of things terminal has service calling authority;
the list creation module is used for determining a node address corresponding to a service node of which the terminal of the Internet of things has service calling authority, and determining the service content information corresponding to the node address according to the service information dictionary; creating an available service table for the Internet of things terminal according to the determined node address and the service content information, wherein the service information dictionary stores address corresponding relations between the service content information provided by each service node and the node address, and the available service table records the service content information and the node address corresponding to the service node of the Internet of things terminal with service calling authority;
the request response module is used for responding to a service call request sent by the Internet of things terminal, and determining service content information indicated by the service call request and a node address corresponding to the service content information according to the available service table;
the service calling module is used for forwarding the service calling request to the service node based on the node address, responding the service calling request by the service node to obtain a service result, and sending the service result to the terminal of the Internet of things;
the node service management device of the internet of things is further used for: updating the service information dictionary according to the update time corresponding to the service content information in the service information dictionary, wherein the node service management device of the internet of things checks the update time of each key value pair according to a set time interval, and when the update time is longer than a set time length, the node address and the service content information which are not acquired in the set time are deleted from the service information dictionary; and responding to the updating operation of the service information dictionary, and updating the available service table based on the updated service information dictionary, wherein after the available service table corresponding to each Internet of things terminal is created or updated, the corresponding service content information is fed back to each Internet of things terminal, the Internet of things terminal determines the service capability which can be called for the Internet of things network according to the received service content information, and sends a service call request carrying the corresponding service content information according to the service capability which needs to be called.
5. An internet of things node service management device, comprising: a memory and one or more processors;
the memory is used for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the internet of things node service management method of any of claims 1-3.
6. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the internet of things node service management method of any of claims 1-3.
CN202011531281.5A 2020-12-22 2020-12-22 Method, device, equipment and storage medium for managing node service of Internet of things Active CN112637338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011531281.5A CN112637338B (en) 2020-12-22 2020-12-22 Method, device, equipment and storage medium for managing node service of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011531281.5A CN112637338B (en) 2020-12-22 2020-12-22 Method, device, equipment and storage medium for managing node service of Internet of things

Publications (2)

Publication Number Publication Date
CN112637338A CN112637338A (en) 2021-04-09
CN112637338B true CN112637338B (en) 2023-05-26

Family

ID=75321170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011531281.5A Active CN112637338B (en) 2020-12-22 2020-12-22 Method, device, equipment and storage medium for managing node service of Internet of things

Country Status (1)

Country Link
CN (1) CN112637338B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113312296B (en) * 2021-05-21 2022-01-18 中南民族大学 Heart rate data acquisition and host serial port communication method based on ZigBee
CN117081765A (en) * 2022-05-10 2023-11-17 中国移动通信有限公司研究院 Access method of first platform, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996234A (en) * 2014-05-31 2019-07-09 华为技术有限公司 A kind of method for connecting network, hot terminal and management terminal
CN111786998A (en) * 2020-06-30 2020-10-16 成都新潮传媒集团有限公司 Authority management method and device based on micro-service calling and storage medium
CN111797418A (en) * 2020-07-07 2020-10-20 中国建设银行股份有限公司 Control method and device of online service, service terminal, server and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107342971A (en) * 2016-05-03 2017-11-10 北京京东尚科信息技术有限公司 Service calling method and device
KR20190105757A (en) * 2018-03-06 2019-09-18 이효열 IoT ENGINE ALGORITHM AND SOFTWARE FOR SMART GATEWAY INTERWORKING WITH LOCAL SERVER
CN109491988B (en) * 2018-11-05 2021-12-14 北京中安智达科技有限公司 Data real-time association method supporting full-scale updating
CN110309479A (en) * 2019-07-09 2019-10-08 西安点告网络科技有限公司 Attribute information acquiring method and device
CN111083102A (en) * 2019-10-23 2020-04-28 全球能源互联网研究院有限公司 Internet of things data processing method, device and equipment
CN112016106B (en) * 2020-08-19 2023-05-26 杭州指令集智能科技有限公司 Authentication calling method, device and equipment of open interface and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996234A (en) * 2014-05-31 2019-07-09 华为技术有限公司 A kind of method for connecting network, hot terminal and management terminal
CN111786998A (en) * 2020-06-30 2020-10-16 成都新潮传媒集团有限公司 Authority management method and device based on micro-service calling and storage medium
CN111797418A (en) * 2020-07-07 2020-10-20 中国建设银行股份有限公司 Control method and device of online service, service terminal, server and storage medium

Also Published As

Publication number Publication date
CN112637338A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN109542361B (en) Distributed storage system file reading method, system and related device
CN112637338B (en) Method, device, equipment and storage medium for managing node service of Internet of things
US10999721B2 (en) Communication identifier binding processing method and terminal
CN109618176B (en) Processing method, equipment and storage medium for live broadcast service
CN113067859B (en) Communication method and device based on cloud mobile phone
CN104753677A (en) Password hierarchical control method and system
CN108924043A (en) System monitoring method, gateway communication, gateway apparatus, service processing equipment
CN107612923B (en) Service access method and device based on network policy group
CN109657485B (en) Authority processing method and device, terminal equipment and storage medium
CN111694639A (en) Method and device for updating address of process container and electronic equipment
CN113672894A (en) Data processing method, device and equipment for identifying code request and storage medium
CN110336813B (en) Access control method, device, equipment and storage medium
CN112615872B (en) Internet of things node security management method, device, equipment and storage medium
CN113596226B (en) Interface display method, electronic device and readable storage medium
CN112668998B (en) Flow implementation method, device, system, electronic equipment and readable storage medium
CN112738153B (en) Gateway selection method, system, device, server and medium in service system
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN114567678A (en) Resource calling method and device of cloud security service and electronic equipment
CN108768987B (en) Data interaction method, device and system
CN112364334A (en) Single sign-on method and device, electronic equipment and storage medium
CN111400060A (en) Equipment linkage method, device, server and medium
CN114666241B (en) Method and device for identifying industrial control asset information
CN113641966B (en) Application integration method, system, equipment and medium
CN111404940B (en) Data packet identification method and device, electronic equipment and storage medium
CN110022538B (en) Method and device for identifying traffic type

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