CN110087185A - Commercial circle fence generation method, device, equipment and computer readable storage medium - Google Patents
Commercial circle fence generation method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110087185A CN110087185A CN201910206128.6A CN201910206128A CN110087185A CN 110087185 A CN110087185 A CN 110087185A CN 201910206128 A CN201910206128 A CN 201910206128A CN 110087185 A CN110087185 A CN 110087185A
- Authority
- CN
- China
- Prior art keywords
- commercial circle
- fence
- point
- interest points
- key interest
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/35—Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
Abstract
The present invention provides a kind of commercial circle fence generation method, it is related to big data field, this method comprises: being generated according to the commercial circle fence when receiving the generation request of commercial circle fence and requesting to determine target commercial circle, and obtain the key interest points of the target commercial circle by the first preset rules;The location information for obtaining the key interest points screens the key interest points according to the location information of the key interest points and the second preset rules, obtains commercial circle fence point;Commercial circle fence is generated on preset electronic map based on the commercial circle fence point.The present invention also provides a kind of commercial circle fence generating means, equipment and computer readable storage mediums.The present invention can improve the accuracy of commercial circle fence delimitation.
Description
Technical field
The present invention relates to big data fields more particularly to a kind of commercial circle fence generation method, device, equipment and computer can
Read storage medium.
Background technique
Geography fence (Geo-fencing) is LBS (Location Based Service is based on mobile location-based service)
A kind of new opplication exactly crosses a virtual geographic boundary with a virtual fence.When mobile phone entrance, leave some specifically
Manage region, or it is movable in the area when, mobile phone can receive automatic notice and warning.Geography fence is widely used in commercial circle
The fields such as advertisement dispensing, shopping information, preferential work where detecting that user reaches commercial circle when fence, to user's recommendation commercial circle
It moves.
However, surveying position generally by artificial reality and beat currently on the market without standardized commercial circle fence data
Point carries out the delimitation of commercial circle fence to acquire data, manually when facing many and diverse data processing, can occur often artificial
Mistake caused by carelessness, accuracy are difficult to obtain certain guarantee.
Therefore, the poor technical problem of the accuracy of commercial circle fence delimitation exists in the prior art.
Summary of the invention
The main purpose of the present invention is to provide a kind of commercial circle fence generation method, device, equipment and computer-readable deposit
Storage media, it is intended to realize and improve the accuracy that commercial circle fence delimited.
To achieve the above object, the present invention provides a kind of commercial circle fence generation method, the commercial circle fence generation method packet
It includes:
When receiving the generation request of commercial circle fence, is generated according to the commercial circle fence and request to determine target commercial circle, and pressed
First preset rules obtain the key interest points of the target commercial circle;
The location information for obtaining the key interest points, according to the location information of the key interest points and the second default rule
Then the key interest points are screened, obtain commercial circle fence point;
Commercial circle fence is generated on preset electronic map based on the commercial circle fence point.
Optionally, the step of key interest points that the target commercial circle is obtained by the first preset rules, comprising:
The architecture information for obtaining the target commercial circle, according to target commercial circle described in the building star in the architecture information
Building is divided into landmark and non-landmark;
Point of the non-landmark is calculated by default calculation formula according to the architecture information of the non-landmark
Value;
The non-landmark and the landmark that the score value is greater than the first preset threshold are as the target
The key interest points of commercial circle.
Optionally, the default calculation formula are as follows:
S=a/100+5*b+c+0.1*d;
Wherein, s is the score value of the non-landmark;
A is the daily flow per capita in the architecture information of the non-landmark;
B is in the architecture information of the non-landmark away from the ground in non-first preset range of landmark
Iron quantity;
C is in the architecture information of the non-landmark away from the public affairs in non-second preset range of landmark
Intersection number amount;
D is retail shop's quantity in the non-landmark in the architecture information of the non-landmark.
Optionally, the location information for obtaining the key interest points, according to the location information of the key interest points
The step of screening with the second preset rules to the key interest points, obtaining commercial circle fence point include:
Latitude and longitude coordinates in the location information are converted into right angle and sat by the location information for obtaining the key interest points
Rectangular co-ordinate under mark system;
It is screened from the key interest points according to the rectangular co-ordinate and obtains the first commercial circle fence point, and with described first
Commercial circle fence point searches the second commercial circle fence point corresponding with the starting point as starting point, by preset direction, and described second
Remaining key interest points is segmented in the same side of the line by commercial circle fence point and the line of the starting point;
Using second commercial circle fence point as new starting point, searched and the new starting point by the preset direction
Corresponding commercial circle fence point, and so on, until searching stopping when obtained commercial circle fence point is first commercial circle fence point
It searches.
Optionally, the location information for obtaining the key interest points, according to the location information of the key interest points
Before the step of being screened with the second preset rules to the key interest points, obtaining commercial circle fence point, comprising:
The average distance between the key interest points is calculated, detects whether the average distance is greater than the second default threshold
Value, and whether the quantity for detecting the key interest points is greater than third predetermined threshold value;
If the average distance is greater than the second preset threshold, and the quantity of the key interest points is greater than third and presets threshold
Value, thens follow the steps: obtaining the location information of the key interest points, according to the location information of the key interest points and second
Preset rules screen the key interest points, obtain commercial circle fence point;
If the average distance be less than or equal to the second preset threshold, and/or the quantity of the key interest points be less than or
Equal to third predetermined threshold value, then the information of the key interest points of the target commercial circle is sent to default operational terminal, so that
The information of key interest points of the staff based on the target commercial circle adds virtual point of interest;
It is described to obtain the key interest points when receiving the virtual point of interest that the default operational terminal returns
Location information, the key interest points are sieved according to the location information of the key interest points and the second preset rules
Choosing, the step of obtaining commercial circle fence point include:
The location information for obtaining the key interest points and virtual point of interest, according to the key interest points and virtual interest
The location information and the second preset rules of point screen the key interest points and virtual point of interest, obtain commercial circle fence
Point.
It is optionally, described to be based on the commercial circle fence point before the step of generating commercial circle fence on preset electronic map,
Further include:
The key interest points for randomly selecting preset quantity adjust point as fence, obtain the corresponding building of the fence adjustment point
Architecture information;
Fence regulation coefficient is calculated according to the architecture information that the fence adjusts the corresponding building of point, and is enclosed according to described
Column regulation coefficient adjusts the position of the commercial circle fence point;
It is described to include: the step of generating commercial circle fence on preset electronic map based on the commercial circle fence point
Commercial circle fence is generated on preset electronic map based on the commercial circle fence point behind adjustment position.
Optionally, the commercial circle fence generation method further include:
When detecting architecture information altering event corresponding with the target commercial circle, thing is changed according to the architecture information
Part obtains corresponding modification information, and is updated according to the modification information to the commercial circle fence.
In addition, to achieve the above object, the present invention also provides a kind of commercial circle fence generating means, the commercial circle fence is generated
Device includes:
Module is obtained, for request being generated according to the commercial circle fence and being determined when receiving the generation request of commercial circle fence
Target commercial circle, and obtain by the first preset rules the key interest points of the target commercial circle;
Screening module is believed for obtaining the location information of the key interest points according to the position of the key interest points
Breath and the second preset rules screen the key interest points, obtain commercial circle fence point;
Generation module, for generating commercial circle fence on preset electronic map based on the commercial circle fence point.
In addition, to achieve the above object, the present invention also provides a kind of commercial circle fence generating device, the commercial circle fence is generated
Equipment includes memory, processor and is stored on the memory and can be generated by the commercial circle fence that the processor executes
Program, wherein realizing commercial circle fence as described above generation side when commercial circle fence generation program is executed by the processor
The step of method.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
It is stored with commercial circle fence on storage medium and generates program, wherein being realized when commercial circle fence generation program is executed by processor
The step of commercial circle fence generation method as described above.
The present invention provides a kind of commercial circle fence generation method, device, equipment and computer readable storage medium, is receiving
When commercial circle fence generates request, is generated according to the commercial circle fence and request to determine target commercial circle, and obtaining by the first preset rules should
The key interest points of target commercial circle;Obtain the location information of key interest points, then according to the location information of key interest points and
Second preset rules screen key interest points, obtain commercial circle fence point;Commercial circle fence point based on above-mentioned acquisition is pre-
If generating commercial circle fence on electronic map.The present invention is by obtaining the key interest points in target commercial circle, then to key interest
Point is screened to obtain commercial circle fence point, and then is connected and obtained commercial circle fence, it can be achieved that carrying out fence stroke to target commercial circle automatically
It is fixed, data are got and handled ready without being positioned manually, the accuracy of commercial circle fence delimitation can be improved.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of commercial circle fence generating device involved in the embodiment of the present invention;
Fig. 2 is the flow diagram of fence generation method first embodiment in commercial circle of the present invention;
Fig. 3 is the functional block diagram of fence generating means first embodiment in commercial circle of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to commercial circle fence generation method be mainly used in commercial circle fence generating device, which encloses
Column generating device, which can be PC (personal computer, personal computer), laptop, server etc., has display
With the equipment of processing function.
Referring to Fig.1, Fig. 1 is the hardware configuration signal of commercial circle fence generating device involved in the embodiment of the present invention
Figure.In the embodiment of the present invention, commercial circle fence generating device may include: processor 1001, such as CPU (Central
Processing Unit, central processing unit), communication bus 1002, user interface 1003, network interface 1004, memory
1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;User interface 1003 may include display
Shield (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include that the wired of standard connects
Mouth, wireless interface.Network interface 1004 optionally may include standard wireline interface and wireless interface (such as Wireless Fidelity
Wireless-Fidelity, Wi-Fi interface);Memory 1005 can be high-speed random access memory (random access
Memory, RAM), it is also possible to stable memory (non-volatile memory), such as magnetic disk storage, memory
1005 optionally can also be the storage device independently of aforementioned processor 1001.It will be understood by those skilled in the art that in Fig. 1
The hardware configuration that shows does not constitute a limitation of the invention simultaneously, may include than illustrating more or fewer components, or combination
Certain components or different component layouts.
With continued reference to Fig. 1, in Fig. 1 as may include in a kind of memory 1005 of computer storage medium operation system
System, network communication module and commercial circle fence generate program.In Fig. 1, network communication module can be used for connecting server, with clothes
Business device carries out data communication;And processor 1001 can be used for that the commercial circle fence stored in memory 1005 is called to generate program,
And execute fence generation method in commercial circle provided in an embodiment of the present invention.
Based on above-mentioned hardware configuration, each embodiment of fence generation method in commercial circle of the present invention is proposed.
The present invention provides a kind of commercial circle fence generation method.
Referring to figure 2., Fig. 2 is the flow diagram of fence generation method first embodiment in commercial circle of the present invention.
In the present embodiment, which includes:
Step S10 is generated according to the commercial circle fence when receiving the generation request of commercial circle fence and is requested to determine target quotient
It encloses, and obtains the key interest points of the target commercial circle by the first preset rules;
In the present embodiment, which realized by commercial circle fence generating device, the commercial circle fence
Generating device is illustrated by taking server as an example.In the present embodiment, server is when receiving the generation request of commercial circle fence, root
It is generated according to the commercial circle fence and requests to determine target commercial circle, and obtain the key interest points of the target commercial circle by the first preset rules.
Wherein, step " key interest points of the target commercial circle are obtained by the first preset rules " includes:
Step a1 obtains the architecture information of the target commercial circle, according to mesh described in the building star in the architecture information
The building of mark commercial circle is divided into landmark and non-landmark;
The acquisition rule of the key interest points of target commercial circle are as follows: first obtain the architecture information of the target commercial circle, then basis
The building of the building star target commercial circle in the architecture information is divided into landmark and non-landmark.
Step a2 calculates the non-terrestrial reference by default calculation formula according to the architecture information of the non-landmark and builds
The score value built;
Then, default calculation formula is pressed according to the architecture information of non-landmark in the target commercial circle and calculates each non-terrestrial reference
Property building score value, wherein the default calculation formula are as follows:
S=a/100+5*b+c+0.1*d;
Wherein, s is the score value of non-landmark;A is the daily flow per capita in the architecture information of non-landmark;b
For in the architecture information of non-landmark away from the subway quantity in non-the first preset range of landmark;C is non-terrestrial reference
Property building architecture information in away from the public transport quantity in non-the second preset range of landmark;D is non-landmark
Retail shop's quantity in non-landmark in architecture information.First preset range can be different from the second preset range,
Can be identical, it can be set according to the actual situation.
Step a3, the non-landmark and the landmark that the score value is greater than the first preset threshold are as institute
State the key interest points of target commercial circle.
After the score value that each non-landmark is calculated, the non-terrestrial reference that score value is greater than the first preset threshold is built
Build the key interest points with the landmark classified in step a3 as the target commercial circle.Wherein, the first default threshold
Value can be set as 100, naturally it is also possible to be adjusted according to the actual situation, for example, for three or four line cities, population compared with
Less, subway quantity and public transport quantity are also relatively fewer, and first preset threshold, which can correspond to, at this time is set as a smaller value.
Step S20 obtains the location information of the key interest points, according to the location information of the key interest points and
Two preset rules screen the key interest points, obtain commercial circle fence point;
Server obtains the location information of the key interest points, so after the key interest points for getting target commercial circle
Key interest points are screened according to the location information of key interest points and the second preset rules afterwards, obtain commercial circle fence point,
To delimit commercial circle fence.As the screening mode of one of commercial circle fence point, key interest points first can be converted into right angle and sat
Then point in mark system chooses the point (i.e. the point of outermost) in boundary in these points and is used as commercial circle fence point, specifically, step
Suddenly S20 includes:
Step b1 obtains the location information of the key interest points, and the latitude and longitude coordinates in the location information are converted
At the rectangular co-ordinate under rectangular coordinate system;
The location information for first obtaining key interest points, the latitude and longitude coordinates in location information are converted under rectangular coordinate system
Rectangular co-ordinate, for example, can be using the longitude and latitude of key interest points as x-axis coordinate and y-axis coordinate, to be converted into pair
The rectangular co-ordinate answered.
Step b2 is screened from the key interest points according to the rectangular co-ordinate and is obtained the first commercial circle fence point, and with
First commercial circle fence point searches the second commercial circle fence point corresponding with the starting point as starting point, by preset direction,
Remaining key interest points is segmented in the same side of the line by second commercial circle fence point and the line of the starting point;
It is screened from key interest points according to rectangular co-ordinate and obtains the first commercial circle fence point, which is should
One of them in rectangular coordinate system in four corner points, i.e. coordinate are (Xmin,Ymax), (Xmin,Ymin), (Xmax,Ymin),
(Xmax,Ymax) in one, then using the first commercial circle fence point as starting point, by preset direction, (clockwise direction is inverse
Clockwise) corresponding with the starting point the second commercial circle fence point is searched, which establishes rules then really are as follows: this
Remaining key interest points is segmented in the same side of line by 2 commercial circle fence points and the line of starting point.
Step b3 is searched and described new using second commercial circle fence point as new starting point by the preset direction
The corresponding commercial circle fence point of starting point, and so on, until searching obtained commercial circle fence point is first commercial circle fence
Stop searching when point.
Then, using the second commercial circle fence point as new starting point, it is corresponding that the starting point new with this is searched by preset direction
Commercial circle fence point, and so on, stop searching when obtained commercial circle fence point is the first commercial circle fence point until searching.I.e. with
Second commercial circle fence point is searched corresponding with new starting point (the second commercial circle fence point) as new starting point by preset direction
Third commercial circle fence point, which establishes rules then really are as follows: the third commercial circle fence point and the new starting point
Remaining key interest points is segmented in the same side of line by the line of (the second commercial circle fence point).Then again with third commercial circle fence
Point is new starting point, continues to be searched by above-mentioned search rule, and when finding new commercial circle fence point, will newly search
The commercial circle fence point arrived continues to execute lookup as newest starting point, until search obtained commercial circle fence point be this first
Stop searching when the fence point of commercial circle.Above-mentioned first commercial circle fence point, the second commercial circle fence point and subsequent obtained commercial circle of searching are enclosed
Column point is the commercial circle fence point of the target commercial circle.
As the screening mode of another commercial circle fence point, can also directly be pressed according to the latitude and longitude information of key interest points
Similar rule screens key interest points, to obtain commercial circle fence point.
Step S30 generates commercial circle fence based on the commercial circle fence point on preset electronic map.
Finally, the commercial circle fence point based on above-mentioned acquisition generates commercial circle fence on preset electronic map, i.e., in default electricity
It is sequentially connected by the sequencing that fence point in commercial circle is searched on sub- map, thus obtain one it is enclosed
Commercial circle fence.
The present invention provides a kind of commercial circle fence generation method, when receiving the generation request of commercial circle fence, according to the commercial circle
Fence, which generates, requests to determine target commercial circle, and the key interest points of the target commercial circle are obtained by the first preset rules;It obtains crucial
Then the location information of point of interest sieves key interest points according to the location information of key interest points and the second preset rules
Choosing, obtains commercial circle fence point;Commercial circle fence point based on above-mentioned acquisition generates commercial circle fence on preset electronic map.The present invention
By obtaining the key interest points in target commercial circle, then key interest points are screened to obtain commercial circle fence point, Jin Erlian
Connect to obtain commercial circle fence, it can be achieved that automatically to target commercial circle carry out fence delimitation, get and handle data ready without being positioned manually, can
Improve the accuracy that commercial circle fence delimited.
Further, it is based on above-mentioned first embodiment shown in Fig. 2, proposes the second of fence generation method in commercial circle of the present invention
Embodiment.
In the present embodiment, before step S20, the commercial circle fence generation method further include:
Step A calculates the average distance between the key interest points, detects whether the average distance is greater than second in advance
If threshold value, and whether the quantity for detecting the key interest points is greater than third predetermined threshold value;
For the negligible amounts for avoiding key interest points, can not constitute accuracy that commercial circle fence or commercial circle fence delimited compared with
Low, in the present embodiment, server can first detect the distribution of key interest points after the key interest points for obtaining target commercial circle
Whether situation and the quantity of key interest points are eligible, specifically, the average distance between key interest points can be calculated, detect
Whether the average distance is greater than the second preset threshold, and whether the quantity for detecting key interest points is greater than third predetermined threshold value.Its
In, the calculation method of the average distance between key interest points can be with are as follows: first calculates the distance between every two point, then calculates
Average value.
If the average distance is greater than the second preset threshold, and the quantity of the key interest points is greater than third and presets threshold
Value, thens follow the steps S20: obtaining the location information of the key interest points, according to the location information of the key interest points and
Second preset rules screen the key interest points, obtain commercial circle fence point;
If the average distance is greater than the second preset threshold, and the quantity of key interest points is greater than third predetermined threshold value, then obtains
The location information for taking key interest points carries out key interest points according to the location information of key interest points and the second preset rules
Screening, obtains commercial circle fence point.Its specific implementation procedure can refer to above-described embodiment, not repeat herein.
If the average distance be less than or equal to the second preset threshold, and/or the quantity of the key interest points be less than or
Equal to third predetermined threshold value, then follow the steps B: it is whole that the information of the key interest points of the target commercial circle is sent to default work
End, so that the information of key interest points of the staff based on the target commercial circle adds virtual point of interest;
When receiving the virtual point of interest that the default operational terminal returns, step S20 includes: to obtain the pass
The location information of key point of interest and virtual point of interest, according to the location information and second of the key interest points and virtual point of interest
Preset rules screen the key interest points and virtual point of interest, obtain commercial circle fence point.
If the average distance is less than or equal to the second preset threshold, and/or the quantity of the key interest points is less than or waits
In third predetermined threshold value, that is, when either one or two condition being unsatisfactory in above-mentioned condition is not satisfied, at this point, to ensure commercial circle
The accuracy that fence generates, need to manually increase virtual point of interest.At this point, then by the information of the key interest points of target commercial circle (packet
Include but be not limited to the information such as the location information of the key interest points of target commercial circle, the quantity of key interest points and distribution situation) hair
It send to default operational terminal, so that the information of key interest points of the staff based on above-mentioned target commercial circle is manually added virtually
Point of interest, and virtual point of interest is returned into server.Server is in the virtual point of interest for receiving default operational terminal return
When, the location information of the location information of the key interest points of acquisition and virtual point of interest before obtaining, then according to key interest
The location information and the second preset rules of point and virtual point of interest screen key interest points and virtual point of interest, obtain quotient
Corral column point, and then commercial circle fence is generated on preset electronic map based on commercial circle fence point.
Further, it is based on above-mentioned first embodiment and second embodiment, proposes fence generation method in commercial circle of the present invention
3rd embodiment.
In the present embodiment, before step S30, the commercial circle fence generation method further include:
The key interest points for randomly selecting preset quantity adjust point as fence, obtain the corresponding building of the fence adjustment point
Architecture information;
Fence regulation coefficient is calculated according to the architecture information that the fence adjusts the corresponding building of point, and is enclosed according to described
Column regulation coefficient adjusts the position of the commercial circle fence point;
At this point, step S30 includes:
Commercial circle fence is generated on preset electronic map based on the commercial circle fence point behind adjustment position.
It since point mathematically is no area and range, and is to build representated by the key interest points of above-mentioned acquisition
It builds, such as mall, they are not real point, and there are occupied areas and construction area, on the electronic map actually like being
One small polygon, therefore, the commercial circle fence generated after being directly attached to commercial circle fence point, actually there are still certain
Error.For this purpose, in the present embodiment, server can first be taken out from key interest points at random after obtaining commercial circle fence point
It takes the key interest points of preset quantity to adjust point as fence, obtains the architecture information of fence adjustment point, which includes
The data such as occupied area, building shape, building length, the width of the corresponding building of fence adjustment point, then according to above-mentioned data meter
It calculates and obtains the building radius of the corresponding building of each fence adjustment point, and then calculate its average value, obtain average building radius, this is put down
Radius is built as fence regulation coefficient, and adjusts the position of each commercial circle fence point, last root according to the fence regulation coefficient
Commercial circle fence is generated on preset electronic map according to the commercial circle fence point behind adjustment position.Wherein, for the position of commercial circle fence point
Adjustment is set, is that algorithm (Distribution GIS Buffer Generating Algorithm) is expanded based on existing fence, software can be called directly
Packet function st_buffer (), and the amplification of different modes can be according to circumstances carried out, such as according to fence regulation coefficient to commercial circle
The equidistant movement of fence point is amplified using commercial circle fence point as the center of circle.
The present embodiment considers the area factor of building, by calculating a fence regulation coefficient, to adjust commercial circle fence
The position of point, and commercial circle fence is generated based on the commercial circle fence point behind adjustment position, it is drawn to can further improve commercial circle fence
Fixed accuracy.
Further, the various embodiments described above are based on, propose the fourth embodiment of fence generation method in commercial circle of the present invention.
In the present embodiment, the commercial circle fence generation method further include:
When detecting architecture information altering event corresponding with the target commercial circle, thing is changed according to the architecture information
Part obtains corresponding modification information, and is updated according to the modification information to the commercial circle fence.
In the present embodiment, that is, server should when detecting architecture information altering event corresponding with the target commercial circle
When the architecture information of target commercial circle changes, corresponding modification information, and root can be obtained according to the architecture information altering event
Commercial circle fence is updated according to the modification information, i.e., delimit commercial circle fence again.The present embodiment passes through detecting target commercial circle
Information change can update commercial circle fence again according to modification information in time, so that the timeliness of commercial circle fence update can be improved.
The present invention also provides a kind of commercial circle fence generating means.
It is the functional block diagram of fence generating means first embodiment in commercial circle of the present invention referring to Fig. 3, Fig. 3.
In the present embodiment, the commercial circle fence generating means include:
Module 10 is obtained, for it is true to generate request according to the commercial circle fence when receiving the generation request of commercial circle fence
Set the goal commercial circle, and the key interest points of the target commercial circle are obtained by the first preset rules;
Screening module 20, for obtaining the location information of the key interest points, according to the position of the key interest points
Information and the second preset rules screen the key interest points, obtain commercial circle fence point;
Generation module 30, for generating commercial circle fence on preset electronic map based on the commercial circle fence point.
Wherein, each virtual functions module of above-mentioned commercial circle fence generating means is stored in the generation of commercial circle fence shown in Fig. 1 and sets
In standby memory 1005, the institute for generating program for realizing commercial circle fence is functional;When each module is executed by processor 1001,
The automatic key interest points obtained in target commercial circle can be achieved, then key interest points are screened to obtain commercial circle fence point,
And then generate the function of commercial circle fence.
Further, the acquisition module 10 includes:
Taxon, for obtaining the architecture information of the target commercial circle, according to the building star in the architecture information
The building of the target commercial circle is divided into landmark and non-landmark;
Computing unit, it is described non-ly for pressing default calculation formula calculating according to the architecture information of the non-landmark
The score value of mark property building;The default calculation formula are as follows:
S=a/100+5*b+c+0.1*d;
Wherein, s is the score value of the non-landmark;
A is the daily flow per capita in the architecture information of the non-landmark;
B is in the architecture information of the non-landmark away from the ground in non-first preset range of landmark
Iron quantity;
C is in the architecture information of the non-landmark away from the public affairs in non-second preset range of landmark
Intersection number amount;
D is retail shop's quantity in the non-landmark in the architecture information of the non-landmark.
Determination unit, for the score value to be greater than to the non-landmark and the landmark of the first preset threshold
Key interest points as the target commercial circle.
Further, the screening module 20 includes:
Converting unit sits the longitude and latitude in the location information for obtaining the location information of the key interest points
Mark the rectangular co-ordinate being converted under rectangular coordinate system;
First searching unit obtains the first commercial circle and encloses for being screened from the key interest points according to the rectangular co-ordinate
Column point, and using first commercial circle fence point as starting point, the second quotient corresponding with the starting point is searched by preset direction
Remaining key interest points is segmented in the line by the line of corral column point, second commercial circle fence point and the starting point
The same side;
Second searching unit, for being looked by the preset direction using second commercial circle fence point as new starting point
Look for commercial circle fence point corresponding with the new starting point, and so on, until searching obtained commercial circle fence point is described the
Stop searching when 1 commercial circle fence point.
Further, the commercial circle fence generating means further include:
Whether big detection module detects the average distance for calculating the average distance between the key interest points
In the second preset threshold, and whether the quantity for detecting the key interest points is greater than third predetermined threshold value;
The screening module 20 is specifically used for: if the average distance is greater than the second preset threshold, and the key interest
The quantity of point is greater than third predetermined threshold value, the location information of the key interest points is obtained, according to the position of the key interest points
Confidence breath and the second preset rules screen the key interest points, obtain commercial circle fence point;
Sending module, if being less than or equal to the second preset threshold, and/or the key interest points for the average distance
Quantity be less than or equal to third predetermined threshold value, then the information of the key interest points of the target commercial circle is sent to default work
Terminal, so that the information of key interest points of the staff based on the target commercial circle adds virtual point of interest;
When receiving the virtual point of interest that the default operational terminal returns, the screening module 20 is specifically used
In: the location information of the key interest points and virtual point of interest is obtained, according to the key interest points and virtual point of interest
Location information and the second preset rules screen the key interest points and virtual point of interest, obtain commercial circle fence point.
Further, the commercial circle fence generating means further include:
Data obtaining module adjusts point for randomly selecting the key interest points of preset quantity as fence, described in acquisition
The architecture information of the corresponding building of fence adjustment point;
Fence adjustment is calculated in position adjusting type modules, the architecture information for adjusting the corresponding building of point according to the fence
Coefficient, and adjust according to the fence regulation coefficient position of the commercial circle fence point;
The generation module 30 is specifically used for: being generated on preset electronic map based on the commercial circle fence point behind adjustment position
Commercial circle fence.
Further, the commercial circle fence generating means further include:
Update module, for when detecting architecture information altering event corresponding with the target commercial circle, according to described
Architecture information altering event obtains corresponding modification information, and is updated according to the modification information to the commercial circle fence.
Wherein, the function of modules is realized and above-mentioned commercial circle fence generation method reality in above-mentioned commercial circle fence generating means
It is corresponding to apply each step in example, function and realization process no longer repeat one by one here.
The present invention also provides a kind of commercial circle fence generating devices, which includes memory, processor
And be stored in the commercial circle fence that can be run on the memory and on the processor and generate program, the commercial circle fence generates
The step of commercial circle fence generation method as described in any of the above item embodiment is realized when program is executed by the processor.
The specific embodiment of fence generating device in commercial circle of the present invention and above-mentioned each embodiment of commercial circle fence generation method are basic
Identical, therefore not to repeat here.
The present invention also provides a kind of computer readable storage medium, commercial circle is stored on the computer readable storage medium and is enclosed
Column generates program, and the commercial circle fence generates the commercial circle realized as described in any of the above item embodiment when program is executed by processor
The step of fence generation method.
The specific embodiment of computer readable storage medium of the present invention and each embodiment base of above-mentioned commercial circle fence generation method
This is identical, and therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that an equipment (can be mobile phone, calculate
Machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of commercial circle fence generation method, which is characterized in that the commercial circle fence generation method the following steps are included:
When receiving the generation request of commercial circle fence, is generated according to the commercial circle fence and request to determine target commercial circle, and by first
Preset rules obtain the key interest points of the target commercial circle;
The location information for obtaining the key interest points, according to the location information of the key interest points and the second preset rules pair
The key interest points are screened, and commercial circle fence point is obtained;
Commercial circle fence is generated on preset electronic map based on the commercial circle fence point.
2. fence generation method in commercial circle as described in claim 1, which is characterized in that described to press described in the acquisition of the first preset rules
The step of key interest points of target commercial circle, comprising:
The architecture information for obtaining the target commercial circle, according to the building of target commercial circle described in the building star in the architecture information
It is divided into landmark and non-landmark;
The score value of the non-landmark is calculated by default calculation formula according to the architecture information of the non-landmark;
The non-landmark and the landmark that the score value is greater than the first preset threshold are as the target commercial circle
Key interest points.
3. fence generation method in commercial circle as claimed in claim 2, which is characterized in that the default calculation formula are as follows:
S=a/100+5*b+c+0.1*d;
Wherein, s is the score value of the non-landmark;
A is the daily flow per capita in the architecture information of the non-landmark;
B is in the architecture information of the non-landmark away from the subway number in non-first preset range of landmark
Amount;
C is in the architecture information of the non-landmark away from the public transport number in non-second preset range of landmark
Amount;
D is retail shop's quantity in the non-landmark in the architecture information of the non-landmark.
4. fence generation method in commercial circle as described in claim 1, which is characterized in that the position for obtaining the key interest points
Confidence breath, screens the key interest points according to the location information of the key interest points and the second preset rules, obtains
Include: to the step of commercial circle fence point
Latitude and longitude coordinates in the location information are converted into rectangular coordinate system by the location information for obtaining the key interest points
Under rectangular co-ordinate;
It is screened from the key interest points according to the rectangular co-ordinate and obtains the first commercial circle fence point, and with first commercial circle
Fence point searches the second commercial circle fence point corresponding with the starting point, second commercial circle as starting point, by preset direction
Remaining key interest points is segmented in the same side of the line by fence point and the line of the starting point;
Using second commercial circle fence point as new starting point, searched by the preset direction corresponding with the new starting point
Commercial circle fence point, and so on, stop searching when obtained commercial circle fence point is first commercial circle fence point until searching.
5. fence generation method in commercial circle as described in claim 1, which is characterized in that the position for obtaining the key interest points
Confidence breath, screens the key interest points according to the location information of the key interest points and the second preset rules, obtains
Before the step of to commercial circle fence point, comprising:
The average distance between the key interest points is calculated, detects whether the average distance is greater than the second preset threshold, and
Whether the quantity for detecting the key interest points is greater than third predetermined threshold value;
If the average distance is greater than the second preset threshold, and the quantity of the key interest points is greater than third predetermined threshold value, then
It executes step: obtaining the location information of the key interest points, it is default according to the location information of the key interest points and second
Rule screens the key interest points, obtains commercial circle fence point;
If the average distance is less than or equal to the second preset threshold, and/or the quantity of the key interest points is less than or equal to
The information of the key interest points of the target commercial circle is then sent to default operational terminal by third predetermined threshold value, so that work
The information of key interest points of the personnel based on the target commercial circle adds virtual point of interest;
When receiving the virtual point of interest that the default operational terminal returns, the position for obtaining the key interest points
Confidence breath, screens the key interest points according to the location information of the key interest points and the second preset rules, obtains
Include: to the step of commercial circle fence point
The location information for obtaining the key interest points and virtual point of interest, according to the key interest points and virtual point of interest
Location information and the second preset rules screen the key interest points and virtual point of interest, obtain commercial circle fence point.
6. the commercial circle fence generation method as described in any one of claims 1 to 5, which is characterized in that described to be based on the quotient
Corral column point is before the step of generating commercial circle fence on preset electronic map, further includes:
The key interest points for randomly selecting preset quantity adjust point as fence, obtain building for the fence adjustment corresponding building of point
Build information;
Fence regulation coefficient is calculated according to the architecture information that the fence adjusts the corresponding building of point, and according to the fence tune
Integral coefficient adjusts the position of the commercial circle fence point;
It is described to include: the step of generating commercial circle fence on preset electronic map based on the commercial circle fence point
Commercial circle fence is generated on preset electronic map based on the commercial circle fence point behind adjustment position.
7. the commercial circle fence generation method as described in any one of claims 1 to 5, which is characterized in that the commercial circle fence is raw
At method further include:
When detecting architecture information altering event corresponding with the target commercial circle, obtained according to the architecture information altering event
Corresponding modification information is taken, and the commercial circle fence is updated according to the modification information.
8. a kind of commercial circle fence generating means, which is characterized in that the commercial circle fence generating means include:
Module is obtained, for generating according to the commercial circle fence and requesting to determine target when receiving the generation request of commercial circle fence
Commercial circle, and obtain by the first preset rules the key interest points of the target commercial circle;
Screening module, for obtaining the location information of the key interest points, according to the location information of the key interest points and
Second preset rules screen the key interest points, obtain commercial circle fence point;
Generation module, for generating commercial circle fence on preset electronic map based on the commercial circle fence point.
9. a kind of commercial circle fence generating device, which is characterized in that the commercial circle fence generating device include memory, processor with
And be stored on the memory and program can be generated by the commercial circle fence that the processor executes, wherein the commercial circle fence is raw
When being executed at program by the processor, the step of the commercial circle fence generation method as described in any one of claims 1 to 7 is realized
Suddenly.
10. a kind of computer readable storage medium, which is characterized in that be stored with commercial circle on the computer readable storage medium and enclose
Column generates program, wherein realizing such as any one of claims 1 to 7 when commercial circle fence generation program is executed by processor
The step of described commercial circle fence generation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910206128.6A CN110087185A (en) | 2019-03-16 | 2019-03-16 | Commercial circle fence generation method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910206128.6A CN110087185A (en) | 2019-03-16 | 2019-03-16 | Commercial circle fence generation method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110087185A true CN110087185A (en) | 2019-08-02 |
Family
ID=67412494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910206128.6A Pending CN110087185A (en) | 2019-03-16 | 2019-03-16 | Commercial circle fence generation method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110087185A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708859A (en) * | 2020-06-18 | 2020-09-25 | 中科宇图科技股份有限公司 | Business turn boundary identification method based on spatial data |
CN112907275A (en) * | 2021-01-21 | 2021-06-04 | 长沙市到家悠享网络科技有限公司 | Business district fence configuration method, service information distribution method, equipment and medium |
CN115545807A (en) * | 2022-12-02 | 2022-12-30 | 广州数说故事信息科技有限公司 | Business district dividing method and device, geographic information system, terminal equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120310527A1 (en) * | 2011-05-30 | 2012-12-06 | Microsoft Corporation | Asymmetric dynamic geo-fencing |
CN103533501A (en) * | 2013-10-15 | 2014-01-22 | 厦门雅迅网络股份有限公司 | Geofence generating method |
CN106488400A (en) * | 2015-08-31 | 2017-03-08 | 中国电信股份有限公司 | Generate the method and device of geography fence |
-
2019
- 2019-03-16 CN CN201910206128.6A patent/CN110087185A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120310527A1 (en) * | 2011-05-30 | 2012-12-06 | Microsoft Corporation | Asymmetric dynamic geo-fencing |
CN103533501A (en) * | 2013-10-15 | 2014-01-22 | 厦门雅迅网络股份有限公司 | Geofence generating method |
CN106488400A (en) * | 2015-08-31 | 2017-03-08 | 中国电信股份有限公司 | Generate the method and device of geography fence |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708859A (en) * | 2020-06-18 | 2020-09-25 | 中科宇图科技股份有限公司 | Business turn boundary identification method based on spatial data |
CN111708859B (en) * | 2020-06-18 | 2023-04-25 | 中科宇图科技股份有限公司 | Business circle boundary identification method based on spatial data |
CN112907275A (en) * | 2021-01-21 | 2021-06-04 | 长沙市到家悠享网络科技有限公司 | Business district fence configuration method, service information distribution method, equipment and medium |
CN115545807A (en) * | 2022-12-02 | 2022-12-30 | 广州数说故事信息科技有限公司 | Business district dividing method and device, geographic information system, terminal equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8965403B2 (en) | Location tracking | |
US11243288B2 (en) | Location error radius determination | |
JP2016152044A (en) | Method and device for determining target position | |
JP2014507703A (en) | View-dependent technology to determine user interest in 3D application features | |
CN109478184A (en) | Identification, processing and display data point cluster | |
CN110087185A (en) | Commercial circle fence generation method, device, equipment and computer readable storage medium | |
CN105241446B (en) | A kind of indoor navigation route generation method and user terminal | |
CN110672089A (en) | Method and device for navigation in indoor environment | |
CN107092623A (en) | A kind of point of interest querying method and device | |
US20120016872A1 (en) | Methods and apparatuses for use in generating an encoded routeability graph description | |
CN104320848B (en) | The system and method for indoor positioning is realized based on cloud computing | |
US9805627B2 (en) | Method and apparatus for displaying digital map in client | |
US20150154639A1 (en) | Serving advertisements based on user physical activity | |
CN108388636B (en) | Streetscape method for retrieving image and device based on adaptive segmentation minimum circumscribed rectangle | |
CN109068374A (en) | Resident POI determines method, apparatus, terminal and storage medium | |
CN109218976A (en) | Resident POI determines method, apparatus, terminal and storage medium | |
CN104063113A (en) | Set display and interaction method for location-related information in digital map | |
CN114509072A (en) | Indoor navigation method, device, storage medium, mobile terminal and system | |
KR101771574B1 (en) | Apparatus and Method for Customer Propensity Based Information Service | |
JP5650613B2 (en) | Server apparatus and program for determining value of geographical area in communication service | |
JP6168844B2 (en) | Information processing apparatus, information processing method, and program | |
CN105389395B (en) | Information acquisition method and device | |
CN112232572B (en) | Space search method, device and storage medium | |
CN111898322B (en) | Data processing method and related equipment | |
US20220335693A1 (en) | Mixed reality space sharing system, sharing information management server, mixed reality terminal, mixed reality space sharing method, and sharing information management program |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190802 |