CN111209318B - Geographic position data analysis method and device, electronic equipment and storage medium - Google Patents

Geographic position data analysis method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111209318B
CN111209318B CN202010009221.0A CN202010009221A CN111209318B CN 111209318 B CN111209318 B CN 111209318B CN 202010009221 A CN202010009221 A CN 202010009221A CN 111209318 B CN111209318 B CN 111209318B
Authority
CN
China
Prior art keywords
data
user
geographical position
geographic position
time
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
CN202010009221.0A
Other languages
Chinese (zh)
Other versions
CN111209318A (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.)
Ping An Technology Shenzhen Co Ltd
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Ping An Property and Casualty Insurance Company of China 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 Ping An Technology Shenzhen Co Ltd, Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010009221.0A priority Critical patent/CN111209318B/en
Publication of CN111209318A publication Critical patent/CN111209318A/en
Application granted granted Critical
Publication of CN111209318B publication Critical patent/CN111209318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/24Querying
    • G06F16/248Presentation of query results
    • 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/23Updating
    • G06F16/2372Updates performed during offline database operations
    • 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)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of big data, and discloses a data analysis method based on a geographic position, which comprises the following steps: acquiring basic information data and geographical position data of a user, and storing the basic information data and the geographical position data in a pre-constructed database; updating the geographic position data in the database in real time to obtain a real-time geographic position data set; transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page; and analyzing the time-space track and the behavior track of the geographic position of the user according to the real-time geographic position data set and the basic information data displayed in the map page, and summarizing the obtained time-space geographic position analysis result and the obtained behavior geographic position analysis result to obtain the target geographic position. The invention also provides a data analysis device based on the geographic position, electronic equipment and a computer readable storage medium. The invention can realize accurate analysis of the geographical position.

Description

Geographic position data analysis method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of big data technologies, and in particular, to a method and an apparatus for analyzing data based on a geographic location, an electronic device, and a computer-readable storage medium.
Background
At present, regarding data analysis of geographic location information, most of domestic and overseas works in the prior art generally regard network data containing the geographic location information as objects for mining and analysis, and as main users for generating the geographic location information, research on change laws of time-space and behavior tracks of the users in an application scene is less, and meanwhile, the results of data analysis are not reproduced in a visual form.
Disclosure of Invention
The invention provides a method and a device for analyzing data based on a geographical position, electronic equipment and a computer readable storage medium, and mainly aims to automatically identify a target geographical position based on the analysis of time, space and behavior tracks of the geographical position of a user.
In order to achieve the above object, the present invention provides a data analysis method based on geographic location, including:
acquiring basic information data and geographical position data of a user from a geographical position acquisition device, and storing the basic information data and the geographical position data in a pre-constructed database;
updating the geographical position data in the database in real time by using a pre-compiled background updating program to obtain a real-time geographical position data set;
transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page;
analyzing the user geographical position by a space-time track and a behavior track according to the real-time geographical position data set and the basic information data displayed in the map page to obtain a space-time geographical position analysis result and a behavior geographical position analysis result;
and summarizing the time-space geographic position analysis result and the behavior geographic position analysis result to obtain the user target geographic position.
Optionally, the acquiring the basic information data and the geographic location data of the user from the geographic location acquiring device includes:
and extracting a user information code block from the geographic position acquisition device, and extracting the basic information data and the geographic position data of the user from the user information code block according to the writing rule of the user information code block.
Optionally, the acquiring a user information code block from the geographic position acquiring apparatus includes:
and acquiring a code development manual of the geographic position acquisition device, extracting key field information of a user information code block according to the code development manual, traversing the development code of the geographic position acquisition device according to the key word end information, and acquiring the user information code block.
Optionally, the extracting the basic information data and the geographic location data of the user from the user information code block includes:
and acquiring a login verification function where the basic information data and the geographical position data of the user are located according to a code development manual of the geographical position acquisition device, and extracting the basic information data and the geographical position data of the corresponding user from the user information code block according to the login verification function.
Optionally, the updating the geographic location data in the database in real time by using a pre-compiled background update program to obtain a real-time geographic location data set includes:
acquiring the latest geographical position data of the user in real time based on the geographical position acquisition device;
creating a task queue through a preset compiling language, and loading the latest geographical position data into the task queue;
and updating the geographic position data in the task queue according to a preset updating program segment to obtain the real-time geographic position data set.
Optionally, the transmitting and displaying the basic information data and the real-time geographic position data to a pre-constructed map page includes:
acquiring an API (application programming interface) of the map page, and establishing connection between the map page and the database according to the API to obtain a data transmission channel;
according to the data transmission channel, transmitting the basic information data and the real-time geographic position data set to a map page by using a preset script transmission tool, and marking the basic information data and the real-time geographic position data set in the map page by using a preset marking method to obtain a marking point;
and displaying the basic information data and the real-time geographic position data set in the map page according to the marking point.
Optionally, the behavior trace analysis comprises: analyzing a single-user behavior track and a multi-user behavior track;
wherein the single user behavior trace analysis comprises:
connecting the real-time geographic position data of the same user and the mark points of the basic information data displayed in the map page to form a fold line, and generating a single-user behavior track analysis result according to the mark points on the fold line;
the multi-user behavior trajectory analysis comprises:
and connecting the real-time geographic position data of all users displayed in the map page with the mark points of the basic information data to form grid lines, and generating a multi-user behavior track analysis result according to the mark points on the grid lines.
In order to solve the above problem, the present invention further provides a data analysis apparatus based on a geographical location, the apparatus comprising:
the acquisition and storage module is used for acquiring basic information data and geographical position data of a user from the geographical position acquisition device and storing the basic information data and the geographical position data in a pre-constructed database;
the updating module is used for updating the geographic position data in the database in real time by utilizing a pre-compiled background updating program to obtain a real-time geographic position data set;
the transmission module is used for transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page;
the analysis module is used for analyzing the space-time track and the behavior track of the user geographic position according to the real-time geographic position data set and the basic information data displayed in the map page to obtain a space-time geographic position analysis result and a behavior geographic position analysis result;
and the summarizing module is used for summarizing the time-space geographic position analysis result and the behavior geographic position analysis result to obtain the user target geographic position.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
a processor executing instructions stored in the memory to implement any of the above-described geographic location-based data analysis methods.
In order to solve the above problem, the present invention further provides a computer-readable storage medium having at least one instruction stored therein, where the at least one instruction is executed by a processor in an electronic device to implement the geographic location based data analysis method according to any one of the above aspects.
The embodiment of the invention obtains the basic information data and the geographical position data of a user from a geographical position obtaining device, updates the geographical position data in real time through a pre-compiled background updating program to obtain a real-time geographical position data set, ensures the real-time performance of the geographical position of the user, transmits the basic information data and the real-time geographical position data to a pre-constructed map page and displays the data, intuitively reflects the real-time geographical position change condition of the user, analyzes the space-time track and the behavior track of the geographical position of the user according to the real-time geographical position data and the basic information data displayed in the map page, generates a target geographical position according to the obtained analysis result of the space-time geographical position and the analysis result of the behavior geographical position, realizes the data analysis based on the geographical position change generated by the user as a main body, and ensures the effectiveness and the accuracy of the target geographical position, and the target geographic position is displayed in the form of a bar graph and a bar graph, so that the visual display of the target geographic position is realized.
Drawings
Fig. 1 is a schematic flow chart of a data analysis method based on geographic location according to an embodiment of the present invention;
FIG. 2 is a block diagram of a data analysis method based on geographic location according to an embodiment of the present invention;
fig. 3 is a schematic internal structural diagram of an electronic device according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a data entry method. Fig. 1 is a schematic flow chart of a data entry method according to an embodiment of the present invention. The method may be performed by an apparatus, which may be implemented by software and/or hardware.
In detail, in this embodiment, the method for data analysis based on geographic location includes:
and S1, acquiring the basic information data and the geographic position data of the user from the geographic position acquisition device, and storing the basic data and the geographic position data in a pre-constructed database.
In the preferred embodiment of the present invention, the geographic position acquiring device refers to a client with a GPS positioning function, such as an APP like *** map, hundredth map, hungry and peace pocket bank.
Preferably, in the embodiment of the present invention, the user information code block is acquired from the geographic position acquisition device, and the basic information data and the geographic position data of the user are extracted from the user information code block according to the writing rule of the user information code block.
In detail, the acquiring the user information code block from the geographical position acquiring device comprises: and acquiring a code development manual of the geographic position acquisition device, extracting key field information of a user information code block according to the code development manual, traversing the development code of the geographic position acquisition device according to the key word end information, and acquiring the user information code block.
If the code development manual of the safe pocket bank APP is developed based on JAVA language, wherein the key field of the code block for processing the user information is Dispose _ user _ message, the following user information code blocks are obtained through key field indexes:
Dispose_user_message(){
user information code block
}
Further, the extracting the basic information data and the geographical location data of the user from the user information code block according to the writing rule of the user information code block includes: and acquiring the basic information data of the user and the login verification function where the geographical position data is located from the code development manual of the geographical position acquisition device, and extracting corresponding information from the user information code block according to the login verification function.
Loose _ user _ message (), as described above, ready pocket
User information code block
}
Wherein, if the form of the login verification function is:
verify (parameter one, parameter two) { login authentication information }
And according to the login verification function, the basic information data and the geographical position data of the user can be directly obtained.
The basic information data of the user includes: name, age, gender, account number, password and the like, and the geographic position data of the user is the activity position of the user recorded every day when the user uses the geographic position acquisition device.
Further, the pre-constructed database according to the preferred embodiment of the present invention comprises: the MySQL database, wherein the step of storing the basic data and the geographic position data in a pre-constructed database comprises the following steps:
and three information tables are constructed in the database, and login verification information of the user, basic information data of the user and geographical position data of the user are respectively stored.
For example, acquiring the related information of pocket bank APP, establishing a database name named Pinganbank in the MySQL database, and then creating a table required by the database for storing different types of data. The database Pinganbank comprises a safe user login verification table, a user basic information table and a user geographical position information table, wherein the safe user login verification table is used for storing data such as an account number and a password of user login; the user basic information table is used for storing data of users including age, gender and the like; the safe user location code table is used for storing geographical location related code information (including longitude and latitude information and the like) of a user accessing a label of a school, a market and the like.
And S2, updating the geographical position data in the database in real time by using a pre-compiled background updating program to obtain a real-time geographical position data set.
Since the geographic location data of the user is in a constantly updated state when the user uses the geographic location obtaining device, if the starting geographic location of the young person is in school, thirst or belly-pulling when the young person uses the security pocket bank app, the next geographic location of the young person will appear in a store or a toilet, that is, the geographic location data corresponding to the user will change according to the change of the user's requirement, therefore, preferably, the embodiment of the present invention updates the geographic location data in the database in real time by using a pre-compiled background updating program to obtain the real-time geographic location data.
In detail, the pre-compiled background updating program is obtained by compiling through java language, and the real-time updating process includes: the method comprises the steps of acquiring latest geographical position data of a user in real time based on a geographical position acquisition device, creating a jobtask queue through java language, loading the latest geographical position data into the jobtask queue, and updating the geographical position data in the jobtask queue according to a preset updating program segment to obtain a real-time geographical position data set. The preset updating program segment can be a PL/SQL (Procedural Language/SQL) updating program segment.
And S3, transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page.
In at least one embodiment of the invention, the pre-built map page comprises: *** maps, Baidu maps, etc. The map page is a visual page and is used for visually displaying data change conditions. In detail, the transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page includes:
acquiring an API (application programming interface) of the map page, establishing connection between the map page and the database according to the API, acquiring a data transmission channel, transmitting the basic information data and the real-time geographic position data set to the map page by using a preset script transmission tool according to the data transmission channel, marking the basic information data and the real-time geographic position data set in the map page by using a preset marking method, acquiring a marking point, and displaying the basic information data and the real-time geographic position data set in the map page according to the marking point.
The preset script transmission tool is obtained by compiling through a java programming language, the preset marking method can be a field marking method, for example, a name field id in basic information data and a name field id of a real-time geographic position data set are selected, the name field id and the name field id are connected to form a one-to-one corresponding relation, and a specific geographic position of a certain user on a map page can be vividly displayed through the marking method.
S4, analyzing the user geographical position by the space-time track and the behavior track according to the real-time geographical position data set and the basic information data displayed in the map page to obtain a space-time geographical position analysis result and a behavior geographical position analysis result.
In at least one embodiment of the invention, the spatio-temporal analysis of the geographic position of the user mainly researches the spatial distribution of the position state of the user according to the daily analysis and the weekly analysis, and explores the spatio-temporal distribution rule of the geographic position acquisition device of the user by researching the geographic position of the user. Preferably, in the embodiment of the present invention, the spatiotemporal trajectory of the geographic position of the user is realized through the time variation of the real-time geographic position data set and the basic information data in the map page, so as to obtain a spatiotemporal geographic position analysis result.
The behavior trace analysis of the user geographical position mainly researches the rule of the user motion trace according to the user geographical position, and in detail, the behavior trace analysis comprises the following steps: single-user behavior trajectory analysis and multi-user line behavior trajectory analysis.
The single-user behavior trajectory analysis comprises: and connecting the real-time geographic position data set of the same user and the mark points of the basic information data displayed in the map page to form a fold line, and generating a single-user behavior track analysis result according to the mark points on the fold line, wherein the single-user behavior track analysis result can judge which places the user passes in the map page and more places the user passes in, so that the living area and the working area of the user, such as a residential building, a parking lot, a small shop and the like, can be distinguished.
The multi-subscriber line behavior trace analysis comprises: and connecting the real-time geographic position data of all users and the mark points of the basic information data displayed in the map page to form a grid line, and generating a multi-user behavior trajectory analysis result according to the mark points on the grid line, wherein the multi-user behavior trajectory analysis result can identify which areas in the map page are of multiple users in comparison with love, such as a dish market, a park, a supermarket and the like.
And combining the single-user behavior track analysis result and the multi-user line behavior track analysis result to obtain the behavior geographic position analysis result.
And S5, summarizing the space-time geographic position analysis result and the behavior geographic position analysis result to obtain the user target geographic position.
In the preferred embodiment of the invention, the space-time geographic position analysis result and the behavior geographic position analysis result are summarized to obtain the target geographic position of the user, and the target geographic position is displayed in the form of a bar graph or a bar graph.
Fig. 2 is a functional block diagram of the data analysis apparatus based on geographical location according to the present invention.
The storage 100 of the geographic location based data analysis of the present invention may be installed in an electronic device. Depending on the implemented functionality, the geographic location based data analysis device may include an acquisition and storage module 101, an update module 102, a transmission module 103, an analysis module 104, and an aggregation module 105. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the acquisition and storage module 101 is configured to acquire basic information data and geographical location data of a user from a geographical location acquisition device, and store the basic information data and the geographical location data in a pre-constructed database;
the updating module 102 is configured to update the geographic position data in the database in real time by using a pre-compiled background updating program to obtain a real-time geographic position data set;
the transmission module 103 is configured to transmit the basic information data and the real-time geographic location data set to a pre-constructed map page and display the pre-constructed map page;
the analysis module 104 is configured to perform spatio-temporal trajectory and behavior trajectory analysis on the geographic position of the user according to the real-time geographic position data set and the basic information data displayed in the map page to obtain a spatio-temporal geographic position analysis result and a behavior geographic position analysis result;
the summarizing module 105 is configured to summarize the time-space geographic position analysis result and the behavior geographic position analysis result to obtain the user target geographic position.
In detail, the specific implementation steps of each module of the data analysis device based on the geographic position are as follows:
the acquisition and storage module 101 acquires the basic information data and the geographical position data of the user from the geographical position acquisition device, and stores the basic information data and the geographical position data in a pre-constructed database.
In the preferred embodiment of the present invention, the geographic position acquiring device refers to a client with a GPS positioning function, such as an APP like *** map, hundredth map, hungry and peace pocket bank.
Preferably, in the embodiment of the present invention, the user information code block is acquired from the geographic position acquisition device, and the basic information data and the geographic position data of the user are extracted from the user information code block according to the writing rule of the user information code block.
In detail, the acquiring the user information code block from the geographical position acquiring device comprises: and acquiring a code development manual of the geographic position acquisition device, extracting key field information of a user information code block according to the code development manual, traversing the development code of the geographic position acquisition device according to the key word end information, and acquiring the user information code block.
If the code development manual of the safe pocket bank APP is developed based on JAVA language, wherein the key field of the code block for processing the user information is Dispose _ user _ message, the following user information code blocks are obtained through key field indexes:
Dispose_user_message(){
user information code block
}
Further, the extracting the basic information data and the geographical location data of the user from the user information code block according to the writing rule of the user information code block includes: and acquiring the basic information data of the user and the login verification function where the geographical position data is located from the code development manual of the geographical position acquisition device, and extracting corresponding information from the user information code block according to the login verification function.
Loose _ user _ message (), as described above, ready pocket
User information code block
}
Wherein, if the form of the login verification function is:
verify (parameter one, parameter two) { login authentication information }
And according to the login verification function, the basic information data and the geographical position data of the user can be directly obtained.
The basic information data of the user includes: name, age, gender, account number, password and the like, and the geographic position data of the user is the activity position of the user recorded every day when the user uses the geographic position acquisition device.
Further, the pre-constructed database according to the preferred embodiment of the present invention comprises: the MySQL database, wherein the step of storing the basic data and the geographic position data in a pre-constructed database comprises the following steps:
and three information tables are constructed in the database, and login verification information of the user, basic information data of the user and geographical position data of the user are respectively stored.
For example, acquiring the related information of pocket bank APP, establishing a database name named Pinganbank in the MySQL database, and then creating a table required by the database for storing different types of data. The database Pinganbank comprises a safe user login verification table, a user basic information table and a user geographical position information table, wherein the safe user login verification table is used for storing data such as an account number and a password of user login; the user basic information table is used for storing data of users including age, gender and the like; the safe user location code table is used for storing geographical location related code information (including longitude and latitude information and the like) of a user accessing a label of a school, a market and the like.
The updating module 102 updates the geographic position data in the database in real time by using a pre-compiled background updating program to obtain a real-time geographic position data set.
Since the geographic location data of the user is in a constantly updated state when the user uses the geographic location obtaining device, if the starting geographic location of the young person is in school, thirst or belly-pulling when the young person uses the security pocket bank app, the next geographic location of the young person will appear in a store or a toilet, that is, the geographic location data corresponding to the user will change according to the change of the user's requirement, therefore, preferably, the embodiment of the present invention updates the geographic location data in the database in real time by using a pre-compiled background updating program to obtain the real-time geographic location data.
In detail, the pre-compiled background updating program is obtained by compiling through java language, and the real-time updating process includes: the method comprises the steps of acquiring latest geographical position data of a user in real time based on a geographical position acquisition device, creating a jobtask queue through java language, loading the latest geographical position data into the jobtask queue, and updating the geographical position data in the jobtask queue according to a preset updating program segment to obtain a real-time geographical position data set. The preset updating program segment can be a PL/SQL (Procedural Language/SQL) updating program segment.
And the transmission module 103 transmits the basic information data and the real-time geographic position data set to a pre-constructed map page and displays the pre-constructed map page.
In at least one embodiment of the invention, the pre-built map page comprises: *** maps, Baidu maps, etc. The map page is a visual page and is used for visually displaying data change conditions. In detail, the transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page includes:
acquiring an API (application programming interface) of the map page, establishing connection between the map page and the database according to the API, acquiring a data transmission channel, transmitting the basic information data and the real-time geographic position data set to the map page by using a preset script transmission tool according to the data transmission channel, marking the basic information data and the real-time geographic position data set in the map page by using a preset marking method, acquiring a marking point, and displaying the basic information data and the real-time geographic position data set in the map page according to the marking point.
The preset script transmission tool is obtained by compiling through a java programming language, the preset marking method can be a field marking method, for example, a name field id in basic information data and a name field id of a real-time geographic position data set are selected, the name field id and the name field id are connected to form a one-to-one corresponding relation, and a specific geographic position of a certain user on a map page can be vividly displayed through the marking method.
The analysis module 104 analyzes the user geographical position according to the real-time geographical position data set and the basic information data displayed in the map page, and obtains a spatio-temporal geographical position analysis result and a behavior geographical position analysis result.
In at least one embodiment of the invention, the spatio-temporal analysis of the geographic position of the user mainly researches the spatial distribution of the position state of the user according to the daily analysis and the weekly analysis, and explores the spatio-temporal distribution rule of the geographic position acquisition device of the user by researching the geographic position of the user. Preferably, in the embodiment of the present invention, the spatiotemporal trajectory of the geographic position of the user is realized through the time variation of the real-time geographic position data set and the basic information data in the map page, so as to obtain a spatiotemporal geographic position analysis result.
The behavior trace analysis of the user geographical position mainly researches the rule of the user motion trace according to the user geographical position, and in detail, the behavior trace analysis comprises the following steps: single-user behavior trajectory analysis and multi-user line behavior trajectory analysis.
The single-user behavior trajectory analysis comprises: and connecting the real-time geographic position data set of the same user and the mark points of the basic information data displayed in the map page to form a fold line, and generating a single-user behavior track analysis result according to the mark points on the fold line, wherein the single-user behavior track analysis result can judge which places the user passes in the map page and more places the user passes in, so that the living area and the working area of the user, such as a residential building, a parking lot, a small shop and the like, can be distinguished.
The multi-subscriber line behavior trace analysis comprises: and connecting the real-time geographic position data of all users and the mark points of the basic information data displayed in the map page to form a grid line, and generating a multi-user behavior trajectory analysis result according to the mark points on the grid line, wherein the multi-user behavior trajectory analysis result can identify which areas in the map page are of multiple users in comparison with love, such as a dish market, a park, a supermarket and the like.
And combining the single-user behavior track analysis result and the multi-user line behavior track analysis result to obtain the behavior geographic position analysis result.
The summarizing module 105 summarizes the time-space geographic position analysis result and the behavior geographic position analysis result to obtain the user target geographic position.
In the preferred embodiment of the invention, the space-time geographic position analysis result and the behavior geographic position analysis result are summarized to obtain the target geographic position of the user, and the target geographic position is displayed in the form of a bar graph or a bar graph.
Fig. 3 is a schematic structural diagram of an electronic device implementing the method for analyzing data based on geographical locations according to the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a geographical position based data analysis program, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of data analysis programs based on geographical locations, etc., but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., data analysis programs based on geographical locations, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The geographic location based data analysis program 12 stored by the memory 11 in the electronic device 1 is a combination of instructions that, when executed in the processor 10, may implement:
acquiring basic information data and geographical position data of a user from a geographical position acquisition device, and storing the basic information data and the geographical position data in a pre-constructed database;
updating the geographical position data in the database in real time by using a pre-compiled background updating program to obtain a real-time geographical position data set;
transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page;
analyzing the user geographical position by a space-time track and a behavior track according to the real-time geographical position data set and the basic information data displayed in the map page to obtain a space-time geographical position analysis result and a behavior geographical position analysis result;
and summarizing the time-space geographic position analysis result and the behavior geographic position analysis result to obtain the user target geographic position.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (7)

1. A method for geographic location based data analysis, the method comprising:
acquiring basic information data and geographical position data of a user from a geographical position acquisition device, and storing the basic data and the geographical position data in a pre-constructed database, wherein the geographical position acquisition device is a client with a GPS positioning function, and the database comprises: the MySQL database, wherein the step of storing the basic data and the geographic position data in a pre-constructed database comprises the following steps: establishing three information tables in the database, and respectively storing login verification information of the user, basic information data of the user and geographical position data of the user;
updating the geographical position data in the database in real time by using a pre-compiled background updating program to obtain a real-time geographical position data set;
transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page;
analyzing the user geographical position by a space-time track and a behavior track according to the real-time geographical position data set and the basic information data displayed in the map page to obtain a space-time geographical position analysis result and a behavior geographical position analysis result;
summarizing the time-space geographic position analysis result and the behavior geographic position analysis result to obtain a user target geographic position;
the acquiring of the basic information data and the geographical position data of the user from the geographical position acquiring device comprises:
extracting a user information code block from the geographical position acquisition device, and extracting basic information data and geographical position data of the user from the user information code block according to a writing rule of the user information code block;
the acquiring of the user information code block from the geographical position acquiring device comprises:
acquiring a code development manual of the geographic position acquisition device, extracting key field information of a user information code block according to the code development manual, traversing development codes of the geographic position acquisition device according to the key word end information, and acquiring the user information code block;
the extracting of the basic information data and the geographical location data of the user from the user information code block includes:
and acquiring a login verification function where the basic information data and the geographical position data of the user are located according to a code development manual of the geographical position acquisition device, and extracting the basic information data and the geographical position data of the corresponding user from the user information code block according to the login verification function.
2. The method of claim 1, wherein the updating the geographic location data in the database in real-time using a pre-compiled background update procedure to obtain a real-time geographic location data set comprises:
acquiring the latest geographical position data of the user in real time based on the geographical position acquisition device;
creating a task queue through a preset compiling language, and loading the latest geographical position data into the task queue;
and updating the geographic position data in the task queue according to a preset updating program segment to obtain the real-time geographic position data set.
3. The method of geographic location based data analysis of claim 1 wherein said transmitting and displaying said base information data and real-time geographic location data sets into a pre-constructed map page comprises:
acquiring an API (application programming interface) of the map page, and establishing connection between the map page and the database according to the API to obtain a data transmission channel;
according to the data transmission channel, transmitting the basic information data and the real-time geographic position data to a map page by using a preset script transmission tool, and marking the basic information data and the real-time geographic position data set in the map page by using a preset marking method to obtain a marking point;
and displaying the basic information data and the real-time geographic position data set in the map page according to the marking point.
4. The geographic location based data analysis method of claim 1, wherein the behavior trace analysis comprises: analyzing a single-user behavior track and a multi-user behavior track;
wherein the single user behavior trace analysis comprises:
connecting the real-time geographic position data of the same user and the mark points of the basic information data displayed in the map page to form a fold line, and generating a single-user behavior track analysis result according to the mark points on the fold line;
the multi-user behavior trajectory analysis comprises:
and connecting the real-time geographic position data of all users displayed in the map page with the mark points of the basic information data to form grid lines, and generating a multi-user behavior track analysis result according to the mark points on the grid lines.
5. An apparatus for geographic location based data analysis, the apparatus comprising:
the acquisition and storage module is used for acquiring basic information data and geographical position data of a user from a geographical position acquisition device and storing the basic data and the geographical position data in a pre-constructed database, wherein the database comprises: the MySQL database, wherein the step of storing the basic data and the geographic position data in a pre-constructed database comprises the following steps: establishing three information tables in the database, and respectively storing login verification information of the user, basic information data of the user and geographical position data of the user;
the updating module is used for updating the geographic position data in the database in real time by utilizing a pre-compiled background updating program to obtain a real-time geographic position data set;
the transmission module is used for transmitting the basic information data and the real-time geographic position data set to a pre-constructed map page and displaying the pre-constructed map page;
the analysis module is used for analyzing the space-time track and the behavior track of the user geographic position according to the real-time geographic position data set and the basic information data displayed in the map page to obtain a space-time geographic position analysis result and a behavior geographic position analysis result;
the summarizing module is used for summarizing the time-space geographic position analysis result and the behavior geographic position analysis result to obtain a user target geographic position;
the acquiring of the basic information data and the geographical position data of the user from the geographical position acquiring device comprises:
extracting a user information code block from the geographical position acquisition device, and extracting basic information data and geographical position data of the user from the user information code block according to a writing rule of the user information code block;
the acquiring of the user information code block from the geographical position acquiring device comprises:
acquiring a code development manual of the geographic position acquisition device, extracting key field information of a user information code block according to the code development manual, traversing development codes of the geographic position acquisition device according to the key word end information, and acquiring the user information code block;
the extracting of the basic information data and the geographical location data of the user from the user information code block includes:
and acquiring a login verification function where the basic information data and the geographical position data of the user are located according to a code development manual of the geographical position acquisition device, and extracting the basic information data and the geographical position data of the corresponding user from the user information code block according to the login verification function.
6. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of geographic location based data analysis of any of claims 1 to 4.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method for geographic location based data analysis as claimed in any one of claims 1 to 4.
CN202010009221.0A 2020-01-02 2020-01-02 Geographic position data analysis method and device, electronic equipment and storage medium Active CN111209318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010009221.0A CN111209318B (en) 2020-01-02 2020-01-02 Geographic position data analysis method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010009221.0A CN111209318B (en) 2020-01-02 2020-01-02 Geographic position data analysis method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111209318A CN111209318A (en) 2020-05-29
CN111209318B true CN111209318B (en) 2020-09-08

Family

ID=70785544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010009221.0A Active CN111209318B (en) 2020-01-02 2020-01-02 Geographic position data analysis method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111209318B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112232444B (en) * 2020-11-23 2024-02-27 ***通信集团江苏有限公司 Method, device, equipment and storage medium for determining geographic position data of object
CN115344628B (en) * 2022-08-15 2023-03-31 北京索为云网科技有限公司 Space-time information system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391869A (en) * 2014-10-27 2015-03-04 百度在线网络技术(北京)有限公司 Electronic map data updating method and device
CN105183800A (en) * 2015-08-25 2015-12-23 百度在线网络技术(北京)有限公司 Information prediction method and apparatus
CN107508793A (en) * 2017-07-13 2017-12-22 微梦创科网络科技(中国)有限公司 A kind of method and device based on towards tangent plane programming AOP certifications and mandate
CN107820214A (en) * 2017-09-28 2018-03-20 长安大学 A kind of user trajectory analysis system based on time suboptimal control
CN108509434A (en) * 2017-02-23 2018-09-07 ***通信有限公司研究院 A kind of method for digging and device of group of subscribers

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8970349B2 (en) * 2011-06-13 2015-03-03 Tyco Integrated Security, LLC System to provide a security technology and management portal
US20170185992A1 (en) * 2015-12-23 2017-06-29 Zoomtoll, LLC Software application for smart city standard platform
CN110232104B (en) * 2019-06-13 2024-02-02 腾讯科技(深圳)有限公司 Data display method and device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391869A (en) * 2014-10-27 2015-03-04 百度在线网络技术(北京)有限公司 Electronic map data updating method and device
CN105183800A (en) * 2015-08-25 2015-12-23 百度在线网络技术(北京)有限公司 Information prediction method and apparatus
CN108509434A (en) * 2017-02-23 2018-09-07 ***通信有限公司研究院 A kind of method for digging and device of group of subscribers
CN107508793A (en) * 2017-07-13 2017-12-22 微梦创科网络科技(中国)有限公司 A kind of method and device based on towards tangent plane programming AOP certifications and mandate
CN107820214A (en) * 2017-09-28 2018-03-20 长安大学 A kind of user trajectory analysis system based on time suboptimal control

Also Published As

Publication number Publication date
CN111209318A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN103986782A (en) Position server and signing-in processing method
CN103927374B (en) A kind of Web GIS map layer creation method based on SharpMap
CN111209318B (en) Geographic position data analysis method and device, electronic equipment and storage medium
CN107220308B (en) Method, device and equipment for detecting rationality of POI (Point of interest) and readable medium
CN102833320A (en) Web client system of GPS (Global Positioning System) vehicle monitoring system
CN110781263A (en) House resource information display method and device, electronic equipment and computer storage medium
CN111950621A (en) Target data detection method, device, equipment and medium based on artificial intelligence
CN102279740A (en) Reflection over objects
CN113506045A (en) Risk user identification method, device, equipment and medium based on mobile equipment
CN109492033B (en) Ethnic group chart creating and displaying method and device
CN113050856B (en) Interaction method, interaction device, storage medium and electronic equipment
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN114006885A (en) Data acquisition method and device based on intelligent equipment and electronic equipment
CN103984515A (en) Position information display device, position information display method and monitoring terminal
CN111698645A (en) Position information acquisition method and device, computer equipment and storage medium
CN111046062A (en) Applet data acquisition method, intelligent terminal and storage medium
KR20180092682A (en) Smart work system and method the same
CN108133029B (en) Map element adjusting method, device and equipment and computer-readable storage medium
CN114637866A (en) Information management method and device for digital new media
CN113868360A (en) Address data processing method and device, electronic equipment and storage medium
US20160267093A1 (en) Geolocation and practice setting based training filtering
CN108280139B (en) POI data processing method, device, equipment and computer readable storage medium
JP2012150684A (en) Information providing device, information providing method and information providing program
Wang et al. Design and realization of the traffic police mobile office system based on Android
CN109933493A (en) Information processing method and its device, computer system and computer-readable medium

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