CN108737485B - Method and system for operating resources of Internet of things - Google Patents

Method and system for operating resources of Internet of things Download PDF

Info

Publication number
CN108737485B
CN108737485B CN201710275342.8A CN201710275342A CN108737485B CN 108737485 B CN108737485 B CN 108737485B CN 201710275342 A CN201710275342 A CN 201710275342A CN 108737485 B CN108737485 B CN 108737485B
Authority
CN
China
Prior art keywords
operation request
internet
things
apikey
http
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
CN201710275342.8A
Other languages
Chinese (zh)
Other versions
CN108737485A (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.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710275342.8A priority Critical patent/CN108737485B/en
Publication of CN108737485A publication Critical patent/CN108737485A/en
Application granted granted Critical
Publication of CN108737485B publication Critical patent/CN108737485B/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/14Session management
    • H04L67/141Setup of application sessions
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • 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
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

The invention discloses an operation method for resources of the Internet of things, which comprises the following steps: the server side establishes communication connection with the client side; the server generates a first APIKey aiming at a registered user which exists in the client and is the same as the registered user which exists in the server, and sends the first APIKey to the client; the first APIKey is used for determining the operation authority of a registered user in the client to the Internet of things resources in the Internet of things resource database of the server; the client sends an HTTP operation request to the server, wherein the HTTP operation request carries a first APIKey or a second APIKey, the second APIKey is contained in the first APIKey, and the HTTP operation request is used for operating the resources of the Internet of things in an Internet of things resource database of the server; and the server side operates the resources of the Internet of things according to the HTTP operation request. The invention also discloses a system for operating the resources of the Internet of things.

Description

Method and system for operating resources of Internet of things
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a system for operating resources of the Internet of things.
Background
Representational State Transfer (REST) is an architectural style, and is a design and development mode for network applications, which can reduce the complexity of development and improve the scalability of a system.
In the field of application of the internet of things, the management of internet of things resources by adopting a lightweight World wide web (web) service provided by an REST mode has great advantages, a system for realizing the REST mode is called RESTful, and an RESTful framework is to operate the internet of things resources of a service end through a client, realize the conversion of the information state of the internet of things resources and finally reflect the information state on the client; the resources of the internet of things refer to various data in the internet of things, various resources of the internet of things of the server side are pointed through Uniform Resource Identifiers (URIs), each resource of the internet of things corresponds to one URI, and the client side can access the resources of the internet of things through accessing the URIs; the conversion of the information state refers to the creation, updating, deletion and the like of the information of the resources of the internet of things.
When a client sends an operation request to a server by using a HyperText Transfer Protocol (HTTP), the client and the server need to check for multiple times according to a preset algorithm to authenticate the authority, and the client can operate the internet of things resource on the server after the authority authentication is passed; such authentication and operation consumes system resources and increases overhead.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a method and a system for operating resources of the internet of things, so as to save system resources and reduce overhead.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides an operation method for resources of the Internet of things, which is applied to an operating system of the resources of the Internet of things, wherein the operating system of the resources of the Internet of things comprises a server and a client; the method comprises the following steps:
the server side establishes communication connection with the client side;
the server generates a first application programming interface key APIKey aiming at a registered user which exists in the client and is the same as the registered user which exists in the server, and sends the first APIKey to the client; the first APIKey is used for determining the operation authority of the registered user on the Internet of things resources in the Internet of things resource database of the server side;
the client sends a hypertext transfer protocol (HTTP) operation request to the server, wherein the HTTP operation request carries the first APIKey or the second APIKey, the second APIKey is contained in the first APIKey, and the HTTP operation request is used for operating the Internet of things resource in an Internet of things resource database of the server;
and the server side operates the resources of the Internet of things according to the HTTP operation request.
In the above scheme, before the client sends the HTTP operation request to the server, the method further includes:
the client presents the HTTP operation request and the configuration content of the HTTP operation request on a screen;
after the server operates the internet of things resource according to the HTTP operation request, the method further comprises the following steps:
the server side obtains an operation result and sends the operation result to the client side;
and the client presents the operation result on the screen.
In the above scheme, after the client sends a hypertext transfer protocol HTTP operation request to the server, before the server operates the internet of things resource according to the HTTP operation request, the method further includes:
the server side carries out scheduling management on the HTTP operation request according to a resource scheduling algorithm to obtain a scheduled HTTP operation request;
the server side operates the resources of the internet of things according to the HTTP operation request, and the method comprises the following steps:
and the server side operates the resources of the Internet of things according to the scheduled HTTP operation request.
In the above scheme, after the client sends the HTTP operation request to the server, and before the server operates the internet of things resource according to the HTTP operation request, the method further includes:
the server side partitions according to the theme of the HTTP operation request to obtain a plurality of message queues;
the server caches the received HTTP operation request in a message queue corresponding to the subject of the HTTP operation request;
the server side operates the resources of the internet of things according to the HTTP operation request, and the method comprises the following steps:
and the server side reads the HTTP operation request in the corresponding message queue and operates the resources of the Internet of things.
In the above scheme, after the server caches the received HTTP operation request in a message queue corresponding to a subject of the HTTP operation request, the method further includes:
the server side updates the corresponding message queue according to a cache deletion mechanism to obtain the updated corresponding message queue;
the cache deletion mechanism comprises a first mode or a second mode;
the first mode is a mode of replacing the HTTP operation request with the longest cache time in the corresponding message queue with a new HTTP operation request when the new HTTP operation request exceeds the range of the queue after being stored in the corresponding message queue;
the second mode is a mode of regularly deleting all HTTP operation requests in the corresponding message queue according to a least recently used LRU algorithm;
the server side reads the HTTP operation request in the corresponding message queue and operates the resources of the Internet of things, and the operation comprises the following steps:
and the server side reads the updated HTTP operation request in the corresponding message queue and operates the resources of the Internet of things.
In the above scheme, the resource database of the internet of things is a distributed database, and the distributed database includes a Key Value Key-Value database and a binary form persistent database;
the Key-Value database comprises a master database and a slave database, wherein the master database has a read-write function, and the slave database has a read function;
the binary form persistent database has a multi-copy storage function.
In the foregoing solution, the HTTP operation request includes: at least any one item of a POST operation request, a PUT operation request, a GET operation request, a DELETE operation request is added, or any combination of the items.
The invention also provides a system for operating resources of the internet of things, comprising: a server and a client; wherein, the server side includes: the device comprises a first communication module, a generation module and a processing module; the client comprises: a second communication module;
the first communication module is used for establishing communication connection with the second communication module;
the generation module is used for generating a first application programming interface key APIKey for a registered user existing in the client and the same as the registered user existing in the server, wherein the first APIKey is used for determining the operation authority of the registered user existing in the client on the resources of the Internet of things in an Internet of things resource database of the server;
the first communication module is further configured to send the first APIKey to the second communication module;
the second communication module is configured to send a hypertext transfer protocol HTTP operation request to the first communication module, where the HTTP operation request carries the first APIKey or the second APIKey, the second APIKey is included in the first APIKey, and the HTTP operation request is used to operate an internet of things resource in an internet of things resource database of the server;
and the processing module is used for operating the resources of the Internet of things according to the HTTP operation request.
In the foregoing solution, the client further includes: a presentation module;
the presentation module is used for presenting the HTTP operation request and the configuration content of the HTTP operation request on a screen;
the first communication module is further configured to obtain an operation result and send the operation result to the second communication module;
the presenting module is further used for presenting the operation result on the screen.
In the above solution, the server further includes: a management module;
the management module is used for scheduling and managing the HTTP operation request according to a resource scheduling algorithm to obtain a scheduled HTTP operation request;
the processing module is specifically configured to operate the internet of things resource according to the scheduled HTTP operation request.
In the above solution, the server further includes: a cache module;
the cache module is used for partitioning according to the subject of the HTTP operation request to obtain a plurality of message queues;
the cache module is further configured to cache the received HTTP operation request in a message queue corresponding to a subject of the HTTP operation request;
the processing module is specifically configured to read the HTTP operation request in the corresponding message queue and operate the internet of things resource.
In the above solution, the server further includes: an update module;
the updating module is used for updating the corresponding message queue according to a cache deletion mechanism to obtain the updated corresponding message queue;
the cache deletion mechanism comprises a first mode or a second mode;
the first mode is a mode of replacing the HTTP operation request with the longest cache time in the corresponding message queue with a new HTTP operation request when the new HTTP operation request exceeds the range of the queue after being stored in the corresponding message queue;
the second mode is a mode of regularly deleting all HTTP operation requests in the corresponding message queue according to a least recently used LRU algorithm;
the processing module is specifically configured to read the updated HTTP operation request in the corresponding message queue and operate the internet of things resource.
According to the method and the system for operating the resources of the Internet of things, which are provided by the embodiment of the invention, the communication connection is established between the server side and the client side; the server generates a first APIKey aiming at a registered user which exists in the client and is the same as the registered user which exists in the server, and sends the first APIKey to the client, wherein the first APIKey is used for determining the operation authority of the registered user existing in the client on the resources of the Internet of things in the resource database of the Internet of things of the server; the method comprises the steps that a client sends an HTTP operation request to a server, wherein the HTTP operation request is used for operating resources of the internet of things in an internet of things resource database of the server by the client, the HTTP operation request carries a first APIKey or a second APIKey, the first APIKey is allocated to the client by the server, and the second APIKey is a part of the first APIKey and is contained in the first APIKey; the server side operates the resources of the Internet of things according to the HTTP operation request to complete the operation tasks of the resources of the Internet of things; therefore, the server judges whether the client has the authority corresponding to the operation or not according to the received current APIKey sent by the client, the authority authentication is completed at one time, the client and the server do not need to check for many times according to a preset algorithm in each operation request, the authority is authenticated, the authority authentication can be completed and the corresponding operation request can be executed only once, system resources can be effectively saved, and expenses can be reduced.
Drawings
Fig. 1 is a flowchart of a first method embodiment of the present invention for the operation of resources of the internet of things;
fig. 2 is a flowchart of a second embodiment of the method for operating resources of the internet of things according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a system for operating resources of the Internet of things according to the present invention;
fig. 4 is a schematic view of a scene structure of the system for operating resources of the internet of things according to the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Fig. 1 is a flowchart of a first method for operating resources of the internet of things according to the present invention, and as shown in fig. 1, the method for operating resources of the internet of things provided by the present invention is applied to an operating system of resources of the internet of things, where the operating system of resources of the internet of things includes a server and a client; the method may comprise the steps of:
step 101, a server establishes communication connection with a client.
The server and the client can establish communication connection through a private network or a network provided by an operator, so that the communication function between the server and the client is realized.
Step 102, the server generates a first APIKey for a registered user existing in the client and the same as the registered user existing in the server, and sends the first APIKey to the client.
The first Application Programming Interface Key (APIKey) is used for determining the operation authority of a registered user in a client on the internet of things resources in an internet of things resource database of a server; namely, the first APIKey is used for indicating whether the registered user has the corresponding operation authority for at least one internet of things resource in the internet of things resource database.
The Internet of things resource database is established according to the resource types of the Internet of things resource model and contains various Internet of things resources; the resource types of the resource model of the internet of things comprise users, equipment, data streams, data points, triggers, commands and the like; the user is a registered user existing in the server, each registered user can establish a plurality of items, each item can add a plurality of devices, the devices have device Identifiers (IDs), a device can only belong to one item, one device can add at least one data stream, and/or at least one data point, and/or at least one trigger, and/or at least one command, and the like; for example, the internet of things resource may include a registered user corresponding to a plurality of different devices, each device corresponding to a plurality of different data streams and a plurality of different commands.
And step 103, the client sends an HTTP operation request to the server.
When a registered user operates at least one internet of things resource which is desired to be operated in a server through a client, the client sends an HTTP operation request to the server through a universal standard interface, wherein the HTTP operation request is used for operating at least one internet of things resource in an internet of things resource database of the server, namely, the registered user can simultaneously operate on one or more internet of things resources; wherein the HTTP operation request includes: at least any one item of a POST operation request, a PUT operation request, a GET operation request, a DELETE operation request is added, or any combination of the items.
In addition, the HTTP operation request carries a first APIKey or a second APIKey, where the first APIKey is allocated to the client by the server in step 102, and the second APIKey is a part of the first APIKey, that is, is included in the first APIKey; it can be understood that the first APIKey has the maximum and most access rights to the internet-of-things resources in the internet-of-things resource database of the server, and the second APIKey has only partial access rights in the first APIKey.
The server judges whether the client has the authority of corresponding operation according to the received current APIKey sent by the client, and completes the authority authentication once; therefore, compared with the prior art, the client and the server do not need to check for many times according to the preset algorithm to authenticate the authority when the request is operated every time, the authority authentication can be completed only once, and the calculation and check are not needed to be performed by the preset algorithm, so that the system resources can be effectively saved, and the expenditure is reduced.
And step 104, the server side operates the resources of the Internet of things according to the HTTP operation request.
And the server operates the resources of the Internet of things to be operated according to the HTTP operation request, and completes the operation of the registered user on the resources of the Internet of things.
Preferably, before the step, that is, after the server receives the HTTP operation request sent by the client, the server performs scheduling management on the HTTP operation request according to a resource scheduling algorithm to obtain a scheduled HTTP operation request; then, the server side operates the resources of the Internet of things to be operated according to the scheduled HTTP operation request, and the registered user operates the resources of the Internet of things; the resource scheduling algorithm is added to schedule and manage the HTTP operation request, so that the quality of system service can be further ensured.
For example, the resource scheduling algorithm may be any one or any combination of a first-come first-serve queue algorithm, a shortest-priority first-serve queue algorithm, a high-priority first-serve scheduling algorithm, a round-robin scheduling algorithm based on time slices, and an elevator scheduling algorithm, and it should be noted that the resource scheduling algorithm may be set according to actual needs, and is not limited herein.
According to the method for operating the resources of the Internet of things, which is provided by the embodiment of the invention, the communication connection is established between the server side and the client side; the server generates a first APIKey aiming at a registered user which exists in the client and is the same as the registered user which exists in the server, and sends the first APIKey to the client, wherein the first APIKey is used for determining the operation authority of the registered user existing in the client on the resources of the Internet of things in the resource database of the Internet of things of the server; the method comprises the steps that a client sends an HTTP operation request to a server, wherein the HTTP operation request is used for operating resources of the internet of things in an internet of things resource database of the server by the client, the HTTP operation request carries a first APIKey or a second APIKey, the first APIKey is allocated to the client by the server, and the second APIKey is a part of the first APIKey and is contained in the first APIKey; the server side operates the resources of the Internet of things according to the HTTP operation request to complete the operation tasks of the resources of the Internet of things; therefore, the server judges whether the client has the authority corresponding to the operation or not according to the received current APIKey sent by the client, the authority authentication is completed at one time, the client and the server do not need to check for many times according to a preset algorithm in each operation request, the authority is authenticated, the authority authentication can be completed and the corresponding operation request can be executed only once, system resources can be effectively saved, and expenses can be reduced.
To further illustrate the object of the present invention, the above embodiments are further illustrated.
Fig. 2 is a flowchart of a second method for operating resources of the internet of things according to the present invention, and as shown in fig. 2, the method for operating resources of the internet of things provided by the present invention is applied to an operating system of resources of the internet of things, where the operating system of resources of the internet of things includes a server and a client; the method may comprise the steps of:
step 201, the server establishes communication connection with the client.
The server and the client can establish communication connection through a private network or a network provided by an operator, so that the communication function between the server and the client is realized.
Step 202, the server generates a first APIKey for the registered user existing in the client and the same as the registered user existing in the server, and sends the first APIKey to the client.
The first APIKey is used for determining the operation authority of a registered user in the client to the Internet of things resources in the Internet of things resource database of the server; namely, the first APIKey is used for indicating whether the registered user has the corresponding operation authority for at least one internet of things resource in the internet of things resource database.
The Internet of things resource database is established according to the resource types of the Internet of things resource model and contains various Internet of things resources; the resource types of the resource model of the internet of things comprise users, equipment, data streams, data points, triggers, commands and the like; the user is a registered user existing in the server, each registered user can establish a plurality of items, each item can add a plurality of devices, the devices have device IDs, one device can only belong to one item, one device can add at least one data stream, and/or at least one data point, and/or at least one trigger, and/or at least one command and the like; for example, the internet of things resource may include a registered user corresponding to a plurality of different devices, each device corresponding to a plurality of different data streams and a plurality of different commands.
The resource database of the internet of things is a distributed database, and the distributed database comprises a Key Value Key-Value database and a binary form persistent database; the Key-Value database comprises a master database and a slave database, wherein the master database has a read-write function, and the slave database has a read function; the binary form persistent database has a multi-copy storage function.
The Key-Value database is configured according to a master-slave relation, the master database updates and synchronizes the resources of the internet of things to the slave database through a master-slave replication mechanism, the master database can be written and read, and the slave database can be read, so that the concurrency of system services can be increased; the binary form persistent database has a multi-copy storage function, namely, the resources of the internet of things can be stored in multiple copies, and data disaster tolerance is realized.
Step 203, the client presents the HTTP operation request and the configuration content of the HTTP operation request on the screen.
The client side utilizes a debugging tool to realize the visual configuration of the HTTP operation request and the configuration content of the HTTP operation request for the use and operation of a registered user; the configuration content of the HTTP operation request includes an Application Programming interface uniform Resource Locator (api) address and an APIKey, and may further include any one or any combination of a request method, a request parameter, a request content, and the like, and the HTTP operation request includes at least any one or any combination of a POST operation request, a PUT operation request, a GET operation request, and a DELETE operation request.
By supporting the visual operation execution mode of the client, the quick operation of the resources of the Internet of things is realized, and the operation and management of the registered user are more convenient and efficient.
And step 204, the client sends an HTTP operation request to the server.
When a registered user operates at least one internet of things resource which is desired to be operated in a server through a client, the client sends an HTTP operation request to the server through a universal standard interface, wherein the HTTP operation request is used for operating at least one internet of things resource in an internet of things resource database of the server, namely, the registered user can simultaneously operate on one or more internet of things resources; wherein the HTTP operation request includes: at least any one item of a POST operation request, a PUT operation request, a GET operation request, a DELETE operation request is added, or any combination of the items.
In addition, the HTTP operation request carries a first APIKey or a second APIKey, where the first APIKey is allocated to the client by the server in step 102, and the second APIKey is a part of the first APIKey, that is, is included in the first APIKey; it can be understood that the first APIKey has the maximum and most access rights to the internet-of-things resources in the internet-of-things resource database of the server, and the second APIKey has only partial access rights in the first APIKey.
The server judges whether the client has the authority of corresponding operation according to the received current APIKey sent by the client, and completes the authority authentication once; therefore, compared with the prior art, the client and the server do not need to check for many times according to the preset algorithm to authenticate the authority when the request is operated every time, the authority authentication can be completed only once, and the calculation and check are not needed to be performed by the preset algorithm, so that the system resources can be effectively saved, and the expenditure is reduced.
And step 205, the server performs partitioning according to the subject of the HTTP operation request to obtain a plurality of message queues.
And the server partitions according to the theme of the HTTP operation request, divides the HTTP operation request into a plurality of message queues and obtains a plurality of message queues.
Preferably, before the step, that is, after the server receives the HTTP operation request sent by the client, the server performs scheduling management on the HTTP operation request according to a resource scheduling algorithm to obtain a scheduled HTTP operation request; then, the server partitions according to the theme of the scheduled HTTP operation request to obtain a plurality of message queues; the resource scheduling algorithm is added to schedule and manage the HTTP operation request, so that the quality of system service can be further ensured.
And step 206, the server caches the received HTTP operation request in a message queue corresponding to the subject of the HTTP operation request.
And the server caches the received HTTP operation request in a message queue corresponding to the subject of the HTTP operation request.
Preferably, the server may update the corresponding message queue obtained in step 206 according to a cache deletion mechanism, so as to obtain an updated corresponding message queue; the cache deletion mechanism comprises a first mode or a second mode; the first mode is a mode of replacing the HTTP operation request with the longest cache time in the corresponding message queue with a new HTTP operation request when the new HTTP operation request exceeds the queue range after being stored in the corresponding message queue; the second mode is a mode of regularly deleting all HTTP operation requests in the corresponding message queue according to the least recently used LRU algorithm; then, the server caches the received HTTP operation request in an updated corresponding message queue corresponding to the subject of the HTTP operation request; by updating and deleting the message queue corresponding to the subject of the HTTP operation request, the valid HTTP operation request is stored, and the invalid HTTP operation request is removed, so that the quality of system service can be further ensured.
And step 207, the server side reads the HTTP operation request in the corresponding message queue and operates the resources of the Internet of things.
The specific implementation process of the server side reading the HTTP operation request in the corresponding message queue and operating the resources of the Internet of things is an asynchronous reading process, the asynchronous reading process is that a processing process carries out asynchronous interaction with the distributed database server when the operation request is executed, and according to the difference of the operation requests, the specific implementation process is as follows:
the execution process of the POST operation request comprises the following steps: the POST operation request is stored in a message queue after being adapted by a protocol, the POST operation request is read and executed by a processing process, and the resources of the Internet of things are stored in a Key-Value database and also stored in a binary form persistent database.
The execution process of the PUT operation request comprises the following steps: and the PUT operation request is stored in a message queue after protocol adaptation, the PUT operation request is read and executed by a processing process, and the resources of the Internet of things are stored in a Key-Value database and also stored in a binary form persistent database.
Executing the GET operation request: the GET operation request is stored in a message queue after protocol adaptation, a processing process reads and executes the GET operation request, the time of the requested Internet of things resource is judged, according to time limit, if the GET operation request is the latest data, the GET operation request is directly read from a Key-Value database, and if the GET operation request exceeds the time limit, the GET operation request is read from a binary form persistent database.
DELETE operation request execution Process: the DELETE operation request is provided with an identification bit, the server side records the identification bit, and a periodic check mechanism is adopted to DELETE the Internet of things resources corresponding to the identification bit in the distributed database server.
By adding the asynchronous reading service, the performance of accessing the resources of the Internet of things can be guaranteed, and the safety of the resources of the Internet of things can also be guaranteed.
And step 208, the server side obtains the operation result and sends the operation result to the client side.
The server side obtains a final operation result and sends the operation result to the client side;
step 209, the client presents the operation result on the screen.
After receiving the operation result, the client presents the operation result on a screen through a display interface of the debugging tool for a registered user to check; the states of various Internet of things resources are visualized, and the convenience of the system is improved.
According to the method for operating the resources of the Internet of things, which is provided by the embodiment of the invention, the communication connection is established between the server side and the client side; the server generates a first APIKey aiming at a registered user which exists in the client and is the same as the registered user which exists in the server, and sends the first APIKey to the client, wherein the first APIKey is used for determining the operation authority of the registered user existing in the client on the resources of the Internet of things in the resource database of the Internet of things of the server; the client presents the HTTP operation request and the configuration content of the HTTP operation request on a screen; the method comprises the steps that a client sends an HTTP operation request to a server, wherein the HTTP operation request is used for operating resources of the internet of things in an internet of things resource database of the server by the client, the HTTP operation request carries a first APIKey or a second APIKey, the first APIKey is allocated to the client by the server, and the second APIKey is a part of the first APIKey and is contained in the first APIKey; the server partitions according to the theme of the HTTP operation request to obtain a plurality of message queues; the server caches the received HTTP operation request in a message queue corresponding to the subject of the HTTP operation request; the server side reads the HTTP operation request in the corresponding message queue and operates the resources of the Internet of things to complete the operation task of the resources of the Internet of things; the server side obtains an operation result and sends the operation result to the client side; therefore, the server judges whether the client has the authority corresponding to the operation or not according to the received current APIKey sent by the client, the authority authentication is completed once, the client and the server do not need to check for many times according to a preset algorithm in each operation request, the authority is authenticated, the authority authentication can be completed and the corresponding operation request can be executed only once, the system resources can be effectively saved, and the expenditure is reduced; furthermore, through the visualization function on the client, the quick operation of the resources of the internet of things is realized; furthermore, by additionally arranging a resource scheduling service, an HTTP request operation caching service and an asynchronous reading service, the high-concurrency and safe operation of the Internet of things resources is realized, the system access performance is improved, and a developer is helped to quickly fall to the ground by applying the system.
In the following, taking the management of internet of things resources as devices as an example, the implementation processes of the POST operation request, PUT operation request, GET operation request, and DELETE operation request are described.
1. POST request
Description of the drawings: and requesting to add equipment through POST operation, and returning the equipment ID of the equipment after the equipment is successfully added.
ApiURL address: http:// < API _ ADDRESS >/devices
The request method comprises the following steps: POST (positive position transducer)
Request parameters: is free of
Requesting the content:
Figure BDA0001278243940000131
APIKey: xxxx-ffff-zzzzzz (Note: must be APIKey with maximum Access)
The returned result after the success of the POST operation request is as follows:
Figure BDA0001278243940000141
after the POST operation request is successful, the device information with the newly added device ID of 233444 can be viewed on the resource management interface.
2. PUT operation request
Description of the drawings: and editing and modifying the equipment information.
ApiURL address: http:// < API _ ADDRESS >/devices/< device _ id >
The request method comprises the following steps: PUT (polyurethane foam)
Request parameters: is free of
Requesting the content:
Figure BDA0001278243940000142
Figure BDA0001278243940000151
APIKey: xxxx-ffff-zzzzzz (Note: APIKey, which may be device-grade, or default APIKey for the same project)
The return result after the operation request is successful is as follows:
Figure BDA0001278243940000152
after the operation request is successful, the modification condition of the device information with the device ID 233444 can be checked on the resource management interface.
3. GET operation request
Description of the drawings: and checking the details of the equipment under test under the condition of knowing the equipment ID of the equipment under test, and returning the basic information of the equipment under test.
ApiURL address: http:// < API _ ADDRESS >/devices/< device _ id >
The request method comprises the following steps: GET (GET tool)
Request parameters: is free of
Requesting the content: is free of
APIKey: xxxx-ffff-zzzzzz (Note: APIKey, which must be a viewable device)
The return result after the operation request is successful is as follows:
Figure BDA0001278243940000161
4. DELETE operation request
Description of the drawings: a deletion device deletes all data streams and data points under the device; the delete device action is asynchronous, and the server will gradually delete the data stream and data points under the device in the following.
ApiURL address: http:// < API _ ADDRESS >/devices/< device _ id >
The request method comprises the following steps: DELETE
Request parameters: is free of
Requesting the content: is free of
APIKey: xxxx-ffff-zzzzzz (Note: APIKey, which may be device grade)
The return result after the operation request is successful is as follows:
Figure BDA0001278243940000162
after the operation request is successful, the device information with the device ID of 233444 is not viewed on the resource management interface.
For the internet of things resources such as data streams, data points, triggers and APIKey, the operation mode can be adopted to realize the rapid operation and management of the internet of things resources.
Fig. 3 is a schematic structural diagram of a system for operating resources of the internet of things according to an embodiment of the present invention, and as shown in fig. 3, a system 03 for operating resources of the internet of things according to an embodiment of the present invention includes: a server 31 and a client 32; wherein, the server 31 includes: a first communication module 311, a generation module 312, and a processing module 313; the client 32 includes: a second communication module 321;
the first communication module 311 is configured to establish a communication connection with the second communication module 321;
the generating module 312 is configured to generate a first application programming interface key APIKey for a registered user existing in the client 32 and the same as that existing in the server 31, where the first APIKey is used to clarify an operation authority of the registered user existing in the client 32 on an internet of things resource in an internet of things resource database of the server 31;
the first communication module 311 is further configured to send the first APIKey to the second communication module 321;
the second communication module 321 is configured to send a hypertext transfer protocol HTTP operation request to the first communication module 311, where the HTTP operation request carries the first APIKey or the second APIKey, the second APIKey is included in the first APIKey, and the HTTP operation request is used to operate an internet of things resource in an internet of things resource database of the server 31;
the processing module 313 is configured to operate the internet of things resource according to the HTTP operation request.
Further, the client 32 further includes: a presentation module 322;
the presentation module 322 is configured to present the HTTP operation request and the configuration content of the HTTP operation request on a screen;
the first communication module 311 is further configured to obtain an operation result, and send the operation result to the second communication module 321;
the presenting module 322 is further configured to present the operation result on the screen.
Further, the server 31 further includes: a management module 314;
the management module 314 is configured to perform scheduling management on the HTTP operation request according to a resource scheduling algorithm, so as to obtain a scheduled HTTP operation request;
the processing module 313 is specifically configured to operate the internet of things resource according to the scheduled HTTP operation request.
Further, the server 31 further includes: a cache module 315;
the cache module 315 is configured to partition according to the subject of the HTTP operation request to obtain a plurality of message queues;
the caching module 315 is further configured to cache the received HTTP operation request in a message queue corresponding to a subject of the HTTP operation request;
the processing module 313 is specifically configured to read the HTTP operation request in the corresponding message queue and operate the internet of things resource.
Further, the server 31 further includes: an update module 316;
the updating module 316 is configured to update the corresponding message queue according to a cache deletion mechanism, so as to obtain the updated corresponding message queue;
the cache deletion mechanism comprises a first mode or a second mode;
the first mode is a mode of replacing the HTTP operation request with the longest cache time in the corresponding message queue with a new HTTP operation request when the new HTTP operation request exceeds the range of the queue after being stored in the corresponding message queue;
the second mode is a mode of regularly deleting all HTTP operation requests in the corresponding message queue according to a least recently used LRU algorithm;
the processing module 313 is specifically configured to read the updated HTTP operation request in the corresponding message queue and operate the internet of things resource.
Further, the internet of things resource database is a distributed database, and the distributed database comprises a Key Value Key-Value database and a binary form persistent database;
the Key-Value database comprises a master database and a slave database, wherein the master database has a read-write function, and the slave database has a read function;
the binary form persistent database has a multi-copy storage function.
Further, the HTTP operation request includes: at least any one item of a POST operation request, a PUT operation request, a GET operation request, a DELETE operation request is added, or any combination of the items.
The system of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
In practical applications, the first communication module 311, the generation module 312, the processing module 313, the management module 314, the cache module 315, the update module 316, the second communication module 321, and the presentation module 322 may be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like in the system 03 for operating resources of the internet of things.
Fig. 4 is a schematic view of a scene structure of the system for operating resources of the internet of things according to the present invention, and as shown in fig. 4, in this scene, the system 04 for operating resources of the internet of things includes a server 41 and a client 42; the server 41 includes a middleware tool 411, a load balancing server 412 and a distributed database server 413, and the client 42 includes a debugging tool 421 and a resource management tool 422.
The middleware tool 411 and the debugging tool 421 communicate through a standard interface; the middleware tool 411 further has an authority authentication function, and generates the first APIKey and sends the first APIKey to the debugging tool 421, where specific descriptions about the first APIKey may refer to the descriptions in the foregoing embodiments, and are not described herein again.
In addition, the middleware tool 411 further has a cache service of the HTTP operation request, the middleware tool 411 partitions according to the subject of the HTTP operation request, divides the HTTP operation request into a plurality of message queues, caches the received HTTP operation request in the message queues, and the processing process reads and executes the HTTP operation request in the message queues; meanwhile, the middleware tool 411 adopts a cache deletion mechanism to ensure service provision; here, for specific descriptions of the cache service and the cache deletion mechanism of the HTTP operation request, reference may be made to the description in the foregoing embodiments, which are not described herein again.
The load balancing server 412 performs scheduling management of the HTTP operation request and the server resource according to a resource scheduling algorithm; here, for specific description of scheduling management, reference may be made to the description in the above embodiments, and details are not described here.
The distributed database server 413 comprises a Key-Value database and other databases, wherein the Key-Value database is configured according to a master-slave relationship, a master database synchronizes data updating to a slave database through a master-slave replication mechanism, the master database can be written and read, the slave database can be read, and service concurrency is increased; other databases store data in a binary form in a persistent manner, and the data are stored in multiple copies, so that data disaster tolerance is realized. Here, for specific descriptions of the data caching and the data asynchronous reading service, reference may be made to the description in the foregoing embodiments, which are not described herein again.
The debugging tool 421 is configured to send an HTTP operation request to the server 41 and display a return result, and may also implement visual configuration of each part of the HTTP operation request; the resource management tool 422 is used for visualizing the operation result of the resources of the internet of things and visualizing the states of various resources of the internet of things. Here, for specific description of the client visualization operation, reference may be made to the description in the foregoing embodiments, and details are not described here.
The system in this scenario may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (14)

1. The method for operating the resources of the Internet of things is characterized by being applied to a server side in an operating system of the resources of the Internet of things; the method comprises the following steps:
establishing communication connection with a client;
generating a first application programming interface key APIKey for a registered user existing in a client of the operating system and the same as the registered user existing in the server, and sending the first APIKey to the client; the first APIKey is used for determining the operation authority of the registered user on the Internet of things resources in the Internet of things resource database of the server side;
receiving a hypertext transfer protocol (HTTP) operation request sent by the client, wherein the HTTP operation request carries the first APIKey or the second APIKey, and the second APIKey is contained in the first APIKey, and the second APIKey has a partial operation authority in the first APIKey; the HTTP operation request is used for operating the Internet of things resources in the Internet of things resource database of the server side;
and operating the resources of the Internet of things according to the HTTP operation request to obtain an operation result, and sending the operation result to the client, so that the client presents the operation result on a screen for the registered user to view.
2. The method according to claim 1, wherein after the receiving a hypertext transfer protocol (HTTP) operation request sent from the client, before the operating the Internet of things resource according to the HTTP operation request, the method further comprises:
scheduling management is carried out on the HTTP operation request according to a resource scheduling algorithm to obtain a scheduled HTTP operation request;
the operating the resources of the internet of things according to the HTTP operation request comprises the following steps:
and operating the resources of the Internet of things according to the scheduled HTTP operation request.
3. The method according to claim 1, wherein after the receiving the HTTP operation request sent from the client, before the operating the internet of things resource according to the HTTP operation request, the method further comprises:
partitioning according to the subject of the HTTP operation request to obtain a plurality of message queues;
caching the received HTTP operation request in a message queue corresponding to the subject of the HTTP operation request;
the operating the resources of the internet of things according to the HTTP operation request comprises the following steps:
and reading the HTTP operation request in the corresponding message queue and operating the resources of the Internet of things.
4. The method of claim 3, wherein after caching the received HTTP operation request in a message queue corresponding to a subject of the HTTP operation request, the method further comprises:
updating the corresponding message queue according to a cache deletion mechanism to obtain the updated corresponding message queue;
the cache deletion mechanism comprises a first mode or a second mode;
the first mode is a mode of replacing the HTTP operation request with the longest cache time in the corresponding message queue with the new HTTP operation request when the current HTTP operation request exceeds the queue range after being stored in the corresponding message queue;
the second mode is a mode of regularly deleting all HTTP operation requests in the corresponding message queue according to a least recently used LRU algorithm;
the reading the HTTP operation request in the corresponding message queue and operating the internet of things resource includes:
and reading the updated HTTP operation request in the corresponding message queue and operating the resources of the Internet of things.
5. The method of claim 1, wherein the internet of things resource database is a distributed database, the distributed database comprising a Key-Value database and a binary form persistence database;
the Key-Value database comprises a master database and a slave database, wherein the master database has a read-write function, and the slave database has a read function;
the binary form persistent database has a multi-copy storage function.
6. The method of any of claims 1 to 5, wherein the HTTP operation request comprises: at least any one item of a POST operation request, a PUT operation request, a GET operation request, a DELETE operation request is added, or any combination of the items.
7. A method for operating resources of the Internet of things is characterized in that the method is applied to a client in an operating system of the resources of the Internet of things; the method comprises the following steps:
establishing communication connection with a server;
receiving a first application programming interface key APIKey sent by the server; the first APIKey is generated by the server aiming at a registered user which exists in a client of the operating system and is the same as the registered user which exists in the server, and is used for determining the operation authority of the registered user which exists in the client on the Internet of things resources in an Internet of things resource database of the server;
presenting configuration content of an HTTP operation request on a screen, wherein the configuration content comprises the first APIKey; the HTTP operation request is used for operating the Internet of things resources in the Internet of things resource database of the server side;
sending the HTTP operation request to the server, where the HTTP operation request carries the first APIKey or the second APIKey, and the second APIKey is contained in the first APIKey, where the second APIKey has a partial operation authority in the first APIKey;
receiving an operation result sent by the server, wherein the operation result is obtained after the server operates the resources of the internet of things according to the HTTP operation request;
and presenting the operation result on the screen for the registered user to view.
8. A system for operation of internet of things resources, the system comprising: a server side; wherein, the server side includes: the device comprises a first communication module, a generation module and a processing module;
the first communication module is used for establishing communication connection with a second communication module of the client;
the generation module is used for generating a first application programming interface key APIKey for a registered user existing in the client and the same as the registered user existing in the server, wherein the first APIKey is used for determining the operation authority of the registered user existing in the client on the resources of the Internet of things in an Internet of things resource database of the server;
the first communication module is further configured to send the first APIKey to the second communication module;
the first communication module is further configured to receive a hypertext transfer protocol HTTP operation request sent by the second communication module, where the HTTP operation request carries the first APIKey or the second APIKey, and the second APIKey is included in the first APIKey, where the second APIKey has a partial operation authority in the first APIKey; the HTTP operation request is used for operating the Internet of things resources in the Internet of things resource database of the server side;
the processing module is used for operating the Internet of things resources according to the HTTP operation request to obtain an operation result;
the first communication module is further configured to send the operation result to the second communication module, so that the client presents the operation result on a screen for the registered user to view.
9. The system of claim 8, wherein the server further comprises: a management module;
the management module is used for scheduling and managing the HTTP operation request according to a resource scheduling algorithm to obtain a scheduled HTTP operation request;
the processing module is specifically configured to operate the internet of things resource according to the scheduled HTTP operation request.
10. The system of claim 8, wherein the server further comprises: a cache module;
the cache module is used for partitioning according to the subject of the HTTP operation request to obtain a plurality of message queues;
the cache module is further configured to cache the received HTTP operation request in a message queue corresponding to a subject of the HTTP operation request;
the processing module is specifically configured to read the HTTP operation request in the corresponding message queue and operate the internet of things resource.
11. The system of claim 10, wherein the server further comprises: an update module;
the updating module is used for updating the corresponding message queue according to a cache deletion mechanism to obtain the updated corresponding message queue;
the cache deletion mechanism comprises a first mode or a second mode;
the first mode is a mode of replacing the HTTP operation request with the longest cache time in the corresponding message queue with the new HTTP operation request when the current HTTP operation request exceeds the queue range after being stored in the corresponding message queue;
the second mode is a mode of regularly deleting all HTTP operation requests in the corresponding message queue according to a least recently used LRU algorithm;
the processing module is specifically configured to read the updated HTTP operation request in the corresponding message queue and operate the internet of things resource.
12. A system for operation of internet of things resources, the system further comprising: a client; wherein the client comprises: a second communication module and a presentation module;
the second communication module is used for establishing communication connection with the first communication module of the server;
the second communication module is further configured to receive a first application programming interface key APIKey sent by the server; the first APIKey is generated by the server aiming at a registered user which exists in a client of the operating system and is the same as the registered user which exists in the server, and is used for determining the operation authority of the registered user which exists in the client on the Internet of things resources in an Internet of things resource database of the server;
the presentation module is used for presenting configuration content of the HTTP operation request on a screen, wherein the configuration content comprises the first APIKey; the HTTP operation request is used for operating the Internet of things resources in the Internet of things resource database of the server side;
the second communication module is further configured to send a hypertext transfer protocol HTTP operation request to the first communication module, where the HTTP operation request carries the first APIKey or the second APIKey, and the second APIKey is included in the first APIKey
The second communication module is further configured to receive an operation result sent by the server, where the operation result is obtained after the server operates the internet of things resource according to the HTTP operation request;
the presentation module is further configured to present the operation result on the screen for the registered user to view.
13. A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the program.
14. A computer storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN201710275342.8A 2017-04-25 2017-04-25 Method and system for operating resources of Internet of things Active CN108737485B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710275342.8A CN108737485B (en) 2017-04-25 2017-04-25 Method and system for operating resources of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710275342.8A CN108737485B (en) 2017-04-25 2017-04-25 Method and system for operating resources of Internet of things

Publications (2)

Publication Number Publication Date
CN108737485A CN108737485A (en) 2018-11-02
CN108737485B true CN108737485B (en) 2021-05-11

Family

ID=63934285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710275342.8A Active CN108737485B (en) 2017-04-25 2017-04-25 Method and system for operating resources of Internet of things

Country Status (1)

Country Link
CN (1) CN108737485B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108632101B (en) * 2018-05-31 2020-02-14 北京百度网讯科技有限公司 Method and apparatus for updating configuration object, edge computing device, and medium
CN111343133B (en) * 2018-12-19 2022-05-13 中移物联网有限公司 Authentication method, authentication equipment and computer readable storage medium
CN114679495B (en) * 2022-02-08 2024-01-05 阿里云计算有限公司 Scheduling method and scheduling execution method for resource service operation request

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523239A (en) * 2012-01-06 2012-06-27 北京邮电大学 Secure sharing method for resource information of Internet of things
CN103139163A (en) * 2011-11-29 2013-06-05 阿里巴巴集团控股有限公司 Data access method, server and terminal
CN106549924A (en) * 2015-09-22 2017-03-29 中国移动通信集团公司 A kind of communication security protection methods, devices and systems

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007506392A (en) * 2003-09-22 2007-03-15 イムプシス ディジタル セキュリティ アクチボラゲット Data communication security mechanisms and methods
CN102420698A (en) * 2011-11-21 2012-04-18 天津中兴软件有限责任公司 Dispatching method for bulk operation using limited resource

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139163A (en) * 2011-11-29 2013-06-05 阿里巴巴集团控股有限公司 Data access method, server and terminal
CN102523239A (en) * 2012-01-06 2012-06-27 北京邮电大学 Secure sharing method for resource information of Internet of things
CN106549924A (en) * 2015-09-22 2017-03-29 中国移动通信集团公司 A kind of communication security protection methods, devices and systems

Also Published As

Publication number Publication date
CN108737485A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
US11005933B2 (en) Providing queueing in a log streaming messaging system
US20220004423A1 (en) Virtualization-based transaction handling in an on-demand network code execution system
US9262218B2 (en) Methods and apparatus for resource management in cluster computing
US20180322031A1 (en) Methods and systems for internally debugging code in an on-demand service environment
JP6626459B2 (en) Shared File Access-File Services Using REST Interface
JP6509204B2 (en) Naive client-side sharding with online addition of shards
CN110462589A (en) On-demand code in local device coordinator executes
US8996469B2 (en) Methods and apparatus for job state tracking in cluster computing
US9697050B2 (en) System and method for scaling for a large number of concurrent users
CN112104723B (en) Multi-cluster data processing system and method
US10997030B2 (en) Disaster recovery as a service
US9589153B2 (en) Securing integrity and consistency of a cloud storage service with efficient client operations
CN108737485B (en) Method and system for operating resources of Internet of things
EP4207688A1 (en) Asynchronous bookkeeping method and apparatus for blockchain, medium, and electronic device
CN107577578B (en) Method, device and equipment for counting delay of NFS operation word and storage medium
CN112364110A (en) Metadata management method, device and equipment and computer storage medium
CN110737510B (en) Block device management system
CN113282395A (en) Redis-based job request scheduling method, device, equipment and medium
CN109614241B (en) Method and system for realizing multi-cluster multi-tenant resource isolation based on Yarn queue
CN115878138B (en) Application pre-download method, device, computer and storage medium
CN106550002B (en) paas cloud hosting system and method
CN114401280B (en) Method and system for synchronizing operation data
US20110185134A1 (en) Temporary state service protocol
CN110933145A (en) Remote scheduling method, device, equipment and medium
CN110781137A (en) Directory reading method and device for distributed system, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant