A terminal device, comprising a processor and a memory, wherein the memory is configured to store a first application program; and the processor is configured to: receive positioning information; and discard the positioning information if the first application program is in a positioning service restricted state, which allows the first application program to use a positioning service in some conditions and is prohibited from using the positioning service in other conditions, and the first application program is currently running in the background, wherein the positioning information comprises a positioning request sent by the first application program or current positioning data of the terminal device sent by a positioning chip, and characterized in that the processor is further configured to: before discarding the positioning information, determine whether a positioning service frozen application list comprises the first application program, wherein the positioning service frozen application list comprises at least one application program that is in a positioning service restricted state and that is running in the background; and wherein the processor is configured to discard the positioning information if the first application program is in a positioning service restricted state and the first application program is currently running in the background comprises: the processor is configured to discard the positioning information if the positioning service frozen application list comprises the first application program. receive positioning information; and discard the positioning information if the first application program is in a positioning service restricted state, which allows the first application program to use a positioning service in some conditions and is prohibited from using the positioning service in other conditions, and the first application program is currently running in the background, wherein the positioning information comprises a positioning request sent by the first application program or current positioning data of the terminal device sent by a positioning chip, and characterized in that the processor is further configured to: before discarding the positioning information, determine whether a positioning service frozen application list comprises the first application program, wherein the positioning service frozen application list comprises at least one application program that is in a positioning service restricted state and that is running in the background; and wherein the processor is configured to discard the positioning information if the first application program is in a positioning service restricted state and the first application program is currently running in the background comprises: the processor is configured to discard the positioning information if the positioning service frozen application list comprises the first application program. before discarding the positioning information, determine whether a positioning service frozen application list comprises the first application program, wherein the positioning service frozen application list comprises at least one application program that is in a positioning service restricted state and that is running in the background; and wherein the processor is configured to discard the positioning information if the first application program is in a positioning service restricted state and the first application program is currently running in the background comprises: the processor is configured to discard the positioning information if the positioning service frozen application list comprises the first application program.