CN112689300B - Method, apparatus, system, and medium for managing application and execution unit - Google Patents

Method, apparatus, system, and medium for managing application and execution unit Download PDF

Info

Publication number
CN112689300B
CN112689300B CN202110278535.5A CN202110278535A CN112689300B CN 112689300 B CN112689300 B CN 112689300B CN 202110278535 A CN202110278535 A CN 202110278535A CN 112689300 B CN112689300 B CN 112689300B
Authority
CN
China
Prior art keywords
resource
sensing
service
measurement
execution unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110278535.5A
Other languages
Chinese (zh)
Other versions
CN112689300A (en
Inventor
吴昊
代胜伟
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Jimi Technology Co Ltd
Original Assignee
Chengdu Jimi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Jimi Technology Co Ltd filed Critical Chengdu Jimi Technology Co Ltd
Priority to CN202110278535.5A priority Critical patent/CN112689300B/en
Publication of CN112689300A publication Critical patent/CN112689300A/en
Application granted granted Critical
Publication of CN112689300B publication Critical patent/CN112689300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device, a system and a medium for managing application and execution units, wherein the method comprises the following steps: creating a first resource for a aware execution unit; after receiving a resource creating request message sent by an application unit, creating a second resource for the application unit, and sending a resource creating response message to the application unit, wherein the resource creating request message comprises a requested sensing service type; and executing corresponding operation according to the type of the requested sensing service. The invention introduces the intermediate management unit, is deployed on equipment such as a home gateway, a wireless router and the like, can reasonably provide public resources through the requirement identification of application and the unified management of perception execution equipment, and provides flexible and accurate perception service for the application.

Description

Method, apparatus, system, and medium for managing application and execution unit
Technical Field
The present invention relates to the field of wireless sensing, and in particular, to a method, an apparatus, a system, and a medium for managing an application and an execution unit.
Background
The WLAN sensing (wireless sensing) technology is a new technology that can use existing Wi-Fi signals to implement motion detection, gesture recognition, and biometric measurement based on existing wifi networks and devices. In WLAN Sensing, changes in the environment caused by the motion of objects, pets, and people are detected by using a CSI (channel state information) -based or Radar-based approach without requiring the detected object to wear any device.
Through the implementation of the WLAN sending, the method can provide more intelligent and richer application in the fields of intelligent home, intrusion detection, medical care, intelligent remote nursing and the like.
Disclosure of Invention
As a new technical characteristic, WLAN sensing involves data acquisition, preprocessing and denoising, anomaly detection, feature extraction, classification and identification, and therefore requires more complex computing power. Because of the wide variety of WLAN devices, not all WLAN devices will be equipped with the hardware and software capabilities of WLAN presence in terms of device price and cost, and these devices cannot provide richer services through WLAN presence.
In a traditional service model, for example, wifi equipment is applied to receive and send data through a wifi interface, because the traditional wifi service is single, the data to be sent is sent to a wifi network management unit in the form of an IP data packet, and wifi determines a modulation and coding mode for sending the data according to the state of an actual network, and then sends the data out, and the same is also applied to receiving the data in reverse. However, for the WLAN sending service, not only a single service mode of data transceiving, but also more complex management is required, for example, different sensing accuracy may be different for the way of actually performing the sensing measurement, different sensing result requirements may be different for the way of actually performing the sensing measurement, the sensing range, and the like, and different devices may have different capabilities, thereby providing processing complexity for how applications use the sensing service. Embodiments of the present invention provide a method, an apparatus, a system, and a medium for managing an application and an execution unit.
In a first aspect, an embodiment of the present invention provides a method for managing an application and an execution unit, where the method includes:
creating a first resource for a aware execution unit;
after receiving a resource creating request message sent by an application unit, creating a second resource for the application unit, and sending a resource creating response message to the application unit, wherein the resource creating request message comprises a requested sensing service type;
searching established process resources locally according to the requested sensing service type, if the established process resources indicate that the requested sensing service type is supported, calculating the result of the requested sensing service type according to the attribute in the established process resources, and storing the calculation result in a second resource; if the local process resource does not exist or the established process resource indicates that the requested sensing service type is not supported, searching a local first resource, and if the first resource indicates that the requested sensing service type is supported and a first sensing execution unit corresponding to the first resource is in an idle state, sending a sensing service request message to the first sensing execution unit, wherein the sensing service request message comprises the requested sensing service type; after receiving the sensing measurement response message sent by the first sensing execution unit, if the sensing measurement response message indicates that the first sensing execution unit agrees to execute sensing measurement, creating a process resource, receiving a measurement report sent by the first sensing execution unit, storing the measurement result in the created process resource, calculating the result of the requested sensing service type, and storing the calculation result in the second resource.
In one possible implementation, the method further includes:
and after receiving the retrieval resource request message sent by the application unit, according to the information in the retrieval resource request message, including the result of the sensing service in the retrieval resource response message and sending the retrieval resource response message to the application unit.
In a second aspect, an embodiment of the present invention provides an apparatus for managing an application and an execution unit, where the apparatus includes a first resource creation module, an application unit management module, and a aware service module, where the first resource creation module is communicatively connected to the aware service module, and the application unit management module is communicatively connected to the aware service module, where,
the first resource creating module is used for creating a first resource for the perception execution unit;
the application unit management module is used for creating a second resource for the application unit after receiving a resource creating request message sent by the application unit, and sending a resource creating response message to the application unit, wherein the resource creating request message comprises a requested sensing service type;
the perception service module is used for locally searching the established process resources according to the perception service type of the request, calculating the result of the perception service type of the request according to the attribute in the established process resources if the established process resources indicate that the perception service type of the request is supported, and storing the calculation result in the second resource; if the local process resource does not exist or the established process resource indicates that the requested sensing service type is not supported, searching a local first resource, and if the first resource indicates that the requested sensing service type is supported and a first sensing execution unit corresponding to the first resource is in an idle state, sending a sensing service request message to the first sensing execution unit, wherein the sensing service request message comprises the requested sensing service type; after receiving the sensing measurement response message sent by the first sensing execution unit, if the sensing measurement response message indicates that the first sensing execution unit agrees to execute sensing measurement, creating a process resource, receiving a measurement report sent by the first sensing execution unit, storing the measurement result in the created process resource, calculating the result of the requested sensing service type, and storing the calculation result in the second resource.
In a possible implementation manner, the apparatus further comprises a retrieval module, the retrieval module is connected with the first resource creating module, the application unit management module and the service awareness module in a communication mode, wherein,
and the retrieval module is used for receiving the retrieval resource request message sent by the application unit, and then sending the result of the sensing service to the application unit by including the result in the retrieval resource response message according to the information in the retrieval resource request message.
In a third aspect, an embodiment of the present invention provides an apparatus for managing applications and execution units, where the apparatus includes a processor and a memory, where the memory stores at least one instruction, at least one piece of program code, a set of codes, or a set of instructions, and the at least one instruction, at least one piece of program code, a set of codes, or a set of instructions is loaded and executed by the processor to implement the method for managing applications and execution units according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a system for managing an application and an execution unit, where the system includes an application unit, a sensing service management unit, and a sensing execution unit, where the application unit is configured to provide a sensing service for a user through a user interface, the sensing execution unit is configured to execute a sensing service, the sensing service management unit is respectively in communication connection with the application unit and the sensing execution unit, and the sensing service management unit is configured to implement the method for managing an application and an execution unit according to the first aspect.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which at least one instruction, at least one program code, a code set, or a set of instructions is stored, and the at least one instruction, at least one program code, a code set, or a set of instructions is loaded and executed by a processor to implement the method for managing applications and execution units according to the first aspect.
It should be noted that, the apparatus in the third aspect and the readable storage medium in the fifth aspect are used to execute the method in the first aspect, so that the same beneficial effects as those of the method in the first aspect can be achieved, and no further description is given to embodiments of the present invention.
The invention introduces the intermediate management unit, is deployed on equipment such as a home gateway, a wireless router and the like, can reasonably provide public resources through the requirement identification of application and the unified management of perception execution equipment, and provides flexible and accurate perception service for the application.
Drawings
The present application will now be described by way of example only and with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of a method for managing applications and execution units provided by an embodiment of the present invention;
fig. 2 is a schematic diagram of a first resource structure according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a second resource structure according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a process resource structure according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Moreover, while the present disclosure has been described in terms of one or more exemplary embodiments, it is to be understood that each aspect of the disclosure can be implemented as a separate entity, whether or not such embodiment is described in connection with its specific embodiments. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
In the embodiments of the present invention, words such as "exemplary", "for example", etc. are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another, and may or may not be identical in meaning. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items.
In the embodiment of the present invention, AE (application entity) represents an application unit that provides a user with a sensing service through a user interface, and the application unit is run on an application node an (application node), for example, a television that supports gesture operation, the television is an application node, and a control program in the television is AE.
The embodiment of the invention introduces a sensing service management unit (SSME) for managing the sensing service request and response of the application, and realizes the request of the application to the sensing service through the management and interaction with a sensing Execution unit (SEE) which is actually executed by the sensing service. SEE is a logical or physical entity that performs sensing measurements and feeds back sensing results.
FIG. 1 is a flowchart of a method for managing applications and execution units according to an embodiment of the present invention. As shown in fig. 1, the method of managing an application and an execution unit includes:
s101, creating a first resource for the perception execution unit.
TABLE 1
Figure DEST_PATH_IMAGE001
The SSME may manage multiple SEE and create a resource for each SEE. Specifically, the SSME creates a resource SEE1 for the SEE, the structure of which is shown in fig. 2, and the attribute setting of which is shown in table 1.
And S102, after receiving a resource creating request message sent by an application unit, creating a second resource for the application unit, and sending a resource creating response message to the application unit, wherein the resource creating request message comprises the requested sensing service type. In some embodiments, the create resource request message further includes a resource type indicating the type of resource requested to be created.
Specifically, when an application unit AE requests a sensing service, a create resource request message is sent to the SSME, where the message includes the type of the requested sensing service, and the message may also include the type of the resource, such as AE; after receiving the create resource request message, the SSME creates a resource AE1 for the application unit AE, the structure of the resource is shown in fig. 3, and the attribute setting is shown in table 2.
TABLE 2
Properties Description of the invention
Resource Type Type of resource, e.g. set to "AE"
Resource ID Identification of resources for uniquely identifying a resource within a SSME
AE ID Identification of AE
A child resource Service1 is also created for resource AE1, with the child resource attribute settings shown in Table 3, for example.
TABLE 3
Properties Description of the invention
Resource Type Type of resource, e.g. set to "Service"
Resource ID Identification of resources for uniquely identifying a resource within a SSME
Service category Perceiving type of service
Service result Perceiving the result of a service
ParentID Identification of parent resource of the resource
SessionID Identification of a process associated with the awareness service
Service status Sensing the status of traffic, e.g. default value set to idle and active value indicating sensing The awareness service is in progress, and the value is idle, indicating that the awareness service is not being performed normally
SSME sends create Resource response message to AE, which contains the attribute Resource ID of the AE1 Resource.
And S103, executing corresponding operation according to the requested sensing service type.
Specifically, according to the type of the requested sensing service, searching an established process resource locally, if the established process resource indicates that the requested sensing service type is supported, calculating a result of the requested sensing service type according to an attribute in the established process resource, and storing the calculation result in a second resource; if the local process resource does not exist or the established process resource indicates that the requested sensing service type is not supported, searching a local first resource, and if the first resource indicates that the requested sensing service type is supported and a first sensing execution unit corresponding to the first resource is in an idle state, sending a sensing service request message to the first sensing execution unit, wherein the sensing service request message comprises the requested sensing service type; after receiving the sensing measurement response message sent by the first sensing execution unit, if the sensing measurement response message indicates that the first sensing execution unit agrees to execute sensing measurement, creating a process resource, receiving a measurement report sent by the first sensing execution unit, storing the measurement result in the created process resource, calculating the result of the requested sensing service type, and storing the calculation result in the second resource.
Further, after receiving the retrieval resource request message sent by the application unit, the result of the sensing service is contained in the retrieval resource response message and sent to the application unit according to the information in the retrieval resource request message.
In conjunction with the specific setting of resources, step S103 includes the following:
SSME searches the established resource with the type of Session locally according to the sensing service type of AE request,
1031. if the attribute Supported Service in the established Session resource indicates the sensing Service type supporting the AE request, calculating the Result of the sensing Service type of the AE request according to the attribute Measurement Result in the Session resource, storing the Result in the attribute Service Result of the sub-resource Service1 of the resource AE1, setting the value of the attribute Session ID as the value of the attribute Session ID of the Session resource, and setting the value of the Service status as active.
1032. If the local resources of the established Session type do not exist, or the attribute Supported Service in the established Session resources indicates the sensing Service type which does not support the AE request, searching for the local resources of which the resource type is the SEE, and if the attribute Supported Service of the SEE resources indicates the sensing Service type which supports the AE request and the attribute Status value of the SEE resources is idle, sending a sensing Service request message to the SEE indicated by the attribute SEE ID, wherein the sensing Service request message contains the type of the sensing Service.
1033. SEE contains two logical entities: a device management entity (SME) and a media access management entity (MLME), the MLME providing low-level management service interfaces through which low-level management functions can be invoked; the SME, which represents a higher-layer management entity above the MAC layer, is a layer-independent entity that is located in a separate management plane, and is generally responsible for functions such as collecting layer-related state from various layer management entities (e.g., MLMEs), and similarly, sets layer-specific parameter values. The SME receives a sensing service request message sent by the SSME, determines a parameter SENSMeasa for executing sensing measurement according to the type of sensing service indicated in the message, and sends a sensing service response message to the SSME, wherein the SENSMeasa comprises one or more of the parameters shown in the table 4.
TABLE 4
Parameter(s) Description of the invention
Sensing method Perception measurement method
Measurement period Measuring period
Measurement duration Measuring duration
Measurement bandwidth Measuring bandwidth
Measurement channel Measuring channel numbering
Sensing role A structural parameter, comprising two subfields, (Address, Role), wherein Address identifies the Address of SEE, role identifies the Role of the SEE, and the value of parameter Role is set to transmit, which indicates that the SEE is responsible for sending sense The value of the parameter Role is set to receiver, indicating that the SEE is responsible for receiving the sensing signal
1034. After receiving the sensing measurement response message sent by the SEE, if the sensing measurement response message indicates that the SEE agrees to perform sensing measurement, the SSME creates a process resource, the structure of the process resource is shown in fig. 4, and the attribute and setting of the child resource Role1 are shown in table 5 and table 6, respectively. If the sensing measurement response message indicates that the SEE does not agree with the sensing measurement, the SSME checks whether other SEE type resources exist locally or not, the attribute Status of the resource is idle, if so, the SSME sends a sensing Service request message to the SEE corresponding to the resource, and if not, the attribute Service Status value of the sub-resource Service1 is set to idle.
TABLE 5
Properties Description of the invention
Resource Type Type of resource, e.g. set to "Session"
Resource ID Identification of resources for uniquely identifying a resource within the SSMESource
Session ID Identification of perceptual measurement processes
Measurement Result Sensing measured data
Supported Service Supported aware traffic types
TABLE 6
Properties Description of the invention
Resource Type Type of resource, e.g. set to "Role"
Resource ID Identification of resources for uniquely identifying a resource within a SSME
Initiator Initiator of a perceptual measurement process
Responder Participants other than the initiator in the process of perceptual measurement
1035. The SSME assigns a Session ID to the perceptual measurement process and sets the assigned Session ID to the value of the attribute Session ID of resource Session1, as well as to the value of the attribute Session ID of the child resource Service1 of resource AE 1.
1036. The SME of the SEE sends a measurement execution primitive to the MLME of the SEE, wherein the primitive comprises a parameter PeerSTAAddress and/or SENSSMeasParas, and the parameter PeerSTAAddress is used for indicating a perception execution unit for executing a perception measurement process; according to the parameters PeerSTAAddress and/or SENSMeasparas, SEE executes corresponding operations:
when the primitive includes the parameter PeerSTAAddress, if the value of the PeerSTAAddress is the address of the SEE, the primitive may not include the Sensing role parameter, or the SEE in the Sensing role is set to transmit and receive simultaneously, and the SEE sends and receives the Sensing signal, and the measuring signal and the measuring report are sent to the SSME; if the value of the PeerSTAAddress is the address of other SEEs, the SEE sends a measurement request message to other SEEs indicated by the PeerSTAAddress, receives measurement response messages sent by the other SEEs, indicates whether the other SEEs agree to execute sensing measurement in the measurement response messages, if the SEE serves as a transmitter and the other SEEs serve as receivers, the SEE sends a sensing signal, the other SEEs receive the sensing signal, measure the sensing signal and send a measurement report to the SEE, and the SEE sends the measurement report to the SSME; if the SEE serves as a receiver and other SEEs serve as transmitters, the other SEEs send sensing signals, and the SEE receives the sensing signals, measures the sensing signals and sends measurement reports to the SSME. And if the other SEEs are indicated to be not approved to execute the sensing measurement in the measurement response message, sending a sensing measurement response message to the SSME, wherein the sensing measurement response message indicates Failure, and the sensing measurement fails.
When the primitive does not contain the parameter PeerSTAAddress, if the Sensing role indicates that the SEE is used as transmitter and receiver at the same time, the SEE sends a Sensing signal and receives the Sensing signal, and measures the signal and sends a measurement report to the SSME; if the Sensing role contains addresses of other SEEs, the SEE sends a measurement request message to the other SEEs indicated in the Sensing role and receives measurement response messages sent by the other SEEs, the measurement response messages indicate whether the other SEEs agree to perform Sensing measurement, if the SEE serves as a transmitter and the other SEEs serve as receivers, the SEE sends a Sensing signal, the other SEEs receive the Sensing signal and measure the Sensing signal and send a measurement report to the SEE, and the SEE sends the measurement report to the SSME; if the SEE serves as a receiver and other SEEs serve as transmitters, the other SEEs send sensing signals, and the SEE receives the sensing signals, measures the sensing signals and sends measurement reports to the SSME. And if the other SEEs are indicated to be not approved to execute the sensing measurement in the measurement response message, sending a sensing measurement response message to the SSME, wherein the sensing measurement response message indicates Failure, and the sensing measurement fails.
1037. The SSME receives the Measurement report sent by the SEE, stores the Measurement Result in the attribute Measurement Result of the resource Session1, calculates the Result of the sensing Service type of the AE request according to the attribute Measurement Result in the resource Session1, and stores the Result in the attribute Service Result of the sub-resource Service1 of the resource AE 1.
Further, the method further comprises:
the AE sends a retrieve Resource request message to the SSME, wherein the retrieve Resource request message comprises a Resource ID and an attribute name Service result; after receiving the retrieve Resource request message, the SSME searches local resources according to the Resource ID, and sends the value of the attribute Service Resource of the resources to the AE in a retrieve Resource response message; and after the AE obtains the Service result, executing predefined operation according to the result.
The embodiment of the invention also provides a device for managing the application and the execution unit, which comprises a first resource creating module, an application unit management module and a sensing service module, wherein the first resource creating module is in communication connection with the sensing service module, the application unit management module is in communication connection with the sensing service module, wherein,
the first resource creating module is used for creating a first resource for the perception execution unit;
the application unit management module is used for creating a second resource for the application unit after receiving a resource creating request message sent by the application unit, and sending a resource creating response message to the application unit, wherein the resource creating request message comprises a requested sensing service type;
the perception service module is used for locally searching the established process resources according to the perception service type of the request, calculating the result of the perception service type of the request according to the attribute in the established process resources if the established process resources indicate that the perception service type of the request is supported, and storing the calculation result in the second resource; if the local process resource does not exist or the established process resource indicates that the requested sensing service type is not supported, searching a local first resource, and if the first resource indicates that the requested sensing service type is supported and a first sensing execution unit corresponding to the first resource is in an idle state, sending a sensing service request message to the first sensing execution unit, wherein the sensing service request message comprises the requested sensing service type; after receiving the sensing measurement response message sent by the first sensing execution unit, if the sensing measurement response message indicates that the first sensing execution unit agrees to execute sensing measurement, creating a process resource, receiving a measurement report sent by the first sensing execution unit, storing the measurement result in the created process resource, calculating the result of the requested sensing service type, and storing the calculation result in the second resource.
Preferably, the apparatus further comprises a retrieval module, the retrieval module is in communication connection with the first resource creation module, the application unit management module and the service awareness module, wherein,
and the retrieval module is used for receiving the retrieval resource request message sent by the application unit, and then sending the result of the sensing service to the application unit by including the result in the retrieval resource response message according to the information in the retrieval resource request message.
The present invention further provides an apparatus for managing an application and an execution unit, where the apparatus includes a processor and a memory, where the memory stores at least one instruction, at least one piece of program code, a set of codes, or a set of instructions, and the at least one instruction, at least one piece of program code, the set of codes, or the set of instructions is loaded and executed by the processor, so as to implement the method for managing an application and an execution unit according to the foregoing embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one section of program code, a set of codes, or a set of instructions is stored in the computer-readable storage medium, and the at least one instruction, the at least one section of program code, the set of codes, or the set of instructions is loaded and executed by a processor to implement the method for managing applications and execution units according to the foregoing embodiments.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, some or all of the steps may be executed in parallel or executed sequentially, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented.
The modules described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more modules are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device or a terminal device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: u disk, removable hard disk, ROM, RAM) magnetic or optical disk, or the like.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
The word "if" or "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. A method of managing applications and execution units, the method comprising:
creating a first resource for a aware execution unit;
after receiving a resource creating request message sent by an application unit, creating a second resource for the application unit, and sending a resource creating response message to the application unit, wherein the resource creating request message comprises a requested sensing service type;
searching established process resources locally according to the requested sensing service type, if the established process resources indicate that the requested sensing service type is supported, calculating the result of the requested sensing service type according to the attribute in the established process resources, and storing the calculation result in a second resource; if the local process resource does not exist or the established process resource indicates that the requested sensing service type is not supported, searching a local first resource, and if the first resource indicates that the requested sensing service type is supported and a first sensing execution unit corresponding to the first resource is in an idle state, sending a sensing service request message to the first sensing execution unit, wherein the sensing service request message comprises the requested sensing service type; after receiving the sensing measurement response message sent by the first sensing execution unit, if the sensing measurement response message indicates that the first sensing execution unit agrees to execute sensing measurement, creating a process resource, receiving a measurement report sent by the first sensing execution unit, storing the measurement result in the created process resource, calculating the result of the requested sensing service type, and storing the calculation result in the second resource.
2. The method of claim 1, wherein after storing the computation result in the second resource, the method further comprises:
and after receiving the retrieval resource request message sent by the application unit, according to the information in the retrieval resource request message, including the result of the sensing service in the retrieval resource response message and sending the retrieval resource response message to the application unit.
3. The method of claim 1, wherein the first Resource comprises a Resource Type, a Resource ID, a SEE ID, a Supported Service and a Status, the Resource Type is used for indicating the Type of the Resource, the Resource ID is used for indicating the identifier of the Resource, the identifier of the Resource is used for uniquely identifying one Resource or sub-Resource, the SEEID is used for indicating the identifier of the aware execution unit, the Supported Service is used for indicating the Supported aware Service Type, and the Status is used for indicating the current Status of the aware execution unit.
4. The method of claim 1, wherein the second Resource comprises a first sub-Resource and an attribute of Resource Type, Resource ID and AE ID, the first sub-Resource comprises an attribute of Resource Type, Resource ID, Service category, Service Resource, SessionID and Service status, the Resource Type is used to indicate the Type of the Resource, the Resource ID is used to indicate the identifier of the Resource, the identifier of the Resource is used to uniquely identify a Resource or a sub-Resource, the AE ID is used to indicate the identifier of the application unit, the Service category is used to indicate the Type of the aware Service, the Service Resource is used to indicate the result of the aware Service, the SessionID is used to indicate the identifier of the process managed by the aware Service, and the servicestatus is used to indicate the status of the aware Service.
5. The method of claim 4, wherein the service aware progress state comprises one of: the sensing Service is in progress and the sensing Service is not normally performed, and the attribute Service status default value is set to be the same as the value indicating that the sensing Service is not normally performed.
6. The method of claim 4, wherein the process Resource comprises a second sub-Resource and attributes of Resource Type, Resource ID, Session ID, Measurement Result and Supported Service, the second sub-Resource comprises attribute of Resource Type, Resource ID, Initiator and server, the Resource Type is used to indicate the Type of the Resource, the Resource ID is used to indicate the identifier of the Resource, the Session ID is used to indicate the identifier of the Measurement process, the Measurement Result is used to indicate the data of the Measurement, the Supported Service is used to indicate the Supported Type of the sensing Service, the Initiator is used to indicate the Initiator of the Measurement process, and the server is used to indicate the other participants except the Initiator in the Measurement process.
7. The method of claim 6, wherein the computing the requested service-aware type of service based on attributes in the established process resource and storing the computed result in a second resource comprises:
calculating the Result of the requested sensing Service type according to the attribute Measurement Result in the established process resource, storing the calculation Result in the attribute Service Result of the first sub-resource of the second resource, setting the value of the attribute Session ID of the first sub-resource as the value of the attribute Session ID of the process resource, and setting the value of the attribute Service status of the first sub-resource as the value indicating that the sensing Service is in progress.
8. The method of claim 6, further comprising, after said creating process resources:
and allocating an identifier for the sensing measurement process, setting the allocated identifier as the value of the attribute Session ID of the process resource, and simultaneously setting the allocated identifier as the value of the attribute Session ID of the first sub-resource of the second resource.
9. The method of claim 6, wherein storing the measurement results in a created process resource and calculating the requested service type aware result, and storing the calculation result in a second resource comprises:
and storing the Measurement Result in the attribute Measurement Result of the created process resource, calculating the Result of the requested sensing Service type according to the attribute Measurement Result of the created process resource, and storing the calculation Result in the attribute Service Result of the first sub-resource of the second resource.
10. The method of claim 6, wherein after storing the computation result in the second resource, the method further comprises:
after receiving a retrieval resource request message sent by an application unit, the retrieval resource request message comprises a resource identifier and an attribute name Service result, the local resource is searched according to the resource identifier in the retrieval resource request message, and the value of the found attribute Service result of the resource is contained in a retrieval resource response message and sent to the application unit.
11. The method of claim 1, wherein after sending the awareness services request message to the first awareness execution unit and before receiving the awareness measurement response message sent by the first awareness execution unit, the method further comprises:
the equipment management entity of the first perception execution unit receives the perception service request message, determines a parameter SENSSMEASPA for executing perception measurement according to the perception service type indicated in the perception service request message, and sends a measurement execution primitive to a media access layer management entity of the first perception execution unit, wherein the measurement execution primitive comprises a parameter PeerSTAAddress and/or SENSSMEASPA, and the parameter PeerSTAAddress is used for indicating the perception execution unit for executing a perception measurement process; the parameter sensmeas, contains one or more of the following parameters: sensing method: indicating a perception measurement method; measurement period: indicating a measurement period; measurement duration: indicating a measurement duration; measurement bandwidth: indicating a measurement bandwidth; measurement channel: indicating a measurement channel number; sensing roll: the structural parameters comprise subfields Address and Role, wherein the Address is used for identifying the Address of the sensing execution unit, and the Role is used for identifying the Role of the sensing execution unit;
according to the parameters PeerSTAAddress and/or SENSMeasPasas, the first perception execution unit executes corresponding operation;
the equipment management entity of the first perception execution unit sends a perception measurement response message to the perception service management unit, wherein the perception measurement response message indicates whether the first perception execution unit agrees to execute perception measurement or not;
the first sensing execution unit executes corresponding operations according to the parameters PeerSTAAddress and/or sensmeasmeasaras, including:
if the value of PeerSTAAddress is the address of the first Sensing execution unit, or the Sensing role indicates that the first Sensing execution unit is responsible for sending a Sensing signal and receiving the Sensing signal at the same time, the first Sensing execution unit sends the Sensing signal and receives the Sensing signal, and sends a measurement signal and a measurement report to the Sensing service management unit;
if the value of the PeerSTAAddress is the address of the second Sensing execution unit, or the Sensing role contains the address of the second Sensing execution unit, the first Sensing execution unit sends a measurement request message to the second Sensing execution unit and receives a measurement response message sent by the second Sensing execution unit, wherein the measurement response message indicates whether the second Sensing execution unit agrees to execute Sensing measurement; if the first perception execution unit is responsible for sending perception signals and the second perception execution unit is responsible for receiving the perception signals, the first perception execution unit sends the perception signals, the second perception execution unit receives the perception signals, measures the perception signals and sends measurement reports to the first perception execution unit, and the first perception execution unit sends the measurement reports to the perception service management unit; if the first perception execution unit is responsible for receiving the perception signal and the second perception execution unit is responsible for sending the perception signal, the second perception execution unit sends the perception signal, and the first perception execution unit receives the perception signal, measures the perception signal and sends a measurement report to the perception service management unit.
12. An apparatus for managing applications and execution units, the apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one piece of program code, a set of codes, or a set of instructions, the at least one instruction, at least one piece of program code, set of codes, or set of instructions being loaded and executed by the processor to implement the method for managing applications and execution units according to any one of claims 1-11.
13. A system for managing applications and execution units, the system comprising an application unit for providing a user with a aware service via a user interface, a aware execution unit for executing a aware service, and a aware execution unit, wherein the aware service management unit is communicatively connected to the application unit and the aware execution unit, respectively, the aware service management unit being configured to implement the method for managing applications and execution units according to any of claims 1 to 10.
14. A computer-readable storage medium having stored therein at least one instruction, at least one piece of program code, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of managing applications and execution units of any one of claims 1-11.
CN202110278535.5A 2021-03-16 2021-03-16 Method, apparatus, system, and medium for managing application and execution unit Active CN112689300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110278535.5A CN112689300B (en) 2021-03-16 2021-03-16 Method, apparatus, system, and medium for managing application and execution unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110278535.5A CN112689300B (en) 2021-03-16 2021-03-16 Method, apparatus, system, and medium for managing application and execution unit

Publications (2)

Publication Number Publication Date
CN112689300A CN112689300A (en) 2021-04-20
CN112689300B true CN112689300B (en) 2021-06-11

Family

ID=75455648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110278535.5A Active CN112689300B (en) 2021-03-16 2021-03-16 Method, apparatus, system, and medium for managing application and execution unit

Country Status (1)

Country Link
CN (1) CN112689300B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115243200B (en) * 2021-04-22 2023-06-02 极米科技股份有限公司 Method, device, system and storage medium for executing perception process
CN115243304B (en) * 2021-04-23 2024-04-09 成都极米科技股份有限公司 Signal measurement method, device, system, terminal and network equipment
CN115243341B (en) * 2021-04-23 2023-05-12 极米科技股份有限公司 Method, device, system and storage medium for executing wireless sensing process
CN115243306A (en) * 2021-04-23 2022-10-25 成都极米科技股份有限公司 Signal measurement method and device, SME, MLME and terminal
CN115243308A (en) * 2021-04-23 2022-10-25 成都极米科技股份有限公司 Signal measurement method, device, system, terminal and network equipment
CN115243307A (en) * 2021-04-23 2022-10-25 成都极米科技股份有限公司 Signal measurement method, device, system, terminal and network equipment
CN115412952B (en) * 2021-05-27 2024-06-14 成都极米科技股份有限公司 Wireless perception control method, device and computer storage medium
EP4369794A1 (en) * 2021-07-06 2024-05-15 Beijing Xiaomi Mobile Software Co., Ltd. Communication method and communication device
CN114760653B (en) * 2021-08-13 2023-04-28 极米科技股份有限公司 Wireless sensing method, device, equipment and storage medium
EP4383762A1 (en) * 2021-08-20 2024-06-12 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Wireless communication method and device
CN117581576A (en) * 2021-08-23 2024-02-20 Oppo广东移动通信有限公司 Method and apparatus for wireless communication
WO2023028791A1 (en) * 2021-08-30 2023-03-09 Oppo广东移动通信有限公司 Wireless communication method and device
CN115755027A (en) * 2021-09-02 2023-03-07 维沃移动通信有限公司 Method and device for processing perception service
CN113870528A (en) * 2021-09-17 2021-12-31 四川华能宝兴河水电有限责任公司 Method for rapidly sensing dangerous events through intelligent safety helmet
CN116170098A (en) * 2021-11-25 2023-05-26 维沃移动通信有限公司 Method and device for establishing sensing service sharing channel
WO2023115286A1 (en) * 2021-12-20 2023-06-29 北京小米移动软件有限公司 Method and apparatus for terminating proxy in wlan sensing, and electronic device and storage medium
WO2023130383A1 (en) * 2022-01-07 2023-07-13 Oppo广东移动通信有限公司 Sensing methods and devices
WO2023130388A1 (en) * 2022-01-07 2023-07-13 Oppo广东移动通信有限公司 Wireless communication method, and device
CN114731679B (en) * 2022-02-28 2023-08-18 北京小米移动软件有限公司 Communication method and communication device for agent perception
US20230300657A1 (en) * 2022-03-17 2023-09-21 Huawei Technologies Co., Ltd. Sensing measurement report frame format
CN116939590A (en) * 2022-04-02 2023-10-24 维沃移动通信有限公司 Perceptual signal processing method, apparatus and readable storage medium
CN114760704A (en) * 2022-04-29 2022-07-15 联想(北京)有限公司 Perception service processing method and computer equipment
WO2023212924A1 (en) * 2022-05-06 2023-11-09 北京小米移动软件有限公司 Communication method for sensing session establishment, and communication apparatus
US20240078147A1 (en) * 2022-09-06 2024-03-07 Snap Inc. Remotely changing settings on ar wearable devices

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143511A (en) * 2011-03-31 2011-08-03 广州联正达通信科技股份有限公司 System and method for wirelessly sensing and monitoring indoor distribution device
CN104468815A (en) * 2014-12-22 2015-03-25 齐玉田 Wireless sensing system and method of internet of things
CN104602180A (en) * 2015-01-20 2015-05-06 西安工程大学 Method for creating subscription resource system and creating subscription resources
CN105282682A (en) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 Method for realizing resource attribute announcement and common service entity
CN105354649A (en) * 2014-08-09 2016-02-24 星际空间(天津)科技发展有限公司 Perception information management system and method
CN109785199A (en) * 2018-12-18 2019-05-21 广州市驴车信息科技有限公司 The service discovery method of Intelligent campus system and Intelligent campus based on scenario analysis
US10694340B2 (en) * 2018-08-31 2020-06-23 Sk Planet Co., Ltd. Apparatus for producing radio map and method of operating same
US20200323034A1 (en) * 2019-06-20 2020-10-08 Claudio Da Silva Proximity detection by multiple wlan link tracking
US20200359248A1 (en) * 2019-06-21 2020-11-12 Bahareh Sadeghi Wlan sensing frame exchange protocol

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683289A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Common service entity (CSE) registering method and system
US10305815B2 (en) * 2016-04-29 2019-05-28 Huawei Technologies Co., Ltd. System and method for distributed resource management
CN110113375A (en) * 2019-03-26 2019-08-09 罗克佳华科技集团股份有限公司 Resource share method and device, system, storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143511A (en) * 2011-03-31 2011-08-03 广州联正达通信科技股份有限公司 System and method for wirelessly sensing and monitoring indoor distribution device
CN105282682A (en) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 Method for realizing resource attribute announcement and common service entity
CN105354649A (en) * 2014-08-09 2016-02-24 星际空间(天津)科技发展有限公司 Perception information management system and method
CN104468815A (en) * 2014-12-22 2015-03-25 齐玉田 Wireless sensing system and method of internet of things
CN104602180A (en) * 2015-01-20 2015-05-06 西安工程大学 Method for creating subscription resource system and creating subscription resources
US10694340B2 (en) * 2018-08-31 2020-06-23 Sk Planet Co., Ltd. Apparatus for producing radio map and method of operating same
CN109785199A (en) * 2018-12-18 2019-05-21 广州市驴车信息科技有限公司 The service discovery method of Intelligent campus system and Intelligent campus based on scenario analysis
US20200323034A1 (en) * 2019-06-20 2020-10-08 Claudio Da Silva Proximity detection by multiple wlan link tracking
US20200359248A1 (en) * 2019-06-21 2020-11-12 Bahareh Sadeghi Wlan sensing frame exchange protocol

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
IEEE 802.11bf aims to enable a new application of WLAN technology:WLAN Sensing;Tony xiao han,et al;《IEEE 802.11》;20201205;全文 *
SENS SG Proposed CSD Draft;Claudio da Silva;《IEEE P802.11》;20200731;全文 *
支持混合业务的5G自适应调度和复用技术;闫志宇;《移动通信》;20200415;全文 *

Also Published As

Publication number Publication date
CN112689300A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN112689300B (en) Method, apparatus, system, and medium for managing application and execution unit
CN112738758B (en) Method, device and system for managing perception service and readable storage medium
CN109032801B (en) Request scheduling method, system, electronic equipment and storage medium
US11528235B2 (en) Internet of things resource subscription method, device, and system
US11469949B2 (en) Hierarchical configuration of networked communication devices
CN106844165B (en) Alarm method and device
US8346816B2 (en) Method and apparatus for physical/logical relationship mapping between resources
US20100161630A1 (en) Sensor Net System, Sensor Net System Data Managing Method, and Sensor Net System Data Managing Program
EP2115941B1 (en) Self-configuring wireless network location system
EP3841730B1 (en) Identifying device types based on behavior attributes
US20040111397A1 (en) Method and apparatus for fusing context data
CN103501347B (en) Resource allocation methods and device
US20190288920A1 (en) Information Processing Method in M2M and Apparatus
CN112311628B (en) Network speed measuring method, system, network equipment and storage medium
CN106056825A (en) Fire alarm method, device and system and household fan device
CN112784992A (en) Network data analysis method, functional entity and electronic equipment
CN103947157A (en) Apparatus and method for M2M communications
CN116094969B (en) Bandwidth adjustment method, device, equipment and storage medium
WO2021056435A1 (en) Method and apparatus for abnormality detection
CN115243308A (en) Signal measurement method, device, system, terminal and network equipment
CN106879027A (en) A kind of load-balancing method and system based on wireless routing device response speed
Yang et al. 6LoWPAN Protocol Based Infrared Sensor Network Human Target Locating System
US20220417109A1 (en) Methods for determining application of models in multi-vendor networks
CN115865929B (en) Equipment security management method, device and equipment based on Internet of things
CN115243286B (en) Data processing method, device and storage medium

Legal Events

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