CN108391235A - A kind of data analysing method and device - Google Patents

A kind of data analysing method and device Download PDF

Info

Publication number
CN108391235A
CN108391235A CN201810150323.7A CN201810150323A CN108391235A CN 108391235 A CN108391235 A CN 108391235A CN 201810150323 A CN201810150323 A CN 201810150323A CN 108391235 A CN108391235 A CN 108391235A
Authority
CN
China
Prior art keywords
communications records
user
state
log
current
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.)
Granted
Application number
CN201810150323.7A
Other languages
Chinese (zh)
Other versions
CN108391235B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810150323.7A priority Critical patent/CN108391235B/en
Publication of CN108391235A publication Critical patent/CN108391235A/en
Application granted granted Critical
Publication of CN108391235B publication Critical patent/CN108391235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

A kind of data analysing method of present invention offer and device, are related to the communications field, the analysis that can be refined to the operation information of user based on mobile data, and abundant information is provided for geographical portraying for portrait.This method includes:Mobile data is obtained, the mobile data corresponds to a user;Wherein, every communications records include user identifier, communications records timestamp and location information;Corresponding geographical location is obtained according to the location information in communications records described in every;According to (n+1)th communications records in nth bar communications records communications records timestamp and (n+1)th communications records geographical location corresponding with nth bar communications records, determine the log of the user;The log includes User Status, starting point, the point of arrival, state duration, trip number and sub- trip number;Wherein, the User Status includes resident state or travel condition.

Description

A kind of data analysing method and device
Technical field
The present invention relates to the communications field more particularly to a kind of data analysing methods and device.
Background technology
With the development of the development of Internet technology, the communication technology, especially mobile communication and software technology, to be based on moving The customer analysis system of dynamic communication data engine provides feasibility.It is currently based on mobile data and carries out answering for data analysis In, assist the demand of urban planning and traffic programme relevant Decision more and more, the relevant technologies and analysis and research are also increasingly It is more.But existing patented technology more concentrates on the analysis to user characteristics, in the signature analysis side drawn a portrait to geographic area Face research is less;And in the research of User Activity track and mode of transportation, existing User Activity chained record mode cannot Presentation user's Behavior law is refined, further more accurate analysis is carried out to User Activity track.
Invention content
A kind of data analysing method of the application offer and device, can be based on mobile data to the operation information of user The analysis refined provides abundant information for geographical portraying for portrait, and be further the functional planning of geographic area, Traffic programme etc. provides information and guides.
In order to achieve the above objectives, the application adopts the following technical scheme that:
In a first aspect, the application provides a kind of data analysing method, this method may include:
Mobile data is obtained, the mobile data corresponds to a user, and the mobile data includes At least two communications records;Wherein, every communications records include user identifier, communications records timestamp and position letter Breath;The communications records according to communications records timestamp according to the time being ranked sequentially after arriving first;According to communication described in every Location information in record obtains corresponding geographical location;According to the communication in (n+1)th communications records and nth bar communications records Logging timestamp and (n+1)th communications records geographical location corresponding with nth bar communications records, determine the one of the user Log;Wherein, the time interval of (n+1)th communications records and nth bar communications records is a recording period; The log includes User Status, starting point, the point of arrival, state duration, trip number and sub- trip number;Its In, the User Status includes resident state or travel condition;If the User Status is resident state, the starting point is The starting point of user, the point of arrival are the point of arrival of current record time section user under current resident state, and the state is held The continuous time is the retention time that user is in resident state, and the trip number is that the stroke that user is in lastrow into state is compiled Number, the sub- trip number be user be in lastrow into the last one sub-line journey when state sub- trip number;If the use Family state is travel condition, then the starting point is the starting point of current record time section user, and the point of arrival is current note The point of arrival of period user is recorded, the state duration is the time that current record time section user keeps travel condition, The trip number is the trip number that user is in current travel condition, and the sub- trip number is used for current record time section The sub- trip number at family.
Second aspect, the application provide a kind of data analysis set-up, which includes:Acquisition module and determining module.Its In, acquisition module, for obtaining mobile data, the mobile data corresponds to a user, the mobile communication number According to including at least two communications records;Wherein, every communications records include user identifier, communications records timestamp and Location information;The communications records according to communications records timestamp according to the time being ranked sequentially after arriving first;The acquisition mould Block is additionally operable to obtain corresponding geographical location according to the location information in communications records described in every;Determining module is used for basis (n+1)th communications records in nth bar communications records communications records timestamp and (n+1)th communications records communicated with nth bar Corresponding geographical location is recorded, determines the log of the user;Wherein, (n+1)th communications records with The time interval of nth bar communications records is a recording period;The log includes User Status, starting point, arrival Point, state duration, trip number and sub- trip number;Wherein, the User Status includes resident state or travel condition; If the User Status is resident state, the starting point is the starting point of user under current resident state, the point of arrival For the point of arrival of current record time section user, the state duration is the retention time that user is in resident state, institute It is that user is in lastrow into the trip number of state to state trip number, and the sub- trip number is that user is in lastrow into shape The sub- trip number of the last one sub-line journey when state;If the User Status is travel condition, the starting point is current note The starting point of period user is recorded, the point of arrival is the point of arrival of current record time section user, the state duration It is kept for current record time section user the time of travel condition, the trip number is the row that user is in current travel condition Journey is numbered, and the sub- trip number is the sub- trip number of current record time section user.
The third aspect, the application provide a kind of data analysis set-up, which includes:Processor, transceiver and memory. Wherein, memory is for storing computer executed instructions, and when the apparatus is operative, processor executes the meter of memory storage Calculation machine executes instruction, so that the data described in one of arbitrary in device execution first aspect and its various optional realization methods Analysis method.
Fourth aspect, the application provide a kind of computer readable storage medium, are stored in computer readable storage medium One or more programs, one or more programs include computer executed instructions, when the processor of the data analysis set-up executes When the computer executed instructions, which executes arbitrary in above-mentioned first aspect and its various optional realization methods One of described in data analysing method.
Data analysing method and device provided by the present application obtain the operation information of user according to mobile data, In include the resident state of user and the details of travel condition, compared with prior art according to mobile data for The analysis of user, data analysing method provided in an embodiment of the present invention is more detailed to the analysis of user's operation information, can be fine Change presentation user's Behavior law, more rich information is provided for urban planning and traffic programme.
Description of the drawings
Fig. 1 is data analysing method schematic diagram one provided in an embodiment of the present invention;
Fig. 2 is data analysing method schematic diagram two provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram one of data analysis set-up provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram two of data analysis set-up provided in an embodiment of the present invention.
Specific implementation mode
Data analysing method provided in an embodiment of the present invention and device are described in detail below in conjunction with the accompanying drawings.
The terms "and/or", only a kind of incidence relation of description affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate:Individualism A exists simultaneously A and B, these three situations of individualism B.
Term " first " and " second " etc. in the specification and attached drawing of the present invention be for distinguishing different objects, or Person is used to distinguish the different disposal to same target, rather than for the particular order of description object.
In addition, the term " comprising " and " having " being previously mentioned in description of the invention and their any deformation, it is intended that It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have It is defined in the step of having listed or unit, but further includes the steps that optionally that other are not listed or unit, or optionally Further include for the intrinsic other steps of these processes, method, product or equipment or unit.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
In the description of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more.
Data analysing method provided in an embodiment of the present invention can be applied to the communication data in analysis mobile communications network, The mobile communications network can be the 5th generation (5th generation, 5G) mobile communications network, can also be forth generation (4th Generation, 4G) (such as:Evolved Packet System (evolved packet system, EPS) mobile communications network, may be used also Think that other actual mobile communications networks, the present invention not limit.
The embodiment of the present invention provides a kind of data analysing method, is applied to data analysis set-up, as shown in Figure 1, this method May include S101-S103:
S101, mobile data is obtained.
Optionally, data analysis set-up obtains mobile data from mobile communications network, and mobile data can be with Including control signaling and user plane event data.Illustratively, control signaling can be the second generation (2th generation, 2G) The control signaling of A interfaces and Gb Interface in mobile communications network can also be that the third generation (3th generation, 3G) is mobile logical In communication network in the control signaling or 4G networks of Iu-cs interfaces and Iu-ps interfaces S1-MME interface control signaling;With Family face event data can be the user plane event data in 2G, 3G or 4G network;The embodiment of the present invention is to this without limit It is fixed.
Optionally, control signaling includes user identifier, cell ID, communications records timestamp etc.;User plane event number According to including user identifier, user location longitude and latitude, communications records timestamp etc..
Optionally, the mobile data of acquisition is integrated according to user identifier and communications records timestamp.Specifically , according to user identifier, the control signaling of same user and user plane event data are integrated into one group;Note will be communicated in every group The identical control signaling of record timestamp and user plane event data merge into a communications records;When then, according to communications records Between stamp according to the time be ranked sequentially communications records in every group after arriving first.Mobile data after integration is according to different use Family is divided into different groups, and every group includes at least two communications records, communications records being ranked sequentially after arriving first according to the time; Every communications records include user identifier, communications records timestamp and location information, wherein location information includes cell ID With user location longitude and latitude.
S102, corresponding geographical location is obtained according to the location information in communications records described in every.
Specifically, the location information in communications records corresponds to actual geographical location.Illustratively, can be believed by geography The tools such as system software ARCGIS are ceased, Thiessen polygon is generated according to the location information in communications records, is got correspondingly Figure layer is managed, the correspondence of the location information and actual geographical location in communications records is obtained.
Optionally, the information in the corresponding geographical location got can be increased in every communications records.
S103, the operation information for determining user.
Optionally, according to the corresponding one group of communications records of each user, it may be determined that the operation information of a user.
Specifically, the operation information of each user includes at least one log, wherein each log includes User Status, starting point, the point of arrival, state duration, trip number and sub- trip number, wherein User Status includes staying Stay state or travel condition.Further, the running orbit of each user can be obtained according to the operation information of each user.
Optionally, a geographical position range and regular hour range can be preset, the communications records of user are carried out Screening.It determines to meet according to the communications records timestamp in the corresponding geographical location of every communications records and every communications records The communications records of preset geographical position range and preset time range.It, can be to one according to the communications records filtered out User analyzes with the running orbit in scheduled geographical position range in predetermined time range.It further, can be with It is specified to obtain by analyzing the running orbit of all users in scheduled time range and in scheduled geographical position range User's stroke characteristic in region and period.
Optionally, as shown in Fig. 2, according to the corresponding one group of communications records of each user, the operation letter of a user is determined The method of breath may include S1031-S1035:
S1031, the corresponding nth bar communications records of a user are obtained.
Specifically, the corresponding nth bar communications records of a user are obtained, the communications records time in nth bar communications records Stamp is Tn, the corresponding geographical location of nth bar communications records is denoted as Rn
Illustratively, the 1st article of communications records, i.e. n=of user can be obtained first according to sequence of the time after arriving first 1。
Specifically, as n=1, the operation information of user includes a log.Wherein, the operation note User Status, starting point, the point of arrival, state duration, trip number and the sub- trip number of record are initial value.It is exemplary , User Status is set as resident state, and starting point is the 1st article of corresponding geographical location of communications records, and the point of arrival is the 1st article logical Letter records corresponding geographical location, and state duration 0, trip number and sub- trip number are 0.
S1032, corresponding (n+1)th communications records of a user are obtained.
Specifically, corresponding (n+1)th communications records of a user are obtained, the communications records in (n+1)th communications records Time stab is Tn+1, the corresponding geographical location of (n+1)th communications records is denoted as Rn+1
Illustratively, the sequence according to the time after arriving first obtains the 2nd article of communications records of user, wherein n=1.
Specifically, the time interval of (n+1)th communications records and nth bar communications records is a recording period.Example Property, duration=T of n-th of recording periodn+1-Tn
S1033, it is determined currently according to corresponding geographical location in (n+1)th communications records and nth bar communications records User Status;If the corresponding geographical location of (n+1)th communications records is with nth bar communications records at a distance from corresponding geographical location Less than or equal to the first preset value, then current User Status is resident state, executes S1034;If (n+1)th communications records corresponds to Geographical location be more than the first preset value, then current User Status at a distance from corresponding geographical location with nth bar communications records For travel condition, S1035 is executed.
Specifically, judging Rn+1With RnDistance whether be more than the first preset value, if Rn+1With RnDistance to be more than first pre- If value, then current User Status is travel condition;If Rn+1With RnDistance be less than or equal to the first preset value, then it is current User Status is resident state.
Wherein, the specific value of the first preset value may be set according to actual conditions, when the distance of user's movement is more than the When one preset value, show that the cell that user is resident is changed.For example, being disposed according to physical device, within the scope of target area The distance between different community be all higher than equal to 1 kilometer, then can set the first preset value as 1 kilometer.
S1034, the corresponding current log of resident state is determined according to a upper log, execute S1031 later.
Optionally, current User Status is resident state, and current resident shape can be determined according to a upper log Whether state is newly resident.
Specifically, if the User Status of a upper log is travel condition, current resident state is newly to be resident, Increase a log in the operation information of user newly.In a newly-increased log, User Status is resident state, is set out Point is the corresponding geographical location R of nth bar communications recordsn, the point of arrival is the corresponding geographical location R of (n+1)th communications recordsn+1, shape The state duration is Tn+1-Tn, trip number is the trip number of a upper log, and sub- trip number is a upper log Sub- trip number.In the corresponding log of new resident state, starting point and the point of arrival are had recorded respectively in this record Between in section geographical location starting point and the point of arrival, that is, embody in the new resident state duration, the geographical location of user Variation;State duration embodies new resident state duration;Due to new resident state not correspondence course, trip number Constant relative to a upper log with sub- trip number, record is trip number and sub-line journey volume of the lastrow into state Number.
If the User Status of a upper log is resident state, current resident state is the continuity of resident state, Update the corresponding log of a resident state.Wherein, User Status does not update, and starting point does not update, point of arrival update For the corresponding geographical location R of (n+1)th communications recordsn+1, state duration is that state duration adds in a upper log Upper Tn+1-Tn, trip number do not update, and sub- trip number does not update.Updated log, starting point is constant, and the point of arrival is more Newly for current newest user location, embody in the entire resident state duration, the variation in the geographical location of user;Shape The state duration embodies entire resident state duration;Trip number and sub-line journey number record are lastrows into shape The trip number of state and sub- trip number.
S1035, the corresponding current log of travel condition is determined according to a upper log, execute S1031 later.
Optionally, current User Status is travel condition, can be according to the User Status and state of a upper log Duration determine current travel condition it is corresponding be independent stroke or lastrow journey sub-line journey.
Specifically, if the User Status of a upper log is resident state and state duration is more than second and presets Value, then it is independent stroke that current travel condition is corresponding, and it is corresponding to increase an independent stroke newly in the operation information of user Log.Wherein, User Status is travel condition, and starting point is the corresponding geographical location R of nth bar communications recordsn, the point of arrival For the corresponding geographical location R of (n+1)th communications recordsn+1, state duration Tn+1-Tn, trip number is a upper independent rows The trip number of the corresponding log of journey adds 1, and sub- trip number is preset initial value.Wherein, the second preset value can root Be arranged according to practical situations, for show user resident state short stay time.For example, can be by the second preset value It is set as 2 minutes.In the corresponding log of independent stroke, starting point and the point of arrival are had recorded respectively in this recording period The starting point and the point of arrival in interior geographical location embody the variation in the geographical location of user in this independent stroke;State continues Time embodies independent stroke duration;Trip number is incremented by according to the number of the independent stroke of user;Due to being independent Stroke, does not include sub-line journey, and sub- trip number is preset initial value.Illustratively, preset initial value is 0.
If the User Status of a upper log is resident state and state duration is less than or equal to the second preset value, or The User Status of a upper log be travel condition, then current travel condition it is corresponding be upper one independent stroke sub-line Journey increases the corresponding log of a strip stroke newly.Wherein, User Status is travel condition, and starting point is nth bar communications records Corresponding geographical location Rn, the point of arrival is the corresponding geographical location R of (n+1)th communications recordsn+1, state duration Tn+1- Tn, trip number is the trip number of a upper log, and sub- trip number is that the sub- trip number of a upper log adds 1. In the corresponding log of sub-line journey, starting point and the point of arrival have recorded going out in this recording period geographical location respectively Hair point and the point of arrival, that is, embody the variation in the geographical location of user in book stroke;State duration embodies this sub-line Journey duration;Trip number has recorded the number for the independent stroke for including book stroke;Sub- trip number embodies this Number of the sub-line journey in including the independent stroke of book stroke.
Further, S1031-S1035 is executed in cycle, is got pair until according to the corresponding one group of communications records of user After all logs answered, all logs constitute the operation information of user.It is exemplary, one group of communication of a user Record and the operation information correspondence of user are as shown in table 1.It should be noted that table 1 is merely for convenience of being better understood from Correspondence between the one group of communications records and the operation information of user of user, is not the limit to the operation information of user Fixed, in actual use, the operation information of user can also include other content, can also exist otherwise, the present invention Embodiment is to this without limiting.
Table 1
As shown in table 1, User Status includes resident state or travel condition in operation information;If User Status is resident shape State, then starting point is the starting point of user under current resident state, and the point of arrival is the point of arrival of current record time section user, shape The state duration is the retention time that user is in resident state, and trip number is that the stroke that user is in lastrow into state is compiled Number, sub- trip number be user be in lastrow into the last one sub-line journey when state sub- trip number;If User Status is Travel condition, then starting point is the starting point of current record time section user, and the point of arrival is arriving for current record time section user Up to point, state duration is the time that current record time section user keeps travel condition, and trip number is in for user works as The trip number of preceding travel condition, sub- trip number are the sub- trip number of current record time section user.
Specifically, in the corresponding log of first communications records, User Status, starting point, the point of arrival, state are lasting Time, trip number and sub- trip number are initial value.There are three resident state, first resident states altogether in operation information In, the change in location during being resident is that position 2 is arrived in position 1, and it is 12s to be resident the duration;In second resident state, it is resident the phase Between change in location be position 5 arrive position 6, be resident the duration be 2s;In third resident state, the position during being resident becomes Position 7 to position 9 is turned to, it is 55s to be resident the duration, it can be seen that communications records 7-9 defines the resident shape of third State, third resident state continue for two recording periods.
Altogether there are two travel condition in operation information, first travel condition is stroke 1, contains 4 sub- strokes, second A travel condition is stroke 2.According to the log of operation information, can obtain change in location during each sub-line journey and Duration, it is also possible to obtain the change in location under travel condition and duration.For example, the position of the sub-line journey 3 of stroke 1 becomes Position 6 to position 7 is turned to, 3 duration of sub-line journey is 252s;According to the sub-line journey 0 of stroke 1, sub-line journey 1, sub-line journey 2 and son The information of stroke 3, the change in location that can get stroke 1 are position 2 to position 7, and 1 duration of stroke is 7s+34s+20s + 252s=313s.
It should be noted that between the sub-line journey 2 and sub-line journey 3 of stroke 1, there are one resident state, the resident states 2s has been only lasted for, has been of short duration resident in stroke state, according to judgment rule " if the User Status of a upper log is resident State and state duration are less than or equal to the second preset value, then current travel condition it is corresponding be lastrow journey sub-line Journey ", a stroke after the resident state is the sub-line journey 3 of stroke 1, rather than independent stroke 2.
It further, can be according to the fortune of user after the operation information that at least one user is determined according to S101-S103 Row information analyzes the running orbit of user.For example, according to the resident state duration of user, it can be by resident state It is resident, short resident and ultrashort resident to divide into length, for reflecting that user reaches the purpose of a certain address.Wherein long be resident can be used In information such as permanent residence, the places of working of reflection user, short be resident can be used for reflecting that user goes on a journey and reaches a certain address temporarily Information, it is ultrashort resident to can be used for reflecting that user encounters incident during trip in a certain address.For example, according to The starting point and the point of arrival of the travel condition at family can reflect the relationship between two in stroke positions;First, according to user's row The source address and destination address of journey, travel intensity relationship between geographic area can be reflected by being further advanced by clustering;The Two, according to the starting point of user's stroke, the point of arrival and state duration, it can reflect user's trip spent time, go out The selected main traffic mode of capable rate and trip, can further reflect the convenient traffic degree between geographic area, And mode of transportation Plant composition;Wherein, sub-line journey mainly reflects the details during trip, on the one hand can reflect that user goes on a journey The location track undergone, by being fitted with road network, can obtain traffic route of the user selected in the cross-talk stroke and On the one hand mode of transportation can reflect travel time of the user in the cross-talk stroke, trip rate;Third is advanced according to user The stroke of state and sub- travel information can reflect sub- number of runs of a user during stroke is gone on a journey, each section of traffic Trip characteristics, intermediate park feature, to embody the abundant information in user's trip.
Can be that geographical portraying for portrait is provided in abundant information according to the operation information of the abundant user got Contain.When geography portrait it is clear enough when, further can for geographic area functional planning (such as:It is residence, place of working, interim Destination, incident destination are reserved), traffic programme (such as:Subway, public transport, walking, ride, taxi, self-driving, parking Road network resource distribution, route planning, the mating setting of field, net about vehicle etc.) etc. provide information guide.
Data analysing method provided by the present application obtains the operation information of user according to mobile data, including The resident state of user and the details of travel condition, compared with prior art according to mobile data for user's Analysis, data analysing method provided in an embodiment of the present invention is more detailed to the analysis of user's operation information, can refine presentation User behavior rule provides more rich information for urban planning and traffic programme.
It is above-mentioned that mainly scheme provided in an embodiment of the present invention is described from the angle of data analysis set-up.It can manage Solution, for data analysis set-up in order to realize above-mentioned function, it comprises execute the corresponding hardware configuration of each function and/or soft Part module.Those skilled in the art should be readily appreciated that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Data analysis set-up and algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Certain A function is executed in a manner of hardware or computer software driving hardware actually, depend on technical solution specific application and Design constraint.Professional technician can realize described work(using distinct methods to each specific application Can, but such implementation should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out function module or function list according to above method example to data analysis set-up The division of member, for example, can correspond to each function divides each function module or functional unit, it can also be by two or two Above function is integrated in a processing module.The form realization of hardware had both may be used in above-mentioned integrated module, can also It is realized in the form of software function module or functional unit.Wherein, module or unit are drawn in the embodiment of the present invention It is schematical, only a kind of division of logic function, formula that in actual implementation, there may be another division manner to divide.
The embodiment of the present invention provides a kind of data analysis set-up, and each function module is being divided using corresponding each function In the case of, Fig. 3 shows a kind of possible structural schematic diagram of data analysis set-up involved in above-described embodiment.The data Analytical equipment includes acquisition module 301 and determining module 302.
Wherein, the acquisition module 301, for obtaining mobile data, the mobile data corresponds to a use Family, the mobile data include at least two communications records;Wherein, every communications records include user's mark Knowledge, communications records timestamp and location information;The communications records according to communications records timestamp according to the time after arriving first It is ranked sequentially.
The acquisition module 301 is additionally operable to obtain corresponding geography according to the location information in communications records described in every Position.
The determining module 302, when for according to communications records in (n+1)th communications records and nth bar communications records Between stamp and (n+1)th communications records geographical location corresponding with nth bar communications records, determine that one of the user runs Record;Wherein, the time interval of (n+1)th communications records and nth bar communications records is a recording period;The fortune Row record includes User Status, starting point, the point of arrival, state duration, trip number and sub- trip number;Wherein, described User Status includes resident state or travel condition;If the User Status is resident state, the starting point is currently to stay It is the point of arrival of current record time section user, the state duration to stay the starting point of user under state, the point of arrival The retention time of resident state is in for user, the trip number is that user is in lastrow into the trip number of state, institute State sub- trip number be user be in lastrow into the last one sub-line journey when state sub- trip number;If the User Status For travel condition, then the starting point is the starting point of current record time section user, and the point of arrival is current record time The point of arrival of section user, the state duration are the time that current record time section user keeps travel condition, the row Journey number is the trip number that user is in current travel condition, and the sub- trip number is the son of current record time section user Trip number.
Optionally, the determining module 302 is according to the communications records in (n+1)th communications records and nth bar communications records Timestamp and (n+1)th communications records geographical location corresponding with nth bar communications records determine the fortune of the user Row record, specifically includes:According to (n+1)th communications records, corresponding geographical location determination is worked as with nth bar communications records Preceding User Status;Current log is determined according to the current User Status and a upper log.
Optionally, the determining module 302 is corresponding with nth bar communications records according to (n+1)th communications records Geographical location determines current User Status, specifically includes:The determining module 302 determines that (n+1)th communications records is corresponding Whether geographical location is more than the first preset value with nth bar communications records at a distance from corresponding geographical location;If the determining module 302 determine the corresponding geographical location of (n+1)th article of communications records with nth bar communications records at a distance from corresponding geographical location more than the One preset value, it is determined that the current User Status is travel condition;If the determining module 302 determines (n+1)th communication It records corresponding geographical location and is less than or equal to the first preset value at a distance from corresponding geographical location with nth bar communications records, then really The fixed current User Status is resident state.
Optionally, the determining module 302 determines currently according to the current User Status and a upper log Log specifically includes:If the determining module 302 determines that the current User Status is resident state and a upper operation The User Status of record is travel condition, then increases the corresponding log of a resident state newly;If the determining module 302 is true The fixed current User Status is that the User Status of resident state and a upper log is resident state, then updates one The corresponding log of resident state;If the determining module 302 determines that the current User Status is travel condition, root Current log is determined according to the User Status and state duration of a upper log;Wherein, if the determining module 302 determine that the User Status of a upper log is resident state and state duration is more than the second preset value, then increase one newly The corresponding log of item independence stroke;If the determining module 302 determines that the User Status of a upper log is resident shape It is travel condition that state and state duration, which are less than or equal to the second preset value or the User Status of a upper log, then increases newly The corresponding log of one strip stroke.
Optionally, the determining module 302 is additionally operable in the acquisition module 301 according in communications records described in every After location information obtains corresponding geographical location, according to the corresponding geographical location of communications records described in every and every communication note Communications records timestamp in record determines the communications records for meeting preset geographical position range and preset time range.
Optionally, the location information in the communications records includes:Cell ID and user location longitude and latitude.
Data analysis set-up provided in an embodiment of the present invention obtains the operation information of user according to mobile data, In include the resident state of user and the details of travel condition, compared with prior art according to mobile data for The analysis of user, data analysing method provided in an embodiment of the present invention is more detailed to the analysis of user's operation information, can be fine Change presentation user's Behavior law, more rich information is provided for urban planning and traffic programme.
Using integrated unit, Fig. 4 shows data analysis set-up involved in above-described embodiment A kind of possible structural schematic diagram.The data analysis set-up includes:Processing unit 402 and communication unit 403.Processing unit 402 For carrying out control management to the action of data analysis set-up, for example, executing above-mentioned acquisition module 301, determining module 302 executes The step of, and/or other processes for executing techniques described herein.Communication unit 403 is for supporting data analysis to fill Set the communication with other network entities.Data analysis set-up can also include storage unit 401 and bus 404, storage unit 401 The program code and data of analytical equipment for storing data.
Wherein, above-mentioned processing unit 402 can be the processor or controller in data analysis set-up, the processor or control Device processed may be implemented or execute various illustrative logic blocks, module and circuit in conjunction with described in the disclosure of invention. The processor or controller can be central processing unit, general processor, digital signal processor, application-specific integrated circuit, scene Programmable gate array either other programmable logic device, transistor logic, hardware component or its arbitrary combination.It can To realize or execute various illustrative logic blocks, module and circuit in conjunction with described in the disclosure of invention.The place Reason device can also be to realize the combination of computing function, such as combine comprising one or more microprocessors, DSP and microprocessor Combination etc..
Communication unit 403 can be transceiver, transmission circuit or communication interface etc. in data analysis set-up.
Storage unit 401 can be the memory etc. in data analysis set-up, which may include volatile storage Device, such as random access memory;The memory can also include nonvolatile memory, such as read-only memory, flash memory Reservoir, hard disk or solid state disk;The memory can also include the combination of the memory of mentioned kind.
Bus 404 can be expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..Bus 404 can be divided into address bus, data/address bus, controlling bus etc..For ease of table Show, only indicated with a thick line in Fig. 4, it is not intended that an only bus or a type of bus.
The embodiment of the present invention also provides a kind of computer readable storage medium, and one is stored in computer readable storage medium A or multiple programs, one or more programs include instruction, should when the processor of above-mentioned data analysis set-up executes the instruction Data analysis set-up executes each step that data analysis set-up executes in method flow shown in above method embodiment.
The step of method in conjunction with described in the disclosure of invention or algorithm can realize by the mode of hardware, Can be that the mode of software instruction is executed by processor to realize.Software instruction can be made of corresponding software module, software Module can be stored on RAM, flash memory, ROM, Erasable Programmable Read Only Memory EPROM (easable programmable ROM, EPROM), Electrically Erasable Programmable Read-Only Memory (electrically EPROM, EEPROM), register, hard disk, movement are hard In the storage medium of disk, CD-ROM (CD-ROM) or any other form well known in the art.A kind of illustrative storage Medium couples are to processor, to enable a processor to from the read information, and can be written and believe to the storage medium Breath.Certainly, storage medium can also be the component part of processor.Pocessor and storage media can be located in ASIC.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can as needed and will be upper It states function distribution to be completed by different function modules, i.e., the internal structure of device is divided into different function modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to The corresponding process in embodiment of the method is stated, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or The division of unit, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor execute described in each embodiment of the present invention The all or part of step of method.And storage medium above-mentioned includes:It is flash memory, mobile hard disk, read-only memory, random Access the various media that can store program code such as memory, magnetic disc or CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. a kind of data analysing method, which is characterized in that including:
Mobile data is obtained, the mobile data corresponds to a user, and the mobile data includes at least Two communications records;Wherein, every communications records include user identifier, communications records timestamp and location information;Institute State communications records according to communications records timestamp according to the time being ranked sequentially after arriving first;
Corresponding geographical location is obtained according to the location information in communications records described in every;
According to the communications records timestamp and (n+1)th article of communications records and the in (n+1)th article of communications records and nth bar communications records The corresponding geographical location of n communications records determines the log of the user;Wherein, (n+1)th communication The time interval of record and nth bar communications records is a recording period;The log includes User Status, sets out Point, the point of arrival, state duration, trip number and sub- trip number;
Wherein, the User Status includes resident state or travel condition;If the User Status is resident state, it is described go out Hair point is the starting point of user under current resident state, and the point of arrival is the point of arrival of current record time section user, described State duration is the retention time that user is in resident state, and the trip number is that user is in lastrow into state Trip number, the sub- trip number be user be in lastrow into the last one sub-line journey when state sub- trip number;If The User Status is travel condition, then the starting point is the starting point of current record time section user, and the point of arrival is The point of arrival of current record time section user, the state duration are that current record time section user keeps travel condition Time, the trip number is the trip number that user is in current travel condition, when the sub- trip number is current record Between section user sub- trip number.
2. according to the method described in claim 1, it is characterized in that, described communicate note with nth bar according to (n+1)th communications records Communications records timestamp in record and (n+1)th communications records geographical location corresponding with nth bar communications records, determine institute The log of user is stated, including:
Current User Status is determined according to corresponding geographical location in (n+1)th communications records and nth bar communications records;
Current log is determined according to the current User Status and a upper log.
3. according to the method described in claim 2, it is characterized in that, described communicate note with nth bar according to (n+1)th communications records Corresponding geographical location determines current User Status in record, including:
If the corresponding geographical location of (n+1)th article of communications records is more than the with nth bar communications records at a distance from corresponding geographical location One preset value, then the current User Status is travel condition;If the corresponding geographical location of (n+1)th communications records and n-th The distance in the corresponding geographical location of communications records is less than or equal to the first preset value, then the current User Status is resident shape State.
4. according to the method described in claim 2, it is characterized in that, described run according to the current User Status with upper one Record determines current log, including:
If the User Status that the current User Status is resident state and a upper log is travel condition, one is increased newly The corresponding log of resident state;If the current User Status is user's shape of resident state and a upper log State is resident state, then updates the corresponding log of a resident state;
If the current User Status is travel condition, according to the User Status and state duration of a upper log Determine current log;
Wherein, if the User Status of a upper log is resident state and state duration is more than the second preset value, newly The corresponding log of the independent stroke of increasing one;If the User Status of a upper log is resident state and state duration It is travel condition less than or equal to the User Status of the second preset value or a upper log, then it is corresponding increases a strip stroke newly Log.
5. according to claim 1-4 any one of them methods, which is characterized in that described according in communications records described in every Location information obtain corresponding geographical location after, the method further includes:
It is determined according to the communications records timestamp in the corresponding geographical location of communications records described in every and every communications records Meet the communications records of preset geographical position range and preset time range.
6. according to claim 1-4 any one of them methods, which is characterized in that the location information packet in the communications records It includes:Cell ID and user location longitude and latitude.
7. a kind of data analysis set-up, which is characterized in that including:
Acquisition module, for obtaining mobile data, the mobile data corresponds to a user, the mobile communication number According to including at least two communications records;Wherein, every communications records include user identifier, communications records timestamp and Location information;The communications records according to communications records timestamp according to the time being ranked sequentially after arriving first;
The acquisition module is additionally operable to obtain corresponding geographical location according to the location information in communications records described in every;
Determining module, for according to the communications records timestamp and (n+1)th in (n+1)th communications records and nth bar communications records Communications records geographical location corresponding with nth bar communications records, determines the log of the user;Wherein, The time interval of (n+1)th communications records and nth bar communications records is a recording period;The log includes User Status, starting point, the point of arrival, state duration, trip number and sub- trip number;
Wherein, the User Status includes resident state or travel condition;If the User Status is resident state, it is described go out Hair point is the starting point of user under current resident state, and the point of arrival is the point of arrival of current record time section user, described State duration is the retention time that user is in resident state, and the trip number is that user is in lastrow into state Trip number, the sub- trip number be user be in lastrow into the last one sub-line journey when state sub- trip number;If The User Status is travel condition, then the starting point is the starting point of current record time section user, and the point of arrival is The point of arrival of current record time section user, the state duration are that current record time section user keeps travel condition Time, the trip number is the trip number that user is in current travel condition, when the sub- trip number is current record Between section user sub- trip number.
8. device according to claim 7, which is characterized in that the determining module is according to (n+1)th communications records and n-th Communications records timestamp and (n+1)th communications records geographical position corresponding with nth bar communications records in communications records It sets, determines the log of the user, specifically include:
Current User Status is determined according to corresponding geographical location in (n+1)th communications records and nth bar communications records;
Current log is determined according to the current User Status and a upper log.
9. device according to claim 8, which is characterized in that the determining module is according to (n+1)th communications records and n-th Corresponding geographical location determines current User Status in communications records, specifically includes:
The determining module determines the corresponding geographical location of (n+1)th communications records geographical position corresponding with nth bar communications records Whether the distance set is more than the first preset value;
If the determining module determines the corresponding geographical location of (n+1)th communications records geography corresponding with nth bar communications records The distance of position is more than the first preset value, it is determined that the current User Status is travel condition;If the determining module is true The fixed corresponding geographical location of (n+1)th article of communications records is with nth bar communications records less than or equal to the at a distance from corresponding geographical location One preset value, it is determined that the current User Status is resident state.
10. device according to claim 8, which is characterized in that the determining module is according to the current User Status Current log is determined with a upper log, is specifically included:
If the determining module determines that the current User Status is that the User Status of resident state and a upper log is Travel condition then increases the corresponding log of a resident state newly;If the determining module determines current user's shape State is that the User Status of resident state and a upper log is resident state, then updates the corresponding operation of a resident state Record;
If the determining module determines that the current User Status is travel condition, according to user's shape of a upper log State and state duration determine current log;Wherein, if the determining module determines the user of a upper log State is that resident state and state duration are more than the second preset value, then increases the corresponding log of an independent stroke newly; If the determining module determines that the User Status of a upper log is resident state and state duration is less than or equal to second The User Status of preset value or a upper log is travel condition, then increases the corresponding log of a strip stroke newly.
11. according to claim 7-10 any one of them devices, which is characterized in that
The determining module is additionally operable to obtain correspondence according to the location information in communications records described in every in the acquisition module Geographical location after, when according to communications records in the corresponding geographical location of communications records described in every and every communications records Between stamp determine to meet the communications records of preset geographical position range and preset time range.
12. according to claim 7-10 any one of them devices, which is characterized in that the location information packet in the communications records It includes:Cell ID and user location longitude and latitude.
13. a kind of computer readable storage medium, which is characterized in that including computer instruction, when the computer instruction is in number When according to being run on analytical equipment so that the data analysis set-up executes the data analysis as described in claim 1 to 6 any one Method.
CN201810150323.7A 2018-02-13 2018-02-13 Data analysis method and device Active CN108391235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150323.7A CN108391235B (en) 2018-02-13 2018-02-13 Data analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150323.7A CN108391235B (en) 2018-02-13 2018-02-13 Data analysis method and device

Publications (2)

Publication Number Publication Date
CN108391235A true CN108391235A (en) 2018-08-10
CN108391235B CN108391235B (en) 2020-12-22

Family

ID=63069692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150323.7A Active CN108391235B (en) 2018-02-13 2018-02-13 Data analysis method and device

Country Status (1)

Country Link
CN (1) CN108391235B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948826A (en) * 2019-01-03 2019-06-28 阿里巴巴集团控股有限公司 Method, client, server and the electronic equipment of trip characteristics analysis
CN111476409A (en) * 2020-03-30 2020-07-31 海南太美航空股份有限公司 Method, system and equipment for predicting new airline opening
CN112417273A (en) * 2020-11-17 2021-02-26 平安科技(深圳)有限公司 Region portrait image generation method, region portrait image generation device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100191446A1 (en) * 2009-01-28 2010-07-29 Gm Global Technology Operations, Inc. Systems and methods for predictive engine re-starting and predictive neutral/idle operation of a vehicle
CN101827180A (en) * 2010-01-27 2010-09-08 深圳市同洲电子股份有限公司 Ticket based method, device and system for determining activity range of mobile terminal
CN102467771A (en) * 2010-10-29 2012-05-23 国际商业机器公司 System and method for recognizing incidence relation of smart card and mobile telephone
CN103516855A (en) * 2012-06-20 2014-01-15 鸿富锦精密工业(深圳)有限公司 Electronic device with telephone number dynamic sorting function
CN104717743A (en) * 2013-12-16 2015-06-17 蓝燕君 Mobile terminal tracking method and system based on signaling analysis
CN107121690A (en) * 2017-03-31 2017-09-01 景致惠通工程咨询(武汉)有限公司 A kind of dwell point recognition methods and device based on parameter of doing more physical exercises

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100191446A1 (en) * 2009-01-28 2010-07-29 Gm Global Technology Operations, Inc. Systems and methods for predictive engine re-starting and predictive neutral/idle operation of a vehicle
CN101827180A (en) * 2010-01-27 2010-09-08 深圳市同洲电子股份有限公司 Ticket based method, device and system for determining activity range of mobile terminal
CN102467771A (en) * 2010-10-29 2012-05-23 国际商业机器公司 System and method for recognizing incidence relation of smart card and mobile telephone
CN103516855A (en) * 2012-06-20 2014-01-15 鸿富锦精密工业(深圳)有限公司 Electronic device with telephone number dynamic sorting function
CN104717743A (en) * 2013-12-16 2015-06-17 蓝燕君 Mobile terminal tracking method and system based on signaling analysis
CN107121690A (en) * 2017-03-31 2017-09-01 景致惠通工程咨询(武汉)有限公司 A kind of dwell point recognition methods and device based on parameter of doing more physical exercises

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948826A (en) * 2019-01-03 2019-06-28 阿里巴巴集团控股有限公司 Method, client, server and the electronic equipment of trip characteristics analysis
CN111476409A (en) * 2020-03-30 2020-07-31 海南太美航空股份有限公司 Method, system and equipment for predicting new airline opening
CN112417273A (en) * 2020-11-17 2021-02-26 平安科技(深圳)有限公司 Region portrait image generation method, region portrait image generation device, computer equipment and storage medium
CN112417273B (en) * 2020-11-17 2022-04-19 平安科技(深圳)有限公司 Region portrait image generation method, region portrait image generation device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108391235B (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN103106280B (en) A kind of range query method of uncertain space-time trajectory data under road network environment
EP1787088B1 (en) Apparatus for and method of predicting a future behaviour of an object
Estévez-Mauriz et al. Dynamic traffic noise assessment tool: A comparative study between a roundabout and a signalised intersection
CN107506864A (en) A kind of passenger traffic bus route planning method and device
CN109754594A (en) A kind of road condition information acquisition method and its equipment, storage medium, terminal
CN106504534B (en) A kind of method, apparatus and user equipment for predicting road conditions
CN108391235A (en) A kind of data analysing method and device
EP1507246A4 (en) Map data product, map data processing program product, map data processing method, and map data processing device
CN109543909A (en) Prediction technique, device and the computer equipment of vehicle caseload
CN109768869A (en) A kind of traffic forecast method, system and computer storage medium
CN112509317B (en) Bus real-time arrival prediction method, device and equipment based on machine learning algorithm
CN105631551A (en) Optimal route recommendation method and device
CN107014392A (en) A kind of route planning method and equipment
CN113706220A (en) User portrait determination, user demand prediction method, and data processing system
CN108804507A (en) The address location determining method and system of user
CN105940435A (en) Measuring and diagnosing noise in urban environment
CN110619090B (en) Regional attraction assessment method and device
CN109817015B (en) Virtual parking lot dividing method and related products
CN116579498A (en) Method and device for predicting subway passenger flow volume and storage medium
CN116703132A (en) Management method and device for dynamic scheduling of shared vehicles and computer equipment
CN103118156A (en) Alarm clock setting method and corresponding device
CN109711438A (en) Bus traffic route acquisition methods, device and equipment
CN110057377A (en) Method for path navigation and Related product
CN109934953A (en) The method and apparatus for using vehicle condition for assessing user
CN108287973A (en) The analogy method and device of traffic behavior

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