Resource induction method, device, and storage medium

The resource guidance method addresses inefficiencies in oneM2M protocol interactions by using virtual resource addresses to determine action performers and recommend actions, enhancing efficiency and intelligence in entity interactions.

JP7802702B2Active Publication Date: 2026-01-20BOE TECHNOLOGY GROUP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2022577734
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-06-22
Filing Date
2021-06-15
Publication Date
2026-01-20
Estimated Expiration
2041-06-15

AI Technical Summary

Technical Problem

The interaction between entities in the oneM2M protocol framework is inefficient and time-consuming due to repeated adjustments in request parameters and responses, particularly when dealing with special requests carrying resource information.

Method used

A resource guidance method that utilizes a virtual resource address to determine an action performer and recommends a next action based on recommendation information, improving interaction efficiency and intelligence.

Benefits of technology

Enhances interaction efficiency and reduces time lag by guiding resources through virtual resource addresses, enabling intelligent decision-making in entity interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007802702000001
    Figure 0007802702000001
  • Figure 0007802702000002
    Figure 0007802702000002
  • Figure 0007802702000003
    Figure 0007802702000003
Patent Text Reader

Abstract

The present application provides a resource guidance method, a device, and a computer storage medium, which include the steps of: a first receiver receiving a target request sent from a first requester, the target request carrying resource information including recommendation information and a target address including a virtual resource address; the first receiver receiving recommendation information used to recommend a next action to be performed to an action performer based on the virtual resource address; and determining the action performer based on the virtual resource address.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority from Chinese Patent Application No. 202010576749.6, filed on June 22, 2020, the entire contents of which are incorporated by reference.

[0002] The present application relates to the field of computer technology, and in particular to resource induction methods, devices, and storage media. [Background technology]

[0003] The oneM2M protocol framework defines four types of nodes: Application Dedicated Node (ADN), Application Service Node (ASN), Middle Node (MN), and Infrastructure Node (IN). As shown in Figure 1, each node consists of one or more entities, including three types: Application Entity (AE), Common Service Entity (CSE), and Network Service Entity (NSE). An AE must register with a CSE to use the services provided by the CSE. The registration rule is that one AE registers with at most one CSE (e.g., ASN-CSE, MN-CSE, or IN-CSE), one ASN-CSE registers with at most one other type of CSE (e.g., MN-CSE or IN-CSE), and one MN-CSE registers with at most one other CSE (e.g., ASN-CSE or IN-CSE). Two entities may interact, for example, Entity A may send a request to Entity B, and Entity A may receive a response that the request failed. In this case, Entity A may adjust the parameters and continue to send requests to Entity B, and when it receives another response that the request failed, Entity A may continue to adjust the parameters and send the request to B again. Thus, the interaction between the above two entities is inefficient and time-consuming. Summary of the Invention

[0004] In a first aspect, the present embodiment comprises: The first receiver receives a target request sent from the first requester, the target request carrying resource information including recommendation information and a target address including a virtual resource address; the first receiver obtains the recommendation information used to recommend a next action to be performed to an action performer based on the virtual resource address, and determines the action performer based on the virtual resource address. A resource guidance method is provided.

[0005] In a second aspect, the present embodiment comprises: a receiving module configured to receive a target request sent from a first requester, the target request carrying resource information including recommendation information and a target address including a virtual resource address; a determination module configured to obtain the recommendation information used to recommend a next action to be performed to an action performer based on the virtual resource address, and determine the action performer based on the virtual resource address; A resource directing device is provided that is applied to the first recipient.

[0006] In a third aspect, the present embodiment comprises: A device comprising a processor and a memory, The processor reads the executable program code stored in the memory, executes a program corresponding to the executable program code, and provides a device that realizes the resource induction method described in the above embodiments.

[0007] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the resource guidance method described in the above embodiment.

[0008] Additional aspects and advantages of the present application will be set forth in part in the description that follows, and in part will be obvious from the description, or may be learned by practice of the present application. [Brief explanation of the drawings]

[0009] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings. [Figure 1] Figure 1 is a structural schematic diagram of a node in the oneM2M protocol framework. [Figure 2] FIG. 2 is a flowchart of a resource guidance method according to an embodiment of the present application. [Figure 3] FIG. 3 is a schematic diagram of a designated action performer according to an embodiment of the present application. [Figure 4] FIG. 4 is a schematic diagram of a designated action performer according to an embodiment of the present application. [Figure 5] FIG. 5 is a schematic diagram of a designated action performer according to an embodiment of the present application. [Figure 6] 6 is a flowchart of a source guidance method according to an embodiment of the present application. [Figure 7] 7 is a flowchart of a source guidance method according to an embodiment of the present application. [Figure 8] FIG. 8 is a schematic diagram of a transformation for inviting a car to join a group according to an embodiment of the present application. [Figure 9] FIG. 9 is a schematic diagram of a process for inviting a car to join a group according to an embodiment of the present application. [Figure 10] 10 is a flowchart of a source guidance method according to an embodiment of the present application. [Figure 11] FIG. 11 is a schematic diagram of curtain control motor groupings according to an embodiment of the present application. [Figure 12] FIG. 12 is a schematic diagram of the process of creating a group according to an embodiment of the present application. [Figure 13] 13 is a flowchart of a source guidance method according to an embodiment of the present application. [Figure 14] 14 is a flowchart of a source steering method according to an embodiment of the present application. [Figure 15] 15 is a flowchart of a source steering method according to an embodiment of the present application. [Figure 16] FIG. 16 is a schematic diagram of single and multiple recommendations according to an embodiment of the present application. [Figure 17] FIG. 17 is a schematic diagram of a reverse recommendation according to an embodiment of the present application. [Figure 18] FIG. 18 is a schematic diagram of a recommendation with further generated results according to an embodiment of the present application. [Figure 19] 19 is a structural schematic diagram of a source induction device according to an embodiment of the present application. [Figure 20] FIG. 20 is a structural schematic diagram of a device according to an embodiment of the present application. [Figure 21] FIG. 21 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION

[0010] The following detailed description of the embodiments of the present application is provided in the accompanying drawings, in which identical or similar reference numerals denote identical or similar elements or elements having identical or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are intended to illustrate the present application, but should not be construed as limiting the present application. Hereinafter, a resource induction method, a device, and a storage medium according to an embodiment of the present application will be described with reference to the accompanying drawings.

[0011] The embodiments of the present application provide a resource guidance method to address at least the problems of low efficiency and long time of entity interaction in the related art.

[0012] The resource guidance method according to the embodiment of the present application uses a set virtual resource address to determine an action performer based on the virtual resource address, and recommends the next action to be performed to the action performer based on the recommendation information, thereby guiding resources according to the virtual resource address, improving interaction efficiency and intelligence, and reducing time lag.

[0013] The resource guidance method according to the embodiment of the present application may be applied to a receiver, which for convenience of explanation is referred to herein as a first receiver. The first receiver may be a physical device such as an air conditioner, a gas monitoring device, or an air monitoring and purification device, or may be an electronic device with an application installed, such as a mobile phone or a tablet.

[0014] FIG. 2 is a flowchart of a resource guidance method according to an embodiment of the present application.

[0015] As shown in FIG. 2, the resource induction method includes the following steps 101 and 102. In step 101, a first receiver obtains a target request sent from a first requester, the target request carrying resource information including recommendation information and a target address including a virtual resource address.

[0016] In this embodiment, the request sent by the first requester to the first recipient is referred to herein as a target request, and the target request carries resource information and a target address. The resource information includes recommendation information that may be included in the content of a message package, and the target address includes a virtual resource address, where the virtual resource address can be used to indicate that the target request is a special request and a request whose resource information includes recommendation information. When the first recipient analyzes the target address and determines that the target address includes a virtual resource address, it means that the target request is a special request carrying recommendation information. When the target address in the target request does not include virtual resource information, it means that the received target request is a normal request.

[0017] In a specific implementation, the target request can be a create request, an update request, a retrieve request, a delete request, etc. For example, a registration request can be a create request, a group joining request can be an update request, and an information acquisition request can be a retrieve request.

[0018] For virtual resource addresses, e.g. <recommandopereation>is set, and the receiver will honor the exclusive request of the requester by the virtual resource address. If the target address does not contain virtual resource information, it means that the received target request is a normal request.

[0019] In step 102, the first receiver obtains recommendation information used to recommend a next action to be performed to the action performer based on the virtual resource address, and determines the action performer based on the virtual resource address.

[0020] In this embodiment, if the target address carried in the target request includes a virtual resource address, it indicates that the target request is a special request carrying recommendation information, and the first requester can obtain the recommendation information based on the virtual resource address and determine the action performer.

[0021] For example, the target address is <csebase> / <recommandopereation>and the target address is a virtual resource address <recommandopereation>The target address is included, and the action performer is determined to be a CSE based on the target address. <csebase> / <ae> / <recommandopereation>indicates that the action taker is an AE under CSEBase, <csebase> / <remotecse> / <recommandOpereation> means that the action performer is a remoteCSE and is a CSE with respect to the CSE corresponding to the CSEBase.

[0022] Note that there is a one-to-one correspondence between CSE and CSEBase, and multiple AEs may exist under the CSEBase. For example, if the CSEBase is a vehicle gateway and each sensor connected to the vehicle gateway can be considered an AE, there will be multiple AEs (CSEs) under the vehicle gateway (CSEBase).

[0023] The designation of an action performer will be explained below with reference to a combination of Figures 3 to 5. Figure 3 is a schematic diagram of a designated action performer according to an embodiment of the present application, Figure 4 is a schematic diagram of a designated action performer according to an embodiment of the present application, and Figure 5 is a schematic diagram of a designated action performer according to an embodiment of the present application.

[0024] In FIG. 3, the CSE is the first recipient and the AE is the first requester.

[0025] The AE sends a request to the corresponding CSE, and the request is <csebase> / <recommandopereation>Therefore, the CSE is clearly the action performer, and the CSE processes locally and sends a response to the AE, i.e., the CSE is both the first recipient and the action performer.

[0026] In Figure 4, CSE1 is the first receiver and AE is the first requester. CSE2 and CSE1 are already registered, CSE2 is a remote CSE of CSE1, AE sends a request to the corresponding CSE1, and the request is directed <csebase> / <remotecse> / <recommandopereation>and based on the virtual resource address, CSE1 processes the request at remoteCSE and responds at remoteCSE, i.e., remoteCSE is the action performer.

[0027] In Figure 5, AE1 is the first requester and CSE is the first recipient. AE2 is already registered with CSE, and AE1 sends a request to the corresponding CSE, <csebase> / <ae> / <recommandopereation>If it is determined that the action performer is AE2 under the CSE based on the request orientation, the CSE responds to the request with AE2 or responds on behalf of the CSE, and AE1 and AE2 can be considered as two AEs under the CSE.

[0028] In this embodiment, the recommendation information is used to recommend a next action to the action performer, i.e., the first requester directs the recommendation information to the action performer via the virtual resource address so that the action performer can determine the next action to be performed recommended by the first requester based on the recommendation information.

[0029] For example, the recommendation information is information about a group, such as a group identifier and information about each member of the group, and if the group information includes an identifier of the first recipient, it can be determined based on the recommendation information that the first requester recommends the first recipient to join the group.

[0030] Also, for example, if the recommendation information is an action priority, it is determined that the first receiver is recommended to set the action priority based on the recommendation information.

[0031] Also, for example, when an action resource is created, if the creation is successful but the CSE determines that it is pointless to create related monitors and counters for such an action resource, it can suggest to the creator that it be deleted. In this case, it can send the suggestion to the creator using a delete request.

[0032] Also, for example, if the CSE finds that an AE performs repeated operations very frequently, such as when the AE periodically retrieves the latest data for a particular container group, both of which employ a single request transmission mode, the CSE can request the AE to create a group for the related container resources to ensure the most efficient execution.

[0033] Additionally, for example, in the case of inter-domain operations, the corresponding Master CSE is notified of the target domain <csebase>The Master CSE recommends an address corresponding to the target domain. <csebase>We recommend that you register directly with the

[0034] In this way, various pieces of recommended information can be received via the virtual resource address, improving the diversity of the recommended information.

[0035] It should be noted that the content of the above recommendation information is merely an example, and specific information can be set as needed, and should not be considered as limiting the present application.

[0036] In the embodiment of the present application, the action performer is determined based on the set virtual resource address, and the next action to be performed is recommended to the action performer based on the recommendation information, thereby guiding the resource through the virtual resource address, improving the efficiency and intelligence of interaction, and reducing the time lag.

[0037] The following description will be given taking an example of recommending a recipient to join a group. In some embodiments of the present application, when the target request is an update request (i.e., an update request), the recommendation information is information of a first target group, the information of the first target group includes an identifier of the first target group and a member list of the first target group, and the member list of the first target group includes an identifier of the first recipient, the recommendation information is used to recommend to the action performer to perform an action of joining the first target group. The following description will be given in conjunction with FIG. 6. FIG. 6 is a flowchart of a resource guidance method according to an embodiment of the present application.

[0038] As shown in FIG. 6, the resource induction method includes the following steps 201 to 203.

[0039] In step 201, the first receiver receives a target request sent from a first requester, where the target request is an update request and the recommendation information is information of a first target group.

[0040] In this embodiment, the first receiver receives an update request from the first requester, the update request including resource information and a target address, the target address including a virtual resource address, and the recommendation information included in the resource information is information about a first target group, the information about the first target group including an identifier of the first target group and a member list of the first target group, etc. The member list of the first target group includes identifiers of existing members in the first target group and an identifier of the first receiver. In this embodiment, the recommendation information is used to recommend to the action performer to perform an action to join the first target group.

[0041] In step 202, the first receiver obtains recommendation information based on the virtual resource address, analyzes the target address, and determines that the action performer is the first receiver based on the virtual resource address.

[0042] When the first receiver receives the update request, it analyzes the target address and determines, based on the virtual resource address in the target address, that the action performer is the first receiver, i.e., the first receiver is the action performer, that is, the first requester recommends that the first receiver perform the action of joining the first target group.

[0043] In step 203, the first recipient sends a first response to the first requester based on the recommendation information.

[0044] In this embodiment, the recommendation information is used by the first requester to recommend to the first receiver to perform the action of joining the first target group, and the first receiver analyzes and determines whether to accept the recommendation from the first requester based on the recommendation information, and sends a response (herein referred to as the first response) to the first requester, allowing the first requester to determine whether to perform the action of joining the first target group based on whether the first response includes the identifier of the first receiver.

[0045] Specifically, if the first response includes the identifier of the first recipient, it means that the first recipient has agreed to join the first target group, and an action to join the first target group is executed. If the first response does not include the identifier of the first recipient, it means that the first recipient has not agreed to join the first target group, and an action to join the first target group is not executed.

[0046] It should be noted that the first requester here may be a CSE, any member of the first target group, or a member in a leadership position within the first target group.

[0047] In an embodiment of the present application, the target request is an update request, the recommendation information is information about a first target group, the information about the first target group includes an identifier of the first target group and a member list of the first target group, the member list of the first target group includes an identifier of the first recipient, the recommendation information is used to recommend to an action performer to perform an action of joining the first target group, the first recipient analyzes the target address and determines that the action performer is the first recipient based on a virtual resource address in the target address, and sends a first response to the first requester based on the recommendation information, causing the first requester to determine whether to perform the action of joining the first target group based on whether the first response contains the identifier of the first recipient. In this way, the first recipient obtains the recommendation information based on the virtual resource address and determines whether to perform the action of joining the first target group recommended by the first requester based on the recommendation information, thereby not only realizing the invitation of an entity to join the group but also improving the interaction efficiency between entities.

[0048] In some embodiments of the present application, if the first response sent to the first requester in the embodiment shown in Figure 6 above includes the identifier of the first recipient, it means that the first requester agrees to join the first target group, and can then send a group join request to the first requester to apply to join the first target group. The following description will be given in conjunction with Figure 7. Figure 7 is a flowchart of a resource induction method according to an embodiment of the present application.

[0049] As shown in FIG. 7, the resource induction method includes the following steps 301 to 305.

[0050] In step 301, the first receiver obtains a target request sent from a first requester, where the target request is an update request and the recommendation information is information of a first target group.

[0051] In step 302, the first receiver obtains recommendation information based on the virtual resource address, analyzes the target address, and determines that the action performer is the first receiver based on the virtual resource address.

[0052] In step 303, the first recipient sends a first response to the first requester based on the recommendation information.

[0053] Steps 301 to 303 in this embodiment are similar to steps 201 to 203 described above, and therefore will not be described here.

[0054] In step 304, the first recipient sends an update request to the first requestor, the update request including the first recipient's identifier.

[0055] In this embodiment, if the identifier of the first recipient is included in the member list of the first target group in the first response sent to the first requester, after sending the first response to the first requester, an update request can be sent to the first requester to apply to join the first target group.

[0056] The update request includes information about the first target group, such as an identifier of the first target group and information about each existing member of the first target group, and further includes an identifier of the first recipient.

[0057] In step 305, the first recipient receives the corresponding response sent by the first requester.

[0058] After receiving the update request from the first recipient, the first requester adds the first recipient to the first target group based on the identifier of the first recipient included in the update request, and generates and sends a corresponding response to the first recipient, so that the first recipient can receive the corresponding response and determine that it has joined the first target group based on the corresponding response.

[0059] The following description will be made in combination with Figures 8 and 9. Figure 8 is a schematic diagram of a transformation for inviting a car to join a group according to an embodiment of the present application, and Figure 9 is a schematic diagram of a process for inviting a car to join a group according to an embodiment of the present application.

[0060] In Figure 8, cars 1, 2, and 3 belong to the same vehicle fleet A, and there is one other car a. In Figure 8, car 2 is an application entity in CSE2, car a is an application entity in CSEa, and registration is performed between CSEa and CSE0.

[0061] As shown in FIG. 9, after vehicle A discovers vehicle A, vehicle 2 in the vehicle platoon sends an information acquisition request to vehicle A to acquire information about vehicle A, such as its destination and the type of cargo being carried. Vehicle A then sends a corresponding information response to vehicle 2. Vehicle 2 then sends an update request to vehicle A based on the acquired information about vehicle A, inviting vehicle A to join the group, i.e., inviting vehicle A to join vehicle A. The update request includes information about vehicle A, such as the destination of vehicle A and the type of cargo being carried by each vehicle in the platoon. After receiving the update request, vehicle A analyzes the information about vehicle A and its own information to determine whether to join vehicle A, and then sends a group joining response to vehicle 2 to agree to join vehicle A.

[0062] Car A then sends a group joining request to car 2 to apply to join platoon A, and after receiving the group joining request, car 2 sends a group joining response to car A to agree to car A joining platoon A.

[0063] After that, CSEa cancels the registration with CSE0 and sends a registration request to CSE2 to which car2 belongs, and CSE2 replies with a registration response and agrees to the registration. At this time, cara successfully joins platoon A, as shown in Figure 8.

[0064] In addition, in Figure 9, the order of the registration request and the group joining request may be reversed, that is, the registration request may be sent first, and after successful registration, the group joining request may be sent to apply to join the group.

[0065] In an embodiment of the present application, if the member list of the first target group in the first response includes the identifier of the first recipient, after sending the first response to the first requester, the first requester may further send an update request including the identifier of the first recipient, and then receive a corresponding response sent by the first requester, so that the first recipient, after agreeing to join the group, sends an update request to the first requester to apply for group membership, thereby realizing an interaction operation based on the recommendation action of joining the group recommended by the first requester, and improving the efficiency and intelligence of interaction between entities.

[0066] In practical applications, the control of some devices is usually the same, for example, lowering all the west-facing curtains in an office in the afternoon. To improve the efficiency of the control, in some embodiments of the present application, the first requester can send a request to create a group to the first recipient, i.e., recommend the action performer to create a new group. The following description will be made in conjunction with FIG. 10. FIG. 10 is a flowchart of a resource guidance method according to an embodiment of the present application.

[0067] As shown in FIG. 10, the resource induction method includes the following steps 401 to 405.

[0068] In step 401, a target request sent from a first requester is received via a virtual resource interface, where the target request is a creation request and the recommendation information is an identifier of each member of a second target group.

[0069] In this embodiment, the first receiver receives a target request, i.e., a create request, sent from the first requester. If the recommendation information in the create request is identification information of each member of the second target group, the recommendation information is used to recommend to the action performer to perform an action to create the second target group. Here, each member refers to a member included in the second target group newly created based on the recommendation of the first requester, that is, it is recommended that these members be grouped together.

[0070] In step 402, the first receiver obtains recommendation information based on the virtual resource address, analyzes the target address, and determines that the action performer is the first action performer based on the virtual resource address.

[0071] The first receiver obtains recommendation information based on the virtual resource address in the target address, analyzes the target address, and determines that the action performer is the first action performer based on the virtual resource address, where the first action performer is different from the first receiver. In this embodiment, the recommendation information is used to recommend to the first action performer to perform an action to create a second target group.

[0072] In step 403, the first recipient forwards the target request to the first action performer.

[0073] After determining the first action performer, the first receiver forwards the target request to the first action performer, and the first action performer determines, based on the recommendation information, that the next action recommended to be performed by the first requester is to create a second target group.

[0074] In step 404, the first recipient obtains a second response from the first action performer.

[0075] After receiving the target request, the first action performer determines whether to accept the recommendation of the first requester and create a second target group based on the identifiers of each member of the second target group in the recommendation information and its own status (e.g., whether it has already joined another group). If the first action performer accepts the recommendation, it creates the second target group. Alternatively, it does not accept the recommendation and generates and sends a second response to the first receiver. The second response includes information on whether the creation of the second target group was successful.

[0076] In step 405, the first recipient sends a second response to the first requester.

[0077] After obtaining the second response from the first action performer, the first receiver sends the second response to the first requester, allowing the first requester to determine whether the creation of the second target group was successful based on whether the second response includes information about the second target group.

[0078] Specifically, if the second response includes information that the second target group has been successfully created, the first action performer accepts the recommendation of the first requester and determines that the second target group has been successfully created. If the second response includes information that the second target group has not been successfully created, the first action performer can determine that the first requester has not performed the next execution action recommended by the first requester.

[0079] Alternatively, whether the creation of the second target group is successful can be determined based on whether the second response includes information about the second target group. If the second response includes information such as an identifier of the second target group and an identifier of each member of the second target group, it can be considered that the creation of the second target group is successful, and if the second response does not include information about the second target group, it means that the creation of the second target group is not successful.

[0080] It should be noted that the first requester may be a management platform or an application provided by a manufacturer, and the first recipient may be a specific entity device or a management device of each group member.

[0081] Taking an office scenario as an example, a device management iPad carried by an office staff member sends device commands to a management server, which then operates the commands.

[0082] Every morning, pull down all the east-facing smart curtains in the office (100 curtain control motors, send commands separately); Every morning, pull up all the west-facing smart curtains in the office (100 curtain control motors, each with its own command); Every afternoon, raise all the east-facing smart curtains in the office (100 curtain control motors, send commands separately); Every afternoon, pull down all the west-facing smart curtains in the office (100 curtain control motors, each with its own command); Every night, pull up all the east-facing smart curtains in the office (100 curtain control motors, each with its own command); Every night, all the west-facing smart curtains in the office are raised (100 curtain control motors, each with its own command).

[0083] Based on the command operation of the management server, the CSE on the management server can operate the recommended group according to the history command request record. In this scenario, as shown in Figure 11, the smart curtains (100 curtain control motors) facing east in the office are set as the first group, and the smart curtains (100 curtain control motors) facing west in the office are set as the second group. The information recommending creating groups like this is sent to the management AE, which then sends it to the corresponding management CSE, and the management CSE creates the groups.

[0084] FIG. 11 is a schematic diagram of curtain control motor groupings according to an embodiment of the present application.

[0085] Below, we will explain the process of combining Figure 12 to create a group for the east-facing smart curtains (100 curtain control motors) in the office.

[0086] FIG. 12 is a schematic diagram of the process of creating a group according to an embodiment of the present application.

[0087] As shown in Figure 12, both the controlling AE and the controlling AE2 are registered with the controlling CSE, the controlling AE2 is the first requester, the controlling CSE is the first recipient, the controlling AE is the first action taker, and the controlling AE2 is the <recommandopereation>Position, here <csebase> / <ae> / <recommandopereation>Send a creation request to the resourceID: <csebase> / <ae> / <group1>The resourceID contains the IDs of 100 east-facing curtain control motor entities, and memberIDs contains the information recommending the creation of a group. The recipient of the creation request knows where the recommendation should be created, and the memberIDs tell the recipient which entities should be created. <group1>It is possible to know whether the entity is a constituent member of the 100 east-facing curtain control motors (in this case, the entity is a 100 east-facing curtain control motors).

[0088] The managing CSE creates a new address based on the target address information in the create request. <recommandopereation>Determine the location, identify the designated managing AE, and transfer.

[0089] The AE responds with an answer as to whether or not to create a group through analysis. If the AE agrees, the response includes information recommending the creation of a group. If the AE declines, the response content does not include information recommending the creation of a group and is empty. In FIG. 12, the managing AE agrees to group 100 east-facing curtains into one group, generates a response, and sends the response agreeing to the creation of the group to the managing CSE. The managing CSE then forwards the response agreeing to the creation of the group to managing AE2.

[0090] The Admin AE will use the group information resourceID: <csebase> / <ae> / <group1>and memberIDs: Contains the IDs of 100 east-facing curtain control motor entities, <group1>The managing CSE sends a request to create the <group1>The group is created in response to the creation request, and a response is sent to the requester indicating that the group has been created and that the group has been agreed upon.

[0091] In the response to agree to the creation of the group sent from the managing CSE to the managing AE2, the sender's information is forwarded to the requester simultaneously so as not to conflict with the response to agree to the creation of the group. In this case, the sender is the managing AE, and the content information of the response to agree to the creation of the group is the information proposed by the requester at that time. If the requester subsequently wants to check the creation status, the content information is the information recommended at that time. <group1>You can directly obtain the address and get the success or failure of the creation status.

[0092] The response agreeing to the group creation is made by the CSE, and the sender of this response is the managing CSE. The response is identical in structure to the group creation response sent by the managing AE to the managing CSE; only the recipient information has been changed, and the content information is consistent. Therefore, when the information sent by the managing CSE is sent to the requester, the requester can know that the relevant managing AE has agreed to its recommendation and the group creation has been successful.

[0093] In actual applications, products from different manufacturers may control the same object. For example, when a gas monitoring device detects that the gas concentration exceeds the warning threshold, it activates the door and window controller to open the window for ventilation. When an air monitoring and purifying device detects that the PM2.5 concentration in the air exceeds the warning threshold, it activates the door and window controller to close the window. In this way, both the gas monitoring device and the air monitoring and purifying device control the door and window controller.

[0094] In order to reduce the gap between products of different manufacturers and enhance the intelligent control, in some embodiments of the present application, a request to create an action resource for a control target can be sent to a first requester before the first receiver receives the target request sent from the first requester.

[0095] The request to create an action resource includes information about the first action resource, where the action resource refers to an action on the controlled object. For example, in the above example, the controlled object may be the door / window controller, and the action resource may be opening a window.

[0096] After receiving the request to create an action resource, the first requester can generate a response (herein referred to as a third response) based on the action already created for the control target and the first action resource, and then send the third response to the first recipient, so that the first recipient can obtain the third response to the request to create an action resource from the first requester and determine whether the creation of the first action resource was successful based on the third response.

[0097] For example, in the case of a gas monitor and an air monitor / purifier, the service layer can be the first requester, and the gas monitor or the air monitor / purifier can be the first recipient. Specifically, the gas monitor can send a request to the service layer to create an action to open a window, and the air monitor / purifier can send a request to the service layer to create an action to close a window. This allows the gas monitor and the air monitor / purifier to receive corresponding responses.

[0098] In an embodiment of the present application, before receiving the target request sent from the first requester, the first receiver can send to the first requester a request to create an action resource for the control target, the request including information on the first action resource, and receive from the first requester a third response to the request to create the action resource. This allows the request to create an action resource to be sent to the requester, and the requester can create the action resource, thereby reducing the gap between products from different manufacturers.

[0099] In practical application, the third response received by the first recipient may be a response indicating failure to create the first action resource. Based on this, in some embodiments of the present application, if the third response is a failure response, the first requester can send recommendation information to the first recipient to recommend the first recipient to obtain information on other action resources for the same control object. The following description will be made in conjunction with FIG. 13. FIG. 13 is a flowchart of a resource guidance method according to an embodiment of the present application.

[0100] As shown in FIG. 13, the resource induction method includes the following steps 501 to 503.

[0101] In step 501, a target request sent by a first requester is obtained, where the target request is an information acquisition request, and the recommended information in the information acquisition request is information of a second action resource.

[0102] In this embodiment, the first receiver transmits a request to create an action resource for a control target to the first requester, and the request to create an action resource includes information about the first action resource.

[0103] The first requester determines, based on the first action resource and the created second action resource, that the two action resources conflict, and then generates a first response, which is a failure response, sent to the first receiver. Thus, the failure response is generated by the first requester when there is a conflict between the first action resource and the created second action resource.

[0104] The second action resource here may be created by the first requester based on a request for creating an action resource for a control target sent to the first requester by another entity device. That is, both the first action resource and the second action resource may be action resources for a control target. For example, for a door / window controller, the first action resource may be to open a window, and the second action resource may be to close the window.

[0105] After sending a failure response to the first receiver, the first requester sends a target request to the first receiver, where the target request is an information acquisition request, and the target address in the target request includes a virtual resource address. If the recommendation information in the information acquisition request is information of a second action resource, the recommendation information is used to recommend to the action performer to perform an action to acquire information of the second action resource.

[0106] In step 502, the first receiver obtains recommendation information based on the virtual resource address, analyzes the target address, and determines that the action performer is the first receiver based on the virtual resource address.

[0107] The first receiver analyzes the target address and determines that the action performer is the first receiver based on the virtual resource address included in the target address, that is, the first receiver is also the action performer, and the first requester recommends that the first receiver perform an action to obtain information on the second action resource.

[0108] In step 503, the first recipient sends a fourth response to the first requester based on the information in the second action resource.

[0109] After receiving the information acquisition request, the first receiver generates a fourth response according to the information acquisition request, such as the type of the information acquisition request, the information of the second action resource, etc., and then sends the fourth response to the first requester, where the fourth response is for the first receiver to notify the first requester that the first receiver has received the transmitted information acquisition request.

[0110] In an embodiment of the present application, if a conflict occurs between an action resource requested to be created and an action resource that has already been created, resulting in a failure to create the action resource, a recommended operation for acquiring the action resource that has already been created can be received, and the created action can be viewed. This allows the cause of the failure to create the action resource that the user requested to be created can be analyzed, improving the efficiency and intelligence of interaction between entity devices and reducing the time lag.

[0111] In some embodiments of the present application, after sending a fourth response to the first requester, the first receiver may send a first acquisition request to the first requester to acquire information about the second action resource.

[0112] After the first requester receives a first acquisition request for acquiring a second action resource, the first requester sends a response corresponding to the first acquisition request to the first receiver, the response including information about the second action resource, so that the first receiver can update the first action resource based on the second action resource after obtaining the second action resource, i.e., create a new first action resource to resolve the conflict between the first action resource and the second action resource.

[0113] After updating the first action resource, the first receiver sends an updated action resource creation request, including information of the updated first action resource, to the first requester to cause the first requester to create a new first action resource, so that the new first action resource does not conflict with the second action resource. For example, a trigger condition for the first action resource can be added to prevent the first action resource from conflicting with the second action resource.

[0114] Furthermore, if the first requester has created multiple action resources and the action resource requested to be created by the first receiver conflicts with the multiple action resources that have already been created, the recommendation information in the information acquisition request sent to the first receiver is identifiers of the multiple actions, and the first receiver is recommended to perform an action to acquire the multiple action resources that have already been created. If the first receiver accepts the recommendation, the acquisition request is sent to the first requester to acquire the multiple action resources, the first action resource is updated based on the multiple action resources, and the creation of the updated first action resource is again requested, thereby avoiding a conflict between the created updated first action resource and the multiple action resources that have already been created.

[0115] In an embodiment of the present application, after the first receiver sends the fourth response, it sends a first acquisition request to the first requester, receives a response corresponding to the first acquisition request sent by the first requester, and the response corresponding to the first acquisition request includes information about the second action resource, so that after the first receiver accepts the first requester's recommendation to perform an action to acquire the second action resource, it can acquire the second action resource by sending an acquisition request to the first requester, and update the first action resource based on the second action resource to avoid conflict between the two action resources, thereby improving the efficiency and intelligence of interaction and reducing the time lag.

[0116] In some embodiments of the present application, if the creation of the action resource requested by the first recipient fails, the first requester can recommend a new first action resource to the first recipient. The following description will be given in conjunction with Figure 14. Figure 14 is a flowchart of a resource guidance method according to an embodiment of the present application.

[0117] As shown in FIG. 14, the resource induction method includes the following steps 601 to 603.

[0118] In step 601, a target request sent from a first requester is obtained, the target request is a creation request, and the recommendation information in the creation request is a new first action.

[0119] In this embodiment, the first receiver transmits a request to create an action resource for a control target to the first requester, and the request to create an action resource includes information about a new first action resource.

[0120] The first requester determines, based on the first action resource and the created second action resource, that the two action resources conflict, and then generates a third response, which is a failure response, sent to the first receiver. Thus, the failure response is generated by the first requester when there is a conflict between the first action resource and the created second action resource.

[0121] The second action resource here may be created by the first requester based on a request for creating an action resource for a control target sent to the first requester by another entity device. That is, the first action resource and the second action resource may be action resources for the same control target. For example, for a door / window controller, the first action resource is to open a window, and the second action resource is to close the window.

[0122] After sending a failure response to the first receiver, the first requester sends a target request to the first receiver, where the target request is a creation request, and if the recommendation information in the creation request is information about a new first action resource, the recommendation information in the creation request is used to recommend to the action performer to perform an action of creating a new first action resource. The new first action resource is determined by the first requester based on the first action resource and a second action resource that has already been created, and does not conflict with the second action resource that has already been created. The number of second action resources that has already been created here may be one or more.

[0123] In step 602, the first receiver obtains recommendation information based on the virtual resource address, analyzes the target address, and determines that the action performer is the first receiver based on the virtual resource address.

[0124] The first receiver analyzes the target address and determines that the action performer is the first receiver based on the virtual resource address included in the target address, i.e., the first receiver is also the action performer, and the first requester recommends to the first receiver that the first receiver perform an action to create information of a new first action resource.

[0125] In step 603, the first recipient sends a fifth response to the first requester based on the information in the new first action resource.

[0126] In this embodiment, the first receiver generates and sends a fifth response to the first requester based on the type of request, the new first action resource carried, etc., where the fifth response is for the first receiver to notify the first requester that the sender's creation request has been received.

[0127] After sending the fifth response to the first requester, the first action resource can be updated based on the information of the new first action resource carried in the creation request, and then a request to create an updated action resource including the information of the updated first action resource can be sent to the first requester, causing the first requester to create the updated first action resource based on the request to create the updated action resource.

[0128] In an embodiment of the present application, when a failure response to an action creation request is received from a first requester, an update request whose recommendation information is a new first action resource can be received from the first requester, and information on the new first action resource sent by the first requester can be obtained, whereby the first recipient can create a new first action resource based on the obtained information on the new first action resource and request the creation of the new first action resource again, thereby improving the efficiency and intelligence of interaction and reducing the time lag.

[0129] In a scenario where a trigger action is to be created, in some embodiments of the present application, if a first recipient successfully creates a first action resource that the first requester has requested the first recipient to create, and then the first requester successfully creates a third action resource, the first requester can recommend to the action performer that the first requester perform an action to obtain information about the third action resource. The following description will be given in conjunction with FIG. 15. FIG. 15 is a flowchart of a resource guidance method according to an embodiment of the present application.

[0130] As shown in FIG. 15, the resource induction method includes the following steps 701 to 703.

[0131] In step 701, a target request sent by a first requester is obtained, where the target request is an information acquisition request, and the recommended information in the information acquisition request is information on a third action resource.

[0132] In this embodiment, the first receiver sends a request to the first requester to create a first action resource for the control target, and the request to create the action resource includes information about the third action resource.

[0133] The first requester creates a first action resource based on the action resource creation request and generates a third response that is a success response sent to the first recipient.

[0134] Then, the first receiver acquires the target request, the target request being an information acquisition request, and the recommendation information in the information acquisition request is information including information of a third action resource, and the recommendation information is used to recommend to the action performer to perform an action to acquire the information of the third action resource. The third action resource is created by the first requester after creating the first action resource and is the same as the control target of the first action resource.

[0135] In step 702, the first receiver obtains recommendation information based on the virtual resource address, analyzes the target address, and determines that the action performer is the first receiver based on the virtual resource address.

[0136] The first receiver analyzes the target address and determines that the action performer is the first requester based on the virtual resource address included in the target address, that is, the first requester recommends the first receiver to perform an action to obtain information on a third action resource.

[0137] In step 703, the first recipient sends a sixth response to the first requester based on the information in the third action resource.

[0138] Based on the information of the third action resource included in the information acquisition request, the first recipient can determine that the first requester recommends obtaining information of the third action resource and viewing the third action resource.

[0139] The first receiver generates a sixth response according to the type of the target request (i.e., an information acquisition request), the information of the third action resource in the information acquisition request, etc. Then, the sixth response is sent to the first requester, thereby notifying the first requester that the first receiver has received the information acquisition request sent.

[0140] After sending the sixth response to the first requester, the first receiver can send a second acquisition request to the first requester to view information of the third action resource. The first receiver receives a response corresponding to the second acquisition request sent from the first requester, where the response corresponding to the second acquisition request includes information of the third action resource. The first receiver then updates the first action resource based on the information of the third action resource, and then sends an updated action resource creation request including information of the updated first action resource to the first requester, causing the first requester to create a new first action resource.

[0141] In an embodiment of the present application, after creating a first action resource for a control object, if the first requester receives a request for creating an action resource for the control object, including a second action resource, sent from another device, in order to avoid conflict between the first action resource and the second action resource, after creating the second action resource, a counter-recommendation can be made to the first recipient requesting the creation of the first action resource, recommending that the second action resource be viewed, thereby making a counter-recommendation and allowing the first recipient to update the first action resource based on the second action resource, thereby avoiding conflict between the first action resource and the second action resource, improving interaction efficiency and intelligence, and reducing time lag.

[0142] The above-mentioned embodiments are described below in combination with Figures 16, 17, and 18. Figure 16 is a schematic diagram of single recommendation and multiple recommendation according to an embodiment of the present application, Figure 17 is a schematic diagram of reverse recommendation according to an embodiment of the present application, and Figure 18 is a schematic diagram of recommendation with further generated results according to an embodiment of the present application.

[0143] 16, the gas monitoring device 810 sends a creation request for <action 1> targeted at the door / window controller to the service layer 820. In response to the creation request for <action 1>, the service layer 820 creates action 1 and sends a creation response for <action 1> to the gas monitoring device 810. The service layer 820 may be a smart home management platform.

[0144] The air monitoring and purification device 830 sends a request to create <action 2> to the service layer 820, and because there is a conflict between action 1 and action 2, the service layer 820 sends a response to the air monitoring and purification device 830 indicating that the creation of <action 2> has failed. The target of this action 2 is the door / window controller.

[0145] The service layer 820 sends a request to the air monitoring and purifying device 830 to recommend acquisition of <action 1>, i.e., recommends that the air monitoring and purifying device 830 perform an action to acquire action 1 and view action 1. In response to the request recommending acquisition of <action 1>, the air monitoring and purifying device 830 confirms that it accepts the recommendation of the service layer 820 and sends a response recommending acquisition of <action 1> to the service layer 820, and based on the response, the service layer 820 determines that the air monitoring and purifying device 830 agrees with its recommendation.

[0146] The air monitoring and purification device 830 sends an acquisition request for <action 1> to the service layer 820, and after receiving the request, the service layer 820 sends information about action 1 to the air monitoring and purification device 830, i.e., returns an acquisition response for <action 1> to the air monitoring and purification device 830.

[0147] After receiving the acquisition response for <Action 1>, the air monitoring and purification device 830 modifies Action 2 based on Action 1 to acquire a new Action 2 in order to resolve the conflict between Action 1 and Action 2. Then, it sends a request to the service layer 820 to create a new <Action 2> targeted at the door and window controller. This eliminates the conflict between the new Action 2 and Action 1, and resolves the gap between different products.

[0148] The air conditioner 840 sends a request to create <action 3> to the service layer 820, and because there is a conflict between action 3 and actions 1 and 2, the service layer 820 sends a response to the air conditioner 840 indicating that the creation of <action 3> has failed. The target of this action 23 is the door / window controller.

[0149] The service layer 820 sends a request to the air conditioner 840 recommending the acquisition of <action 1> and <action 2>, i.e., recommends that the air conditioner 840 perform the action of acquiring action 1 and action 2, and view action 1 and action 2. In response to the request recommending the acquisition of <action 1> and <action 2>, the air conditioner 840 confirms that it accepts the recommendation of the service layer 820 and sends a response to the service layer 820 recommending the acquisition of <action 1> and <action 2>, and based on the response, the service layer 820 determines that the air conditioner 840 agrees with its recommendation.

[0150] The air conditioner 840 sends an acquisition request for <action 1> and <action 2> to the service layer 820, and after receiving the request, the service layer 820 sends information about action 1 and action 2 to the air conditioner 840, i.e., returns an acquisition response for <action 1> and <action 2> to the air conditioner 840.

[0151] After receiving the acquisition response for <Action 1> and <Action 2>, the air conditioner 840 modifies Action 3 based on Action 1 and Action 2 to obtain a new Action 3 in order to resolve the conflict between Action 3 and Action 1 and Action 2. It then sends a request to the service layer 820 to create a new <Action 3> targeted at the door and window controller. This eliminates the conflict between the new Action 3 and Action 1 and Action 2, and resolves the gap between different products.

[0152] In Figure 16, the service layer 820 can be considered as the first requester, and the air monitoring and purification device 830 and the air conditioning device 840 can be considered as the first receivers.If an action requested to be created by the air monitoring and purification device 830 and the air conditioning device 840 conflicts with the same action for a control object that has already been created, the service layer 820 sends recommendation information to the air monitoring and purification device 830 and the air conditioning device 840, so that both devices modify their actions based on the recommendation information.

[0153] 17, the service layer 820 returns a response to the air monitoring and purification device 830 indicating that action 2 was successfully created. The service layer 820 then sends a request to the gas monitoring device 810 to recommend acquisition of <action 2>, i.e., recommends acquisition of action 2 to the gas monitoring device 810 and views action 2. In response to the request recommending acquisition of <action 2>, the gas monitoring device 810 confirms that it accepts the recommendation of the service layer 820 and sends a response recommending acquisition of <action 2> to the service layer 820. Based on the response, the service layer 820 determines that the gas monitoring device 810 agrees with its recommendation.

[0154] The gas monitoring device 810 sends an acquisition request for <action 2> to the service layer 820, and after receiving the request, the service layer 820 sends information about action 2 to the gas monitoring device 810, i.e., returns an acquisition response for <action 2> to the gas monitoring device 810.

[0155] After receiving the acquisition response for <Action 2>, the gas monitoring device 810 modifies Action 1 based on Action 2 to acquire a new Action 1 in order to resolve the conflict between Action 1 and Action 2. Then, it sends a request to the service layer 820 to create a new <Action 1> targeted at the door and window controller. This eliminates the conflict between the new Action 1 and Action 2, and resolves the gap between different products.

[0156] 17, gas monitoring device 810 may be the first receiver, and service layer 820 may be the first requester. After the first receiver requests the creation of an action, if the action requested to be created by another device conflicts with the action created by the first receiver, the first requester may send a counter-recommendation to the first receiver requesting to view the action requested to be created by the other device, causing the first receiver to modify its own action and request the creation of a new action again.

[0157] In FIG. 18, after returning a response to the air monitoring and purification device 830 indicating that creation of action 2 failed, the service layer 820 recommends a creation request for a new <action 2> to the air monitoring and purification device 830, i.e., the service layer 820 sends a recommendation with the creation results to the air monitoring and purification device 830.

[0158] After receiving the recommendation request, the air monitoring and purifying device 830 reconstructs a request to create a new action 2 for the door / window controller based on the recommendation request and sends it to the service layer 820. The service layer 820 creates a new action 2 in response to the acquired request to create a new <action 2>, and returns a creation response for the new <action 2> to the air monitoring and purifying device 830. In this way, the air monitoring and purifying device 830 requests the creation of a new action 2 based on the recommendation with the creation results received from the service layer 820, and ensures that the new action 2 does not conflict with action 1.

[0159] 18, the air monitoring and purification device 830 can be the first recipient, and the service layer 820 is the first requester. If an action requested by the first recipient to be created conflicts with an action created by the service layer 820 in response to a request from another device for the same control target, the door / window controller, the first requester can recommend a new action to the first recipient.

[0160] To realize the above embodiment, the embodiment of the present application further provides a resource induction device. Figure 19 is a structural schematic diagram of the resource induction device according to the embodiment of the present application.

[0161] The resource directing device according to the embodiment of the present application can be applied to the first receiver.

[0162] As shown in FIG. 19, the resource induction device 900 includes a receiving module 910 and a determining module 920 .

[0163] The receiving module 910 is configured to obtain a target request sent from a first requester, the target request carrying resource information including recommendation information and a target address including a virtual resource address.

[0164] The determination module 920 is configured to obtain recommendation information used to recommend a next action to be performed to the action performer based on the virtual resource address, and to determine the action performer based on the virtual resource address.

[0165] In some embodiments of the present application, the target request is an update request, and the recommendation information is information of a first target group, the information of the first target group includes an identifier of the first target group and a member list of the first target group, the member list of the first target group includes an identifier of the first recipient, and the recommendation information is used to recommend to the action performer to perform an action of joining the first target group; The determination module 920 is configured to analyze the target address and determine, based on the virtual resource address, that the action performer is the first recipient; The resource induction device 900 The system may further include a first sending module 930 configured to send a first response to the first requester based on the recommendation information, and to allow the first requester to determine whether the first recipient will perform an action to join the first target group based on whether an identifier of the first recipient is included in a member list of the first target group in the first response. In some embodiments of the present application, the member list of the first target group in the first response includes an identifier of the first recipient; The first sending module 930 is further configured to send an update request to a first requester, the update request including the identifier of the first recipient; The receiving module 910 is further configured to receive a corresponding response sent from the first requester.

[0166] In some embodiments of the present application, the target request is a creation request, and the recommendation information in the creation request is an identifier of each member in the second target group, and the recommendation information is used to recommend to the action performer to perform an action to create the second target group; The determination module 920 is configured to analyze the target address and determine, based on the virtual resource address, that the action performer is a first action performer; The resource induction device 900 a second sending module 940 configured to forward the target request to the first action performer; The receiving module 910 is configured to obtain a second response from the first action performer; The second sending module 940 is further configured to send a second response to the first requester, allowing the first requester to determine whether the creation of the second target group was successful based on information in the second response regarding whether the creation of the second target group was successful.

[0167] In some embodiments of the present application, the resource inducer 900 a third sending module 950 configured to send a request for creating an action resource for the controlled object, the request including information of the first action resource, to the first requester; The receiving module 910 is further configured to obtain a third response to the request to create the action resource from the first requester.

[0168] In some embodiments of the present application, the third response is a failure response generated by the first requester when there is a conflict between the first action resource and a created second action resource, the target request is an information acquisition request, the recommendation information in the information acquisition request is information of the second action resource, and the recommendation information is used to recommend to the action performer to perform an action to acquire the information of the second action resource; The determination module 920 is further configured to analyze the target address and determine, based on the virtual resource address, that the action performer is the first recipient; The third sending module 950 is further configured to send a fourth response to the first requester based on the information of the second action resource.

[0169] In some embodiments of the present application, the third sending module 950 is further configured to send a first acquisition request to a first requester; The receiving module 910 is further configured to receive a response corresponding to the first acquisition request, the response including information of the second action resource, sent from the first requester; The resource induction device 900 a first update module 960 configured to update the first action resource based on information of the second action resource; The third sending module 950 is further configured to send, to the first requester, a request to create an updated action resource, the request including information of the updated first action resource.

[0170] In some embodiments of the present application, the third response is a failure response generated by the first requester when there is a conflict between the first action resource and a second action resource that has already been created, the target request is a creation request, the recommendation information in the creation request is information about a new first action resource, and the recommendation information is used to recommend to the action performer to perform an action to create the new first action resource; The determination module 920 is configured to analyze the target address and determine, based on the virtual resource address, that the action performer is the first recipient; The third sending module 950 is further configured to send a fifth response to the first requester based on the information of the new first action resource.

[0171] In some embodiments of the present application, the resource inducing device 900 further includes a second updating module 970 configured to update the first action resource according to information carrying the new first action resource in the creation request; The third sending module 950 is further configured to send, to the first requester, a request to create an updated action resource, the request including information of the updated first action resource.

[0172] In some embodiments of the present application, the third response is a success response, the target request is an information acquisition request, and the recommendation information in the information acquisition request is information of a third action resource, which is created by the first requester for the control target after creating the first action resource, and the recommendation information is used to recommend to the action performer to perform an action to acquire information of the third action resource; The determination module 920 is configured to analyze the target address and determine, based on the virtual resource address, that the action performer is the first recipient; The third sending module 950 is further configured to send a sixth response to the first requester based on the information of the third action resource.

[0173] In some embodiments of the present application, the third sending module 950 is further configured to send a second acquisition request to the first requester; The receiving module 910 is further configured to receive a response corresponding to the second acquisition request sent by the first requester, the response including information of the third action resource; The resource induction device 900 The system may further include a third update module 980 configured to update the first action resource based on information in the third action resource and send a request to the first requester to create an updated action resource, the request including information in the updated first action resource.

[0174] The description of the resource induction method according to the embodiment above is also applicable to the resource induction device according to the embodiment, and therefore will not be repeated here.

[0175] The resource guidance device according to the embodiment of the present application determines an action performer based on the set virtual resource address, and recommends the next action to be performed to the action performer based on the recommendation information, thereby guiding resources according to the virtual resource address, improving the efficiency and intelligence of interaction, and reducing the time lag.

[0176] To realize the above-mentioned embodiment, the embodiment of the present application further provides a device. As shown in FIG. 20, the device 1000 includes a processor 1001 and a memory 1002.

[0177] The processor 1001 reads the executable program code stored in the memory 1002, and executes the program corresponding to the executable program code to implement the resource induction method described in the above embodiments.

[0178] To realize the above-described embodiment, the embodiment of the present application further provides a non-transitory computer-readable storage medium 2000. As shown in Fig. 21, the computer-readable storage medium 2000 stores a computer program that, when executed by a processor, realizes the resource guidance method described in the above-described embodiment.

[0179] In this description, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or the number of technical features indicated. Thus, a feature qualified as "first" or "second" may explicitly or implicitly include at least one such feature.

[0180] While the embodiments of the present application have been shown and described above, it should be understood that the above-described embodiments are merely illustrative and should not be construed as limiting the present application. Those skilled in the art may make changes, modifications, substitutions and variations to the above-described embodiments within the scope of the present application. [Explanation of symbols]

[0181] 810 Gas monitoring equipment 820 Service Layer 830 Air Monitoring and Purification Device 840 Air conditioner 900 Resource Induction Device 910 Receiver Module 920 Confirmation Module 930 first transmitting module 940 Second Transmitting Module 950 Third Transmitting Module 960 First Update Module 970 Second Update Module 980 Third Update Module 1000 devices 1001 processor 1002 memory 2000 Computer-Readable Storage Medium < / ae> < / csebase> < / recommandopereation> < / ae> < / csebase> < / recommandopereation> < / ae> < / csebase> < / recommandopereation> < / csebase> < / csebase> < / recommandopereation> < / ae> < / csebase> < / recommandopereation> < / remotecse> < / csebase> < / recommandopereation> < / csebase> < / remotecse> < / csebase> < / recommandopereation> < / ae> < / csebase> < / recommandopereation> < / recommandopereation> < / csebase> < / recommandopereation>

Claims

1. a first receiving entity receiving a target request sent from a first requesting entity, the target request carrying resource information including recommendation information and a target address including a virtual resource address; the first receiving entity obtains the recommendation information used to recommend a next action to be performed to an action performing entity based on the virtual resource address, and determines the action performing entity based on the virtual resource address. A resource guidance method, comprising: the target request is an update request, the recommendation information is information of a first target group, the information of the first target group includes an identifier of the first target group and a member list of the first target group, the member list of the first target group includes an identifier of a first receiving entity, and the recommendation information is used to recommend to the action performing entity to perform an action to join the first target group; determining an action execution entity based on the virtual resource address, The first receiving entity analyzes the target address and determines, based on a virtual resource address, that the action performing entity is the first receiving entity; The method comprises: After determining an action performing entity based on the virtual resource address, the first receiving entity further includes sending a first response to the first requesting entity based on the recommendation information, and causing the first requesting entity to determine whether the first receiving entity will perform an action of joining the first target group based on whether an identifier of the first receiving entity is included in a member list of the first target group in the first response; the first target group member list in the first response includes an identifier of the first receiving entity; The method comprises: the first receiving entity sends a first response to the first requesting entity based on the recommendation information, and then sends an update request to the first requesting entity, the update request including an identifier of the first receiving entity; the first receiving entity receiving a corresponding response sent from the first requesting entity. Resource induction methods.

2. A first receiving entity receives a target request sent from a first requesting entity, the target request carrying resource information including recommendation information and a target address including a virtual resource address; the first receiving entity obtains the recommendation information used to recommend a next action to be performed to an action performing entity based on the virtual resource address, and determines the action performing entity based on the virtual resource address, The method comprises: the first receiving entity, before receiving the target request sent from the first requesting entity, sending to the first requesting entity a request to create an action resource for a control target, the request including information of the first action resource; the first receiving entity further includes obtaining a third response to the action resource creation request from the first requesting entity; the third response is a failure response generated by the first requesting entity when a conflict exists between the first action resource and a second action resource that has already been created; the target request is an information acquisition request, the recommendation information in the information acquisition request is information of the second action resource, and the recommendation information is used to recommend to the action performing entity to perform an action to acquire the information of the second action resource; determining an action execution entity based on the virtual resource address, The first receiving entity analyzes the target address and determines, based on a virtual resource address, that the action performing entity is the first receiving entity; The method comprises: After determining that the action performing entity is the first receiving entity, the first receiving entity further includes sending a fourth response to the first requesting entity based on information of the second action resource; or the target request is a creation request, and the recommendation information in the creation request is information about a new first action resource, and the recommendation information is used to recommend to the action performing entity to perform an action to create the new first action resource; determining an action execution entity based on the virtual resource address, The first receiving entity analyzes the target address and determines, based on a virtual resource address, that the action performing entity is the first receiving entity; The method comprises: After determining that the action performing entity is the first receiving entity, the first receiving entity further includes sending a fifth response to the first requesting entity based on information of the new first action resource. Resource induction methods.

3. a first receiving entity sending the fourth response to the first requesting entity based on information in the second action resource, and then sending a first acquisition request to the first requesting entity; the first receiving entity receiving a response corresponding to the first acquisition request sent from the first requesting entity, the response including information of the second action resource; The first receiving entity further includes updating the first action resource based on the information of the second action resource, and sending an updated action resource creation request including the information of the updated first action resource to the first requesting entity. The method of claim 2.

4. a first receiving entity, after sending a fifth response to the first requesting entity based on the information of the new first action resource, updating the first action resource based on the information carrying the new first action resource in the creation request; the first receiving entity further includes a step of sending to the first requesting entity a request to create an updated action resource, the request including information about the updated first action resource. The method of claim 2.

5. A first receiving entity receives a target request sent from a first requesting entity, the target request carrying resource information including recommendation information and a target address including a virtual resource address; the first receiving entity obtains the recommendation information used to recommend a next action to be performed to an action performing entity based on the virtual resource address, and determines the action performing entity based on the virtual resource address, The method comprises: the first receiving entity, before receiving the target request sent from the first requesting entity, sending to the first requesting entity a request to create an action resource for a control target, the request including information of the first action resource; the first receiving entity further includes obtaining a third response to the action resource creation request from the first requesting entity; the third response is a success response, the target request is an information acquisition request, the recommendation information in the information acquisition request is information of a third action resource, the information of the third action resource is created by the first requesting entity for the control target after creating the first action resource, and the recommendation information is used to recommend to the action performing entity to perform an action to acquire the information of the third action resource; determining an action execution entity based on the virtual resource address, The first receiving entity analyzes the target address and determines, based on a virtual resource address, that the action performing entity is the first receiving entity; The method comprises: After determining that the action performing entity is the first receiving entity, the first receiving entity further includes sending a sixth response to the first requesting entity based on information of the third action resource. Resource induction methods.

6. a first receiving entity sending the sixth response to the first requesting entity based on information in the third action resource, and then sending a second acquisition request to the first requesting entity; the first receiving entity receiving a response corresponding to the second acquisition request sent from the first requesting entity, the response including information of the third action resource; The first receiving entity further includes updating the first action resource based on the information of the third action resource, and sending an updated action resource creation request to the first requesting entity, the updated action resource including the information of the updated first action resource. The method of claim 5.

7. A device comprising a processor and a memory, The processor reads the executable program code stored in the memory and executes a program corresponding to the executable program code to realize the resource induction method according to any one of claims 1 to 6. device.

8. A computer program is stored which, when executed by a processor, implements the resource guidance method according to any one of claims 1 to 6. A non-transitory computer-readable storage medium.

Citation Information

Patent Citations

  • Building a pool-based M2M service layer through NFV

    JP2019514118A

  • Building pool-based m2m service layer through nfv

    WO2017176877A1

  • Device state synchronization method and common capability component

    WO2019201258A1