CN106710210B - A kind of method and device of the congestion index in determining commercial circle region - Google Patents

A kind of method and device of the congestion index in determining commercial circle region Download PDF

Info

Publication number
CN106710210B
CN106710210B CN201611034060.0A CN201611034060A CN106710210B CN 106710210 B CN106710210 B CN 106710210B CN 201611034060 A CN201611034060 A CN 201611034060A CN 106710210 B CN106710210 B CN 106710210B
Authority
CN
China
Prior art keywords
commercial circle
circle region
businessman
current
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
CN201611034060.0A
Other languages
Chinese (zh)
Other versions
CN106710210A (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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Shandong Inspur Cloud Information Technology 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 Shandong Inspur Cloud Information Technology Co Ltd filed Critical Shandong Inspur Cloud Information Technology Co Ltd
Priority to CN201611034060.0A priority Critical patent/CN106710210B/en
Publication of CN106710210A publication Critical patent/CN106710210A/en
Application granted granted Critical
Publication of CN106710210B publication Critical patent/CN106710210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0133Traffic data processing for classifying traffic situation
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0108Measuring and analyzing of parameters relative to traffic conditions based on the source of data
    • G08G1/012Measuring and analyzing of parameters relative to traffic conditions based on the source of data from other sources than vehicle or roadside beacons, e.g. mobile networks
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The present invention provides a kind of method and devices of the congestion index in determining commercial circle region, comprising: the location information for obtaining at least one businessman and the consumption person-time in daily first time period in the target time period;According to the location information of at least one businessman, the commercial circle region where each businessman is determined;The congestion index in the current commercial circle region is determined according to the corresponding consumption person-time of each businessman in current commercial circle region for each commercial circle region.The present invention can determine the congestion index in commercial circle region.

Description

A kind of method and device of the congestion index in determining commercial circle region
Technical field
The present invention relates to field of computer technology, in particular to a kind of the method and dress of the congestion index in determining commercial circle region It sets.
Background technique
With the rapid development of information technology and internet, more and more businessmans have supported on-line payment etc., in this way, It when different users wants some businessman, can be paid in advance, moreover, can be generated during payment a large amount of Consumption information, how that extracts and becomes the previous huge challenge of mesh using these consumption information.
Currently, when being handled for these consumption information, due to that can not determine the congestion index in commercial circle region, so Cause user when selecting some commercial circle region, can not accurately be judged.
Summary of the invention
The embodiment of the invention provides a kind of method and devices of the congestion index in determining commercial circle region, can determine commercial circle The congestion index in region.
In a first aspect, the embodiment of the invention provides a kind of methods of the congestion index in determining commercial circle region, comprising:
The location information for obtaining at least one businessman and the consumption in daily first time period in the target time period Person-time;
According to the location information of at least one businessman, the commercial circle region where each businessman is determined;
For each commercial circle region, according to the corresponding consumption person-time of each businessman in current commercial circle region, determine described in The congestion index in current commercial circle region.
Preferably,
Further, comprising:
Preset the corresponding longitude range in each commercial circle region and latitude scope;
The location information includes: the longitude and latitude of businessman position;
The location information of at least one businessman according to determines the commercial circle region where each businessman, comprising:
For each commercial circle region, judge whether current businessman meets: the current corresponding longitude of businessman is in current quotient In the corresponding longitude range of collar region, and the current corresponding latitude of businessman is in the corresponding latitude scope in the current commercial circle region It is interior, if it is, the current businessman is determined in the current commercial circle region, otherwise, it determines the current businessman is not in institute It states in current commercial circle region.
Preferably, described to be directed to each commercial circle region, according to the corresponding consumer of each businessman in current commercial circle region It is secondary, determine the congestion index in the current commercial circle region, comprising:
The current commercial circle region is calculated described first using following calculation formula one (1) for each commercial circle region The average consumption person-time of period;
Wherein, x characterizes the current commercial circle region in the average consumption person-time of the first time period;pijWork as described in characterization Consumption person-time of i-th of the businessman that preceding commercial circle includes in the first time period in the jth day of the target time section;Described in n characterization The total number for the businessman that current commercial circle includes;T characterizes the number of days of the target time section;
According to the corresponding average consumption person-time in the current commercial circle region, determine that the congestion in the current commercial circle region refers to Number.
Preferably, described according to the corresponding average consumption person-time in the current commercial circle region, determine the current commercial circle area The congestion index in domain, comprising:
For each commercial circle region, using following calculation formula two (2), the congestion for calculating the current commercial circle region refers to Number;
Wherein, y characterizes the congestion index in the current commercial circle region;hjThe current commercial circle region is characterized in the target The traffic index of the first time period in the jth day of period;X characterizes the current commercial circle region in the flat of the first time period Consumption person-time;S characterizes the area in the current commercial circle region.
Preferably, it is directed to each commercial circle region described, according to the corresponding consumption of each businessman in current commercial circle region Person-time, after the congestion index for determining the current commercial circle region, further comprise:
The congestion index in each commercial circle region is shown to user, so that the user determines according to the congestion index Need the commercial circle region of selection.
Second aspect, the embodiment of the invention provides a kind of devices of the congestion index in determining commercial circle region, comprising:
When acquiring unit, location information for obtaining at least one businessman and daily first in the target time period Between consumption person-time in section;
First determination unit, for the location information of at least one businessman according to the information acquired by the acquisition unit, Determine the commercial circle region where each businessman;
Second determination unit, for being directed to each commercial circle region, according to the determining current commercial circle of first determination unit The corresponding consumption person-time of each businessman that each businessman and the acquiring unit in region get, determines the current commercial circle The congestion index in region.
Preferably,
Further comprise: setting unit, for presetting the corresponding longitude range in each commercial circle region and latitude scope;
The location information includes: the longitude and latitude of businessman position;
First determination unit judges whether current businessman meets: current quotient for being directed to each commercial circle region The corresponding longitude of family is in the corresponding longitude range in current commercial circle region, and the current corresponding latitude of businessman is in the current commercial circle In the corresponding latitude scope in region, if it is, determine the current businessman in the current commercial circle region, otherwise, it determines The current businessman is not in the current commercial circle region.
Preferably, second determination unit includes: computation subunit and determining subelement, wherein
The computation subunit, for being worked as described in calculating for each commercial circle region using following calculation formula one (1) Average consumption person-time of the preceding commercial circle region in the first time period;
Wherein, x characterizes the current commercial circle region in the average consumption person-time of the first time period;pijWork as described in characterization Consumption person-time of i-th of the businessman that preceding commercial circle includes in the first time period in the jth day of the target time section;Described in n characterization The total number for the businessman that current commercial circle includes;T characterizes the number of days of the target time section;
The determining subelement, the current commercial circle region for being calculated according to the computation subunit are corresponding Average consumption person-time determines the congestion index in the current commercial circle region.
Preferably, the determining subelement, is used for:
For each commercial circle region, using following calculation formula two (2), the congestion for calculating the current commercial circle region refers to Number;
Wherein, y characterizes the congestion index in the current commercial circle region;hjThe current commercial circle region is characterized in the target The traffic index of the first time period in the jth day of period;X characterizes the current commercial circle region in the flat of the first time period Consumption person-time;S characterizes the area in the current commercial circle region.
Preferably, further comprise: display unit, for showing the congestion index in each commercial circle region to user, So that the user determines the commercial circle region for needing selection according to the congestion index.
The embodiment of the invention provides a kind of method and devices of the congestion index in determining commercial circle region, are consumed by obtaining The location information of at least one businessman in information can determine the commercial circle region where each businessman;Then for each Commercial circle region, then each businessman obtained according to each businessman in current commercial circle region and in consumption information is in target Between consumption person-time in daily first time period in section, determine the congestion index in each commercial circle region, and then By showing user, the commercial circle region of opposite congestion is selected to avoid user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of method flow diagram of the congestion index in determining commercial circle region provided by one embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of the congestion index in determining commercial circle region that another embodiment of the present invention provides;
Fig. 3 is the hardware structure of equipment where the device of the congestion index in determining commercial circle region provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of structural representation of the device of the congestion index in determining commercial circle region provided by one embodiment of the present invention Figure;
Fig. 5 is that a kind of structure of the device of the congestion index in determining commercial circle region that another embodiment of the present invention provides is shown It is intended to;
Fig. 6 is that a kind of structure of the device of the congestion index in determining commercial circle region that another embodiment of the invention provides is shown It is intended to;
Fig. 7 is that a kind of structure of the device of the congestion index in determining commercial circle region that further embodiment of the present invention provides is shown It is intended to.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method can the embodiment of the invention provides a kind of method of the congestion index in determining commercial circle region With the following steps are included:
Step 101: obtaining the location information and daily first time period in the target time period of at least one businessman In consumption person-time.
Step 102: according to the location information of at least one businessman, determining the commercial circle region where each businessman.
Step 103: be directed to each commercial circle region, according to each businessman in current commercial circle region it is corresponding consumption person-time, Determine the congestion index in the current commercial circle region.
In embodiments of the present invention, it by obtaining the location information of at least one businessman in consumption information, can determine Commercial circle region where each businessman out;Then it is directed to each commercial circle region, then according to each businessman in current commercial circle region And the consumption person-time in the daily first time period of each businessman obtained in consumption information in the target time period, really The congestion index in each commercial circle region is made, and then opposite congestion can be selected by showing user to avoid user Commercial circle region.
In an embodiment of the invention, in order to the commercial circle region where each businessman of determination, so it is every to determine A commercial circle region lays the foundation in the average consumption person-time of first time period, can further comprise: presetting each commercial circle area The corresponding longitude range in domain and latitude scope;The location information includes: the longitude and latitude of businessman position;The step 102 specific embodiment includes: to judge whether current businessman meets for each commercial circle region: current businessman is corresponding Longitude in the corresponding longitude range in current commercial circle region, and the current corresponding latitude of businessman is in the current commercial circle region pair In the latitude scope answered, if it is, the current businessman is determined in the current commercial circle region, otherwise, it determines described work as Preceding businessman is not in the current commercial circle region.
For example, with 3 commercial circles region (X, Y and Z), presetting X and longitude range and latitude scope [20 ± 0.5,140 ± 0.5], the corresponding relationship of Y and [30 ± 0.5,160 ± 0.5] and Z and [35 ± 0.5,170 ± 0.5], and said for convenience Bright, 3 commercial circles region in the embodiment of the present invention may include all businessmans.Such as get the location information of businessman a are as follows: longitude 30.3 and latitude 159.8, that is when determining the commercial circle region where businessman a, so that it may by the corresponding longitude and latitude of businessman a respectively with The corresponding longitude and latitude range in three commercial circles region is judged one by one above;When corresponding with commercial circle region X [20 ± 0.5,140 When ± 0.5] being judged, obtains 30.3 not in the range of 20 ± 0.5 and 159.8 also in the range of 140 ± 0.5; When that [30 ± 0.5,160 ± 0.5] corresponding with commercial circle region Y are judged, then model of the longitude 30.3 30 ± 0.5 is judged In enclosing, and latitude 159.8 is in the range of 160 ± 0.5, so that it is determined that businessman a is in current commercial circle region Y.
By presetting the corresponding longitude range in each commercial circle region and latitude scope, in this manner it is possible to will acquire The corresponding longitude of businessman, latitude longitude range corresponding with each commercial circle region and latitude scope be compared judgement one by one, To can determine that the commercial circle region where businessman, and then further determine that commercial circle region is flat in first time period afterwards for it Consumption person-time and congestion index lay the foundation.
In an embodiment of the invention, in order to obtain each commercial circle region first time period average consumption person-time, And then to determine that the congestion index in each commercial circle region lays the foundation, the specific embodiment of the step 103, comprising: be directed to Each commercial circle region calculates current commercial circle region being averaged in the first time period using following calculation formula one (1) Consumption person-time;
Wherein, x characterizes the current commercial circle region in the average consumption person-time of the first time period;pijWork as described in characterization Consumption person-time of i-th of the businessman that preceding commercial circle includes in the first time period in the jth day of the target time section;Described in n characterization The total number for the businessman that current commercial circle includes;T characterizes the number of days of the target time section;
According to the corresponding average consumption person-time in the current commercial circle region, determine that the congestion in the current commercial circle region refers to Number.
Wherein, the number of days of target time section (can be continuously also discontinuous) can arbitrarily be set, and the corresponding mesh of each businessman The number of days for marking the period can also be different, but to guarantee that the accuracy of the congestion index in commercial circle region in embodiments of the present invention can The number of days for setting the corresponding target time section of each businessman is identical and number of days can not be very little, is continuous 7 days e.g..Moreover, the The setting of one period can also be any, it is contemplated that practical application, may be set to t0: 10:00AM to 16:00PM.Below with It for commercial circle region Y mentioned above, and altogether include 3 businessmans (businessman a, businessman b and businessman d), businessman a with Y in 7 days Daily t0In consumption person-time be the daily t of { 300,400 ..388 }, businessman b in 30 days0In consumption person-time be { 330,370 ... 300 }, daily t of the businessman d in 30 days0In consumption person-time be { 220,280 ... 220 } for, thus Just commercial circle region Y is calculated in t using above-mentioned calculation formula one (1)0Average consumption person-time be
By obtaining the consumption person-time in the daily first time period of each businessman in the target time period, and then can To be directed to each commercial circle region, each commercial circle region is determined in the average consumption person-time of first time period, thus for after really The congestion index in fixed each commercial circle region lays the foundation.
In an embodiment of the invention, the congestion index in each commercial circle region in order to obtain, it is described according to described current The corresponding average consumption person-time in commercial circle region determines the congestion index in the current commercial circle region, comprising:
For each commercial circle region, using following calculation formula two (2), the congestion for calculating the current commercial circle region refers to Number;
Wherein, y characterizes the congestion index in the current commercial circle region;hjThe current commercial circle region is characterized in the target The traffic index of the first time period in the jth day of period;X characterizes the current commercial circle region in the flat of the first time period Consumption person-time;S characterizes the area in the current commercial circle region.
Wherein, traffic index hjThe vehicle congestion index around the region of commercial circle is specifically referred to, which can pass through Department of Communications It gets.
In embodiments of the present invention, for example, with commercial circle region Y mentioned above in t0Average consumption person-time be 1000 people Secondary/t0, daily t of the Y in 7 days0Interior traffic index is { 3.1,3 ..., 3.4 } and the area of Y is 10000m2For, then Using above-mentioned calculation formula (2), the congestion index for calculating Y is
By obtaining commercial circle the region traffic index of daily first time period and commercial circle region in the target time period Area, then the congestion index in commercial circle region can be determined in the average consumption person-time of first time period according to commercial circle region, into And it is that the commercial circle region for avoiding user from selecting opposite congestion lays the foundation, while the also sale to the businessman in other commercial circle regions Mode either marketing model plays sizable directive function.
It is worth noting that the congestion index in each commercial circle region be not yet it is unalterable, for increase congestion index Accuracy, periodically the value can be updated, using the consumption information in nearest target time section as foundation, reacquire businessman The consumption person-time of daily first time period within the fresh target period, and then each commercial circle is calculated by the above method again The congestion index in region.
In an embodiment of the invention, in order to avoid make user selection with respect to congestion commercial circle region and caused by user It waits, is crowded and so on, after the step 103, can further comprise: showing each commercial circle area to user The congestion index in domain, so that the user determines the commercial circle region for needing selection according to the congestion index.
Wherein, user is when carrying out commercial circle regional choice, can by the way that the multiple congestion indexes shown are compared, Meet the whereabouts wish of user and when congestion index value is not very high, selects corresponding commercial circle region.For example, with the quotient determined For the corresponding congestion index of collar region X, Y, Z is 10,20,30, user is it will be evident that the congestion of commercial circle region Z refers to Therefore number highests when user is not desired to waste time again in crowded state, can abandon selection Z, and commercial circle region X, Y Consider selection.
By showing the congestion index in each commercial circle region to user, the commercial circle region that user selects opposite congestion can avoid Waiting, grade caused by and and so on, user is largely facilitated, has saved user's valuable time, together When be also commercial circle region attachment traffic dispersion play the role of it is indicative.
Below with altogether there are two commercial circle region (commercial circle region M and commercial circle region N), obtain 5 businessmans (businessman's x, y, z, W and λ) corresponding consumption information, target time section is 30 days and first time period is t0For (10:00AM~16:00PM), A kind of method of the congestion index in determining commercial circle region provided in an embodiment of the present invention is described in detail, and for convenience of carrying out Statement, above-mentioned 5 businessmans are whole businessmans that two commercial circles region is included, as shown in Fig. 2, this method may include following step It is rapid:
Step 201: presetting corresponding first longitude range of commercial circle region M and the first latitude scope;N pairs of commercial circle region The second longitude range answered and the second latitude scope.
Generally, the corresponding longitude and latitude range in each commercial circle region is fixed, such as the corresponding first longitude model of commercial circle region M Enclosing with the first latitude scope is respectively 40 ± 0.8 and 160 ± 0.8, corresponding second longitude range of commercial circle region N and the second latitude If range is respectively that 35 ± 0.5 and 170 ± 0.5 namely the corresponding relationship are indicated with section, can be corresponded to for M [40 ± 0.8,160 ± 0.8] and N is corresponding [35 ± 0.5,170 ± 0.5].
Step 202: obtaining the longitude and latitude of businessman's x, y, z, w and λ difference position.
In embodiments of the present invention, with the corresponding longitude of businessman x be 40.2 and corresponding latitude be 159.5, businessman y it is corresponding Longitude is 39.9 and corresponding latitude is 160, the corresponding longitude of businessman z is 35.5 and corresponding latitude is 170.2, businessman w is corresponding For longitude is 35 and corresponding latitude is 170, the corresponding longitude of businessman λ is 34.5 and corresponding latitude is 169.5.
Step 203: obtaining businessman's x, y, z, w and the λ daily t in 30 days respectively0In consumption person-time.
For further increase commercial circle region congestion index accuracy, the information of the last 30 days can be obtained and be located Reason.Moreover, if further contemplating practical application also time progress acquisition of information and processing can be stopped just for double.With wherein Businessman x for, such as get the 1st day t in 30 days0In consumption person-time be 500, the 2nd days t0In consumption person-time be 470, the 3rd day t0In consumption person-time be 480 etc., such as { 500,470,480,510,502 ... 300 } (for simplification, not entirely It lists in portion).
Step 204: obtaining the commercial circle region M and commercial circle region N daily t in 30 days respectively0Traffic index hjmWith hjn
Wherein, traffic index hjmAnd hjnCan be by being got on the website of Department of Communications, the commercial circle region such as got Daily t of the M in 30 days0Traffic index h1m、h2m、h3m….h30mRespectively { 2.9,3,2.8 ..., 3.4 }, get Daily t of the commercial circle region N in 30 days0Traffic index h1n、h2n、h3n…h30nRespectively 3.9,4,4.5 ..., 4.3 }.
Step 205: obtaining the area s of commercial circle region M and commercial circle region N respectivelymAnd sn, and step 206 and step are executed respectively Rapid 209.
The area in commercial circle region and the congestion index in commercial circle region are negatively correlated.In embodiments of the present invention, with smFor 6400m2、snFor 10000m2For.
Step 206: being directed to commercial circle region M, judge whether businessman's x, y, z, w and λ meet one by one: the corresponding warp of current businessman Degree is in the first longitude range and the current corresponding latitude of businessman is in the first latitude scope, if so, 207 are thened follow the steps, Otherwise, step 208 is executed.
Be determine businessman's x, y, z, w and λ whether in the M of commercial circle region, by its corresponding longitude and latitude with [40 ± 0.8, 160 ± 0.8] judged, by businessman λ and the corresponding longitude of businessman λ is 34.5 and for corresponding latitude is 169.5, can will be through 34.5 the first longitude ranges 40 ± 0.8 corresponding with commercial circle region M of degree are compared, and latitude 169.5 is corresponding with commercial circle region M The first latitude scope 160 ± 0.8 be compared.It then can determine whether out longitude 34.5 not in corresponding first longitude of commercial circle region M In range 35 ± 0.5, and latitude 169.5 is not also in corresponding first latitude scope 170 ± 0.5 of commercial circle region M.That is for it The judgement principle of its 4 businessman is same, and details are not described herein again.
Step 207: determining that current businessman in the M of commercial circle region, and executes step 212.
Through the above steps 206 and above-mentioned steps 202 may determine that businessman x, y in the M of commercial circle region.
Step 208: determining that current businessman not in the M of commercial circle region, and terminates current process.
Through the above steps 206 and above-mentioned steps 202 may determine that businessman z, w and λ not in the M of commercial circle region
Step 209: being directed to commercial circle region N, judge whether businessman's x, y, z, w and λ meet one by one: the corresponding warp of current businessman Degree is in the second longitude range and the current corresponding latitude of businessman is in the second latitude scope, if so, 210 are thened follow the steps, Otherwise, step 211 is executed.
It is identical as the judgment method in step 206, it repeats no more.
Step 210: determining that current businessman in the N of commercial circle region, and executes step 212.
Through the above steps 209 and above-mentioned steps 202 may determine that businessman z, w and λ in the N of commercial circle region.
Step 211: determining that current businessman not in the N of commercial circle region, and terminates current process.
Through the above steps 209 and above-mentioned steps 202 may determine that businessman x, y not in the N of commercial circle region.
Step 212: respectively according to the corresponding consumption person-time of each businessman in commercial circle region M and commercial circle region N, calculating quotient Collar region M and commercial circle region N are in t0Average consumption person-time xmAnd xn
It can determine next to utilize calculation formula comprising 2 businessmans (businessman x, y) in the M of commercial circle region by above-mentioned (1), commercial circle region M is calculated in t0Average consumption person-time It determines that commercial circle region N includes 3 businessmans (businessman z, w and λ), and utilizes public affairs Formula (1) calculates commercial circle region N in t0Average consumption person-time
Step 213: according to hjm、smAnd xmCalculate the congestion index y of commercial circle region Mm;According to hjnsN and xnCalculate quotient The congestion index y of collar region Nn
Calculating xmAfterwards, using calculation formula (2), the corresponding congestion index of commercial circle region M is calculatedCalculating xnAfterwards, may be used Using calculation formula (2), the corresponding congestion index of commercial circle region N is calculated
It is worth noting that in embodiments of the present invention, not carried out to the magnitude range of the congestion index in commercial circle region Limit, if analyzed in order to the congestion index to all commercial circle regions, can also to all congestion indexes of calculating into Row normalized.
Step 214: showing y to usermAnd yn, so that user is according to ymAnd ynDetermine the commercial circle region for needing selection.
By ym=29 and yn=45 or two normalized congestion index values show user so that user selects It selects, in embodiments of the present invention, is waited to avoid user, is crowded and so on, commercial circle region M may be selected in user.
As shown in Figure 3, Figure 4, the embodiment of the invention provides a kind of devices of the congestion index in determining commercial circle region.Device Embodiment can also be realized by software realization by way of hardware or software and hardware combining.For hardware view, As shown in figure 3, for a kind of hardware of equipment where the device of the congestion index in determining commercial circle region provided in an embodiment of the present invention Structure chart, other than processor shown in Fig. 3, memory, network interface and nonvolatile memory, device in embodiment The equipment at place can also include usually other hardware, such as be responsible for the forwarding chip of processing message.Taking software implementation as an example, As shown in figure 4, being will be right in nonvolatile memory by the CPU of equipment where it as the device on a logical meaning The computer program instructions answered are read into memory what operation was formed.A kind of congestion in determining commercial circle region provided in this embodiment The device of index, comprising:
Acquiring unit 401, for obtain at least one businessman location information and in the target time period daily the Consumption person-time in one period;
First determination unit 402, for according to the acquiring unit 401 get described at least one businessman position Information determines the commercial circle region where each businessman;
Second determination unit 403 is worked as being directed to each commercial circle region according to what first determination unit 402 determined The corresponding consumption person-time of each businessman that each businessman and the acquiring unit 401 in preceding commercial circle region get, determines institute State the congestion index in current commercial circle region.
As shown in figure 5, in an embodiment of the invention, in order to the commercial circle region where each businessman of determination, into And be that determining each commercial circle region lays the foundation in the average consumption person-time of first time period, further comprise: setting unit 501, for presetting the corresponding longitude range in each commercial circle region and latitude scope;The location information includes: businessman institute Longitude and latitude in position;
First determination unit 402, for judging whether current businessman meets for each commercial circle region: when The corresponding longitude of preceding businessman is in the corresponding longitude range in current commercial circle region in the setting unit 501, and current businessman Corresponding latitude is in the corresponding latitude scope in the current commercial circle region, if it is, determining the current businessman described In current commercial circle region, otherwise, it determines the current businessman is not in the current commercial circle region.
As shown in fig. 6, in an embodiment of the invention, each commercial circle region being averaged in first time period in order to obtain Consumption person-time, and then to determine that the congestion index in each commercial circle region lays the foundation, second determination unit 403 includes: meter Operator unit 4031 and determining subelement 4032, wherein
The computation subunit 4031, using following calculation formula one (1), calculates institute for being directed to each commercial circle region Current commercial circle region is stated in the average consumption person-time of the first time period;
Wherein, x characterizes the current commercial circle region in the average consumption person-time of the first time period;pijWork as described in characterization Consumption person-time of i-th of the businessman that preceding commercial circle includes in the first time period in the jth day of the target time section;Described in n characterization The total number for the businessman that current commercial circle includes;T characterizes the number of days of the target time section;
The determining subelement 4032, the current commercial circle area for being calculated according to the computation subunit 4031 The corresponding average consumption person-time in domain determines the congestion index in the current commercial circle region.
In an embodiment of the invention, in order to determine the congestion index in each commercial circle region, the determining subelement 4032, for being directed to each commercial circle region, using following calculation formula two (2), the congestion for calculating the current commercial circle region refers to Number;
Wherein, y characterizes the congestion index in the current commercial circle region;hjThe current commercial circle region is characterized in the target The traffic index of the first time period in the jth day of period;X characterizes the current commercial circle region in the flat of the first time period Consumption person-time;S characterizes the area in the current commercial circle region.
As shown in fig. 7, in an embodiment of the invention, in order to avoid making commercial circle region of user's selection with respect to congestion Caused by user wait, be crowded and so on, further comprise: display unit 701, for showing described second to user The congestion index in each of the determination of the determination unit 403 commercial circle region, so that the user determines according to the congestion index Need the commercial circle region of selection.
To sum up, each embodiment of the present invention at least has the following beneficial effects:
It 1, can in an embodiment of the invention, by obtaining the location information of at least one businessman in consumption information To determine the commercial circle region where each businessman;Then it is directed to each commercial circle region, then according to every in current commercial circle region Consumption in the daily first time period of a businessman and each businessman obtained in consumption information in the target time period Person-time, determine the congestion index in each commercial circle region, and then can be opposite to avoid user's selection by showing user The commercial circle region of congestion.
2, in an embodiment of the invention, by presetting the corresponding longitude range in each commercial circle region and latitude model It encloses, in this manner it is possible to the corresponding longitude of the businessman that will acquire, latitude longitude range corresponding with each commercial circle region and latitude Range is compared judgement one by one, thus the commercial circle region where can determine that businessman, and then further determine that commercial circle afterwards for it Average consumption person-time and congestion index of the region in first time period lay the foundation.
3, in an embodiment of the invention, by obtaining the daily first time of each businessman in the target time period Consumption person-time in section, and then it can be directed to each commercial circle region, determine each commercial circle region in the flat of first time period Consumption person-time, to determine that the congestion index in each commercial circle region lays the foundation for after.
4, in an embodiment of the invention, by obtaining commercial circle region daily first time period in the target time period Traffic index and commercial circle region area, then can be determined according to commercial circle region in the average consumption person-time of first time period The congestion index in commercial circle region, and then lay the foundation for the commercial circle region for avoiding user from selecting opposite congestion, while also to other The marketing method of businessman in the region of commercial circle either marketing model plays sizable directive function.
5, it in an embodiment of the invention, by showing the congestion index in each commercial circle region to user, can avoid using Family select the commercial circle region with respect to congestion and caused by wait, grade, largely facilitate user, Saved user's valuable time, at the same also for commercial circle region attachment traffic dispersion play the role of it is indicative.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (8)

1. a kind of method of the congestion index in determining commercial circle region characterized by comprising
The location information for obtaining at least one businessman and the consumption person-time in daily first time period in the target time period;
According to the location information of at least one businessman, the commercial circle region where each businessman is determined;
It is determined described current for each commercial circle region according to the corresponding consumption person-time of each businessman in current commercial circle region The congestion index in commercial circle region.
2. the method according to claim 1, wherein
Further, comprising:
Preset the corresponding longitude range in each commercial circle region and latitude scope;
The location information includes: the longitude and latitude of businessman position;
The location information of at least one businessman according to determines the commercial circle region where each businessman, comprising:
For each commercial circle region, judge whether current businessman meets: the current corresponding longitude of businessman is in current commercial circle area In the corresponding longitude range in domain, and the current corresponding latitude of businessman is in the corresponding latitude scope in the current commercial circle region, such as Fruit is, it is determined that the current businessman is in the current commercial circle region, otherwise, it determines the current businessman is not described current In the region of commercial circle.
3. the method according to claim 1, wherein
It is described be directed to each commercial circle region, according to each businessman in current commercial circle region it is corresponding consumption person-time, determine described in The congestion index in current commercial circle region, comprising:
The current commercial circle region is calculated in the first time period using following calculation formula one for each commercial circle region Average consumption person-time;
Wherein, x characterizes the current commercial circle region in the average consumption person-time of the first time period;pijCharacterize the current quotient Consumption person-time of i-th of the businessman that circle includes in the first time period in the jth day of the target time section;N characterization is described current The total number for the businessman that commercial circle includes;T characterizes the number of days of the target time section;
According to the corresponding average consumption person-time in the current commercial circle region, the congestion index in the current commercial circle region is determined;
It is described according to the corresponding average consumption person-time in the current commercial circle region, determine that the congestion in the current commercial circle region refers to Number, comprising:
The congestion index in the current commercial circle region is calculated using following calculation formula two for each commercial circle region;
Wherein, y characterizes the congestion index in the current commercial circle region;hjThe current commercial circle region is characterized in the object time The traffic index of the first time period in the jth day of section;X characterizes the current commercial circle region and disappears in being averaged for the first time period Take person-time;S characterizes the area in the current commercial circle region.
4. method according to any one of claims 1 to 3, which is characterized in that it is directed to each commercial circle region described, according to The corresponding consumption person-time of each businessman in current commercial circle region, after the congestion index for determining the current commercial circle region, into One step includes:
The congestion index that each commercial circle region is shown to user, so that the user determines needs according to the congestion index The commercial circle region of selection.
5. a kind of device of the congestion index in determining commercial circle region characterized by comprising
Acquiring unit, for obtaining the location information and daily first time period in the target time period of at least one businessman In consumption person-time;
First determination unit is determined for the location information of at least one businessman according to the information acquired by the acquisition unit Commercial circle region where each businessman;
Second determination unit, for being directed to each commercial circle region, according to the determining current commercial circle region of first determination unit In the corresponding consumption person-time of each businessman for getting of each businessman and the acquiring unit, determine the current commercial circle region Congestion index.
6. device according to claim 5, which is characterized in that
Further comprise: setting unit, for presetting the corresponding longitude range in each commercial circle region and latitude scope;
The location information includes: the longitude and latitude of businessman position;
First determination unit judges whether current businessman meets: current businessman couple for being directed to each commercial circle region The longitude answered is in the corresponding longitude range in current commercial circle region, and the current corresponding latitude of businessman is in the current commercial circle region In corresponding latitude scope, if it is, the current businessman is determined in the current commercial circle region, otherwise, it determines described Current businessman is not in the current commercial circle region.
7. device according to claim 5, which is characterized in that second determination unit include: computation subunit and really Stator unit, wherein
The computation subunit, using following calculation formula one, calculates the current commercial circle area for being directed to each commercial circle region Average consumption person-time of the domain in the first time period;
Wherein, x characterizes the current commercial circle region in the average consumption person-time of the first time period;pijCharacterize the current quotient Consumption person-time of i-th of the businessman that circle includes in the first time period in the jth day of the target time section;N characterization is described current The total number for the businessman that commercial circle includes;T characterizes the number of days of the target time section;
The determining subelement, the current commercial circle region for being calculated according to the computation subunit are corresponding average Consumption person-time, determines the congestion index in the current commercial circle region;
The determining subelement, is used for:
The congestion index in the current commercial circle region is calculated using following calculation formula two for each commercial circle region;
Wherein, y characterizes the congestion index in the current commercial circle region;hjThe current commercial circle region is characterized in the object time The traffic index of the first time period in the jth day of section;X characterizes the current commercial circle region and disappears in being averaged for the first time period Take person-time;S characterizes the area in the current commercial circle region.
8. according to the device any in claim 5 to 7, which is characterized in that further comprise: display unit, for User shows the congestion index in each commercial circle region, so that the user needs selection according to congestion index determination The commercial circle region.
CN201611034060.0A 2016-11-15 2016-11-15 A kind of method and device of the congestion index in determining commercial circle region Active CN106710210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611034060.0A CN106710210B (en) 2016-11-15 2016-11-15 A kind of method and device of the congestion index in determining commercial circle region

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611034060.0A CN106710210B (en) 2016-11-15 2016-11-15 A kind of method and device of the congestion index in determining commercial circle region

Publications (2)

Publication Number Publication Date
CN106710210A CN106710210A (en) 2017-05-24
CN106710210B true CN106710210B (en) 2019-04-16

Family

ID=58941247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611034060.0A Active CN106710210B (en) 2016-11-15 2016-11-15 A kind of method and device of the congestion index in determining commercial circle region

Country Status (1)

Country Link
CN (1) CN106710210B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108417037A (en) * 2018-05-09 2018-08-17 电子科技大学 A kind of sight spot periphery ride number computational methods based on traffic situation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740745A (en) * 2004-08-25 2006-03-01 株式会社电装 Item search device
CN102968901A (en) * 2012-11-30 2013-03-13 青岛海信网络科技股份有限公司 Method for acquiring regional congestion information and regional congestion analyzing device
WO2013166216A1 (en) * 2012-05-01 2013-11-07 Joseph Michael Systems and methods for monitoring, managing, and facilitating location - and/or other criteria-dpendent targeted communications and /or transactions
CN105261210A (en) * 2015-07-23 2016-01-20 合肥革绿信息科技有限公司 Beidou-equipment-based calculating method of traffic congestion index of road

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740745A (en) * 2004-08-25 2006-03-01 株式会社电装 Item search device
WO2013166216A1 (en) * 2012-05-01 2013-11-07 Joseph Michael Systems and methods for monitoring, managing, and facilitating location - and/or other criteria-dpendent targeted communications and /or transactions
CN102968901A (en) * 2012-11-30 2013-03-13 青岛海信网络科技股份有限公司 Method for acquiring regional congestion information and regional congestion analyzing device
CN105261210A (en) * 2015-07-23 2016-01-20 合肥革绿信息科技有限公司 Beidou-equipment-based calculating method of traffic congestion index of road

Also Published As

Publication number Publication date
CN106710210A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN104965920A (en) Method and apparatus for determining target address
US20150330645A1 (en) Comfort estimation and incentive design for energy efficiency
WO2019158068A1 (en) Method and device for pushing aggregated shop information
Cromley et al. A quantile regression approach to areal interpolation
CN108446944B (en) Resident city determination method and device and electronic equipment
CN106961356B (en) Web service selection method and device based on dynamic QoS and subjective and objective weight
CN105243098B (en) The clustering method and device of facial image
Li et al. A room with a view: Automatic assessment of window views for high-rise high-density areas using City Information Models and deep transfer learning
Fu et al. Modelling impacts of adverse weather conditions on activity–travel pattern scheduling in multi-modal transit networks
CN106485415A (en) A kind of based on the mobile intelligent perception motivational techniques with budget for the relation between supply and demand
CN110110965A (en) Scheme Choice decision-making technique and device based on the adaptive regret theory of acceptance value
CN112862283A (en) Hierarchical analysis-based urban management dispatching method and system
CN106339578A (en) Multi-strategy integration hospital patient registration recommendation method
CN106710210B (en) A kind of method and device of the congestion index in determining commercial circle region
Gao et al. A Pareto front-based approach for constructing composite index of sustainability without weights: A comparative study of implementations
Cui et al. GIS-based method of delimitating trade area for retail chains
JP5331719B2 (en) Method, apparatus and program for determining action situation
CN105338186A (en) Context awareness-based Android mobile terminal power management method
CN109409938A (en) Commercial circle technique for delineating and device
CN109101544A (en) Heating power drawing generating method, calculates equipment and readable storage medium storing program for executing at device
Chen et al. Demand planning approaches to aggregating and forecasting interrelated demands for safety stock and backup capacity planning
JP6854474B2 (en) Behavior analysis system using location information and its program
CN108985898B (en) Site scoring method and device and computer readable storage medium
CN109636437A (en) Cell average price predictor method, electronic device and storage medium
CN116228316A (en) Method and device for determining delivery address, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190314

Address after: 250100 S06 tower, 1036, Chao Lu Road, hi tech Zone, Ji'nan, Shandong.

Applicant after: Shandong Tidal Cloud Information Technology Co., Ltd.

Address before: 250100 S06 tower, 1036, Chao Lu Road, hi tech Zone, Ji'nan, Shandong.

Applicant before: Shandong wave cloud services Mdt InfoTech Ltd

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 250100 No. 1036 Tidal Road, Jinan High-tech Zone, Shandong Province, S01 Building, Tidal Science Park

Patentee after: Inspur cloud Information Technology Co., Ltd

Address before: 250100 Ji'nan science and technology zone, Shandong high tide Road, No. 1036 wave of science and Technology Park, building S06

Patentee before: SHANDONG INSPUR CLOUD INFORMATION TECHNOLOGY Co.,Ltd.