CN107454121B - Position tracking method and device, mobile terminal and server - Google Patents

Position tracking method and device, mobile terminal and server Download PDF

Info

Publication number
CN107454121B
CN107454121B CN201610371408.9A CN201610371408A CN107454121B CN 107454121 B CN107454121 B CN 107454121B CN 201610371408 A CN201610371408 A CN 201610371408A CN 107454121 B CN107454121 B CN 107454121B
Authority
CN
China
Prior art keywords
user
information
statement
position information
sentence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610371408.9A
Other languages
Chinese (zh)
Other versions
CN107454121A (en
Inventor
涂畅
张扬
王砚峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610371408.9A priority Critical patent/CN107454121B/en
Publication of CN107454121A publication Critical patent/CN107454121A/en
Application granted granted Critical
Publication of CN107454121B publication Critical patent/CN107454121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method and a device for position tracking, a mobile terminal and a server, wherein the method comprises the following steps: acquiring an input user statement; judging whether the user statement meets a preset text hit rule or not; if so, acquiring position information corresponding to the user statement; and sending the user statement and the position information to a server, so that the geographical position of the event can be timely known, and the position tracking of the specific event or information is realized.

Description

Position tracking method and device, mobile terminal and server
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for tracking a location, a device for tracking a location, a mobile terminal, and a server.
Background
An incident is a type of event that occurs by chance and is of public interest at a certain time or range. In a broad sense, anything that happens by chance can be understood as a contingency. For example, a building has a fire, or a well-known star suddenly appears somewhere, etc. The accidental events are generally disclosed by a small part of the public through social media such as microblogs, WeChats and the like, and are widely known by the public after being continuously spread.
Usually, the contingency event generally has a certain regionality, that is, where and where something is happened. If the user fails to specify the specific geographical location of the contingency when the user issues the contingency, the propagation effect of the contingency is greatly reduced.
Therefore, one technical problem that needs to be urgently solved by those skilled in the art is: how to accurately determine the geographical location of the occurrence of the contingency.
Disclosure of Invention
In view of the above, embodiments of the present application are proposed to provide a method of location tracking, an apparatus for location tracking, a mobile terminal and a corresponding server that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a method for position tracking, including:
acquiring an input user statement;
judging whether the user statement meets a preset text hit rule or not;
if so, acquiring position information corresponding to the user statement;
and sending the user statement and the position information to a server.
Optionally, before the step of determining whether the user sentence meets a preset text hit rule, the method further includes:
extracting one or more keywords in the user sentence.
Optionally, the step of determining whether the user sentence satisfies a preset text hit rule includes:
traversing preset text hit rule data;
and judging whether the preset text hit rule data comprises the one or more keywords or not.
Optionally, the one or more keywords include a location information keyword, and the step of obtaining location information corresponding to the user sentence includes:
and acquiring the position information key words in the user sentences.
Optionally, the step of acquiring the location information corresponding to the user sentence includes:
and acquiring the GPS information of the user, and taking the GPS information as the position information.
Optionally, the method further comprises:
and receiving the position tracking information returned by the server.
In order to solve the above problem, an embodiment of the present application further discloses a method for tracking a location, including:
receiving user statements and corresponding position information sent by one or more terminals;
generating position tracking information aiming at the user statement and the position information;
and sending the position tracking information to a terminal.
Optionally, the step of generating location tracking information for the user statement and the location information includes:
and integrating user statements sent by the one or more terminals aiming at the position information to form position tracking information.
In order to solve the above problem, an embodiment of the present application further discloses a device for tracking a position, including:
the user statement acquisition module is used for acquiring input user statements;
the judging module is used for judging whether the user statement meets a preset text hit rule or not;
the position information acquisition module is used for acquiring position information corresponding to the user statement when the user statement meets a preset text hit rule;
and the terminal sending module is used for sending the user statement and the position information to a server.
In order to solve the above problem, an embodiment of the present application further discloses a device for tracking a position, including:
the receiving module is used for receiving user sentences and corresponding position information sent by one or more terminals;
the generating module is used for generating position tracking information aiming at the user statement and the position information;
and the server sending module is used for sending the position tracking information to a terminal.
In order to solve the above problem, an embodiment of the present application further discloses a mobile terminal, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring an input user statement;
judging whether the user statement meets a preset text hit rule or not;
if so, acquiring position information corresponding to the user statement;
and sending the user statement and the position information to a server.
In order to solve the above problem, an embodiment of the present application further discloses a server, including a memory, and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors, and the one or more programs include instructions for:
receiving user statements and corresponding position information sent by one or more terminals;
generating position tracking information aiming at the user statement and the position information;
and sending the position tracking information to a terminal.
Compared with the background art, the embodiment of the application has the following advantages:
in the embodiment of the application, after an input user statement is received, whether the user statement meets a preset text hit rule is judged, if yes, position information corresponding to the user statement is obtained, and the user statement and the position information are sent to a server, so that the geographic position of an event can be timely obtained, and the position tracking of a specific event or information is realized.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for location tracking according to the present application;
FIG. 2 is a flowchart illustrating steps of a second embodiment of a method for location tracking according to the present application;
FIG. 3 is a flowchart illustrating the steps of a third embodiment of a method for location tracking according to the present application;
FIG. 4 is a block diagram of a first embodiment of a position tracking device according to the present application;
FIG. 5 is a block diagram of a second embodiment of a position tracking device according to the present application;
FIG. 6 is a block diagram illustrating an apparatus for location of a smart terminal in accordance with an exemplary embodiment;
fig. 7 is a schematic structural diagram of a server in the embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of a first embodiment of a location tracking method according to the present application is shown, which may specifically include the following steps:
step 101, acquiring an input user statement;
in this embodiment of the present application, the user sentence may be a sentence input by a user through an input method. For example, the user may input a sentence when chatting with another person through social software such as QQ or wechat, or a sentence when posting a message on a microblog.
In the embodiment of the present application, corresponding confidence levels, for example, a first level, a second level, a third level, and the like, may also be set for the obtained user statement. For user statements obtained in real-time social software scenes such as QQ and WeChat, a higher confidence level can be set, such as a first level; for users acquired in scenes such as microblogs, forums and the like, a relatively low confidence level, such as a second level, can be set; while a lower confidence level, e.g., three, may be set for statements that the user records in word or notes. Of course, a person skilled in the art may flexibly set different confidence levels for the obtained user statement according to different actual input scenarios, which is not specifically limited in the present application.
Step 102, judging whether the user statement meets a preset text hit rule;
in the embodiment of the application, after a user inputs a corresponding sentence through an input method, the input method may perform text hit rule analysis on the sentence to determine whether the sentence meets a preset text hit rule.
The preset text hit rule may be a keyword rule corresponding to a specific event or specific information, for example, "car accident", "fire", "marriage", "earthquake", etc., and the keyword rule may also be a specific type of keyword, such as a name of a star, such as "somebody in the week", "somebody in" or "somebody in liu", etc., and a name of a popular tv program or a live show, such as "brother of running bar", "chinese sound", etc. Those skilled in the art can determine the keywords in the preset text hit rule according to actual needs, which is not specifically limited in this application.
In a preferred embodiment of the present application, the step of determining whether the user sentence satisfies a preset text hit rule may specifically include the following sub-steps:
substep 1021, traversing preset text hit rule data;
sub-step 1022, determining whether the preset text hit rule data includes the one or more keywords.
In a specific implementation, corresponding text hit rule data may be preset, and after a sentence input by a user is received, one or more keywords may be extracted from the sentence, and then preset text hit rule data is traversed to determine whether the preset text hit rule data includes the one or more keywords, so as to determine whether the user sentence meets a preset text hit rule.
In general, the text hit rule data may be partitioned by different semantic parts of speech, e.g., verbs, names, etc.; the classification may also be according to specific different attribute categories, such as a star category, a geographic location category, and so on. When it is determined that the user sentence satisfies the corresponding text hit rule, the step 103 may be continued to obtain the location information of the user.
103, acquiring position information corresponding to the user statement;
in a specific implementation, the obtaining of the position information corresponding to the user sentence may be directly extracting a corresponding position information keyword from the user sentence. For example, when the user statement received by the input method is "i see a certain person in the week at the fifth road junction", the extracted keyword is analyzed to know that the "fifth road junction" is a keyword of position information, and then the "fifth road junction" can be used as the position information corresponding to the user statement.
In another case, if the user statement does not include the location information keyword, for example, when the user statement received by the input method is "i see a certain week", it can be known that the user statement does not include any location information keyword by analyzing the extracted keyword, and at this time, the GPS information of the user may be acquired, and the GPS information is used as the location information corresponding to the user statement.
And 104, sending the user statement and the position information to a server.
In a specific implementation, the input method may send the obtained user statement and the location information corresponding to the user statement to the server, and the server may collect and analyze information sent by a plurality of users, thereby forming location tracking information of a certain event.
In the embodiment of the application, after an input user statement is received, whether the user statement meets a preset text hit rule is judged, if yes, position information corresponding to the user statement is obtained, and the user statement and the position information are sent to a server, so that the geographic position of an event can be timely obtained, and the position tracking of a specific event or information is realized.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of the location tracking method of the present application is shown, which may specifically include the following steps:
step 201, acquiring an input user statement;
in this embodiment of the present application, the user sentence may be a sentence input by a user through an input method. For example, the user may input a sentence when chatting with another person through social software such as QQ or wechat, or a sentence when posting a message on a microblog. When a user publishes a message that 'I see a certain of the week at five mouths' on a microblog, the input method can timely acquire the user statement.
In the embodiment of the present application, a corresponding confidence level may also be set for the obtained user statement, for example, for the user statement obtained in a real-time social software scenario such as QQ, wechat, etc., a higher confidence level, such as one level, may be set; for users acquired in scenes such as microblogs, forums and the like, a relatively low confidence level, such as a second level, can be set; while a lower confidence level, e.g., three, may be set for statements that the user records in word or notes. Of course, a person skilled in the art may flexibly set different confidence levels for the obtained user statement according to different actual input scenarios, which is not specifically limited in the present application.
Step 202, extracting one or more keywords in the user statement;
in the embodiment of the application, one or more keywords in the user sentence can be obtained by performing semantic analysis on the user sentence. For example, for "i see a certain person in the week at the fifth crossing," the keywords in "the fifth crossing," "see" and "a certain person in the week" can be known.
Step 203, judging whether the user statement meets a preset text hit rule;
in the embodiment of the application, after a user inputs a corresponding sentence through an input method, the input method may perform text hit rule analysis on the sentence to determine whether the sentence meets a preset text hit rule.
The preset text hit rule may be a keyword rule corresponding to a specific event or specific information, for example, "car accident", "fire", "marriage", "earthquake", etc., and the keyword rule may also be a specific type of keyword, such as a name of a star, such as "somebody in the week", "somebody in" or "somebody in liu", etc., and a name of a popular tv program or a live show, such as "brother of running bar", "chinese sound", etc. Those skilled in the art can determine the keywords in the preset text hit rule according to actual needs, which is not specifically limited in this application.
In a specific implementation, corresponding text hit rule data may be preset, and after a sentence input by a user is received, one or more keywords may be extracted from the sentence, and then preset text hit rule data is traversed to determine whether the preset text hit rule data includes the one or more keywords, so as to determine whether the user sentence meets a preset text hit rule.
For example, taking "i see somebody in the week at the fifth road junction" as an example, by traversing preset text hit rule data, it is found that "somebody in the week" hits the name of a certain star, and then continuing to analyze the context of the currently input sentence of the user separately to see whether a specific pattern rule is hit, and by analyzing, it can be known that "i see a pattern of # # # # i see at # # # # #" i see "hit, and then the current user sentence can be considered to satisfy the preset text hit rule.
Step 204, obtaining a position information keyword in the user statement;
in this embodiment of the application, the one or more keywords in the user statement may include a location information keyword, for example, "i see a certain place in the world at the fifth crossing," and it can be known through analysis that the keyword "fifth crossing" is a location information keyword, and then "fifth crossing" may be used as the location information corresponding to the user statement.
In another case, if the user sentence does not include the location information keyword, for example, when the user sentence received by the input method is "i see a certain week", it is known that the user sentence does not include any location information keyword by analyzing the extracted keyword, at this time, step 205 may be executed to obtain the location information of the user by obtaining the GPS information of the user.
Step 205, acquiring global positioning system GPS information of a user, and using the global positioning system GPS information as the location information;
the global Positioning system (gps) is a satellite navigation system with all directions, all weather, all time, and high precision, and can provide navigation information such as low-cost, high-precision three-dimensional position, speed, and precise timing for global users.
Because the GPS information has higher position precision, in the embodiment of the application, when the keywords of the user sentence comprise the position information keywords, the GPS information of the user can be acquired to realize the precise positioning of the geographical position of the user.
Step 206, sending the user statement and the position information to a server;
and step 207, receiving the position tracking information returned by the server.
In a specific implementation, the input method may send the obtained user statement and the location information corresponding to the user statement to the server, and the server may collect and analyze information sent by a plurality of users, so as to form location tracking information of a certain event, and then return the location tracking information to the terminal.
For example, after the server receives a user statement of "see/meet/see a certain week" corresponding to the geographical position of "five crossings" sent by a plurality of terminals, it can be determined through analysis that the certain week is at the five crossings at that moment, so as to form corresponding position tracking information related to the certain week.
In the embodiment of the application, whether the user talks about a star or an emergency can be judged by mining the input content of the user in a specific input environment (microblog, WeChat, QQ and the like), whether the user talks about a star or an emergency can be judged by a preset word list and related mode information, and if the user talks about a star or an emergency, the user can judge that the event happens sometime or happens someplace or the star is right at the place by combining a large amount of input information of the user. Thereby playing the role of tracking the star and the emergency in real time.
Referring to fig. 3, a flowchart illustrating a third step of the embodiment of the location tracking method of the present application is shown, which may specifically include the following steps:
step 301, receiving a user statement and corresponding position information sent by one or more terminals;
step 302, generating position tracking information aiming at the user statement and the position information;
in the embodiment of the application, the input methods in the terminals can send the user sentences meeting the preset text hit rules and the position information corresponding to the user sentences acquired in the terminals to the server, and the server can collect and analyze the information sent by the users, so that the position tracking information for an event is generated.
In a preferred embodiment of the present application, the step of generating location tracking information for the user sentence and the location information may specifically include the following sub-steps:
a substep 3021 of integrating the user statements sent by the one or more terminals with respect to the location information to form location tracking information.
In specific implementation, after receiving the location information and the user statements sent by one or more terminals, the server may perform centralized analysis on the user statements having the same or similar location information, so as to obtain location distribution information of a specific event, and filter out noise through a specific algorithm and rule, so as to obtain location tracking information that "a certain event occurs in a certain geographical location".
In the embodiment of the present application, when generating the location tracking information for the user sentence and the location information, a confidence level of the user input sentence may be further considered.
For example, for a user statement obtained in a real-time social software scenario such as QQ, wechat, etc., since it has a higher confidence level, the location tracking information may be generated according to relatively fewer user statements, for example, when more than 20 users issue the same or similar user statements, the event may be considered to be authentic, step 303 may be executed, and the location tracking information may be sent to the terminal; for statements retrieved from scenes with relatively low confidence levels, such as user words or notes, it may be set that the event is deemed authentic when more than 100 or more users have issued the same or similar user statements.
Step 303, sending the position tracking information to a terminal.
For ease of understanding, the location tracking method of the present application is described below in a specific example.
When a user A meets a certain star at a five-road junction, the user A may take a picture immediately and slightly believe a friend circle state, say that "I meets a certain star at the five-road junction, … …", when the user inputs, the user can analyze the content input by the user, the user inputs that "I meets a certain star at the five-road junction", and through analysis, the user can further analyze the context information input by the user, and find that the input sentence of the user hits a preset text mode: "I met # in AAA", it can be determined that this status information for the user indicates that he found a star to be something. Further, if the user does not mention the place, the user GPS information can be obtained, the user GPS information is found to be positioned near the five-way junction, and the user can also know that the user meets the certain place at the five-way junction.
Further, after receiving user statements which are the same as or similar to the 'one in the middle of' and the 'five crossing' and are issued by a plurality of users, the server can perform centralized analysis on the user statements issued by the plurality of users, and filters out noise through a specific algorithm and a specific rule, so that the position tracking information of the 'one in the five crossing' is obtained.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 4, a block diagram of a first embodiment of the location tracking device according to the present application is shown, which may specifically include the following modules:
a user statement acquisition module 401, configured to acquire an input user statement;
a judging module 402, configured to judge whether the user statement meets a preset text hit rule;
a location information obtaining module 403, configured to obtain location information corresponding to the user statement when the user statement meets a preset text hit rule;
a terminal sending module 404, configured to send the user statement and the location information to a server.
In this embodiment, the apparatus may further include the following modules:
a keyword extraction module 405, configured to extract one or more keywords in the user sentence.
In this embodiment of the application, the determining module 402 may specifically include the following sub-modules:
the traversal submodule 4021 is used for traversing preset text hit rule data;
the keyword determining sub-module 4022 is configured to determine whether the preset text hit rule data includes the one or more keywords.
In this embodiment of the application, the one or more keywords may include a location information keyword, and the location information obtaining module 403 may specifically include the following sub-modules:
and the position information keyword obtaining sub-module 4031 is used for obtaining the position information keywords in the user sentences.
In this embodiment, the position information obtaining module 403 may further include the following sub-modules:
and the GPS information acquisition submodule 4032 is configured to acquire global positioning system GPS information of the user, and use the global positioning system GPS information as the location information.
In this embodiment, the apparatus may further include the following modules:
and the position tracking information receiving module is used for receiving the position tracking information returned by the server.
Referring to fig. 5, a block diagram of a second embodiment of the location tracking device according to the present application is shown, and the second embodiment of the location tracking device specifically includes the following modules:
a receiving module 501, configured to receive a user statement and corresponding location information sent by one or more terminals;
a generating module 502, configured to generate location tracking information for the user statement and the location information;
a server sending module 503, configured to send the location tracking information to a terminal.
In this embodiment of the present application, the generating module 502 may specifically include the following sub-modules:
the integrating submodule 5021 is configured to integrate the user statements sent by the one or more terminals according to the location information to form location tracking information.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 6 is a block diagram illustrating an apparatus 800 for location tracking according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of location tracking, the method comprising:
acquiring an input user statement;
judging whether the user statement meets a preset text hit rule or not;
if so, acquiring position information corresponding to the user statement;
and sending the user statement and the position information to a server.
Fig. 7 is a schematic structural diagram of a server in the embodiment of the present application. The server 1900 may vary widely by configuration or performance and may include one or more Central Processing Units (CPUs) 1922 (e.g., one or more processors) and memory 1932, one or more storage media 1930 (e.g., one or more mass storage devices) storing applications 1942 or data 1944. Memory 1932 and storage medium 1930 can be, among other things, transient or persistent storage. The program stored in the storage medium 1930 may include one or more modules (not shown), each of which may include a series of instructions operating on a server. Still further, a central processor 1922 may be arranged to communicate with the storage medium 1930 to execute a series of instruction operations in the storage medium 1930 on the server 1900:
receiving user statements and corresponding position information sent by one or more terminals;
generating position tracking information aiming at the user statement and the position information;
and sending the position tracking information to a terminal.
The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input-output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (24)

1. A method of position tracking, comprising:
acquiring a user statement input by an input method;
judging whether the user statement meets a preset text hit rule or not;
if so, acquiring position information corresponding to the user statement;
and sending the user statement and the position information to a server.
2. The method of claim 1, further comprising, before the step of determining whether the user sentence satisfies a preset text hit rule:
extracting one or more keywords in the user sentence.
3. The method of claim 2, wherein the step of determining whether the user sentence satisfies a preset text hit rule comprises:
traversing preset text hit rule data;
and judging whether the preset text hit rule data comprises the one or more keywords or not.
4. The method of claim 2 or 3, wherein the one or more keywords comprise a location information keyword, and the step of obtaining location information corresponding to the user sentence comprises:
and acquiring the position information key words in the user sentences.
5. The method of claim 4, wherein the step of obtaining the location information corresponding to the user sentence comprises:
and if the sentence of the user does not comprise the position information keyword, acquiring the GPS information of the user, and taking the GPS information as the position information.
6. The method of claim 5, further comprising:
and receiving the position tracking information returned by the server.
7. A method of position tracking, comprising:
receiving user statements and corresponding position information sent by one or more terminals; the user statement is a statement input through an input method;
generating position tracking information aiming at the user statement and the position information;
and sending the position tracking information to a terminal.
8. The method of claim 7, wherein the step of generating location tracking information for the user statement and location information comprises:
and integrating user statements sent by the one or more terminals aiming at the position information to form position tracking information.
9. An apparatus for position tracking, comprising:
the user sentence acquisition module is used for acquiring the user sentences input by the input method;
the judging module is used for judging whether the user statement meets a preset text hit rule or not;
the position information acquisition module is used for acquiring position information corresponding to the user statement when the user statement meets a preset text hit rule;
and the terminal sending module is used for sending the user statement and the position information to a server.
10. The apparatus of claim 9, further comprising:
and the keyword extraction module is used for extracting one or more keywords in the user sentences.
11. The apparatus of claim 10, wherein the determining module comprises:
the traversal submodule is used for traversing preset text hit rule data;
and the keyword judgment sub-module is used for judging whether the preset text hit rule data comprises the one or more keywords.
12. The apparatus of claim 10 or 11, wherein the one or more keywords comprise a location information keyword, and wherein the location information obtaining module comprises:
and the position information keyword acquisition submodule is used for acquiring the position information keywords in the user sentences.
13. The apparatus of claim 12, wherein the location information obtaining module further comprises:
and the GPS information acquisition submodule is used for acquiring the GPS information of the user if the sentence of the user does not comprise the position information keyword, and taking the GPS information as the position information.
14. The apparatus of claim 13, further comprising:
and the position tracking information receiving module is used for receiving the position tracking information returned by the server.
15. An apparatus for position tracking, comprising:
the receiving module is used for receiving user sentences and corresponding position information sent by one or more terminals; the user statement is a statement input through an input method;
the generating module is used for generating position tracking information aiming at the user statement and the position information;
and the server sending module is used for sending the position tracking information to a terminal.
16. The apparatus of claim 15, wherein the generating module comprises:
and the integration submodule is used for integrating the user statements sent by the one or more terminals aiming at the position information so as to form position tracking information.
17. A mobile terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to perform the one or more programs includes instructions for:
acquiring a user statement input by an input method;
judging whether the user statement meets a preset text hit rule or not;
if so, acquiring position information corresponding to the user statement;
and sending the user statement and the position information to a server.
18. The mobile terminal of claim 17, further comprising instructions to:
extracting one or more keywords in the user sentence.
19. The mobile terminal of claim 18, wherein the step of determining whether the user sentence satisfies a preset text hit rule comprises:
traversing preset text hit rule data;
and judging whether the preset text hit rule data comprises the one or more keywords or not.
20. The mobile terminal according to claim 18 or 19, wherein the one or more keywords comprise a location information keyword, and the step of acquiring location information corresponding to the user sentence comprises:
and acquiring the position information key words in the user sentences.
21. The mobile terminal of claim 20, wherein the step of obtaining the location information corresponding to the user statement comprises:
and if the sentence of the user does not comprise the position information keyword, acquiring the GPS information of the user, and taking the GPS information as the position information.
22. The mobile terminal of claim 21, further comprising instructions to:
and receiving the position tracking information returned by the server.
23. A server comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by one or more processors the one or more programs including instructions for:
receiving user statements and corresponding position information sent by one or more terminals; the user statement is a statement input through an input method;
generating position tracking information aiming at the user statement and the position information;
and sending the position tracking information to a terminal.
24. The server according to claim 23, wherein the step of generating location tracking information for the user statement and location information comprises:
and integrating user statements sent by the one or more terminals aiming at the position information to form position tracking information.
CN201610371408.9A 2016-05-30 2016-05-30 Position tracking method and device, mobile terminal and server Active CN107454121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610371408.9A CN107454121B (en) 2016-05-30 2016-05-30 Position tracking method and device, mobile terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610371408.9A CN107454121B (en) 2016-05-30 2016-05-30 Position tracking method and device, mobile terminal and server

Publications (2)

Publication Number Publication Date
CN107454121A CN107454121A (en) 2017-12-08
CN107454121B true CN107454121B (en) 2021-09-14

Family

ID=60484988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610371408.9A Active CN107454121B (en) 2016-05-30 2016-05-30 Position tracking method and device, mobile terminal and server

Country Status (1)

Country Link
CN (1) CN107454121B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240641B (en) * 2018-09-04 2021-09-14 Oppo广东移动通信有限公司 Sound effect adjusting method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729420A (en) * 2013-12-20 2014-04-16 潘大庆 Microblog hotspot tracking system and method
CN103745014A (en) * 2014-01-29 2014-04-23 中国科学院计算技术研究所 False and true mapping method and system of social network users
CN104615715A (en) * 2015-02-05 2015-05-13 北京航空航天大学 Social network event analyzing method and system based on geographic positions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10679304B2 (en) * 2013-08-07 2020-06-09 Microsoft Technology Licensing, Llc System and method for positioning sponsored content in a social network interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729420A (en) * 2013-12-20 2014-04-16 潘大庆 Microblog hotspot tracking system and method
CN103745014A (en) * 2014-01-29 2014-04-23 中国科学院计算技术研究所 False and true mapping method and system of social network users
CN104615715A (en) * 2015-02-05 2015-05-13 北京航空航天大学 Social network event analyzing method and system based on geographic positions

Also Published As

Publication number Publication date
CN107454121A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN108932253B (en) Multimedia search result display method and device
RU2659746C2 (en) Method and device for image processing
CN105843615B (en) Notification message processing method and device
RU2640632C2 (en) Method and device for delivery of information
CN107948708B (en) Bullet screen display method and device
EP3113466A1 (en) Method and device for warning
CN106170004B (en) Method and device for processing verification code
US10509540B2 (en) Method and device for displaying a message
CN105068976B (en) Ticket information display method and device
CN107621886B (en) Input recommendation method and device and electronic equipment
US10242678B2 (en) Friend addition using voiceprint analysis method, device and medium
CN107784045B (en) Quick reply method and device for quick reply
CN109241441B (en) Content recommendation method and device, electronic equipment and storage medium
CN110391966B (en) Message processing method and device and message processing device
CN105898573B (en) Multimedia file playing method and device
CN110674343A (en) Account information processing method and device, server and terminal
KR20160150635A (en) Method and apparatus for recommending cloud card
CN110807393A (en) Early warning method and device based on video analysis, electronic equipment and storage medium
CN106331328B (en) Information prompting method and device
CN108241678B (en) Method and device for mining point of interest data
CN110928425A (en) Information monitoring method and device
CN111177521A (en) Method and device for determining query term classification model
CN107454121B (en) Position tracking method and device, mobile terminal and server
CN110213062B (en) Method and device for processing message
CN109799916B (en) Candidate item association method and device

Legal Events

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