Method, device, system and storage medium for executing perception process
Patent Information
- Application Number
- CN202110465711.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-04-28
Smart Images

Figure GDA0005006241900000081 
Figure GDA0005006241900000091 
Figure GDA0005006241900000092
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communications, and in particular to a method, device, system and storage medium for executing a sensing process. Background Art
[0002] WLAN sensing (wireless sensing) technology is a new technology that can use existing Wi-Fi signals to achieve motion detection, gesture recognition, and biometric measurement based on existing Wi-Fi networks and devices. In WLAN Sensing, changes caused by the movement of objects, pets, and people in the environment are detected by using CSI (channel state information) or Radar-based methods without the need for the detected object to wear any equipment.
[0003] Through the implementation of WLAN sensing, more intelligent and richer applications can be provided in the fields of smart home, intrusion detection, health care, smart remote care, etc. Summary of the invention
[0004] In the perception measurement process, multiple devices are allowed to participate together, and these devices are fixed or mobile. When a mobile device participates in the perception measurement, the initiator may not be able to obtain the measurement report or the desired measurement report due to the device moving out of the signal reception range or out of the perception event occurrence area. In view of this, the embodiments of the present invention provide a method, device, system and storage medium for executing the perception process.
[0005] In a first aspect, an embodiment of the present invention provides a method for executing a perception process, which is applied to an initiator of the perception process, and includes:
[0006] Sending a perception establishment request message to a responder, wherein the perception establishment request message includes a parameter Reportcondition, wherein Reportcondition is used to indicate a condition for sending a measurement report;
[0007] receiving a perception establishment response message sent by a responder, wherein the perception establishment response message includes a parameter resultcode, wherein the resultcode is used to indicate whether to agree to execute the perception process;
[0008] The parameter result code in the at least one perception establishment response message indicates that the responder agrees to perform the perception process to perform the perception process;
[0009] Sending a sensing measurement report acquisition message to at least one responder executing a sensing process, wherein the sensing measurement report acquisition message includes a parameter Sensing report type, wherein the Sensing report type is used to indicate whether a result must be fed back;
[0010] When the Sensing report type indicates that the result must be fed back, if no sensing measurement report message is received within the first preset time, the sensing process is terminated.
[0011] In a possible implementation, when the Sensing report type indicates that a result must be fed back, the following is further included:
[0012] Set the counter locally and set the initial value of the counter;
[0013] If no perception measurement report message is received within the first preset time, terminating the perception process includes:
[0014] If no perception measurement report message is received within the first preset time after the perception measurement report acquisition message is sent, the counter value is increased by a preset value, and if the counter value is greater than or equal to a preset threshold value, the perception process is terminated.
[0015] In a possible implementation manner, when the Sensing report type indicates that a result must be fed back, the method further includes: after receiving the sensing measurement report message, resetting the counter value to an initial value.
[0016] In a possible implementation, the method further includes: exchanging with the responder a capability parameter indicating whether the perception process is supported or whether the reception and measurement of the perception data packet are supported.
[0017] In a second aspect, an embodiment of the present invention provides a method for executing a perception process, which is applied to a responder of the perception process, and includes:
[0018] receiving a perception establishment request message sent by an initiator, wherein the perception establishment request message includes a parameter Reportcondition, wherein Reportcondition is used to indicate a condition for sending a measurement report;
[0019] Sending a perception establishment response message to the initiator, wherein the perception establishment response message includes a parameter resultcode, wherein the resultcode is used to indicate whether to agree to execute the perception process;
[0020] When it is agreed to execute the sensing process, the sensing process is executed with the responder, and after receiving the sensing measurement report acquisition message sent by the initiator, the result is fed back according to the parameter Sensing report type in the sensing measurement report acquisition message, where the Sensing report type is used to indicate whether the result must be fed back.
[0021] In a possible implementation, the performing a sensing process with the responder includes:
[0022] After receiving the perception data packet announcement message sent by the initiator, wait for a second preset time and then receive the perception data packet message sent by the initiator;
[0023] Measure channel status and obtain real-time measurement results;
[0024] The real-time measurement results are calculated or compared according to the setting of Report condition. If the conditions set in Reportcondition are met, the calculation results or real-time measurement results are saved in the parameter measurement_result. After the parameter measurement_result is successfully sent to the initiator, the value of the parameter measurement_result is reset to the initial value locally.
[0025] In a possible implementation manner, obtaining the feedback result of the parameter Sensingreport type in the sensing measurement report message includes:
[0026] If the Sensing report type value indicates that the result must be fed back, and the value of the local parameter measurement_result is not the initial value, the measurement_result is included in the sensing measurement report message and sent to the initiator;
[0027] If the Sensing report type value indicates that the result must be fed back, and the local parameter measurement_result value is the initial value, the measurement_result value is set to the real-time record of the current measurement, and the measurement_result is included in the sensing measurement report message and sent to the initiator.
[0028] In a possible implementation manner, the obtaining, according to the sensing measurement report, a parameter Sensingreport type in the message, feedback result includes:
[0029] If the Sensing report type value indicates that the feedback result is not mandatory, and the value of the local parameter measurement_result is not the initial value, the measurement_result is included in the sensing measurement report message and sent to the initiator;
[0030] If the Sensing report type value indicates that the feedback result is not required and the value of the local parameter measurement_result is the initial value, the sensing measurement report message is not sent to the initiator.
[0031] In a possible implementation, before receiving the perception establishment request message sent by the initiator, the method further includes: exchanging with the initiator a capability parameter indicating whether the perception process is supported or whether the reception and measurement of the perception data packet are supported.
[0032] In a third aspect, an embodiment of the present invention provides a device for executing a perception process, which is applied to an initiator of the perception process, including:
[0033] Communication module one, used to send a perception establishment request message to a responder, wherein the perception establishment request message includes a parameter Report condition, wherein the Report condition is used to indicate a condition for sending a measurement report;
[0034] The second communication module is used to receive a perception establishment response message sent by the responder, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process;
[0035] An execution module 1 is used to execute the perception process with at least one responder who agrees to execute the perception process indicated by a parameter result code in a perception establishment response message;
[0036] The communication module three is used to send a sensing measurement report acquisition message to at least one responder executing a sensing process, wherein the sensing measurement report acquisition message includes a parameter Sensing report type, wherein the Sensing report type is used to indicate whether a result must be fed back;
[0037] Execution module 2 is used to terminate the sensing process if no sensing measurement report message is received within a first preset time when the Sensing report type indicates that the result must be fed back.
[0038] In a fourth aspect, an embodiment of the present invention provides a device for executing a perception process, which is applied to a responder of the perception process, including:
[0039] The communication module 1 is used to receive a perception establishment request message sent by the initiator, where the perception establishment request message includes a parameter Report condition, where the Report condition is used to indicate a condition for sending a measurement report;
[0040] The communication module 2 is used to send a perception establishment response message to the initiator, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process;
[0041] The execution module is used to execute the perception process with the responder when agreeing to execute the perception process, and after receiving the perception measurement report acquisition message sent by the initiator, feedback the result according to the parameter Sensing reporttype in the perception measurement report acquisition message, wherein the Sensing report type is used to indicate whether the result must be fed back.
[0042] In a fifth aspect, an embodiment of the present invention provides a system for executing a perception process, the system comprising an initiator and a responder, the initiator being used to implement the method for executing a perception process described in the first aspect or a possible implementation of the first aspect, and the responder being used to implement the method for executing a perception process described in the second aspect or a possible implementation of the second aspect.
[0043] In a sixth aspect, an embodiment of the present invention provides a device for executing a perception process, the device comprising a processor and a memory, the memory storing at least one instruction, at least one segment of program code, a code set or an instruction set, the at least one instruction, at least one segment of program code, a code set or an instruction set being loaded and executed by the processor to implement the method for executing a perception process described in the first aspect or a possible implementation of the first aspect, or the second aspect or a possible implementation of the second aspect.
[0044] In the seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the readable storage medium stores at least one instruction, at least one segment of program code, a code set or an instruction set, and the at least one instruction, at least one segment of program code, a code set or an instruction set is loaded and executed by a processor to implement the method of executing a perception process described in the first aspect or a possible implementation of the first aspect, or the second aspect or a possible implementation of the second aspect.
[0045] It should be noted that the device described in the third aspect is used to implement the method described in the first aspect, the device described in the fourth aspect is used to implement the method described in the second aspect, the device described in the sixth aspect and the storage medium described in the seventh aspect are used to execute the method provided in the first or second aspect above, so the same beneficial effects as the methods described in the first or second aspect can be achieved, and the embodiments of the present invention will not be described one by one.
[0046] The present invention provides a measurement and reporting mechanism, which enables the initiator to manage the perception process according to the feedback of the responder and allocate resources more reasonably to obtain better perception results. DETAILED DESCRIPTION
[0047] In order to enable those skilled in the art to 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. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without creative work should belong to the scope of protection of the present invention. In addition, although the disclosure in the present invention is introduced according to one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete technical solution separately. In the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0048] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a concrete way. "First", "second" and similar words do not indicate any order, quantity or importance, but are only used to distinguish descriptions. "Include" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. The term "and / or" includes any and all combinations of one or more associated listed items.
[0049] In the perception process, the initiator initiates the perception process, and the responder responds to the perception process. After the two parties coordinate the roles, parameters, and reporting methods of sending and receiving perception signals, the perception measurement process begins. The method for executing the perception process in the embodiment of the present invention includes the following contents:
[0050] 101. The initiator sends a sensing setup request message to the responder, wherein the sensing setup request message includes a parameter Report condition, wherein the Report condition is used to indicate a condition for sending a measurement report.
[0051] 102. After receiving the sensing setup request message, the responder sends a sensing setup response message to the initiator, wherein the sensing setup response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the sensing process.
[0052] 103. After receiving the perception establishment response message, the initiator executes the perception process with at least one responder that agrees to execute the perception process as indicated by the parameter result code in the perception establishment response message.
[0053] Specifically, the initiator sends a sensing data packet announcement message to at least one sensing establishment response message in which a parameter result code indicates that the responder agrees to execute the sensing process. After sending the sensing data packet announcement message and waiting for a second preset time, the initiator sends a sensing data packet message to at least one sensing establishment response message in which a parameter result code indicates that the responder agrees to execute the sensing process.
[0054] The parameter result code in the perception establishment response message indicates that after receiving the perception data packet announcement message, the responder who agrees to execute the perception process waits for the second preset time, receives the perception data packet message, and measures the channel state according to the received message to obtain real-time measurement results. The real-time measurement results are calculated or compared according to the setting of Report condition. If the conditions set in Report condition are met, the calculation results or real-time measurement results are saved in the parameter measurement_result, and after successfully sending the parameter measurement_result to the initiator, the parameter measurement_result value is reset to the initial value locally.
[0055] 104. The initiator sends a sensing measurement report poll message to at least one responder that executes a sensing process, wherein the sensing measurement report poll message includes a parameter Sensing reporttype, wherein the Sensing report type is used to indicate whether a result must be fed back; when the Sensing report type indicates that a result must be fed back, if no sensing measurement report message is received within a first preset time, the sensing process is terminated.
[0056] Specifically, when the Sensing report type indicates that the result must be fed back, the initiator can set a counter locally and set the initial value of the counter; if the initiator does not receive a perception measurement report message within the first preset time after sending the perception measurement report acquisition message, the counter value is added to the preset value. If the counter value is greater than or equal to the preset threshold value, the perception process is terminated; after receiving the perception measurement report message, the counter value can be reset to the initial value.
[0057] 105. After receiving the sensing measurement report acquisition message, the responder feeds back the result according to the parameter Sensing report type in the sensing measurement report acquisition message.
[0058] Specifically, if the Sensing report type value indicates that the result must be fed back, and the value of the local parameter measurement_result is not the initial value, the measurement_result is included in the sensing measurement report message and sent to the initiator;
[0059] If the Sensing report type value indicates that the result must be fed back, and the local parameter measurement_result value is the initial value, the measurement_result value is set to the real-time record of the current measurement, and the measurement_result is included in the sensing measurement report message and sent to the initiator;
[0060] If the Sensing report type value indicates that the feedback result is not mandatory, and the value of the local parameter measurement_result is not the initial value, the measurement_result is included in the sensing measurement report message and sent to the initiator;
[0061] If the Sensing report type value indicates that the feedback result is not required and the value of the local parameter measurement_result is the initial value, the sensing measurement report message is not sent to the initiator.
[0062] The embodiment of the present invention includes a parameter Report condition in the perception establishment request message. The responder sends a perception measurement report message only when the condition set by the parameter Report condition is met, thereby saving resources. The initiator may set the parameter Sensing report type in the perception measurement report acquisition message to indicate that the result must be fed back. At this time, the responder must feed back the result regardless of whether the condition set by the parameter Report condition is met. If the initiator does not receive the perception measurement report message fed back by the responder within a preset time, it may be determined that the responder has moved outside the signal reception range or outside the perception event occurrence area, and the perception process with the responder is terminated.
[0063] In order to better understand the present invention, the initiator of the perception process is an access point (AP), called InitiatorAP, and the responder of the perception process is a terminal (STA) that responds to the perception process request of the Initiator AP, called Responder STA, as an example to explain the present invention in more detail.
[0064] In the embodiment of the present invention, during the connection process between the terminal (STA) and the access point (AP), both parties will inform each other of their capability parameters regarding the perception process.
[0065] For example, the parameter dot11SensMeasurementImplemented can be set in the AP and STA. When the value of dot11SensMeasurementImplemented is true, the value of the capability parameter SensingCapable is set to 1, indicating that the sensing process is supported, otherwise it is set to 0, indicating that the sensing process is not supported; or the parameters dot11SensTransmitterOption and dot11SensRecieverOption are set; when the value of dot11SensTransmitterOption is true, the value of the capability parameter sensingTXcapable is set to 1, indicating that the sending of sensing data packets is supported, otherwise it is set to 0, indicating that the sending of sensing data packets is not supported; when the value of dot11SensRecieverOption is true, the value of the capability parameter sensingRXcapable is set to 1, indicating that the receiving and measuring of sensing data packets are supported, otherwise it is set to 0, indicating that the receiving and measuring of sensing data packets are not supported.
[0066] STA establishes a connection with AP, STA sends an Association request message to AP, which includes the above capability parameters of STA, and AP sends an Association response message to STA, which includes the above capability parameters of AP. AP can select STA with capability parameter SensingCapable value of 1 as candidate Responder STA or select STA with capability parameter sensingRXcapable value of 1 as candidate Responder STA.
[0067] In this embodiment, the method for executing the perception process includes the following:
[0068] 1001. The Initiator AP sends a sensing setup request message to a candidate Responder STA, where the Responder STA may be one or more. For example, the parameters included in the sensing setup request message are shown in Table 1.
[0069] Table 1
[0070] parameter illustrate Sensingrole Process-aware role setting parameters Report condition Conditions for sending measurement reports SessionID The ID of the perception process, used to identify the current perception process
[0071] The sensing role setting example is shown in Table 2, and the report condition setting example is shown in Table 3.
[0072] Table 2
[0073]
[0074]
[0075] Table 3
[0076]
[0077] 1002. After receiving the sensing setup request message, if the Responder STA agrees to perform the sensing process, the result code parameter is set to accepted; if it disagrees to perform the sensing process, the result code parameter is set to rejected. The Responder STA sends a sensing setup response message to the Initiator AP, and the message includes the result code and Session ID parameters. The Responder STA here can be one or more STAs. For example, the sensing setup response message settings are shown in Table 4.
[0078] Table 4
[0079]
[0080]
[0081] 1003. After receiving the sensing setup response message, if the value of the parameter result code contained in the message is accepted, the Initiator AP adds the value of the parameter TA in the sensing setup response message to the responder list, or adds the AID of the STA corresponding to the parameter TA to the responder list. For example, the responder list setting is shown in Table 5.
[0082] Table 5
[0083]
[0084] The responder 1-n profile setting example is shown in Table 6.
[0085] Table 6
[0086]
[0087] 1004. The Initiator AP sends a sensing data packet announcement message. For example, the settings are as shown in Table 7.
[0088] Table 7
[0089]
[0090]
[0091] 1005. After sending the sensing data packet announcement message, the Initiator AP waits for a preset time T1 (preset time such as short interframe space (SIFS) or point coordination mode interframe space (PIFS), or other preset time), and then sends a sensing data packet message. For example, the parameters included in the sensing data packet message are shown in Table 8.
[0092] Table 8
[0093]
[0094] 1006. The Initiator AP sends a sensing measurement report poll message. For example, the sensing measurement report poll message is set as shown in Table 9.
[0095] Table 9
[0096]
[0097]
[0098] If the Initiator AP sets the Sensing report type value to demand, it sets the counter N1 locally, and the initial value of the counter is 0.
[0099] 1007. After receiving the sensing data packet announcement message, the ResponderSTA that sets the result code to accepted in the sensing setup response waits for T1, receives the sensing data packet message, and measures the channel status according to the received message to obtain real-time measurement results. The real-time measurement results can be the CFR (channel frequency response) of multiple subcarriers, that is, the amplitude and phase of each subcarrier.
[0100] The Responder STA calculates or compares the real-time measurement results according to the setting of the Report condition in the sensing setup request message. The calculation results can be the amplitude and phase difference of two consecutive measurements on each subcarrier. If the reporting conditions set in the Report condition are met, the calculation results or real-time measurement results are saved in the parameter measurement_result. The initial value of this parameter is empty. At the same time, after the parameter is successfully sent to the Initiator AP, its value is reset to empty locally.
[0101] 1008. After receiving the sensing measurement report poll message, the Responder STA feeds back the result according to the parameter Sensing report type, as follows:
[0102] If the value of Sensing report type is demand and the local measurement_result value is not empty, it means that records that meet the reporting conditions have been generated. Then, after waiting for T1 time, the measurement_result is included in the sensingmeasurement report message and sent to the Initiator AP;
[0103] If the Sensing report type value is demand and the local measurement_result value is empty, indicating that no record that meets the reporting conditions has been generated, the measurement_result value is set to the real-time record of the current measurement, and after waiting for T1 time, the measurement_result is included in the sensing measurement report message and sent to the Initiator AP;
[0104] If the value of Sensing report type is request and the local measurement_result value is not empty, the measurement_result is included in the sensing measurement report message and sent to the Initiator AP after waiting for T1 time;
[0105] If the Sensing report type value is request and the local measurement_result value is empty, the sensing measurement report message is not sent to the Initiator AP.
[0106] 1009. After receiving the sensing measurement report message, if the Sensing report type value is set to demand in the sensing measurement report poll message, the Initiator AP resets the counter N1 to 0;
[0107] If the Initiator AP does not receive a sensing measurement report message within the expected time after sending the sensing measurement report poll message, and the Sensing report type is set to demand in the sensing measurement report poll message, the Initiator AP adds 1 to the counter N1 value. If the value of N1 is greater than or equal to the preset threshold value Nmax, the sensing process is terminated.
[0108] If the Sensing report type value is set to request in the sensing measurement report poll message, the operation of the Initiator AP may refer to the relevant prior art and will not be described in detail here.
[0109] In an embodiment of the present invention, based on the same inventive concept as the above-mentioned method for executing a perception process, an embodiment of the present invention further provides a device for executing a perception process, which is applied to an initiator of a perception process, and includes:
[0110] Communication module one, used to send a perception establishment request message to a responder, wherein the perception establishment request message includes a parameter Report condition, wherein the Report condition is used to indicate a condition for sending a measurement report;
[0111] The second communication module is used to receive a perception establishment response message sent by the responder, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process;
[0112] An execution module 1 is used to execute the perception process with at least one responder who agrees to execute the perception process indicated by a parameter result code in a perception establishment response message;
[0113] The communication module three is used to send a sensing measurement report acquisition message to at least one responder executing a sensing process, wherein the sensing measurement report acquisition message includes a parameter Sensing report type, wherein the Sensing report type is used to indicate whether a result must be fed back;
[0114] Execution module 2 is used to terminate the sensing process if no sensing measurement report message is received within a first preset time when the Sensing report type indicates that the result must be fed back.
[0115] The embodiment of the present invention further provides another apparatus for executing a perception process, which is applied to a responder of the perception process, and includes:
[0116] The communication module 1 is used to receive a perception establishment request message sent by the initiator, where the perception establishment request message includes a parameter Report condition, where the Report condition is used to indicate a condition for sending a measurement report;
[0117] The communication module 2 is used to send a perception establishment response message to the initiator, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process;
[0118] The execution module is used to execute the perception process with the responder when agreeing to execute the perception process, and after receiving the perception measurement report acquisition message sent by the initiator, feedback the result according to the parameter Sensing reporttype in the perception measurement report acquisition message, wherein the Sensing report type is used to indicate whether the result must be fed back.
[0119] In an embodiment of the present invention, based on the same inventive concept as the above-mentioned method for executing a perception process, an embodiment of the present invention also provides a device for executing a perception process, the device comprising a processor and a memory, the memory storing at least one instruction, at least one segment of program code, a code set or an instruction set, the at least one instruction, at least one segment of program code, a code set or an instruction set being loaded and executed by the processor to implement the method for executing a perception process involved in the above-mentioned embodiment.
[0120] In addition, an embodiment of the present invention also provides a computer-readable storage medium, in which at least one instruction, at least one segment of program code, a code set or an instruction set is stored, and the at least one instruction, at least one segment of program code, a code set or an instruction set is loaded and executed by a processor to implement the method of executing the perception process involved in the above embodiment.
[0121] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution, some or all of the steps can be executed in parallel or sequentially, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0122] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0123] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0124] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0125] The modules described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional modules in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more modules may be integrated into one unit.
[0126] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, network device or terminal device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM) disk or optical disk and other media that can store program codes.
[0127] As used herein, the words “if” or “if” may be interpreted as “at the time of” or “when” or “in response to determining” or “in response to detecting”, depending on the context. Similarly, the phrases “if it is determined” or “if (stated condition or event) is detected” may be interpreted as “when it is determined” or “in response to determining” or “when detecting (stated condition or event)” or “in response to detecting (stated condition or event)”, depending on the context.
[0128] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for executing a perception process, applied to an initiator of the perception process, characterized in that: include: Sending a perception establishment request message to a responder, wherein the perception establishment request message includes a parameter Reportcondition, wherein Reportcondition is used to indicate a condition for sending a measurement report; receiving a perception establishment response message sent by a responder, wherein the perception establishment response message includes a parameter resultcode, wherein the resultcode is used to indicate whether to agree to execute the perception process; Execute the perception process with the responder that agrees to execute the perception process indicated by the parameter result code in at least one perception establishment response message; including: sending a perception data packet announcement message to the responder that agrees to execute the perception process indicated by the parameter resultcode in at least one perception establishment response message, after completing the sending of the perception data packet announcement message and waiting for a second preset time, sending a perception data packet message to the responder that agrees to execute the perception process indicated by the parameter result code in the at least one perception establishment response message; after the responder that agrees to execute the perception process indicated by the parameter result code in the perception establishment response message receives the perception data packet announcement message, waits for the second preset time, receives the perception data packet message, and measures the channel state according to the received message to obtain a real-time measurement result; calculates or compares the real-time measurement result according to the setting of the Reportcondition, and if the condition set in the Reportcondition is met, saves the calculation result or the real-time measurement result in the parameter measurement_result, and after successfully sending the parameter measurement_result to the initiator, resets the parameter measurement_result value to the initial value locally; Sending a sensing measurement report acquisition message to at least one responder executing a sensing process, wherein the sensing measurement report acquisition message includes a parameter Sensing report type, wherein the Sensing report type is used to indicate whether a result must be fed back; When the Sensing report type indicates that the result must be fed back, if no sensing measurement report message is received within the first preset time, the sensing process is terminated.
2. A method for executing a perception process according to claim 1, characterized in that: When the Sensing reporttype indicates that results must be fed back, it also includes: Set the counter locally and set the initial value of the counter; If no perception measurement report message is received within the first preset time, terminating the perception process includes: If no perception measurement report message is received within the first preset time after the perception measurement report acquisition message is sent, the counter value is increased by a preset value, and if the counter value is greater than or equal to a preset threshold value, the perception process is terminated.
3. A method for executing a perception process according to claim 2, characterized in that: When Sensingreporttype indicates that the result must be fed back, it also includes: After receiving the perception measurement report message, the counter value is reset to the initial value.
4. A method for executing a perception process according to claim 1, characterized in that: The Reportcondition includes parameters Reportitem, Greater than, and Less than, wherein Reportitem is used to indicate a report result item, Greater than is used to indicate a minimum condition value that satisfies the report condition, and Less than is used to indicate a maximum condition value that satisfies the report condition.
5. A method for executing a perception process according to claim 1, characterized in that: The perception establishment request message also includes parameters Sensing role and Session ID, wherein Sensing role is used to indicate the role of the perception process, and Session ID is used to indicate the identifier of the perception process; Sensing role includes parameters Transmitter and Receiveri, Transmitter is used to indicate the sender of the perception data packet, which is set to the address or identifier of the initiator, and Receiveri is used to indicate the receiver of the perception data packet, which is set to the address or identifier of the i-th candidate responder, 1≤i≤n, n is the number of candidate responders, and the candidate responder is a capability parameter connected to the initiator indicating a responder that supports the perception process or supports receiving and measuring perception data packets.
6. A method for executing a perception process according to claim 5, characterized in that: The perception establishment response message also includes parameters TA, RA and Session ID, wherein TA is used to indicate the address of the message sender, and RA is used to indicate the address of the message receiver.
7. A method for executing a perception process according to claim 6, characterized in that: After the receiving responder sends the awareness establishment response message, the method further includes: If the parameter result code in the perception establishment response message indicates that the perception process is agreed to be executed, the value of the parameter TA in the perception establishment response message or the identifier of the responder corresponding to the parameter TA is added to the responder list.
8. A method for executing a perception process according to claim 7, characterized in that: The responder list includes parameters Session ID and Responderj profile, wherein Responderj profile is used to indicate information of the j-th responder, 1≤j≤n.
9. A method for executing a perception process according to claim 1, characterized in that: The perception data packet announcement message includes parameters TA, RA and Responder k profile, wherein TA is used to indicate the address of the message sender, RA is used to indicate the address of the message receiver, and Responder k profile is used to indicate the information of the kth responder, which is set according to the Responderj profile in the responder list, 1≤k≤j; When the perception data packet announcement message contains only one Responder k profile parameter, the value of the parameter RA in the perception data packet announcement message is set to the address of the responder corresponding to the Responder k profile parameter; When the perception data packet announcement message contains more than two Responder k profile parameters, the value of the parameter RA in the perception data packet announcement message is set to the broadcast address.
10. A method for executing a perception process according to claim 1, characterized in that: The perception data packet message includes parameters TA and RA, wherein TA is used to indicate the address of the message sender, and RA is used to indicate the address of the message receiver; When the Awareness Data Packet Announcement message contains only one Responder k profile parameter, the value of the parameter RA in the Awareness Data Packet Announcement message is set to the address of the responder corresponding to the Responder k profile parameter; When the perception data packet announcement message contains more than two Responder k profile parameters, the value of the parameter RA in the perception data packet message is set to the broadcast address.
11. A method for executing a perception process according to claim 10, characterized in that: The perception data packet message includes a parameter Next SDP sending time, which is used to indicate the time when the next perception data packet is sent.
12. A method for executing a perception process according to claim 1, characterized in that: Before sending the awareness establishment request message to the responder, the method further includes: Exchanges capability parameters with the responder indicating whether the sensing process is supported or whether the reception and measurement of sensing packets are supported.
13. A method for executing a sensing process, applied to a responder of the sensing process, characterized in that: include: receiving a perception establishment request message sent by an initiator, wherein the perception establishment request message includes a parameter Reportcondition, wherein Reportcondition is used to indicate a condition for sending a measurement report; Sending a perception establishment response message to the initiator, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process; When the perception process is agreed to be executed, a perception data packet announcement message is received, and after waiting for a second preset time, a perception data packet message is received, and the channel state is measured according to the received message to obtain a real-time measurement result; the real-time measurement result is calculated or compared according to the setting of Reportcondition, and if the condition set in Reportcondition is met, the calculation result or the real-time measurement result is saved in the parameter measurement_result, and after the parameter measurement_result is successfully sent to the initiator, the parameter measurement_result value is reset to the initial value locally; And after receiving the perception measurement report acquisition message sent by the initiator, feedback the result according to the parameter Sensing report type in the perception measurement report acquisition message; wherein the Sensing report type is used to indicate whether the result must be fed back, including: if the Sensing report type value indicates that the result must be fed back, and the local parameter measurement_result value is not an initial value, then the measurement_result is included in the perception measurement report (sensingmeasurement report) message and sent to the initiator; if the Sensing report type value indicates that the result must be fed back, and the local parameter measurement_result value is an initial value, then the measurement_result value is set to the real-time record of the current measurement, and the measurement_result is included in the perception measurement report message and sent to the initiator; if the Sensing report type value indicates that the result is not required to be fed back, and the local parameter measurement_result value is not an initial value, then the measurement_result is included in the perception measurement report message and sent to the initiator; if the Sensing report type value indicates that the result is not required to be fed back, and the local parameter measurement_result value is not an initial value, then the measurement_result is included in the perception measurement report message and sent to the initiator; if the Sensingreport type value indicates that the result is not required to be fed back, and the local parameter measurement_result value is an initial value, then the perception measurement report message is not sent to the initiator.
14. A method for executing a perception process according to claim 13, characterized in that: The Reportcondition includes parameters Reportitem, Greater than, and Less than, wherein Reportitem is used to indicate a report result item, Greater than is used to indicate a minimum condition value that satisfies the report condition, and Less than is used to indicate a maximum condition value that satisfies the report condition.
15. A method for executing a sensing process according to claim 13, characterized in that: The perception establishment request message also includes parameters Sensing role and Session ID, wherein Sensing role is used to indicate the role of the perception process, and Session ID is used to indicate the identifier of the perception process; Sensing role includes parameters Transmitter and Receiveri, Transmitter is used to indicate the sender of the perception data packet, which is set to the address or identifier of the initiator, and Receiveri is used to indicate the receiver of the perception data packet, which is set to the address or identifier of the i-th candidate responder, 1≤i≤n, n is the number of candidate responders, and the candidate responder is a capability parameter connected to the initiator indicating a responder that supports the perception process or supports receiving and measuring perception data packets.
16. A method for executing a sensing process according to claim 13, characterized in that: Before the receiving the awareness establishment request message sent by the initiator, the method further includes: Exchanges capability parameters with the initiator indicating whether the sensing process is supported or whether the reception and measurement of sensing packets are supported.
17. A device for executing a perception process, applied to the initiator of the perception process, characterized in that: include: Communication module one, used to send a perception establishment request message to a responder, wherein the perception establishment request message includes a parameter Report condition, wherein the Report condition is used to indicate a condition for sending a measurement report; The second communication module is used to receive a perception establishment response message sent by the responder, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process; Execution module 1 is used to send a perception data packet announcement message to at least one responder whose consent to execute the perception process is indicated by the parameter result code in the perception establishment response message, and after completing the sending of the perception data packet announcement message and waiting for a second preset time, send a perception data packet message to the responder whose consent to execute the perception process is indicated by the parameter result code in the at least one perception establishment response message; after receiving the perception data packet announcement message, the responder whose consent to execute the perception process is indicated by the parameter result code in the perception establishment response message waits for the second preset time, receives the perception data packet message, and measures the channel state according to the received message to obtain a real-time measurement result; calculates or compares the real-time measurement result according to the setting of Reportcondition, and if the condition set in Reportcondition is met, saves the calculation result or the real-time measurement result in the parameter measurement_result, and after successfully sending the parameter measurement_result to the initiator, resets the parameter measurement_result value to the initial value locally; The communication module three is used to send a sensing measurement report acquisition message to at least one responder executing a sensing process, wherein the sensing measurement report acquisition message includes a parameter Sensing report type, wherein the Sensing report type is used to indicate whether a result must be fed back; Execution module 2 is used to terminate the sensing process if no sensing measurement report message is received within a first preset time when the Sensing report type indicates that the result must be fed back.
18. A device for executing a sensing process, applied to a responder of the sensing process, characterized in that: include: The communication module 1 is used to receive a perception establishment request message sent by the initiator, where the perception establishment request message includes a parameter Report condition, where the Report condition is used to indicate a condition for sending a measurement report; The communication module 2 is used to send a perception establishment response message to the initiator, wherein the perception establishment response message includes a parameter result code, wherein the result code is used to indicate whether to agree to execute the perception process; An execution module is used to receive a perception data packet announcement message when agreeing to execute the perception process, wait for a second preset time, receive a perception data packet message, and measure the channel state according to the received message to obtain a real-time measurement result; calculate or compare the real-time measurement result according to the setting of Report condition, and if the condition set in Report condition is met, save the calculation result or the real-time measurement result in the parameter measurement_result, and after successfully sending the parameter measurement_result to the initiator, reset the parameter measurement_result value locally to the initial value; And after receiving the perception measurement report acquisition message sent by the initiator, feedback the result according to the parameter Sensing report type in the perception measurement report acquisition message, where the Sensing report type is used to indicate whether the result must be fed back, including: if the Sensing report type value indicates that the result must be fed back, and the local parameter measurement_result value is not an initial value, then the measurement_result is included in the perception measurement report (sensingmeasurement report) message and sent to the initiator; if the Sensing report type value indicates that the result must be fed back, and the local parameter measurement_result value is the initial value, the measurement_result value is set to the real-time record of the current measurement, and the measurement_result is included in the perception measurement report message and sent to the initiator; if the Sensing report type value indicates that the result is not required to be fed back, and the local parameter measurement_result value is not the initial value, then the measurement_result is included in the perception measurement report message and sent to the initiator; if the Sensing report type value indicates that the result is not required to be fed back, and the local parameter measurement_result value is not the initial value, then the measurement_result is included in the perception measurement report message and sent to the initiator; if the Sensingreport type value indicates that the result is not required to be fed back, and the local parameter measurement_result value is the initial value, the perception measurement report message is not sent to the initiator.
19. A system for executing a perception process, characterized in that: The system includes an initiator and a responder, wherein the initiator is used to implement the execution-aware process method described in any one of claims 1-12, and the responder is used to implement the execution-aware process method described in any one of claims 13-16.
20. A device for executing a perception process, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction, at least one section of program code, a code set or an instruction set, and the at least one instruction, at least one section of program code, a code set or an instruction set is loaded and executed by the processor to implement the method for executing a perception process as described in any one of claims 1-16.
21. A computer-readable storage medium, characterized in that: The readable storage medium stores at least one instruction, at least one section of program code, a code set or an instruction set, and the at least one instruction, at least one section of program code, a code set or an instruction set is loaded and executed by a processor to implement the method of executing a perception process as described in any one of claims 1-16.
