Behavior prompt method, and electronic device and computer-readable medium
By analyzing Wi-Fi signals from wireless hotspots and recording historical behavior databases, the behavior confirmation process is simplified, solving the problems of complexity and accuracy in behavior prediction in existing technologies, and improving the efficiency of behavior prompts and user experience.
Patent Information
- Application Number
- PCT/CN2025/097141
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-05
- Filing Date
- 2025-05-26
- Publication Date
- 2025-12-11
AI Technical Summary
Existing image processing-based behavior prediction methods are complex and cannot accurately predict subsequent behaviors when user operations are interrupted, resulting in low efficiency of behavior prompts.
The behavior of target objects is analyzed by wireless hotspot Wi-Fi signals and recorded in a historical behavior database. Behavior matching is performed using channel state information and signal strength information, and behavioral prompts are provided in response to query commands.
It simplifies the behavior confirmation process, improves the efficiency of behavior prompts, reduces the probability of forgetting due to memory decline, and enhances the user experience.
Smart Images

Figure CN2025097141_11122025_PF_FP_ABST
Abstract
Description
Behavior prompting method, electronic device and computer readable storage medium
[0001] Cross-reference to Related Applications
[0002] This patent application claims priority to Chinese Patent Application No. 202410726256.4, filed on June 5, 2024, in the China National Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by this reference. TECHNICAL FIELD
[0003] The present disclosure relates to the technical field of communication, and in particular, to a behavior prompting method, an electronic device, and a computer readable storage medium. BACKGROUND
[0004] At present, the existing behavior prompting methods are all based on the habits of users to predict the behaviors that the users are likely to perform, so as to obtain the behaviors that the users are likely to perform. In some related technologies, an image acquisition device is used to acquire images in a preset area, and a video image acquired is analyzed to predict the behaviors or behaviors that a user is likely to perform in a future period of time. SUMMARY
[0005] The present disclosure provides a behavior prompting method, an electronic device, a computer readable medium, and a computer program product.
[0006] In a first aspect, the embodiments of the present disclosure provide a behavior prompting method, which includes: determining a behavior of a target object in a preset time period according to a wireless hotspot Wi-Fi signal, and recording the behavior of the target object in the preset time period in a historical behavior database; in response to a query instruction, querying a corresponding historical behavior from the historical behavior database according to the query instruction, confirming target prompting information according to the historical behavior, and outputting the target prompting information.
[0007] In a second aspect, the embodiments of the present disclosure provide an electronic device, which includes: one or more processors; a memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement any of the behavior prompting methods in the embodiments of the present disclosure.
[0008] In a third aspect, the embodiments of the present disclosure provide a computer readable storage medium, which stores a computer program, when the computer program is executed by a processor, the computer program implements any of the behavior prompting methods in the embodiments of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0009] In the drawings of the embodiments of the present disclosure:
[0010] FIG. 1 is a flow diagram of a behavior prompting method according to an embodiment of the present disclosure.
[0011] FIG. 2 is a schematic diagram of a construction process of a location fingerprint library according to an embodiment of the present disclosure;
[0012] FIG. 3 is a schematic diagram of a construction process of a location fingerprint library according to an embodiment of the present disclosure;
[0013] FIG. 4 is a schematic diagram of a method of recording behaviors in a historical behavior database according to an embodiment of the present disclosure;
[0014] FIG. 5 is a schematic diagram of a behavior prompting system according to an embodiment of the present disclosure;
[0015] FIG. 6 is a schematic diagram of a behavior prompting method according to an embodiment of the present disclosure;
[0016] FIG. 7 is a schematic diagram of a behavior prompting method according to an embodiment of the present disclosure;
[0017] FIG. 8 is a schematic diagram of a change of channel state information carried by a Wi-Fi signal when a target behavior is sitting according to an embodiment of the present disclosure;
[0018] FIG. 9 is a schematic diagram of a change of channel state information carried by a Wi-Fi signal when a target behavior is squatting according to an embodiment of the present disclosure;
[0019] FIG. 10 is a schematic diagram of a change of channel state information carried by a Wi-Fi signal when a target behavior is bending according to an embodiment of the present disclosure;
[0020] FIG. 11 is a schematic diagram of a change of Wi-Fi signal when a human body performs different behaviors according to an embodiment of the present disclosure;
[0021] FIG. 12 is a block diagram of a behavior prompting device according to an embodiment of the present disclosure;
[0022] FIG. 13 is a block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] To make the skilled in the art better understand the technical solutions of the present disclosure, the embodiments of the present disclosure will be described in detail below with reference to the drawings.
[0024] The embodiments shown will be described in the following with reference to the drawings, but the embodiments shown can be embodied in various forms, and the present disclosure should not be interpreted as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0025] The accompanying drawings of the embodiments disclosed herein are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the detailed embodiments to explain this disclosure and do not constitute a limitation thereof. The above and other features and advantages will become more apparent to those skilled in the art from the description of the detailed embodiments with reference to the accompanying drawings.
[0026] Where there is no conflict, the various embodiments of this disclosure and the features thereof in the embodiments may be combined with each other.
[0027] Unless otherwise specified, all terms used in this disclosure (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined in this disclosure.
[0028] In technical solutions that predict user behavior by analyzing video images, it is necessary to analyze the features in the video images frame by frame to obtain the user's behavior or actions. The analysis process is cumbersome and complex, reducing the efficiency of confirming user behavior. In addition, if the user's current operation is interrupted and they perform another action, the above behavior prediction method cannot accurately predict the user's subsequent action, and cannot achieve the purpose of prompting the user's behavior.
[0029] To address the aforementioned problems, this disclosure provides a behavior prompting method, an electronic device, a computer-readable medium, and a computer program product.
[0030] This disclosure provides a behavior prompting method. Figure 1 is a flowchart illustrating a behavior prompting method provided in this disclosure. This behavior prompting method is applied to a behavior prompting device, for example, the behavior prompting device is installed in a Wi-Fi hotspot device.
[0031] As shown in Figure 1, this behavior prompting method includes the following steps.
[0032] Step S101: Determine the target object's behavior during a preset time period based on the Wi-Fi signal from the wireless hotspot, and record the target object's behavior during the preset time period in the historical behavior database.
[0033] The target can be a specific person, and there can be one or more target individuals. Behavior refers to the "actions" performed by the target person, such as typing on a keyboard or washing dishes.
[0034] The behavior of the target object in the preset period of time includes the behavior of the target object analyzed according to the Wi-Fi signal in a predetermined preset period of time (which can be all time or a preset specific period of time). The behavior is recorded in the historical behavior database. What person (behavior object) performed what action (historical behavior) at what time (historical period) can be recorded.
[0035] Since the Wi-Fi signal emitted by the Wi-Fi device is affected by environmental factors (such as obstacles, which can be a specific person), the information carried by different Wi-Fi signals can represent different states of a specific person, and the behavior performed by the specific person can be determined based on the information carried by different Wi-Fi signals.
[0036] For example, the information carried by the Wi-Fi signal obtained by the behavior prompting device includes channel state information. By obtaining the Wi-Fi signal, the channel state information of the Wi-Fi signal is determined, and then the channel state information of the Wi-Fi signal is matched based on the mapping relationship between the plurality of channel state information and the behavior, so as to obtain the behavior performed by the target object.
[0037] With the passage of time, the behavior of the target object in the preset period of time recorded by the behavior prompting device becomes the historical behavior in the historical period. By recording a plurality of historical periods and corresponding historical behaviors in the historical behavior database, the behavior that the target object may forget can be prompted based on the historical behavior database, so that the target object can quickly perform the target behavior.
[0038] It should be noted that the mapping relationship between the plurality of channel state information and the behavior can be a mapping relationship determined by machine learning based on the channel state information of a plurality of Wi-Fi signals and the corresponding behavior. The more channel state information collected, the more accurate the mapping relationship.
[0039] Step S102, in response to the query instruction, the corresponding historical behavior is queried from the historical behavior database according to the query instruction.
[0040] When the query instruction (including the instruction issued by the user, or the preset instruction triggered under certain conditions) is received, the historical behavior matched with the query instruction can be queried from the historical behavior database, and the behavior (i.e., the target behavior) that the target object "should" perform is determined according to the historical behavior.
[0041] Step S103, confirming the target prompt information according to the historical behavior, and outputting the target prompt information.
[0042] The target prompt information is determined according to historical behaviors, including: determining a target behavior that a target object should perform based on regularity of historical behaviors performed in a plurality of historical periods, and taking the target behavior that the target object should perform as the target prompt information.
[0043] For example, if the plurality of historical periods include a historical behavior that the target object performs a game at 3 pm every day in a month, the target prompt information can be determined as the target object needs to perform the game at the current 3 pm.
[0044] Compared with the prior art based on image processing to determine the behavior that the user is performing, the target behavior that the user should perform is determined according to the Wi-Fi signal, which is simpler and easier to implement, and can improve the efficiency of confirming the target behavior.
[0045] Further, by sending the target prompt information to the target object, or informing the target object of the target prompt information in the form of voice prompt (i.e., the target object needs to perform the target behavior), the target object can perform the target behavior in time, thereby reducing the probability of forgetting to do something due to memory loss or the like, and improving the user experience.
[0046] The behavior prompting method in the embodiments of the present disclosure determines the behavior of the target object in the preset period by using the wireless hotspot Wi-Fi signal, and records the behavior of the target object in the preset period in the historical behavior database, so as to facilitate subsequent analysis using the historical behavior database; when a query instruction is received, the historical behavior database is searched according to the query instruction, the historical behavior corresponding to the query instruction is obtained, and then the behavior that the target object should perform (such as the user continuing the behavior just now, or performing the same behavior at the same time every day, etc.) is analyzed according to the historical behavior, so as to determine the target prompt information; when the target object needs, the target prompt information is output to the target object, thereby reducing the probability of forgetting to do something due to memory loss or the like.
[0047] In some exemplary embodiments, the historical behavior database includes any one of the following: historical behaviors in historical periods, historical behaviors of a behavior object, historical behaviors of a behavior object in historical periods, historical behaviors of a behavior object at a behavior location, and historical behaviors of a behavior object at a behavior location in historical periods.
[0048] A historical behavior database includes one or more records. Each record includes the historical behavior of an object at a historical location within a historical time period. Alternatively, it may include historical behavior within a historical time period, historical behavior of the object itself, historical behavior of the object within a historical time period, or historical behavior of the object at a historical location. The object can be a specific person, and there can be one or more objects. For example, the object can be a target object.
[0049] It should be understood that some items may be the same in multiple records, such as multiple objects performing the same historical behavior, or multiple historical behaviors occurring at the same location.
[0050] By using multiple records from the historical behavior database, it is possible to clearly identify the historical behaviors of a user at different times and locations. This facilitates subsequent queries of the user's historical behavior to obtain the corresponding historical behavior. Based on this historical behavior, the user can recall the target behavior that needs to be performed, thereby reducing the probability of forgetting to do something due to memory decline or other reasons, and improving the user experience.
[0051] In some exemplary embodiments, the query conditions of the query instruction include at least one of the following: time query conditions, object query conditions, behavior query conditions, and location query conditions.
[0052] The query command includes query conditions, which means that the query should retrieve historical behaviors that meet the query conditions, such as historical behaviors that occurred during a certain historical period, or historical behaviors of a certain behavior object that occurred at a certain historical location.
[0053] It should be understood that when the query conditions include behavioral query conditions, the historical behaviors retrieved are the behaviors in the query conditions. Therefore, the prompts for the target behavior should also include other information, such as prompting a specific behavioral object to perform the target behavior.
[0054] For example, when the behavior query condition includes the action of washing dishes, the historical behavior retrieved will be the action of washing dishes. Furthermore, the prompts for the target behavior may include: prompting a person to perform the action of washing dishes, or prompting a person to perform the action of washing dishes at a certain time period, etc.
[0055] By using different query conditions, the information that the query command needs to retrieve can be clearly defined. Then, based on different query conditions, the historical behavior database can be queried to quickly obtain data that meets the query conditions.
[0056] In some example embodiments, the behavior of the target object in the current period can be determined using different information carried by the Wi-Fi signal. The information carried by the Wi-Fi signal includes channel state information and / or signal strength information.
[0057] Channel state information (CSI) is information representing channel properties of a communication link, which describes the attenuation factors of the Wi-Fi signal on each transmission path, such as signal scattering information, environmental fading information, and distance attenuation information between the Wi-Fi master node device and the Wi-Fi slave node device (or distance attenuation information between the Wi-Fi slave node device and the terminal device connected thereto, etc.).
[0058] Signal strength information is information representing the strength of the Wi-Fi signal. The signal strength information includes, for example, received signal strength indicator (RSSI), reference signal receiving power (RSRP), etc. The strength of the Wi-Fi signal can be reflected by the signal strength information. However, due to the influence of many factors (such as indoor environment, obstacles, etc.), if some of the influencing factors change slightly, the signal strength of the Wi-Fi signal will also change. By obtaining the signal strength information of the Wi-Fi signal, the characteristics of the target object at different positions can be accurately reflected, so as to facilitate the determination of whether the target object has changed position, etc., which is beneficial to the accurate detection of the target object.
[0059] In some example embodiments, the query condition of the query instruction includes a behavior query condition and a period query condition, and the corresponding historical behavior is queried from the historical behavior database according to the query instruction in step S102, and the target behavior is determined according to the historical behavior, including: querying the historical behavior from the historical behavior database according to the period query condition and the behavior query condition; and the target prompt information is confirmed according to the historical behavior in step S103, and the target prompt information is output, including: determining the target prompt information as performing the target behavior in the behavior query period according to the historical behavior, and sending the target prompt information to the target object.
[0060] The behavior query condition is a condition that the target object issues (e.g., in the form of voice or message) and hopes to query what behavior the target object should perform, and the time period query condition is a time period (e.g., a behavior query time period) that the target object hopes to query, so that the target object can be prompted to perform a target behavior in the behavior query time period according to a target behavior matched with the time period query condition.
[0061] In some embodiments, the historical behavior database can be queried according to the behavior query time period to obtain a historical time period matched with the behavior query time period, and a historical behavior corresponding to the historical time period is taken as a target behavior corresponding to the behavior query time period, so as to determine the target prompt information, that is, the target prompt information includes the target behavior of the target object in the query time period.
[0062] For example, the behavior query time period is 2 pm, and it is known through querying the historical behavior database that the target object is performing a keyboard tapping behavior (e.g., inputting text or inputting code, etc.) at 2 pm every day, so the keyboard tapping behavior can be fed back to the target object as the target behavior, thereby prompting the target object to perform the keyboard tapping behavior in the behavior query time period (i.e., 2 pm), so that the target object can quickly enter a working state.
[0063] For another example, the behavior query time period is the previous minute of the current time, and it is known through querying the historical behavior database that the target object is performing a dish washing behavior in the previous minute of the current time, so the dish washing behavior can be fed back to the target object as the target behavior, thereby prompting the target object to perform the dish washing behavior in the behavior query time period (i.e., the previous minute of the current time), so that the target object can continue to perform the dish washing behavior.
[0064] In some embodiments, the prompt of the target object to perform the target behavior in the behavior query time period can be implemented in the form of voice broadcast or information list. For example, the behavior prompting device informs the target object to perform the target behavior in the behavior query time period (e.g., performing a radio exercise behavior at 3 pm, etc.) in the form of voice broadcast, or displays at least one target behavior that the target object needs to perform in the behavior query time period on the display screen of the terminal carried by the target object in the form of information list, so that the target object can view the target behavior in time, and the probability of forgetting to do something due to memory loss of the target object is reduced.
[0065] In some example embodiments, the method further comprises: recording the historical position of the target object in a preset time period in a historical behavior database; the query condition of the query instruction comprises a position query condition and a time period query condition; the step S102 of querying the corresponding historical behavior from the historical behavior database according to the query instruction comprises: querying the historical position and the corresponding historical behavior from the historical behavior database according to the position query condition and the time period query condition; and the step S103 of confirming the target prompt information according to the historical behavior and outputting the target prompt information comprises: determining that the target prompt information is the target object performing the target behavior at the target position according to the historical position and the corresponding historical behavior, and sending the target prompt information to the target object.
[0066] In the process of determining the historical behavior of the target object, the historical position of the target object when performing the historical behavior can also be determined, and the historical position and the historical behavior are recorded in the historical behavior database together, so that the historical behavior database is enriched; and in the process of prompting the target object, the target position can be added, that is, in addition to prompting the target object to perform the target behavior, the target object is also prompted to perform the target behavior at the target position.
[0067] Therefore, in the process of prompting the target object, the target position, the target behavior and the target time period can be combined, so that the target object can obtain more accurate prompt information, which is beneficial to the target object to recall the forgotten target behavior that still needs to be performed by the target object, and the accuracy of prompting the target object is improved.
[0068] In some example embodiments, before the step of determining the behavior of the target object in the preset time period according to the wireless hot spot Wi-Fi signal, the method further comprises: establishing a position fingerprint library.
[0069] The step of recording the historical position of the target object in the preset time period in the historical behavior database comprises: obtaining a target Wi-Fi signal feature of the target object in the preset time period; and querying the position fingerprint library according to the target Wi-Fi signal feature to obtain the historical position of the target object in the historical time period.
[0070] The position fingerprint library comprises sample position Wi-Fi signal features of sample objects at a plurality of sample positions. The sample position Wi-Fi signal feature is a signal feature capable of representing the position characteristics of the sample object, which is obtained by performing feature extraction on the sample Wi-Fi signal obtained by the behavior prompting device.
[0071] In order to realize the determination of the position of the target object, a position fingerprint library can be established in advance, in which position Wi-Fi signal features of the target object at different positions are stored. When a sample position is recorded, the sample position and the sample position Wi-Fi signal feature corresponding to the sample position are recorded in the position fingerprint library.
[0072] Since the signal strength information can reflect different positions of different objects in the coverage range of the Wi-Fi device, the signal strength feature of the position where the target object is located can be determined based on the extraction of the signal strength information carried by the Wi-Fi signal of the target object in the preset period of time, and the signal strength feature is taken as the target Wi-Fi signal feature of the target object in the preset period of time.
[0073] Further, the target Wi-Fi signal feature is taken as a search index to query the position fingerprint library to determine whether there is a sample position Wi-Fi signal feature matching the target Wi-Fi signal feature in the position fingerprint library. In the case where it is determined that the target Wi-Fi signal feature is the same as or similar to a certain sample position Wi-Fi signal feature (for example, the signal strength corresponding to the target Wi-Fi signal feature is equal to the signal strength corresponding to the sample position Wi-Fi signal feature), the sample position corresponding to the sample position Wi-Fi signal feature can be determined as the position of the target object in the preset period of time, that is, the historical position of the target object in the historical period of time is obtained, and the positioning accuracy of the target object can be improved.
[0074] In some exemplary embodiments, in the case where the sample object carries a terminal, the establishment of the position fingerprint library comprises: determining the position where the terminal is located according to the signal coverage range of the sub-node device connected by the terminal, and taking the position as a sample position; obtaining the first Wi-Fi signal transmitted by the sub-node device and received by the terminal at the sample position, and extracting the signal strength information carried by the first Wi-Fi signal to obtain the sample position Wi-Fi signal feature; and constructing the position fingerprint library according to the plurality of sample positions and the sample position Wi-Fi signal features corresponding thereto.
[0075] The terminal carried by the sample object can be a mobile phone, a tablet computer, a smart television or other devices capable of communicating with the behavior prompting device, and the present disclosure does not limit this, which will not be described here.
[0076] In many cases, the sample object is often carrying a terminal, so the terminal position is also the position of the sample object; and there are multiple sub-regions in the preset range, each sub-region covers a certain signal coverage range; when the terminal enters the signal coverage range of different sub-regions, the terminal will be connected to the corresponding sub-node device accordingly, so the terminal connected to which sub-node device can indicate that the terminal is in the sub-region corresponding to the sub-node device, that is, the position of the terminal is determined.
[0077] Therefore, when establishing the position fingerprint library, according to the identifier of the sub-node device connected by the terminal, it can be determined which sub-node device the terminal is connected to, and the position of the terminal in the signal coverage range corresponding to the sub-node device is determined, that is, the position of the target object is determined.
[0078] For example, when the sample object carrying the terminal enters a certain preset range, the behavior prompting device detects the terminal to obtain the signal strength information fed back by the terminal, and then allocates a sub-node device for the terminal according to the signal strength information, which is the device in the preset range that can provide the highest communication signal strength for the terminal.
[0079] For example, the behavior prompting device is arranged on the Wi-Fi master node device, and the Wi-Fi master node device selects a Wi-Fi sub-node device with the highest communication signal strength from multiple Wi-Fi sub-node devices as the sub-node device for the terminal to connect through the signal strength information fed back by the terminal detected.
[0080] For another example, when the preset range includes multiple sub-regions, a sub-node device is arranged in each sub-region, at this time, the behavior prompting device can also determine the identifier of the sub-region corresponding to the to-be-accessed sub-node device according to the identifier of the sub-node device connected by the terminal, and then determine the position of the terminal based on the identifier of the sub-region, thereby realizing the rapid positioning of the terminal.
[0081] Further, the behavior prompting device interacts with the terminal to obtain the first Wi-Fi signal transmitted by the sub-node device received by the terminal at the sample position, and the first Wi-Fi signal carries signal strength information (such as RSSI, RSRP, etc.). Through the RSSI and RSRP information, the communication quality of the communication link can be determined, so that the communication link with communication quality not meeting the preset requirement is adjusted in terms of transmission power and other parameters.
[0082] The signal strength information carried by the first Wi-Fi signal is extracted to obtain a sample location Wi-Fi signal feature, so that the sample location Wi-Fi signal feature can reflect the location feature corresponding to the terminal; and the actual location Wi-Fi signal feature reported by the terminal is compared with the sample location Wi-Fi signal feature stored in the location fingerprint library, so that the actual location of the terminal is quickly determined.
[0083] In some embodiments, the preset range is a plurality of rooms and a living room in a home, each room is a sub-area, and a Wi-Fi sub-node device is arranged in each room; and a Wi-Fi master node device is arranged in the living room. FIG. 2 is a schematic diagram of a construction process of a location fingerprint library provided by an embodiment of the present disclosure. As shown in FIG. 2, the construction method of the location fingerprint library includes the following steps.
[0084] In step S201, a sample object carrying a terminal enters each room respectively, and in each room, the sample object interacts with a Wi-Fi sub-node device in the room through the terminal to enable the Wi-Fi sub-node device to know the initial location of the sample object.
[0085] The sample object can interact with the Wi-Fi sub-node device through an application (App) installed on the terminal, or the sample object can inform the Wi-Fi sub-node device of the room information (for example, a room number or an identifier of the Wi-Fi sub-node device corresponding to the room) through a voice mode.
[0086] In step S202, the Wi-Fi master node device switches the terminal from an initially accessed Wi-Fi sub-node device to a target Wi-Fi sub-node device according to the signal strength information returned by the terminal.
[0087] The Wi-Fi master node device allocates a target Wi-Fi sub-node device closest to the terminal and capable of providing the strongest communication signal for the terminal based on the signal strength information, and controls the terminal to switch from the initially accessed Wi-Fi sub-node device to the target Wi-Fi sub-node device, so as to provide better communication services for the terminal.
[0088] In step S203, the Wi-Fi master node device records attribute information of the target Wi-Fi sub-node device currently connected by the terminal, attribute information of the terminal, and room number information corresponding to the target Wi-Fi sub-node device.
[0089] The attribute information of the target Wi-Fi sub-node device includes a device identifier and a physical address of the target Wi-Fi sub-node device. The attribute information of the terminal includes an identifier or a physical address of the terminal.
[0090] In step S204, the Wi-Fi master node device stores the signal strength information fed back by the terminal in a preset storage space, and extracts features of the signal strength information in the preset storage space to obtain features of the location of the terminal (i.e., sample location Wi-Fi signal features).
[0091] The preset storage space includes a memory space of the Wi-Fi master node device and / or a storage space of a cloud server.
[0092] It should be noted that the sample object needs to perform the above steps S202-S204 in each room to obtain multiple sample locations and corresponding sample location Wi-Fi signal features.
[0093] In step S205, the Wi-Fi master node device constructs a location fingerprint library according to the multiple sample locations and corresponding sample location Wi-Fi signal features.
[0094] The location fingerprint library can be stored in the memory space of the Wi-Fi master node device to facilitate subsequent positioning of the terminal.
[0095] The location fingerprint library constructed in the above manner can facilitate subsequent searching of the location fingerprint library based on the real-time location Wi-Fi signal features of the terminal obtained, thereby quickly and accurately determining the real-time location of the terminal and improving the positioning accuracy of the terminal.
[0096] In some exemplary embodiments, in the case that the sample object does not carry a terminal, the establishment of the location fingerprint library includes: obtaining a sample location fed back by the sample object, and obtaining channel state information carried by the second Wi-Fi signal; extracting features of the channel state information to obtain sample location Wi-Fi signal features; and constructing a location fingerprint library according to the multiple sample locations and corresponding sample location Wi-Fi signal features.
[0097] The sample object can also not carry a terminal. In this case, the establishment of the location fingerprint library requires the sample object to provide a real-time location thereof (e.g., the sample object sends voice information to inform the Wi-Fi master node device of the location thereof); and then, when the sample object provides the location thereof, the second Wi-Fi signal is the signal that should be present when the sample object is at the sample location, so that the channel state information carried by the second Wi-Fi signal can be collected, and features of the channel state information can be extracted to determine sample location Wi-Fi signal features.
[0098] Since the sample object does not carry a terminal, the sample position of the sample object needs to be determined through the sample position feedback of the sample object (for example, the user informs the position information through voice to determine the sample position).
[0099] It should be noted that the sample object can move between multiple Wi-Fi devices, and when it moves into the coverage range of a certain Wi-Fi sub-node device, the Wi-Fi sub-node device can carry channel state information through the Wi-Fi signal (i.e., the second Wi-Fi signal) between it and the Wi-Fi master node device. CSI is the channel attribute of the communication link, which describes the attenuation factors of the signal on each transmission path.
[0100] For example, the channel state information carried by the second Wi-Fi signal includes environmental attenuation information and distance attenuation information between the Wi-Fi master node device and the Wi-Fi sub-node device. By feature extraction on the above channel state information, sample position Wi-Fi signal features (such as distance attenuation features, environmental attenuation features, etc.) can be obtained.
[0101] Through the environmental attenuation information and the distance attenuation feature between the Wi-Fi master node device and the Wi-Fi sub-node device (i.e., the feature that the strength of the Wi-Fi signal weakens with the increase of the distance between the sample object and the Wi-Fi sub-node device), the actual position information of the sample object can be determined, and the sample position can be updated according to the position information, and a more accurate sample position can be obtained.
[0102] In some embodiments, according to a preset signal strength and distance relationship model (such as a free space propagation model or a model corrected according to the actual environment), the distance range of the sample object relative to the Wi-Fi sub-node device under different Wi-Fi signal strengths can be estimated. Further, in combination with the measured Wi-Fi signal strength and the corresponding relationship between the Wi-Fi signal strength and the distance, the possible position of the sample object within the coverage range of the Wi-Fi sub-node device can be estimated. Generally, the sample position with the strongest Wi-Fi signal strength is closest to the Wi-Fi sub-node device, and the position with weaker Wi-Fi signal strength is relatively far from the Wi-Fi sub-node device.
[0103] It should be noted that the propagation of the Wi-Fi signal is affected by various environmental factors, such as buildings, obstacles, other wireless devices, etc. These environmental factors can cause the attenuation of the Wi-Fi signal to be irregular, thereby affecting the estimation accuracy of the sample position of the sample object. Therefore, in actual application, the corresponding relationship between the Wi-Fi signal strength and the distance needs to be corrected and adjusted according to the specific environment.
[0104] In some embodiments, the sample position information fed back by the sample object is used to determine the identity of the Wi-Fi sub-node device (or the identity of the coverage sub-area corresponding to the Wi-Fi sub-node device) corresponding thereto for sending the second Wi-Fi signal, and the identity of the Wi-Fi sub-node device (or the identity of the coverage sub-area corresponding to the Wi-Fi sub-node device) is taken as the sample position.
[0105] Further, the multiple sample positions and the sample position Wi-Fi signal features corresponding thereto are collected and analyzed, a position fingerprint library is constructed, and the position fingerprint library is searched according to the real-time position Wi-Fi signal feature of the target object obtained subsequently, so that the real-time position of the target object is determined quickly and accurately, and the positioning accuracy of the target object is improved.
[0106] In some embodiments, the second Wi-Fi signal can also be a signal for communication between the Wi-Fi master node device and the Wi-Fi sub-node device, and the channel state information carried by the second Wi-Fi signal can be used to determine the specific coverage range of the Wi-Fi node device in which the sample object is located, so as to position the sample object.
[0107] For example, FIG. 3 is a schematic diagram of a construction process of a position fingerprint library according to an embodiment of the present disclosure. As shown in FIG. 3, the construction method of the position fingerprint library includes the following steps.
[0108] In step S301, the sample object does not carry a terminal and enters each sub-area respectively, and in each sub-area, the sample object will tell the Wi-Fi sub-node device in the room its initial position through voice.
[0109] For example, the sample object says to the Wi-Fi sub-node device in a certain room, "I am in room A", so that the Wi-Fi sub-node device can obtain the initial position of the sample object.
[0110] In some embodiments, the Wi-Fi sub-node device will send the initial position of the sample object obtained by it to the Wi-Fi master node device, so that the Wi-Fi master node device can store it.
[0111] In step S302, the Wi-Fi master node device sends a signal detection request to the range covered thereby, and obtains the second Wi-Fi signal fed back by each Wi-Fi sub-node device, and then extracts features from the channel state information carried by the second Wi-Fi signal to obtain sample position Wi-Fi signal features.
[0112] Step S303, the Wi-Fi master node device matches the position of the sample object with the sample position Wi-Fi signal feature, obtains the correspondence between the position of the sample object and the sample position Wi-Fi signal feature, and stores the correspondence on the Wi-Fi master node device, or sends the correspondence to the corresponding Wi-Fi slave node device, so that the Wi-Fi slave node device locates the sample object based on the correspondence.
[0113] It should be noted that in the initialization process, the sample object needs to stay in each sub-region for a certain period of time, so that the Wi-Fi master node device performs the above steps S302-S303, thereby obtaining a plurality of sample positions and their corresponding sample position Wi-Fi signal features.
[0114] Since the sample object stays in each sub-region, it will inevitably cause changes in the physical environment of the entire sub-region, and such changes in the physical environment will affect the degree to which the Wi-Fi slave node device in the sub-region receives the second Wi-Fi signal. Therefore, feature extraction can be performed based on the channel state information carried by the second Wi-Fi signal received by the Wi-Fi slave node device in the sub-region to obtain the sample position Wi-Fi signal feature.
[0115] Step S304, the Wi-Fi master node device constructs a position fingerprint library according to the plurality of sample positions and their corresponding sample position Wi-Fi signal features.
[0116] The position fingerprint library constructed in the above manner can facilitate subsequent searching of the position fingerprint library based on the real-time position Wi-Fi signal feature of the target object obtained, thereby quickly and accurately determining the real-time position of the target object and improving the positioning accuracy of the target object.
[0117] In some exemplary embodiments, the information carried by the Wi-Fi signal includes target channel state data, and the target channel state data includes at least two detection time instants and a Wi-Fi signal amplitude value corresponding to each detection time instant; and the step S101 of determining the behavior of the target object in the preset period of time based on the wireless hotspot Wi-Fi signal and recording the behavior of the target object in the preset period of time in the historical behavior database includes: obtaining the Wi-Fi signal amplitude value corresponding to at least two detection time instants within the preset period of time and the behavior of the target object in the preset period of time; determining a Wi-Fi signal amplitude change value based on the Wi-Fi signal amplitude values corresponding to the two detection time instants; and recording the Wi-Fi signal amplitude change value and the behavior of the target object in the preset period of time in the historical behavior database.
[0118] The target object causes different changes in the information carried by the Wi-Fi signal when performing different behaviors, such as changes in the Wi-Fi signal amplitude values corresponding to different detection times.
[0119] In some embodiments, the Wi-Fi signal amplitude values corresponding to at least two detection times within a preset time period of the target object can be acquired, such as the Wi-Fi signal amplitude values corresponding to two detection times (t1 and t2) within a preset time period (A t1 and A t2 ), and then the Wi-Fi signal amplitude change value δ corresponding to the two detection times is calculated.
[0120] For example, the Wi-Fi signal amplitude change value δ is calculated by using the formula Then, the Wi-Fi signal amplitude change value δ is compared with a preset amplitude change threshold δ max , so that the behavior performed by the target object is recorded in the case of determining that δ is greater than δ max . In the case of determining that δ is less than or equal to δ max , the behavior performed by the target object is recorded.
[0121] In some embodiments, the behaviors recorded in the historical behavior database include various behaviors such as walking, gesturing, standing, sitting, and the like. The above is only an example of the sample behavior, and the corresponding behavior can be updated according to actual needs. Other unexplained sample behaviors are also within the protection scope of the present disclosure, and will not be described here.
[0122] It should be noted that the detection of the behavior of the target object can also be performed by using a machine learning-based manner.
[0123] For example, the CSI data of a plurality of sample objects performing different behaviors is pre-acquired, and the CSI data is used as sample data. A deep machine learning algorithm is used to learn and analyze the sample data, and a machine learning model is obtained.
[0124] The deep machine learning algorithm includes any one of a K-Nearest Neighbor (KNN) algorithm, a Decision Tree (DT) algorithm, and a Convolutional Neural Networks (CNN) algorithm.
[0125] Each sample object performs a sample behavior, and a sample behavior Wi-Fi signal feature corresponding to the sample behavior is obtained, the sample behavior Wi-Fi signal feature being a feature of a Wi-Fi signal regularly changing in a preset range. For example, when a sample object (for example, a person) is running, the behavior of the sample object is detected through a Wi-Fi signal, and at least two regularly changing Wi-Fi signals are obtained, for example, a regularly changing amplitude value of a Wi-Fi signal corresponding to regularly swinging hands of the person, so that a sample behavior Wi-Fi signal feature corresponding to the running behavior is obtained.
[0126] When the sample object performs a specific behavior, the Wi-Fi signal is affected in the time domain or the frequency domain, so that the behavior performed by the sample object can be distinguished through different Wi-Fi signal features, and the behavior of the sample object is recognized.
[0127] In some embodiments, the collected sample data can be subjected to noise removal processing and abnormal data removal processing, so as to make the sample data more accurate.
[0128] Since the chip types and antenna types used by different Wi-Fi products are different, the sample data corresponding to different Wi-Fi products needs to be collected, so that the different Wi-Fi products can use the corresponding machine learning model to detect the behavior of the target object, thereby expanding the range of products applicable to behavior detection.
[0129] FIG. 4 is a flowchart of a method for recording behaviors in a historical behavior database according to an embodiment of the present disclosure. As shown in FIG. 4, the method includes the following steps.
[0130] In step S401, a sample object enters a certain sub-region and performs a specific behavior in the sub-region.
[0131] The specific behavior can be keyboard tapping, dish washing, etc.
[0132] In step S402, a Wi-Fi master node device sends a Wi-Fi signal to a preset region, obtains a Wi-Fi sensing signal, and queries a location fingerprint library based on the Wi-Fi sensing signal to determine a location of the sample object.
[0133] Since the Wi-Fi signal is affected by many factors, especially the indoor environment, as long as the environment of the preset region changes slightly, the change will be reflected on the Wi-Fi signal received by the Wi-Fi sub-node device, so that the location (for example, a sub-region number where the sample object is located) of the sample object is determined based on the Wi-Fi signal with different change characteristics.
[0134] It should be noted that the position fingerprint library can be updated according to the real-time position of the sample object, so as to maintain the accuracy of the sample position stored in the position fingerprint library. In some embodiments, the sample position can also be informed to the Wi-Fi master node device by the sample object through voice, so that the Wi-Fi master node device updates the sample position in the sample fingerprint library.
[0135] Step S403, when it is determined that a terminal is connected to a certain Wi-Fi sub-node device according to the wireless communication connection information between the Wi-Fi master node device and each Wi-Fi sub-node device, the Wi-Fi master node device determines the position where the terminal is located by querying the identifier of the Wi-Fi sub-node device to which the terminal is connected.
[0136] Step S404, the Wi-Fi master node device compares the position where the sample object is located obtained in step S402 with the position where the terminal is located obtained in step S403, and determines whether the above two positions are close.
[0137] In the case where it is determined that the position where the sample object is located obtained in step S402 is close to the position where the terminal is located obtained in step S403 (for example, the distance between the two positions is less than or equal to a preset distance threshold), step S405 is performed.
[0138] In the case where it is determined that the position where the sample object is located obtained in step S402 is far away from the position where the terminal is located obtained in step S403 (for example, the distance between the two positions is greater than a preset distance threshold), step S406 is performed.
[0139] Step S405, the Wi-Fi master node device takes the position where the terminal is located obtained in step S403, i.e. the identifier of the Wi-Fi sub-node device to which the terminal is connected, as the sample position.
[0140] Step S406, the Wi-Fi master node device takes the position where the sample object is located obtained in step S402 as the sample position.
[0141] At this time, positioning abnormalities caused by the sample object not carrying a terminal or the like can be avoided, thereby improving the positioning accuracy of the sample position.
[0142] Step S407, the Wi-Fi master node device records the specific behavior of the sample object in each sub-region, the Wi-Fi signal feature corresponding to the behavior, and the execution time of performing the specific behavior.
[0143] The Wi-Fi signal feature corresponding to the behavior is a feature obtained based on feature extraction on the channel state information carried by the acquired Wi-Fi signal corresponding to the specific behavior.
[0144] In some embodiments, the Wi-Fi signal feature corresponding to the behavior is a signal feature determined by the Wi-Fi master node device based on the Wi-Fi sensing technology for identifying the specific behavior.
[0145] In step S408, the sample location, the sample object performing the specific behavior at the sample location, the Wi-Fi signal feature corresponding to the specific behavior, and the execution time are recorded into the historical behavior database.
[0146] The historical behavior database can be stored in the storage space of the Wi-Fi master node device, or can be stored on a cloud server, so as to facilitate timely query of the data stored in the historical behavior database.
[0147] Through the above operation steps, the sample location, the sample object performing the specific behavior at the sample location, the Wi-Fi signal feature corresponding to the specific behavior, and the execution time are associated, so as to facilitate query of the historical behavior database based on the obtained target Wi-Fi signal feature, and to conveniently and quickly obtain the target behavior and the behavior that the target object needs to perform, thereby timely prompting the target object to perform the target behavior when the target object needs, and reducing the probability of forgetting to do something caused by memory loss of the target object.
[0148] FIG. 5 is a composition diagram of a behavior prompting system provided by an embodiment of the present disclosure. As shown in FIG. 5, the behavior prompting system includes the following devices: a Wi-Fi master node device 501, a plurality of Wi-Fi sub-node devices (for example, a first Wi-Fi sub-node device 511, a second Wi-Fi sub-node device 512, a third Wi-Fi sub-node device 513, a fourth Wi-Fi sub-node device 514, …, an n-th Wi-Fi sub-node device 51n, n represents the number of Wi-Fi sub-node devices, and n is an integer greater than or equal to 1), and a plurality of terminal devices (for example, a first terminal device 521, a second terminal device 522, etc.).
[0149] The Wi-Fi master node device 501 and the plurality of Wi-Fi sub-node devices can construct a wireless mesh network (WMN), which can also be referred to as a Mesh network. Each Wi-Fi sub-node device can be connected to different terminal devices, for example, the first Wi-Fi sub-node device 511 is in communication connection with the second terminal 522, and the fourth Wi-Fi sub-node device 514 is in communication connection with the first terminal device 521. The terminal devices include smart phones, tablet computers, smart televisions, etc.
[0150] The Wi-Fi master node device 501 can be a router or a customer premise equipment (CPE), etc. Each Wi-Fi sub-node device can also be a router or a CPE, etc.
[0151] In some embodiments, the Wi-Fi master node device 501 and each Wi-Fi sub-node device are each provided with a microphone and a speaker, so as to be capable of interacting with the target object holding the terminal device in the form of voice interaction.
[0152] In some embodiments, the Wi-Fi sub-node device and each terminal device can also interact with each other through a corresponding App.
[0153] The more the number of Wi-Fi sub-node devices, the more accurate the positioning of the target object.
[0154] In some embodiments, if the computing power of each Wi-Fi sub-node device in the Mesh network is greater than a preset computing power threshold, a distributed layout can be adopted to store the location fingerprint library and the historical behavior database on each Wi-Fi sub-node device, so as to enable each Wi-Fi sub-node device to process the collected data in a timely manner.
[0155] In some embodiments, if the computing power of each Wi-Fi sub-node device in the Mesh network is less than or equal to the preset computing power threshold, the obtained sample data (such as sample location, sample behavior, and sample Wi-Fi signal characteristics, etc.) can be stored on the Wi-Fi master node device or a cloud server, and the Wi-Fi master node device or the cloud server can match the obtained sample data, so as to quickly learn the collected sample location, sample behavior, and sample Wi-Fi signal characteristics, so as to quickly construct the location fingerprint library, and store the obtained data in the historical behavior database.
[0156] After the location fingerprint library is constructed, each Wi-Fi sub-node device in the Mesh network can still collect the behavior of the target object entering the Mesh network at different time periods, the Wi-Fi signal characteristics corresponding to the target object, and the location of the target object, etc., so as to update the location fingerprint library and the historical behavior database in real time, thereby enabling the location fingerprint library and the historical behavior database to recognize the behavior of the target object (such as gait recognition, gesture recognition, etc.).
[0157] FIG. 6 is a flow diagram of a behavior prompting method provided by an embodiment of the present disclosure. As shown in FIG. 6, the behavior prompting method includes the following steps.
[0158] Step S601, the terminal sends an information query request to the Wi-Fi sub-node device.
[0159] The terminal is a terminal carried by the target object, which is a terminal capable of communicating with the Wi-Fi sub-node device, for example, the terminal communicates with the Wi-Fi sub-node device through the App installed thereon.
[0160] The Wi-Fi sub-node device is a device connected with the terminal for providing wireless short-range communication for the terminal. The information query request includes the behavior of the target object in the target period, or the behavior of the target object in the target location, or the time information corresponding to the target behavior performed by the target object.
[0161] In some embodiments, the terminal can also respond to the information feedback by the Wi-Fi sub-node device, and / or display the information feedback by the Wi-Fi sub-node device through the display device on the terminal, and / or forward the information feedback by the Wi-Fi sub-node device to other devices, so that other devices can process the information feedback by the Wi-Fi sub-node device.
[0162] Step S602, the Wi-Fi sub-node device obtains the target location Wi-Fi signal characteristics corresponding to the location of the terminal.
[0163] The target location Wi-Fi signal characteristics can include: the Wi-Fi signal characteristics obtained by feature extraction on the signal strength information carried by the first Wi-Fi signal, or the Wi-Fi signal characteristics obtained by extraction on the channel state information carried by the second Wi-Fi signal.
[0164] Step S603, the Wi-Fi sub-node device queries the location fingerprint library according to the target location Wi-Fi signal characteristics corresponding to the location of the terminal, and obtains the target location.
[0165] The location fingerprint library can be stored on a cloud server or on the Wi-Fi sub-node device.
[0166] Step S604, the Wi-Fi sub-node device queries the historical behavior database according to the target location Wi-Fi signal characteristics corresponding to the location of the terminal, and obtains the target behavior.
[0167] Step S605, the Wi-Fi sub-node device sends an information query response to the terminal through the App.
[0168] The information query response includes the target behavior (for example, the behavior of knocking the keyboard) performed by the target object in the target period, or the target behavior performed by the target object in the target period and in the target location (for example, the number of a certain room, etc.).
[0169] Step S606, the terminal displays the target behavior of the target object in the target period on the App in a list form, or the target behavior of the target object in the target period at the target location, etc. information for the target object to view.
[0170] It should be noted that since the behavior performed by the target object can be repeated, the period of performing each behavior can also be multiple; therefore, displaying on the App in a list form to the target object can facilitate the target object to evaluate the behavior in a certain period, thereby prompting the target object to perform the target behavior.
[0171] FIG. 7 is a flow diagram of a behavior prompting method provided by an embodiment of the present disclosure. As shown in FIG. 7, the behavior prompting method includes the following steps.
[0172] Step S701, the Wi-Fi child node device receives an information query request.
[0173] The information query request can be information sent by the target object to the Wi-Fi child node device in the form of voice. The information query request includes: target behavior of the target period, or target behavior of the target object, or behavior performed by the target object in the target period, or behavior performed by the target object at the target location, or target behavior of the target object at the behavior location in the target period, etc.
[0174] For example, the target object issues a voice query request such as "what behavior did you do in M period?", or "what behavior did I do?", or "what behavior did I do in A period?", or "what behavior did I do in the first room?", or "what behavior did I do in C location in B period?" etc.
[0175] Step S702, the Wi-Fi child node device obtains the target location Wi-Fi signal feature corresponding to the location of the target object.
[0176] The target location Wi-Fi signal feature can include: a Wi-Fi signal feature obtained by performing feature extraction on the signal strength information carried by the first Wi-Fi signal, or a Wi-Fi signal feature obtained by performing extraction on the channel state information carried by the second Wi-Fi signal.
[0177] Step S703, the Wi-Fi child node device queries the location fingerprint library according to the target location Wi-Fi signal feature and the target period and other information in the information query request, and obtains the target location.
[0178] At step S704, the Wi-Fi child node device queries the historical behavior database according to the target location Wi-Fi signal feature and the target time period in the information query request, and obtains the target behavior.
[0179] The historical behavior database records behaviors of the target object in a preset time period. The target location Wi-Fi signal feature includes a Wi-Fi signal feature obtained by extracting channel state information carried by the second Wi-Fi signal.
[0180] Since the channel state information can capture fine-grained change information of the Wi-Fi signal, when the target object makes certain behaviors or actions, the propagation path of the Wi-Fi signal will change, and the amplitude of the corresponding CSI will also change greatly.
[0181] For example, FIG. 8 is a change diagram of the channel state information carried by the Wi-Fi signal when the target behavior is sitting, provided by an embodiment of the present disclosure. FIG. 9 is a change diagram of the channel state information carried by the Wi-Fi signal when the target behavior is squatting, provided by an embodiment of the present disclosure. FIG. 10 is a change diagram of the channel state information carried by the Wi-Fi signal when the target behavior is bending, provided by an embodiment of the present disclosure.
[0182] FIGS. 8-10 are diagrams in which the number of data packets is taken as the abscissa, and the amplitude value of the CSI carried by the Wi-Fi signal is taken as the ordinate. Among them, the amplitude of the corresponding CSI is different when the target object performs different target behaviors under the condition of receiving the same number of data packets.
[0183] Through the analysis of the change of the amplitude value of the CSI shown in FIGS. 8-10 with the number of received data packets, it can be determined that the target object performs what behavior. For example, when the change feature of the amplitude value shown in FIG. 8 is detected, it indicates that the target behavior performed by the target object is sitting; when the change feature of the amplitude value shown in FIG. 9 is detected, it indicates that the target behavior performed by the target object is squatting; and when the change feature of the amplitude value shown in FIG. 10 is detected, it indicates that the target behavior performed by the target object is bending.
[0184] In the actual detection process, since the target object performs different target actions in different time periods, the target behavior can be recognized according to the change feature of the corresponding Wi-Fi signal when the target object performs different behaviors.
[0185] For example, FIG. 11 is a schematic diagram of the change of Wi-Fi signal of a human body when performing different behaviors according to an embodiment of the present disclosure. As shown in FIG. 11, in the time period shown in block 1101, the change amplitude of Wi-Fi signal is relatively gentle, at this time, it can be determined that the target object (i.e., the human body) does not perform violent movement, and thus the amplitude feature of Wi-Fi signal in this time period can be determined to correspond to the normal position of a part of the human body (e.g., the head).
[0186] For the time period shown in block 1102 in FIG. 11, the corresponding change amplitude of Wi-Fi signal is large, and it can be determined that the head of the human body is in the action of turning the head or lowering the head.
[0187] For example, in the case of determining that δ is greater than δ max , it is determined that the target object performs the action of turning the head or lowering the head. In the case of determining that δ is less than or equal to δ max , it is determined that the head of the target object does not move.
[0188] Step S705: The Wi-Fi sub-node device matches the acquired target position, target behavior, and information query request target time period respectively, to determine the target behavior performed by the target object in the target time period, or the target behavior performed by the target object in the target position, or the target time period corresponding to the target behavior performed by the target object.
[0189] Step S706: The Wi-Fi sub-node device replies to the target object in the form of voice broadcast, the target behavior performed by the target object in the target time period, or the target behavior performed by the target object in the target position, or the target time period corresponding to the target behavior performed by the target object.
[0190] In some embodiments, the Wi-Fi sub-node device can also first inform the target object of the number of information currently found, and then broadcast each piece of information found, so as to facilitate the target object to obtain the information needed by the target object, thereby achieving the purpose of prompting the target object to perform the target behavior, and reducing the probability of forgetting to do something caused by memory loss of the target object.
[0191] An embodiment of the present disclosure provides a behavior prompting device.
[0192] FIG. 12 is a composition block diagram of a behavior prompting device according to an embodiment of the present disclosure. The behavior prompting device can be arranged in a Wi-Fi device (e.g., a Wi-Fi master node device or a Wi-Fi sub-node device in a Mesh network, etc.); or can be arranged in a router or a CPE.
[0193] As shown in FIG. 12, the behavior prompting device 1200 includes but is not limited to the following modules.
[0194] The recording module 1201 is configured to determine a behavior of the target object in a preset time period according to the wireless hotspot Wi-Fi signal, and record the behavior of the target object in the preset time period in a historical behavior database.
[0195] The querying module 1202 is configured to query the corresponding historical behavior from the historical behavior database according to the query instruction in response to the query instruction.
[0196] The information confirming module 1203 is configured to confirm the target prompt information according to the historical behavior.
[0197] The prompting module 1204 is configured to output the target prompt information.
[0198] It should be noted that the behavior prompting apparatus in the embodiment can implement any of the behavior prompting methods in the embodiments of the present disclosure.
[0199] According to the behavior prompting apparatus in the embodiments of the present disclosure, the recording module is configured to determine a behavior of the target object in a current time period according to the wireless hotspot Wi-Fi signal, and record the behavior as a historical behavior in a historical time period in the historical behavior database. When a query instruction is received, the querying module is configured to query the corresponding historical behavior from the historical behavior database according to the query instruction. The information confirming module is configured to analyze a behavior that the target object should perform (for example, the user continues the behavior just performed, or performs the same behavior at the same time every day, etc.) according to the historical behavior data, so as to confirm the target prompt information. When the target object needs, the prompting module is configured to output the target prompt information to the target object, so as to reduce the probability of forgetting to perform an action due to memory loss or the like.
[0200] It should be noted that the present disclosure is not limited to the specific configurations and processes described in the above embodiments and shown in the drawings. For the convenience and brevity of description, the detailed description of known methods is omitted herein, and the specific working processes of the above-described system, module and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described herein.
[0201] The embodiments of the present disclosure provide an electronic device, a computer readable medium and a computer program product.
[0202] FIG. 13 is a block diagram of an electronic device according to an embodiment of the present disclosure.
[0203] As shown in FIG. 13, the electronic device includes at least one processor 1301, at least one memory 1302, and one or more I / O interfaces 1303. Among them, the processor 1301, the memory 1302 and the I / O interface 1303 are connected to each other through the bus 1304. The memory 1302 stores one or more computer programs, and the one or more computer programs are executed by the at least one processor 1301 to enable the at least one processor 1301 to implement any of the behavior prompting methods described in the above embodiments.
[0204] The processor is a device with data processing capability, including but not limited to a central processing unit (CPU) and the like; the memory is a device with data storage capability, including but not limited to a random access memory (RAM, more specifically SDRAM, DDR, etc.), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information interaction between the memory and the processor, including but not limited to a data bus (Bus) and the like.
[0205] Each module in the above electronic device can be realized by software, hardware and a combination thereof in whole or in part. Each module described above can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to each module.
[0206] The embodiments of the present disclosure further provide a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the behavior prompting methods described in the above embodiments. The computer readable storage medium can be a volatile or non-volatile computer readable storage medium.
[0207] The embodiments of the present disclosure further provide a computer program product comprising a computer program, which, when executed by a processor, implements the above behavior prompting method.
[0208] Those of ordinary skill in the art can understand that all or some of the functional modules / units in the above disclosed steps, systems and devices can be implemented as software, firmware, hardware and their appropriate combinations.
[0209] In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation.
[0210] Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor, or a microprocessor, or hardware, or a combination of software and / or hardware. Such software can be distributed on computer readable media, which can comprise computer storage media (or non-transitory media), and communication media (or transitory media). Computer storage media, as used herein, includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, random access memory (RAM), such as SDRAM, DDR, or other RAM, read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory, or other memory technology, compact disc read only memory (CD-ROM), digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can be accessed by a computer. Further, it should be appreciated by those skilled in the art that computer storage media generally includes computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Examples of communication media include, but are not limited to, ionized gases, or other propagation techniques.
[0211] The present disclosure has disclosed example embodiments, and while specific terminology has been employed, it is merely in the nature of a general description and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics or / and elements described in connection with a particular embodiment can be used in conjunction with other embodiments unless otherwise explicitly stated. As such, those skilled in the art will appreciate that a variety of changes can be made without departing from the scope of the present disclosure as set forth in the claims that follow.
Claims
1. A behavior prompting method, comprising: determining a behavior of a target object in a preset time period according to a wireless hotspot Wi-Fi signal, and recording the behavior of the target object in the preset time period in a historical behavior database; in response to a query instruction, querying a corresponding historical behavior from the historical behavior database according to the query instruction; confirming a target prompting information according to the historical behavior, and outputting the target prompting information.
2. The method of claim 1, wherein, The historical behavior database comprises any one of the following: a historical behavior in a historical time period, a historical behavior of a behavior object, a historical behavior of a behavior object in a historical time period, a historical behavior of a behavior object in a behavior position, and a historical behavior of a behavior object in a historical time period and in a behavior position.
3. The method of claim 1, wherein, The query condition of the query instruction comprises at least one of the following: a time query condition, an object query condition, a behavior query condition, and a position query condition.
4. The method of claim 3, wherein, The query condition of the query instruction comprises the behavior query condition and the time query condition. The querying of the corresponding historical behavior from the historical behavior database according to the query instruction in response to the query instruction comprises querying the historical behavior from the historical behavior database according to the time query condition and the behavior query condition. The confirming of the target prompting information according to the historical behavior and the outputting of the target prompting information comprises determining the target prompting information as a target behavior performed in a behavior query time period included in the time query condition according to the historical behavior, and sending the target prompting information to the target object.
5. The method of claim 3, wherein, The method further comprises recording a historical position of the target object in the preset time period in the historical behavior database. The query condition of the query instruction comprises the position query condition and the time query condition. The querying of the corresponding historical behavior from the historical behavior database according to the query instruction in response to the query instruction, and the determining of a target behavior according to the historical behavior comprises querying a historical position and its corresponding historical behavior from the historical behavior database according to the position query condition and the time query condition. The confirming of the target prompting information according to the historical behavior and the outputting of the target prompting information comprises determining the target prompting information as a target behavior performed by the target object in a target position according to the historical position and its corresponding historical behavior, and sending the target prompting information to the target object.
6. The method of claim 5, wherein, Before the determining of the behavior of the target object in the preset time period according to the wireless hotspot Wi-Fi signal, the method further comprises: establishing a position fingerprint library, wherein the position fingerprint library comprises sample position Wi-Fi signal features of sample objects in a plurality of sample positions; The recording of the historical position of the target object in the preset time period in the historical behavior database comprises: obtaining a target Wi-Fi signal feature of the target object in the preset time period; finding the position fingerprint library according to the target Wi-Fi signal feature, and obtaining a historical position of the target object in the historical time period.
7. The method of claim 6, wherein, In the case that the sample object carries a terminal, the method for establishing the location fingerprint library comprises: determining the location where the terminal is located according to the signal coverage of the child node device connected by the terminal, and taking the location as the sample location; acquiring the first Wi-Fi signal transmitted by the child node device and received by the terminal at the sample location, and extracting the signal strength information carried by the first Wi-Fi signal to obtain the sample location Wi-Fi signal feature; constructing the location fingerprint library according to multiple sample locations and corresponding sample location Wi-Fi signal features.
8. The method of claim 6, wherein, In the case that the sample object does not carry a terminal, the method for establishing the location fingerprint library comprises: acquiring the sample location fed back by the sample object, and acquiring the channel state information carried by the second Wi-Fi signal; extracting the channel state information to obtain the sample location Wi-Fi signal feature; constructing the location fingerprint library according to multiple sample locations and corresponding sample location Wi-Fi signal features.
9. The method of claim 1, wherein, The information carried by the Wi-Fi signal comprises target channel state data, and the target channel state data comprises at least two detection time points and a Wi-Fi signal amplitude value corresponding to each detection time point; The method for determining the behavior of a target object in a preset time period according to a wireless hotspot Wi-Fi signal, and recording the behavior of the target object in the preset time period in a historical behavior database comprises: acquiring the Wi-Fi signal amplitude value corresponding to at least two detection time points within the preset time period of the target object, and the behavior of the target object in the preset time period; determining a Wi-Fi signal amplitude change value according to the Wi-Fi signal amplitude values corresponding to two detection time points; recording the Wi-Fi signal amplitude change value and the behavior of the target object in the preset time period in the historical behavior database. 10.An electronic device comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, and the computer program is executed by the processor to implement the behavior prompting method in any one of claims 1 to 9. 11.A computer readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the behavior prompting method in any one of claims 1 to 9.
Citation Information
Patent Citations
Method for processing historical record and equipment
CN102323923A
Equipment data monitoring method and device, terminal equipment and storage medium
CN112817810A
Question query method and device, equipment and medium
CN117290476A
Training method of small sample algorithm model and electronic equipment
CN117743874A
History Management Apparatus, History Management Method And History Management Program
US20140050312A1