Method capable of context-aware authorization of data or services in IOT / M2M service layer
By introducing authorization verification services in the M2M/IoT service layer, dynamic context-aware authorization is achieved, which solves the problems of authorization policy complexity and insufficient security in the existing technology, and improves the efficiency and security of device integration and operation.
Patent Information
- Application Number
- CN201880073102.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2038-12-18
AI Technical Summary
It is difficult for the existing M2M/IoT service layer to implement context-based dynamic authorization, resulting in insufficient device integration, deployment and security, and difficult to solve authorization policy complexity and privacy issues.
An Authorization Verification Service (AVS) is proposed that allows IoT/M2M service layer entities to define dynamic context-aware authorization policies, dynamically adjust authorization according to system conditions, support dynamic propagation, management and revocation of authorization, and enhance access control to data and services.
It enables easier device integration, more efficient and secure operation, improves system reliability and security, simplifies authorization policy management, and reduces complexity and privacy risks.
Smart Images

Figure CN111345052B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Application No. 62 / 607,006, filed December 18, 2017, the entire contents of which are incorporated herein by reference. Background Art
[0003] The M2M / IoT service layer is a technology specifically targeted at providing value-added services for M2M / IoT devices and applications. Recently, several industry standard bodies (e.g., oneM2M, ETSI, OCF, and LWM2M) have developed the M2M / IoT service layer to address the challenges associated with integrating M2M / IoT devices and applications into deployments of Internet / Web, cellular, enterprise, and home networks.
[0004] The M2M / IoT service layer can provide applications and devices with access to a set of M2M / IoT-oriented capabilities. Some examples include security, billing, data management, device management, discovery, provisioning, and connection management. These capabilities are available to applications via APIs that utilize message formats, resource structures, and resource representations supported by the M2M / IoT service layer. Summary of the invention
[0005] An authorization verification service (AVS) is disclosed that can be provided by an IoT / M2M service layer to a service layer registrar for dynamic context-aware authorization. The AVS can allow an IoT / M2M service layer entity to define dynamic limits for authorizing access to a service or data. For example, limits can be set based on the number of accesses allowed. When an IoT / M2M registrar makes a request for data or services for which it has dynamic context-aware authorization, the AVS can keep a record of the remaining available accesses. The requestor can be any IoT / M2M service layer registrar or a proxy for an IoT / M2M service layer registrar.
[0006] The proposed AVS may support the following example functions: dynamically propagating authorization policies to new data and services within the scope of existing authorization policies, allowing IoT / M2M service layer registrants to embed dynamic context-aware authorization terms into the IoT / M2M service layer, managing access to the data and services based on these dynamic context-aware authorization terms by the IoT / M2M service layer, updating the status of the dynamic context-aware authorization terms by the IoT / M2M service layer, and revoking access privileges when the restrictions or conditions of the dynamic context-aware authorization terms are exhausted. However, it should be understood that AVS is not limited to these above-mentioned functions.
[0007] By using the methods and systems described herein, an IoT / M2M sensor or application can embed additional features and capabilities into a dynamic context-aware authorization policy that grants authorization to access data and services in the IoT / M2M service layer. There can be rules that describe how policies are propagated to other data and services, how additional system context is considered when authorizing specific operations, and how the IoT / M2M service layer describes and enforces the expected behavior and characteristics of a device or entity. These ideas can lead to easier deployment, more efficient operation, more secure operation, and more reliable operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to promote a more robust understanding of the present application, reference is now made to the accompanying drawings, in which like elements are represented by like reference numerals. These drawings should not be construed as limiting the present application, but are merely exemplary.
[0009] Figure 1 An example protocol stack supporting the service layer is shown;
[0010] Figure 2 shows an example M2M / IoT service layer deployed on various types of network nodes;
[0011] Figure 3 An example oneM2M architecture is shown;
[0012] Figure 4 An example oneM2M public service function is shown;
[0013] Figure 5 shows an example configuration supported by the oneM2M architecture;
[0014] Figure 6 An example flow chart of oneM2M dynamic authorization is shown;
[0015] Figure 7 An example flow chart of the oneM2M distributed authorization process is shown;
[0016] Figure 8 shows the current solution for an example use case;
[0017] Fig. 9 An example authorization verification service is shown;
[0018] Fig.10 An example flow chart illustrating authorization scopes;
[0019] Fig.11 An example flow chart for authorization state management is shown;
[0020] Fig. 12AAn exemplary system diagram illustrating an exemplary machine-to-machine (M2M) or Internet of Things (IoT) communication system in which one or more disclosed embodiments may be implemented;
[0021] Fig. 12B It shows that it can be Fig. 12A An example system diagram of an example architecture used within an M2M / IoT communication system is shown;
[0022] Fig. 12C It shows that it can be Fig. 12A An exemplary system diagram of an exemplary M2M / IoT terminal or gateway device used within the communication system shown; and
[0023] Fig.12D It shows that it can be reflected Fig. 12A An example block diagram of an example computing system that illustrates aspects of a communication system. DETAILED DESCRIPTION
[0024] The IoT / M2M service layer architecture focuses on value-added features and solutions that enable applications to access data from sensors or other applications on a communication network. Existing service layers can provide context-based authorization, such as requiring the requester's location to be within a ten-meter radius of a fixed location. The methods and systems described herein can allow the authorization context to be dynamically changed based on the conditions of the system.
[0025] From a protocol stack perspective, service layers typically sit above the application protocol layers and provide value-added services to the applications they support. For this reason, service layers are often categorized as "middleware" services. Figure 1 An example service layer located between the application protocol and the application is shown. From a deployment perspective, the M2M / IoT service layer can be deployed on various types of network nodes, including servers, gateways, and devices, such as Figure 2 shown.
[0026] The oneM2M standard defines the M2M / IoT service layer (see oneM2M TS-0001 oneM2M Functional Architecture - V-3.6.0). The purpose of the service layer is to provide "horizontal" services that can be used by different "vertical" M2M systems and applications, such as e-health, fleet management and smart home. Figure 3As shown, the architecture of the oneM2M service layer defines a common service entity (CSE) that supports four reference points. The Mca reference point can interface with the application entity (AE), the Mcc reference point can interface with another CSE in the same service provider domain, the Mcc' reference point can interface with another CSE in a different service provider domain, and the Mcn reference point can interface with the underlying network service entity (NSE). The NSE provides underlying network services such as device management, location services, and device triggering to the CSE. The CSE contains multiple logical functions called common service functions (CSFs), such as "discovery" and "data management & storage". Figure 4 An example CSF supported by oneM2M is shown.
[0027] The oneM2M architecture is a distributed architecture that supports the deployment of M2M / IoT services in a distributed manner across the following example types of nodes:
[0028] Application Service Node (ASN): ASN is a node that contains a CSE and includes at least one application entity (AE). In one example, the ASN may reside in an M2M device;
[0029] Application Dedicated Node (ADN): ADN is a node that contains at least one AE and no CSE. In one example, an application dedicated node may reside in a constrained M2M device;
[0030] Intermediate Node (MN): A MN is a node that contains a CSE and contains zero or more AEs. In one example, a MN may be located in an M2M gateway;
[0031] Infrastructure Node (IN): An IN is a node that contains one CSE and contains zero or more AEs. A CSE in an IN may contain CSE functionality that is not applicable to other node types. In one example, an IN may reside in an M2M service infrastructure; and
[0032] Non-oneM2M Node (NoDN): A non-oneM2M node is a node that does not contain a oneM2M entity (neither AE nor CSE). Such a node represents a device that is attached to the oneM2M system for interworking purposes including management.
[0033] exist Figure 5 An example configuration of various entities supported within an interconnected oneM2M system is shown in FIG.
[0034] The oneM2M dynamic authorization model supports the functionality of providing dynamic authorization for resources on behalf of resource owners. This may include a dynamic authorization system server that is configured with policies for dynamic authorization and is provided with certificates for issuing tokens granting authorization, such as Figure 6shown.
[0035] When a oneM2M entity attempts to access a resource for which it has no existing access rights, a dynamic authorization process can be configured to attempt to obtain the requested rights from the DAS server.
[0036] The oneM2M distributed authorization process defines the basic steps to determine whether a oneM2M entity should be authorized to access a resource. Figure 7 As shown and described below, the components of the distributed authorization process (PEP, PRP, PDP, and PIP) can be distributed on different nodes or on a single node:
[0037] Policy Enforcement Point (PEP): This component can intercept resource access requests, make access control decision requests, and enforce access control decisions. PEP can coexist with entities that require authorization services;
[0038] Policy Decision Point (PDP): This component can interact with the PRP and PIP to obtain the applicable authorization policy and the attributes required to evaluate the authorization policy, respectively, and can evaluate access requests using the authorization policy to make access control decisions;
[0039] Policy Retrieval Point (PRP): This component can obtain the applicable authorization policies based on the access control decision request. These applicable policies can be combined to obtain the final access control decision; and
[0040] Policy Information Point (PIP): This component can provide the attributes required to evaluate the authorization policy, such as the requester's IP address, the creation time of the resource, and the current time or location.
[0041] Three example use cases are described here:
[0042] Context-Aware Access Use Case #1: New Device Authorization – The standardized IoT / M2M service layer is designed to facilitate easier application development, bringing cost benefits to development, deployment, and integration into existing systems. When new devices such as sensors or actuators are added, it should not be difficult to integrate these devices into the applications that manage the systems that those devices are becoming a part of. For example, adding a new smart light bulb should be easy to integrate into the smart home application that each family member uses to manage the home’s devices. If the bulb is located in the family room, all family members should be able to control the smart bulb, however, if the bulb is located in the parents’ master bedroom, the children may not be authorized to use the smart bulb. By considering the context of the smart bulb configuration, these different authorizations should be easy to configure.
[0043] Context-Aware Access Use Case #2: Beyond Originator Context - Some IoT / M2M service layers support access policies that depend on the context of the requester / originator. For example, access to a door lock might be granted if the person making the request is the originator who is near the house. Some interesting scenarios can be developed using the context of entities other than the originator. For example, access to a door lock might be granted only if the homeowner is not at home.
[0044] Context-Aware Access Use Case #3: Device Failure – IoT / M2M devices are likely autonomous sensors or applications that send and retrieve data from the IoT / M2M service layer. Many sensor and application vendors use popular standardized or proprietary IoT / M2M solutions, which may result in some devices not functioning properly due to failure or intentional design, resulting in system performance degradation. For example, a sensor that counts vehicles as they pass through an intersection can be expected to send messages indicating passing vehicles at a maximum rate per second. However, if the device fails for some reason and thus sends messages at a higher rate, it may affect the entire IoT / M2M service layer. For example, this may cause outage issues in the IoT / M2M service layer, which may result in unexpected data storage costs for the sensor "owner" and may result in high data usage in the application monitoring this sensor.
[0045] The different use cases described above highlight the need for an improved context-based authorization approach in the IoT / M2M service layer. Figure 8 Some examples are shown how to implement these use cases.
[0046] When a new device is added to an existing system, as in use case #1, there are multiple ways to integrate that device or application. For example, in oneM2M, the process of authorizing the use of a smart light bulb can be accomplished by adding a new access control policy that dictates which users in the home should have permission. This could result in having a policy for every device or application in the system. Another option could be to create a policy that can be applied to multiple devices or applications. What seems to happen in practice is that authorization is either too restrictive, allowing only a single entity to control, or conversely, the authorization policy enforces very few restrictions.
[0047] Adding context related to entities other than the originator to the decision process for granting access to data, as in use case #2, can lead to privacy issues, more application complexity, and decentralized policy control. These approaches can be unreliable and can increase security risks.
[0048] In the case of a device failure as described in Use Case #3, the service layer may need to determine a way to define the expected operating characteristics of a particular device or application, and then capture the actual operating characteristics and detect / prevent anomalous operation. This may need to be done for each device and application using the IoT / M2M service layer. There is currently no defined mechanism to do this.
[0049] IoT / M2M service layer architecture focuses on value-added features and solutions that enable applications to access data from sensors or other applications. Existing service layers can provide context-based authorization, such as requiring location or requester to be within a ten-meter radius of a fixed location. The methods and systems described herein can allow for dynamic changes in authorization context based on system conditions.
[0050] An authorization verification service (AVS) that can be provided by an IoT / M2M service layer to a service layer registrant for dynamic context-aware authorization is disclosed. The AVS can allow an IoT / M2M service layer entity to define dynamic limits for authorizing access to services or data. Limits can be set, for example, based on the number of accesses allowed. When an IoT / M2M registrant requests data or services for which it has dynamic context-aware authorization, the AVS can keep a record of the remaining available accesses. The requestor can be any IoT / M2M service layer registrant or a proxy for an IoT / M2M service layer registrant.
[0051] The proposed AVS may support the following example functions: dynamically propagating authorization policies to new data and services within the scope of existing authorization policies, allowing IoT / M2M service layer registrants to embed dynamic context-aware authorization terms into the IoT / M2M service layer, managing access to data and services based on these dynamic context-aware authorization terms by the IoT / M2M service layer, updating the status of dynamic context-aware authorization terms by the IoT / M2M service layer, and revoking access privileges when the restrictions or conditions of the dynamic context-aware authorization terms have been exhausted. However, it should be understood that AVS is not limited to these aforementioned functions.
[0052] By using the methods and systems described herein, IoT / M2M sensors or applications can embed additional features and capabilities into a dynamic context-aware authorization policy that can grant access to data and services in the IoT / M2M service layer. Rules can be provided to describe how policies are propagated to other data and services, how other system contexts are considered when authorizing specific operations, and how the IoT / M2M service layer describes and enforces the expected behaviors and features of devices or entities. These capabilities can lead to easier deployment, more efficient operation, more secure operation, and more reliable operation.
[0053] In one embodiment, the authorization verification service of the service layer can be configured to perform the following operations: receive a request from a device to access at least one of the data or services provided by the service layer; determine an authorization policy related to at least one of the data or services provided by the service layer; determine one or more context-aware states associated with the authorization policy, wherein the one or more context-aware states include an indication of one or more conditions for accessing at least one of the data or services provided by the service layer, and wherein the one or more conditions include a number of allowed accesses to at least one of the data or services provided by the service layer; determine whether one or more conditions associated with the one or more context-aware states are valid; and authorize the device to access at least one of the data or services provided by the service layer based on determining that the one or more conditions associated with the one or more context-aware states are valid.
[0054] One or more conditions associated with one or more context-aware states may further include a duration for accessing at least one of the data or services provided by the service layer. One or more conditions associated with one or more context-aware states may further include a device type that is allowed to access at least one of the data or services provided by the service layer. One or more conditions associated with one or more context-aware states may be independent of the device and the request to access at least one of the data or services provided by the service layer. The authorization verification service may determine the context-aware state based on one or more of the data stored by the service layer or the operations performed by the service layer. One or more context-aware states may be stored in an authorization policy. The operation may also include updating one or more context-aware states associated with the authorization policy based on authorizing access to at least one of the data or services provided by the service layer.
[0055] In another embodiment, the authorization verification service of the service layer can be configured to perform the following operations: receive a request from a core service function of the service layer to access at least one of the data or services provided by the service layer; determine an authorization policy corresponding to the request; determine one or more context-aware states associated with the authorization policy; and based on the one or more context-aware states, determine whether to grant access to the data or services provided by the service layer to a service layer entity.
[0056] The context-aware state can be stored in a corresponding authorization policy. In one example, the context-aware state associated with the authorization policy can include the duration of the policy or the number of allowed accesses to the policy. The authorization verification service can determine the context-aware state based on data stored by the service layer or operations performed by the service layer. In response to determining that one or more conditions of the context-aware state have been met, the authorization verification service can authorize access to data or services provided by the service layer. In one example, the authorization verification service can update one or more context-aware states associated with the authorization policy. The authorization policy can be created using an authorization scope process. In one example, in response to determining that one or more conditions of the context-aware state have not been met, the authorization verification service can deny access to data or services provided by the service layer. In addition, the authorization verification service can delete the authorization policy, or can trigger one or more dynamic authorization processes.
[0057] The IoT / M2M service layer may allow IoT / M2M service layer registrants who create or control data hosted on the IoT / M2M service layer to define limits on specified authorizations. For example, an authorization may allow ten accesses, one hundred accesses, or unlimited access. The AVS in the IoT / M2M service layer may check the context of the authorization policy to verify that access is authorized, and may check and update the state (e.g., context-aware state) associated with the policy to ensure that the limits on the specified authorizations are not exceeded. Support may be provided for automatic propagation of existing authorization policies as new services or data become available.
[0058] When a request is made for a service or resource in the IoT / M2M service layer, the request may be checked against a set of permissions that define whether the request should be "authorized" or "denied" to the requester. If the existing authorization policy indicates that the request is "authorized", the IoT / M2M service layer may authorize access to the resource or service. In one embodiment, the "Authorization Verification Service" may have two components, such as Fig. 9 As shown. First, if the request is not "authorized" by a policy linked to the requested data or service, AVS can search to see if there is a defined (pre-configured or pre-configured prior to the request) authorization scope that grants authorization. It should be noted that this is not a process of obtaining authorization that did not previously exist, but rather a search for an existing policy that includes the request in its "authorization scope". Secondly, the policy that "authorizes" the request can be further checked to see if the "dynamic context" needs to be satisfied in order to authorize the requested operation.
[0059] A policy can be defined as a document or data structure that can be processed by a software algorithm to determine whether a request is authorized. When a request is made to access data or services hosted by the IoT / M2M service layer, a check can be made to see if there is a policy that gives authorization to the request initiator. In a RESTful system, each data element or service can reference an existing policy for making this determination. In some cases, the requested data or service can inherit references to existing policies based on the hierarchy of the data or services. For example, an IoT / M2M entity can be granted authorization for all data or services identified as direct descendants of a root location. In one embodiment, policies can be stored at the service layer. For example, policies can be stored as XML or JSON documents, or in tables stored at the service layer.
[0060] The method of automatically propagating access to groups of data or services can be extended by defining "authorization scopes". An authorization scope can specify the set of data or services that an IoT / M2M entity defined in a policy can access. In one embodiment, the specification of data and services can be an explicit list of data and services, or can be based on the value of metadata associated with the data or service. An authorization scope can be an enhancement to an existing policy definition, or it can be a separate or new policy type. In one embodiment, an authorization scope can have one or more of the following components: the identity of the data or service to which the policy applies, the metadata value of the data or service to which the policy applies, the identity of the IoT / M2M entity to which the policy applies, and the specific permissions of the entity that is granted access to the data or service. The policy can be stored as an XML or JSON document, or it can be stored in a table stored at the service layer.
[0061] For example, PROVIDER1 of data hosted in the IoT / M2M service layer can create a policy that specifies that USER1 can access all data created / owned by PROVIDER1 and has metadata indicating that the data is of CATEGORYA. Using authorization scopes, when PROVIDER1 creates new data with CATEGORYA specified in the metadata, USER1 can be dynamically granted access to the new data without considering the hierarchical location of the data (unless required). In IoT / M2M applications, this can simplify the process of granting access to data from new sensors that have been deployed without having to configure SL authorization policies for each sensor. Fig.10 An example embodiment of the steps required to implement an "authorization scope" is shown.
[0062] In step 1, when a new request arrives, the IoT / M2M service layer searches for authorization policies applicable to the specific service or data being requested. When policies are identified, they can be checked to see if the originating IoT / M2M entity has authorization to perform the requested operation. If the request is determined to be "authorized", the IoT / M2M service layer can grant access to the data or service. If not authorized, the procedure can continue to step 2 by issuing a request to the AVS. The "Request Authorization Scope" message (2a) can contain one or more of an identifier of the requested data or service, an identifier of the requester, and an identifier of the requested operation.
[0063] In step 2, AVS searches for a policy with a specified "authorization scope". If a policy is found with a defined "authorization scope" that applies to the requested data or service, as well as the IoT / M2M entity making the request and the requested operation, the request is determined to be "authorized". When making this "authorization scope" evaluation, metadata (descriptive, structural, and administrative) of the requested data or service may be considered. For example, a policy may require that a tag or flag of the requested data or service contain a specific value or token.
[0064] In step 3, the "authorization scope" may define whether a new policy should be created (3a) for the requested service / data, or whether the current policy or another existing policy should be assigned to the service / data (3b). The IoT / M2M service layer may update metadata associated with the requested data or service to reflect that the policy found in step 2 or created in this step should be considered for future requests. For example, attributes or metadata attached to the data or service may be updated with a pointer to the new policy.
[0065] It should be understood that steps 1-3 may be combined in an implementation.
[0066] These new policy aspects can be used to manage the lifetime of authorization policies that allow the IoT / M2M service layer to provide advanced capabilities with easier call flows. For example, a new feature that can define a policy that allows up to ten authorizations can be enhanced to automatically delete the policy after the authorization is exhausted. Alternatively, the policy can be reset on a daily basis, providing the ability to specify daily limits. Example information in the new policy is listed in Table 1 and can be included in the "Update Service / Data" message.
[0067] Table 1 – Context-aware authorization aspects
[0068]
[0069]
[0070] Additional explanations or procedures using some of the context described in Table 1 are provided below.
[0071] The timeDuration aspect can be used to specify how long a policy will remain valid. This can be used when creating a new policy, such as when the authorization scope process creates a new policy. The timeDuration value can be added to the current time (the time the new policy is created) to specify the expiration time of the new policy.
[0072] The resetCondition aspect can be used to specify a time or condition when the current dynamic state is reset to an initial value (e.g., zero). In an example use of the resetCondition aspect, the IoT / M2M service layer may want to authorize the IoT / M2M entity to perform 12 uploads per hour. The IoT / M2M service layer may update the count dynamic context after each upload and authorize the request if the count is less than the CountLimit. Every hour, the IoT / M2M service layer may reset the count dynamic context back to zero.
[0073] deleteWhenExhausted Dynamic Context is used to make the management of dynamic context-aware authorization easier for applications and the IoT / M2M service layer. This allows a mechanism for removing policies that are no longer valid or useful. If the value is specified as "true", the policy can be deleted by the IoT / M2M service layer if the dynamic context check does not grant authorization and if no reset condition is specified.
[0074] If there is an authorization policy for the user to access the resource, then the dynamic context-aware authorization can evaluate whether there is a conditional context associated with the policy. Note that the authorization policy can exist for the user through provisioning, or can be created through the "authorization scope" process described herein. If it is determined that the dynamic context-aware authorization is applicable, then the AVS can modify the state corresponding to the specified context.
[0075] Fig.11 The call flow for AVS to manage states associated with context-aware authorization states is shown.
[0076] In step 1, the AVS obtains the context-aware state if the context-aware state is specified in the authorization policy. The information required to check the context may be described in the authorization policy. Dynamic states may be stored in the policy, or they may require checking other IoT / M2M service layer data or operations to determine the state and context.
[0077] In step 2, if the current context-aware state satisfies all conditions specified by the policy, authorization may be granted. If the conditions are not met, authorization is not granted. The authorization decision may be provided back to the service layer. This may also trigger the authorization scope process.
[0078] In step 3, AVS adjusts the context-aware states, if they were specified. This can include adding to a counter attribute or subtracting from a countdown attribute. If the dynamic context-aware state is based on payload size, this adjustment can occur after the response is sent to the user. For example, if the MaxDownload state is used, this information can be used to update the "download counter" after the payload is sent in the response.
[0079] If the context-aware status does not satisfy the conditions for allowing access, the AVS may trigger a dynamic authorization process, or it may remove or revoke the context-aware authorization policy.
[0080] Authorization is typically applied to the basic operations of CRUD, which are CREATE, RETRIEVE, UPDATE, and DELETE. Authorization can also be applied to operations derived from CRUD, such as NOTIFY and DISCOVERY (derived from oneM2M as an example). An IoT / M2M entity may be given RETRIEVE authorization for a specified service or data. This is typically a static authorization or an authorization that does not change frequently. The information elements described herein enable dynamic conditions to be considered when determining whether authorization is granted. For example, an IoT / M2M entity may be allowed to "unlock" the door to a house only once when the "owner" is not at home. The lack of context-aware authorization information means unrestricted access.
[0081] Table 2 – Context-Aware Authorization Fields
[0082]
[0083]
[0084] An example use of the uploadCount dynamic context is to use a value that is specified as a definition of how much data the IoT / M2M entity can create or store in the IoT / M2M service layer. The IoT / M2M service layer may update the uploadCount after each use of the policy to authorize the operation. If the uploadCount exceeds the maxUpload value, the CREATE or UPDATE operation may not be authorized. If the operation requested by the IoT / M2M entity is a RETRIEVE or DELETE, the maxUpload check may be ignored, but it may still be applied. In the case of a RETRIEVE or DELETE operation, the uploadCount may not be updated.
[0085] The accessTechnology dynamic context can be used to restrict authorization based on the access type used to communicate with the IoT / M2M service layer. In an example use case, the IoT / M2M entity may have multiple ways of sending requests to the IoT / M2M service layer. However, the IoT / M2M may authorize the IoT / M2M entity to perform an operation on a specific device only if the request uses Bluetooth technology for the request.
[0086] The outOfVicinity and inVicinity dynamic contexts can be used to limit authorization based on the location of the IoT / M2M entity. This value can be applied to the IoT / M2M entity that makes the request. In addition, this value can be applied to any IoT / M2M entity that uses the methods and systems described herein. This can allow for easier development of IoT actuators and applications. For example, in a manufacturing plant with the ability to remotely turn on large machines, there may be an implementation that checks that no one or objects are within a safe zone around the machine. The application can first check the safe zone and send a signal to turn on the machine only after the safe zone is cleared. Embedding this safe zone check into the authorization policy simplifies the application and provides greater security by reducing the possibility of errors in the application that allows a signal to turn on the machine without checking the safe zone.
[0087] As opposed to requests for specific data or services to which the policy applies, the requestorCriteria dynamic context can be used to restrict authorization based on IoT / M2M service layer operations that have been performed throughout the IoT / M2M service layer. For example, in oneM2M, a create contentInstance operation can be authorized if the requester has created less than 100 contentInstances under a specific resource.
[0088] The oneM2M service layer authorization system may include the following example logical functions:
[0089] Authorization Scope Management (ASM): This function determines if there is an existing authenticationScope with an authenticationScope attribute that includes the target resource and the initiator of the request. <accesscontrolpolicy>If one is found, acpi can be updated to include the existing <accesscontrolpolicy>If distributed authorization of oneM2M is implemented, the functionality of ASM can be included in PRP;
[0090] Authorization Context Function (ACF): This function collects <accesscontrolpolicy>Any context information defined that cannot be derived from the request primitive sent by the initiator. For example, <accesscontrolpolicy>It may be specified that the location of the AEHomeOwner is required to evaluate whether the request is authorized. The ACF may obtain the location of the AEHomeOwner. The ACF may be implemented in the PIP of oneM2M; and
[0091] Adjust Authorization State (AAS): This function updates the <accesscontrolpolicy>Attributes. <accesscontrolpolicy>Any alerts or other actions that occur after being updated may be performed by the AAS. For example, if the alertThresholdCount is reached, the AAS may initiate a notification. The AAS may be implemented in the PIP or PDP of oneM2M.
[0092] This embodiment of context-aware authorization state adds new attributes to the existing oneM2M TS-0001 oneM2M functional architecture-V-3.6.0 <accesscontrolpolicy>The resource definitions listed below generally only show the attributes and sub-resources that are relevant to the ideas presented here. In actual embodiments, there may be other attributes and sub-resources that are not shown here.
[0093] oneM2M defines <accesscontrolpolicy>resources to specify which oneM2M entities can access links to <accesscontrolpolicy>For example, the privileges attribute can be specified by a set of access control rules. Access control rules can have sub-attributes, accessControlContexts and accessControlObjectDetails, which are enhanced with properties and procedures such as those disclosed herein.
[0094] Consider using the following new accessControlContexts for CSE access control policy checks.
[0095] Table 3: New parameter types in accessControlContexts
[0096]
[0097] accessControlLocationRegion can be specified as a country code or a set of three values representing latitude, longitude, and radius. The present disclosure adds descriptors to indicate that an entity should be within a defined region or outside a defined region when making a decision to authorize an operation. In one example, a list of entities can be specified to indicate that entities other than the initiator must satisfy the location condition. If no entity is provided, the default behavior can be to apply the location comparison to the initiator's location. If more than one region is defined for an entity, the condition may need to be true for only one of those regions. If more than one entity is defined, the condition may need to be true for all entities.
[0098] If accessControlLimit or accessControlDataLimit is specified, then if this <accesscontrolpolicy>If the number of times a resource is accessed exceeds the configured accessControlLimit, or if the amount of data transferred exceeds the accessControlDataLimit, authorization may not be allowed to perform the operation. Counts of the number of times accessed can be stored in the accessControlLimit, and the amount of data transferred can be stored in the accessControlDataLimit. These counts can be stored as read-only properties of the resource, and these values are updated by the hosting CSE when a request is allowed based on this particular authorization policy.
[0099] oneM2M defines accessControlObjectDetails as an optional parameter of access control rules. It specifies the subset of sub-resource types of the target resource to which the access control rule applies.
[0100] Embodiments of the concepts described in this disclosure may extend the definition of accessControlObjectDetails to include the following new properties.
[0101] Table 4: New parameter types in accessControlObjectDetails
[0102]
[0103] If the initiator is not authorized to perform the operation on the target resource, the hosting CSE may check the target resource's ancestor resources (up to CSEBase) for a resource with the specified propagateACP attribute. <accesscontrolpolicy>If found <accesscontrolpolicy>If the requested operation is authorized, the managed CSE can use <accesscontrolpolicy>The resource identifier of the target resource is updated with the accessControlPolicyIDs attribute, or the accessControlPolicyIDs attribute of the target resource can be updated based on the resource identifier of the target resource. <accesscontrolpolicy>Create a new <accesscontrolpolicy>When creating a new <accesscontrolpolicy>When the hosting CSE updates the accessControlPolicyIDs attribute of the target resource, you can set the expirationTime according to the value specified in timeLimit, and propagateACP can be set to null. <accesscontrolpolicy>Add the resource identifier to any other resource identifier in the list, or <accesscontrolpolicy>Set to be unique in this list.
[0104] implement Figure 9-11 Any entity of the steps shown in the embodiment, such as AVS, AE, CSE, another SL entity, etc., may be a device or such as a computer configured for wireless and / or network communication. Fig. 12C or Fig.12D A logical entity implemented in the form of software (i.e., computer executable instructions) that is stored in a computer system such as a processor and executed in a memory of the computer system shown in FIG. Fig. 12C or Fig.12D The invention is implemented in the form of software (i.e., computer executable instructions) in the memory of a device such as the device shown or a computer system. Figure 9-11 The method shown in the computer executable instructions, when executed by the processor of the device, performs Figure 9-11 It should also be understood that Figure 9-11 Any of the sending and receiving steps shown may be performed by communications circuitry of the device / entity under the control of a processor of the device and computer-executable instructions (eg, software) executed thereon.
[0105] Fig. 12A is a diagram of an exemplary machine-to-machine (M2M), Internet of Things (IoT), or Web of Things (WoT) communication system 10 in which one or more disclosed embodiments may be implemented. In general, M2M technology provides building blocks for IoT / WoT, and any M2M device, M2M gateway, M2M server, or M2M service platform may be a component or means of IoT / WoT and IoT / WoT service layer, etc. Figure 2-7 Any entity shown in any of 9-11 may include a network device of a communication system, such as Figures 12A-12D Those shown in .
[0106] The service layer may be a functional layer within a network service architecture. The service layer is typically located above the application protocol layer (e.g., HTTP, CoAP, or MQTT) and provides value-added services to client applications. The service layer also provides interfaces to the core network on lower resource layers (e.g., the control layer and the transport / access layer). The service layer supports multiple categories of (service) capabilities or functions, including service definition, service runtime enablement, policy management, access control, and service clustering. Recently, some industry standard bodies, such as oneM2M, have been developing the M2M service layer to address challenges associated with integrating M2M-type devices and applications into deployments such as Internet / Web, cellular, enterprise, and home networks. The M2M service layer may provide applications and / or various devices with access to a collection of the above capabilities or functions supported by the service layer, which may be referred to as CSE or SCL. Some examples include, but are not limited to, security, billing, data management, device management, discovery, provisioning, and connectivity management that may be commonly used by various applications. These capabilities or functions are made available to such various applications by using the message format, resource structure, and resource representation API defined by the M2M service layer. A CSE or SCL is a functional entity that may be implemented by hardware and / or software, and provides (service) capabilities or functions that are exposed to various applications and / or devices (ie, functional interfaces between these functional entities) to enable them to use such capabilities or functions.
[0107] like Fig. 12A As shown, the M2M / IoT / WoT communication system 10 includes a communication network 12. The communication network 12 may be a fixed network (e.g., Ethernet, optical fiber, ISDN, PLC, etc.) or a wireless network (e.g., WLAN, cellular network, etc.) or a network of heterogeneous networks. For example, the communication network 12 may include multiple access networks that provide content such as voice, data, video, messaging, broadcast, etc. to multiple users. For example, the communication network 12 may adopt one or more channel access methods, such as code division multiple access (CDMA), time division multiple access (TDMA), frequency division multiple access (FDMA), orthogonal FDMA (OFDMA), single carrier FDMA (SC-FDMA), etc. In addition, for example, the communication network 12 may include other networks, such as a core network, the Internet, a sensor network, an industrial control network, a personal area network, a converged personal network, a satellite network, a home network, or an enterprise network.
[0108] like Fig. 12A As shown, the M2M / IoT / WoT communication system 10 may include an infrastructure domain and a field domain. The infrastructure domain refers to the network side of the end-to-end M2M deployment, while the field domain refers to the regional network usually behind the M2M gateway. The field domain and the infrastructure domain may both include various different network devices of the network (e.g., servers, gateways, devices, etc.). For example, the field domain may include an M2M gateway 14 and a device 18. It should be understood that any number of M2M gateway devices 14 and M2M devices 18 may be included in the M2M / IoT / WoT communication system 10 as desired. Each of the M2M gateway device 14 and the M2M device 18 is configured to send and receive signals via the communication network 12 or a direct radio link using a communication circuit.
[0109] The M2M gateway 14 allows wireless M2M devices (e.g., cellular and non-cellular) and fixed network M2M devices (e.g., PLC) to communicate through an operator network such as the communication network 12 or a direct radio link. For example, the M2M devices 18 can collect data and send the data to the M2M application 20 or other M2M devices 18 via the communication network 12 or a direct radio link. The M2M devices 18 can also receive data from the M2M application 20 or the M2M devices 18. As described below, data and signals can also be sent to and received from the M2M application 20 through the M2M service layer 22. The M2M devices 18 and the gateway 14 can communicate via various networks, including, for example, cellular, WLAN, WPAN (e.g., Zigbee, 6LoWPAN, Bluetooth), direct radio links, and wired. Example M2M devices include, but are not limited to, tablets, smartphones, medical devices, temperature and weather monitors, connected cars, smart meters, gaming consoles, personal digital assistants, health and fitness monitors, lights, thermostats, appliances, garage doors and other actuator-based devices, security devices, and smart sockets.
[0110] Reference Fig. 12B , the M2M service layer 22 in the illustrated field provides services for the M2M applications 20, the M2M gateway 14, the M2M devices 18, and the communication network 12. It will be appreciated that the M2M service layer 22 may communicate with any number of M2M applications, M2M gateways 14, M2M devices 18, and communication networks 12 as desired. The M2M service layer 22 may be implemented by one or more network devices of the network, which may include servers, computers, devices, etc. The M2M service layer 22 provides service capabilities applicable to the M2M devices 18, the M2M gateway 14, and the M2M applications 20. The functionality of the M2M service layer 22 may be implemented in a variety of ways, such as as a network server, in a cellular core network, in the cloud, etc.
[0111] Similar to the M2M service layer 22 shown, there is an M2M service layer 22' in the infrastructure domain. The M2M service layer 22' provides services for the M2M applications 20' and the underlying communication network 12 in the infrastructure domain. The M2M service layer 22' also provides services for the M2M gateways 14 and the M2M devices 18 in the field domain. It will be understood that the M2M service layer 22' can communicate with any number of M2M applications, M2M gateways, and M2M devices. The M2M service layer 22' can interact with the service layers of different service providers. The M2M service layer 22' can be implemented by one or more network devices of the network, which may include servers, computers, devices, virtual machines (e.g., cloud computing / storage farms, etc.), etc.
[0112] Also refer to Fig. 12B , the M2M service layers 22 and 22' provide a core set of service delivery capabilities that can be fully utilized by different applications and verticals. These service functions enable M2M applications 20 and 20' to interact with devices and perform functions such as data collection, data analysis, device management, security, billing, service / device discovery, etc. Basically, these service capabilities relieve the application of the burden of implementing these functions, thereby simplifying application development and reducing costs and time to market. The service layers 22 and 22' also enable the M2M applications 20 and 20' to communicate in association with the services provided by the service layers 22 and 22' over various networks (such as the network 12).
[0113] The M2M applications 20 and 20' may include applications in various industries, such as, but not limited to, transportation, health and wellness, connected home, energy management, asset tracking, and security and monitoring. As mentioned above, the M2M service layer running between the devices, gateways, servers, and other network devices of the system supports functions such as, for example, data collection, device management, security, billing, location tracking / geofencing, device / service discovery, and legacy system integration, and provides these functions as services to the M2M applications 20 and 20'.
[0114] Generally speaking, such as Fig. 12B The service layer 22 and 22' shown in the service layer 22 and 22' such as the service layer defines a software middleware layer, which supports value-added service capabilities through a set of application programming interfaces (APIs) and underlying networking interfaces. Both the ETSI M2M and oneM2M architectures define a service layer. The service layer of ETSI M2M is called the service capability layer (SCL). The SCL can be implemented in various different nodes of the ETSI M2M architecture. For example, an instance of the service layer can be implemented in an M2M device (where it is called a device SCL (DSCL)), in a gateway (where it is called a gateway SCL (GSCL)) and / or in a network node (where it is called a network SCL (NSCL)). The oneM2M service layer supports a set of public service functions (CSFs) (i.e., service capabilities). The instantiation of a set of one or more specific types of CSFs is called a public service entity (CSE), which can be hosted on different types of network nodes (e.g., infrastructure nodes, intermediate nodes, application-specific nodes). The third generation partnership project (3GPP) has also defined an architecture for machine type communication (MTC). In that architecture, the service layer and the service capabilities it provides are implemented as part of a service capability server (SCS). Whether implemented in a DSCL, GSCL, or NSCL of the ETSI M2M architecture, in a service capability server (SCS) of the 3GPP MTC architecture, in a CSF or CSE of the oneM2M architecture, or in some other node of the network, an instance of the service layer can be implemented as a logical entity (e.g., software, computer executable instructions, etc.) that is executed on one or more independent nodes (including servers, computers, and other computing devices or nodes) in the network, or as part of one or more existing nodes. As an example, an instance of the service layer or its components can be implemented in a network having the following Fig. 12C or Fig.12D The general architecture shown in the figure is implemented in the form of software running on a network device (e.g., a server, a computer, a gateway, a device, etc.).
[0115] Additionally, the methods and functions described herein may be implemented as part of an M2M network that uses a service-oriented architecture (SOA) and / or a resource-oriented architecture (ROA) to access services.
[0116] Fig. 12C Such as Figure 2-7 and a block diagram of an example hardware / software architecture of a device for a network such as one of the entities shown in 9-11, which device can be used as such as Fig. 12A and 12B The M2M server, gateway, device or other network device in the M2M network as shown in FIG. Fig.12D As shown in FIG. 1 , the network device 30 may include a processor 32, non-removable memory 44, removable memory 46, a speaker / microphone 38, a keypad 40, a display, a touchpad and / or an indicator 42, a power supply 48, a global positioning system (GPS) chipset 50, and other peripherals 52. The network device 30 may also include communication circuitry, such as a transceiver 34 and a transmit / receive element 36. It will be appreciated that the network device 30 may include any sub-combination of the foregoing elements while remaining consistent with an embodiment. This network device may be a device that implements the context-aware authorization method described herein, such as with respect to Figure 2-7 and 9-11 illustrate and describe the method operation.
[0117] The processor 32 may be a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a plurality of microprocessors, one or more microprocessors associated with a DSP core, a controller, a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) circuit, any other type of integrated circuit (IC), a state machine, etc. In general, the processor 32 may execute computer executable instructions stored in a memory (e.g., memory 44 and / or memory 46) of the network device to perform various required functions of the network device. For example, the processor 32 may perform signal encoding, data processing, power control, input / output processing, and / or any other function that enables the network device 30 to operate in a wireless or wired environment. The processor 32 may run application layer programs (e.g., a browser) and / or radio access layer (RAN) programs and / or other communication programs. For example, the processor 32 may also perform security operations such as authentication, security key negotiation, and / or encryption operations, such as at the access layer and / or application layer.
[0118] like Fig. 12C As shown in FIG. 1 , processor 32 is coupled to its communication circuitry (e.g., transceiver 34 and transmit / receive element 36). By executing computer executable instructions, processor 32 can control the communication circuitry so that network device 30 communicates with other network devices via the network connected thereto. In particular, processor 32 can control the communication circuitry so as to perform the transmission and reception steps described herein and in the claims (e.g., in Figure 6 , 7 and 9-11). Although Fig. 12C The processor 32 and transceiver 34 are depicted as separate components, but it will be appreciated that the processor 32 and transceiver 34 may be integrated together in an electronic package or chip.
[0119] Transmission / reception element 36 can be configured to transmit signals to other network devices or receive signals from other nodes, and the node includes M2M server, gateway, equipment, etc. For example, in an embodiment, transmission / reception element 36 can be an antenna configured to transmit and / or receive RF signals. Transmission / reception element 36 can support various networks and air interfaces, such as WLAN, WPAN, cellular, etc. In an embodiment, transmission / reception element 36 can be a transmitter / detector configured to, for example, transmit and / or receive IR, UV or visible light signals. In another embodiment, transmission / reception element 36 can be configured to transmit and receive both RF and optical signals. It will be appreciated that transmission / reception element 36 can be configured to transmit and / or receive any combination of wireless or wired signals.
[0120] Furthermore, although the transmit / receive element 36 is Fig. 12C Although depicted as a single element in FIG. 3 , the network device 30 may include any number of transmit / receive elements 36. More specifically, the network device 30 may employ MIMO technology. Thus, in an embodiment, the network device 30 may include two or more transmit / receive elements 36 (e.g., multiple antennas) for transmitting and receiving wireless signals.
[0121] The transceiver 34 may be configured to modulate signals to be transmitted by the transmit / receive element 36 and demodulate signals received by the transmit / receive element 36. As described above, the network device 30 may have multi-mode capabilities. Thus, for example, the transceiver 34 may include multiple transceivers to enable the network device 30 to communicate via multiple RATs, such as UTRA and IEEE 802.11.
[0122] The processor 32 may access information from and store data in any type of suitable memory, such as the non-removable memory 44 and / or the removable memory 46. For example, the processor 32 may store a session context in its memory, as described above. The non-removable memory 44 may include a random access memory (RAM), a read-only memory (ROM), a hard disk, or any other type of memory storage device. The removable memory 46 may include a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, or the like. In other embodiments, the processor 32 may access information from and store data in a memory physically located on the network device 30, such as on a server or a home computer. The processor 32 may be configured to control a lighting pattern, image, or color on the display or indicator 42 to reflect the state of the device or configure the device, and in particular the underlying network, application, or other service that communicates with the network device. In one embodiment, the display / indicator 42 may present Fig.12D The graphical user interface shown in and described herein.
[0123] Processor 32 may receive power from power source 48 and may be configured to distribute and / or control power to other components in network device 30. Power source 48 may be any suitable device for powering network device 30. For example, power source 48 may include one or more dry cell batteries (e.g., nickel-cadmium (NiCd), nickel-zinc (NiZn), nickel metal hydride (NiMH), lithium ion (Li-ion), etc.), solar cells, fuel cells, etc.
[0124] Processor 32 may also be coupled to a GPS chipset 50 that is configured to provide location information (e.g., longitude and latitude) regarding the current location of network device 30. It will be appreciated that network device 30 may acquire location information via any suitable location determination method while remaining consistent with an embodiment.
[0125] The processor 32 may also be coupled to other peripherals 52, which may include one or more software and / or hardware modules that provide additional features, functionality, and / or wired or wireless connectivity. For example, the peripherals 52 may include various sensors, such as accelerometers, biometric (e.g., fingerprint) sensors, electronic compasses, satellite transceivers, sensors, digital cameras (for photos or videos), universal serial bus (USB) ports or other interconnect interfaces, vibration devices, television transceivers, hands-free headsets, modules, FM radio units, digital music players, media players, video game player modules, Internet browsers, and more.
[0126] The network device 30 may be implemented in other devices or equipment, such as sensors, consumer electronics, wearable devices (such as smart watches or smart clothing), medical or electronic health equipment, robots, industrial equipment, drones, vehicles (such as cars, trucks, trains, or airplanes), etc. The network device 30 may be connected to other components, modules, or systems of such devices or equipment via one or more interconnect interfaces (such as an interconnect interface that may include one of the peripheral devices 52).
[0127] Fig. 12C is a block diagram of an example computing system 90, which may also be used to implement one or more network devices of a network, such as Figure 2-7 and 9-11 and described herein, which may be used as Fig. 12A and 12B The M2M server, gateway, device or other network apparatus in the M2M network as shown in FIG.
[0128] The computing system 90 may include a computer or server and may be controlled primarily by computer-readable instructions, which may be in the form of software, wherever or by whatever means such software is stored or accessed. Such computer-readable instructions may be executed within a processor such as a central processing unit (CPU) 91 to cause the computing system 90 to operate. In many known workstations, servers, and personal computers, the central processing unit 91 is implemented by a single-chip CPU called a microprocessor. In other machines, the central processing unit 91 may include multiple processors. A coprocessor 81 is an optional processor distinct from the main CPU 91 that performs additional functions or assists the CPU 91. The CPU 91 and / or the coprocessor 81 may receive, generate, and process data related to the disclosed systems and methods for E2E M2M service layer sessions, such as receiving session credentials or authenticating based on session credentials.
[0129] In operation, the CPU 91 retrieves, decodes and executes instructions, and transmits information to and from other resources via the computer's main data transfer path, the system bus 80. Such a system bus connects the components in the computing system 90 and defines the medium for data exchange. The system bus 80 typically includes data lines for sending data, address lines for sending addresses, and control lines for sending interrupts and for operating the bus. An example of such a system bus 80 is a PCI (Peripheral Component Interconnect) bus.
[0130] The memory coupled to the system bus 80 includes a random access memory (RAM) 82 and a read-only memory (ROM) 93. Such memory includes a circuit system that allows information to be stored and retrieved. ROM 93 generally contains stored data that cannot be easily modified. The data stored in RAM 82 can be read or changed by CPU 91 or other hardware devices. Access to RAM 82 and / or ROM 93 can be controlled by a memory controller 92. The memory controller 92 can provide an address translation function that translates a virtual address into a physical address when an instruction is executed. The memory controller 92 can also provide a memory protection function that isolates processes within the system and isolates system processes from user processes. Therefore, a program running in the first mode can only access memory mapped by its own process virtual address space; unless memory sharing between processes has been set up, it cannot access memory within the virtual address space of another process.
[0131] In addition, the computing system 90 may include a peripheral device controller 83 , which is responsible for transmitting instructions from the CPU 91 to peripheral devices, such as a printer 94 , a keyboard 84 , a mouse 95 , and a disk drive 85 .
[0132] The display 86, controlled by the display controller 96, is used to display visual output generated by the computing system 90. Such visual output may include text, graphics, animated graphics, and video. The display 86 may be implemented as a CRT-based video display, an LCD-based flat panel display, a gas plasma-based flat panel display, or a touch panel. The display controller 96 includes the electronic components necessary to generate the video signals sent to the display 86. In conjunction with the computer-executable instructions executed by the CPU 91, the display 86 may generate and operate Fig.12D and the graphical user interface shown and described in the description accompanying it.
[0133] Additionally, computing system 90 may include communications circuitry such as, for example, network adapter 97, which may be used to connect computing system 90 to an external communications network, such as Figures 12A-12D The network 12 enables the computing system 90 to communicate with other devices of the network. The communication circuit system can be used to perform the present invention (for example, in Figure 2-7 and 9-11) and the transmitting and receiving steps described in the claims.
[0134] It should be understood that any or all of the systems, methods, and processes described herein may be implemented in the form of computer executable instructions (i.e., program code) stored on a computer-readable storage medium, which, when executed by a machine (such as an apparatus of an M2M network, including, for example, an M2M server, gateway, device, etc.), performs and / or implements the systems, methods, and processes described herein. Specifically, any of the above steps, operations, or functions may be implemented in the form of such computer executable instructions. Computer-readable storage media include volatile and non-volatile, removable and non-removable media implemented in any non-transient (i.e., tangible or physical) method or technology for storing information, but such computer-readable storage media do not include signals. Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other tangible or physical medium that can be used to store desired information and can be accessed by a computer.
[0135] The following is a list of acronyms related to service level technologies that may appear in the above descriptions. Unless otherwise noted, the acronyms used in this article refer to the corresponding terms listed below:
[0136] Public properties of acpi oneM2M resources used to link resources to <accesscontrolpolicy>A resource that gives the registrant authorization to perform operations on that resource.
[0137] AND Application-specific nodes
[0138] AE Application Entity
[0139] API Application Programming Interface
[0140] ASN Application Service Node
[0141] AVS Authorization Verification Service
[0142] CAA Context-Aware Authorization
[0143] CSE Public Service Entity
[0144] CSF Public Service Function
[0145] IN Infrastructure Network
[0146] IoT
[0147] IP Internet Protocol
[0148] M2M Machine to Machine
[0149] MN intermediate node
[0150] NoDN Non-oneM2M Node
[0151] PoA Access Point
[0152] ROA Resource Oriented Architecture
[0153] URI Uniform Resource Identifier
[0154] The following is a list of terms and definitions related to service layer technology that may appear in the above description. Unless otherwise specified, the terms and definitions used herein refer to the corresponding terms listed below:
[0155]
[0156] This written description uses examples to disclose the invention, including the best mode, and also to enable any person skilled in the art to practice the invention, including making and using any devices or systems and performing any combined methods. The patentable scope of the invention is defined by the claims, and may include other examples that occur to those skilled in the art. These other examples are intended to be within the scope of the claims if they have elements that do not differ from the literal language of the claims, or if they include equivalent elements that are insubstantially different from the literal language of the claims.< / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy> < / accesscontrolpolicy>
Claims
1. A method implemented by an authorization verification service of a service layer, the method comprising: receiving a request from a device to access at least one of data or a service made available by the service layer; determining an authorization policy associated with the at least one of the data or services made available by the service layer; determining one or more context-aware states associated with the authorization policy, wherein the one or more context-aware states include an indication of one or more conditions for accessing the at least one of the data or services made available by the service layer, and wherein the one or more conditions include an amount of allowed access to the at least one of the data or services made available by the service layer; determining whether the one or more conditions associated with the one or more context-aware states are valid; and Based on determining that the one or more conditions associated with the one or more context-aware states are valid, the device is granted access to the at least one of the data or services made available by the service layer.
2. The method of claim 1, wherein the one or more conditions associated with the one or more context-aware states further comprise a duration for accessing the at least one of the data or services made available by the service layer.
3. The method according to claim 1, wherein: The one or more conditions associated with the one or more context-aware states also include a type of device that is allowed to access the at least one of the data or services made available by the service layer.
4. The method according to claim 1, wherein: The one or more conditions associated with the one or more context-aware states are independent of the device and the request to access the at least one of the data or the service made available by the service layer.
5. The method according to claim 1, wherein: The authorization verification service determines the context-aware state based on one or more of data stored by the service layer or operations performed by the service layer.
6. The method according to claim 1, wherein: The one or more context-aware states are stored in the authorization policy.
7. The method of claim 1, further comprising updating the one or more context-aware states associated with the authorization policy based on granting access to the at least one of the data or services made available by the service layer.
8. An apparatus comprising a processor and a memory, the memory storing computer executable instructions that, when executed by the processor, implement a service layer of a communication network and cause an authorization verification service of the service layer to perform operations comprising: receiving a request from a device to access at least one of data or a service made available by the service layer; determining an authorization policy associated with the at least one of the data or services made available by the service layer; determining one or more context-aware states associated with the authorization policy, wherein the one or more context-aware states include an indication of one or more conditions for accessing the at least one of the data or services made available by the service layer, and wherein the one or more conditions include an amount of allowed access to the at least one of the data or services made available by the service layer; determining whether the one or more conditions associated with the one or more context-aware states are valid; and Based on determining that the one or more conditions associated with the one or more context-aware states are valid, the device is granted access to the at least one of the data or services made available by the service layer.
9. The device according to claim 8, wherein: The one or more conditions associated with the one or more context-aware states further include a duration for accessing the at least one of the data or services made available by the service layer.
10. The device according to claim 8, wherein: The one or more conditions associated with the one or more context-aware states further include a device type that is allowed to access the at least one of the data or services made available by the service layer.
11. The device according to claim 8, wherein: The one or more conditions associated with the one or more context-aware states are independent of the device and the request to access the at least one of the data or the service made available by the service layer.
12. The device according to claim 8, wherein: The authorization verification service determines the context-aware state based on one or more of data stored by the service layer or operations performed by the service layer.
13. The device according to claim 8, wherein: The one or more context-aware states are stored in the authorization policy.
14. The device according to claim 8, wherein: The instructions, when executed, further cause the authorization verification service of the service layer to perform operations including updating the one or more context-aware states associated with the authorization policy based on granting access to the at least one of the data or services made available by the service layer.
15. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, cause an authorization verification service of a service layer to perform operations comprising: receiving a request from a device to access at least one of data or a service made available by the service layer; determining an authorization policy associated with the at least one of the data or services made available by the service layer; determining one or more context-aware states associated with the authorization policy, wherein the one or more context-aware states include an indication of one or more conditions for accessing the at least one of the data or services made available by the service layer, and wherein the one or more conditions include an amount of allowed access to the at least one of the data or services made available by the service layer; determining whether the one or more conditions associated with the one or more context-aware states are valid; and Based on determining that the one or more conditions associated with the one or more context-aware states are valid, the device is granted access to the at least one of the data or services made available by the service layer.
16. The computer-readable storage medium of claim 15, wherein: The one or more conditions associated with the one or more context-aware states also include a duration for accessing the at least one of the data or services made available by the service layer.
17. The computer-readable storage medium of claim 15, wherein: The one or more conditions associated with the one or more context-aware states also include a type of device that is allowed to access the at least one of the data or services made available by the service layer.
18. The computer-readable storage medium of claim 15, wherein: The one or more conditions associated with the one or more context-aware states are independent of the device and the request to access the at least one of the data or the service made available by the service layer.
19. The computer-readable storage medium of claim 15, wherein: The authorization verification service determines the context-aware state based on one or more of data stored by the service layer or operations performed by the service layer.
20. The computer-readable storage medium of claim 15, wherein: The one or more context-aware states are stored in the authorization policy.
Citation Information
Patent Citations
Service Layer Dynamic Authorization
US20170063931A1
