A method applied to an access point, AP, or to an electronic device capable of establishing a communication connection with the AP for sensing a terminal action, comprising: acquiring location information of a terminal which has a wireless communication connection with the AP; determining a motion action parameter of the terminal according to the location information of the terminal; and determining an action pattern of the terminal by matching the motion action parameter of the terminal with an action pattern model which is constructed in advance, characterized in that, the action pattern model comprises an action pattern matrix; different columns of the action pattern matrix represent different degree intervals of deviation of the terminal from a horizontal plane, different rows represent different motion speed intervals of the terminal, and an element of the action pattern matrix represents an action pattern determined by both a motion speed interval corresponding to a row where the element is located and a degree interval, corresponding to a column where the element is located, of deviation from the horizontal plane, or different rows of the action pattern matrix represent different degree intervals of deviation of the terminal from a horizontal plane, different columns represent different motion speed intervals of the terminal, and an element of the action pattern matrix represents an action pattern determined by both a motion speed interval corresponding to a column where the element is located and a degree interval, corresponding to a row where the element is located, of deviation from the horizontal plane; wherein determining the action pattern of the terminal by matching the motion action parameter of the terminal with the action pattern model which is constructed in advance comprises: matching the motion action parameter of the terminal with the action pattern model which is constructed in advance, and determining an action pattern corresponding to a matched element of the action pattern matrix as the action pattern of the terminal. acquiring location information of a terminal which has a wireless communication connection with the AP; determining a motion action parameter of the terminal according to the location information of the terminal; and determining an action pattern of the terminal by matching the motion action parameter of the terminal with an action pattern model which is constructed in advance, characterized in that, the action pattern model comprises an action pattern matrix; different columns of the action pattern matrix represent different degree intervals of deviation of the terminal from a horizontal plane, different rows represent different motion speed intervals of the terminal, and an element of the action pattern matrix represents an action pattern determined by both a motion speed interval corresponding to a row where the element is located and a degree interval, corresponding to a column where the element is located, of deviation from the horizontal plane, or different rows of the action pattern matrix represent different degree intervals of deviation of the terminal from a horizontal plane, different columns represent different motion speed intervals of the terminal, and an element of the action pattern matrix represents an action pattern determined by both a motion speed interval corresponding to a column where the element is located and a degree interval, corresponding to a row where the element is located, of deviation from the horizontal plane; wherein determining the action pattern of the terminal by matching the motion action parameter of the terminal with the action pattern model which is constructed in advance comprises: matching the motion action parameter of the terminal with the action pattern model which is constructed in advance, and determining an action pattern corresponding to a matched element of the action pattern matrix as the action pattern of the terminal. matching the motion action parameter of the terminal with the action pattern model which is constructed in advance, and determining an action pattern corresponding to a matched element of the action pattern matrix as the action pattern of the terminal.