Specific embodiment
Above-mentioned technical proposal in order to better understand, below by attached drawing and specific embodiment to this specification embodiment
Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation
The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict,
Technical characteristic in this specification embodiment and embodiment can be combined with each other.
Referring to Figure 1, application scenarios schematic diagram is positioned for the internet business of this specification embodiment.Transaction terminal 100
Positioned at user side, communicated with the server 200 of network side.Trading processing client 101 in the transaction terminal 100 can
To be APP or the website for realizing business based on internet, transactional operation interface is provided for user and by the transaction of internet business
Information is supplied to network side and is handled;Internet business positioning device 201 in the server 200 is used for the transaction
Internet business involved in processing client 101 is positioned.
The transaction terminal 100 can be for the intelligence such as smart phone, laptop, tablet computer and all-in-one machine eventually
End.It is mutual for being completed on the transaction terminal that there is positioning function and positioning function to open for smart phone or tablet computer etc.
Networking transaction, the transaction of internet business can be obtained by the received satellite positioning signal such as smart phone or tablet computer
Region.This specification embodiment is directed to the transaction terminal for not having positioning function in notebook, all-in-one machine etc., or in intelligent hand
The internet business completed on the transaction terminal that there is positioning function but positioning function to close for machine, tablet computer etc. is positioned.
In a first aspect, this specification embodiment provides a kind of internet business localization method.Fig. 2 is the internet business
The flow chart of localization method, the internet business localization method include step S201- step S203.
S201, extracts the IP address of terminal to be positioned from the Transaction Information of transaction to be positioned, and the terminal to be positioned is
Carry out the transaction terminal of the transaction to be positioned.
For every internet business, the transaction terminal for carrying out internet business can generate corresponding Transaction Information, and will
The Transaction Information is supplied to network side and is handled, and the Transaction Information includes but is not limited to the time traded, carries out
The amount of money of transaction, the shops's information traded, the IP address of transaction terminal, the received satellite positioning signal of transaction terminal, friendship
The base station information of identity, the transaction terminal connection of easy terminal and the WIFI information of transaction terminal connection etc..
It should be noted that for the internet business of different transaction scenes, corresponding Transaction Information is not also identical.Example
Such as, for the aforementioned transaction terminal for not having positioning function in notebook, all-in-one machine etc., or in smart phone, tablet computer
Deng the internet business completed with positioning function but on transaction terminal that positioning function is closed, in corresponding Transaction Information not
Including the received satellite positioning signal of transaction terminal;For the internet business carried out in Small shop, corresponding transaction letter
It does not include the shops's information traded in breath;For being networked the internet business of progress using GPRS mode, corresponding friendship
It does not include the WIFI information of transaction terminal connection in easy information;For being networked the internet business of progress using WIFI mode,
It does not include the base station information of transaction terminal connection in corresponding Transaction Information.
But internet business must carry out in the state of networking, and the transaction terminal for carrying out internet business all has
There is unique identity, thus the Transaction Information of every internet business includes the IP address and transaction terminal of transaction terminal
Identity.In this specification embodiment, it is described to be positioned that progress is extracted from the Transaction Information of the transaction to be positioned
The IP address of the transaction terminal of transaction, according to the IP address of the transaction terminal of the transaction to be positioned to it is described it is to be positioned trade into
Row positioning.For convenience of description, the transaction terminal for carrying out the transaction to be positioned is defined as terminal to be positioned.
S202, judges whether the IP address of the terminal to be positioned belongs to one and stablize IP address section, the stable IP address
Section is the IP address that is distributed in fixed area determining according to more the first internet business in the first default historical time section
Section, and the stable IP address section is M correspondences before the IP address of transaction terminal that more first internet business are related to
Address field, M is positive integer.
All IP address can carry out original allocation according to administrative regions such as province, city-level city, County finance or areas, respectively
The region that a province, city-level city, County finance or area are distributed as each IP address.However, to all IP address into
After row original allocation, cause allocation plan may not be by strict implement, the region of certain IP address distributions due to various reasons
The case where there are dynamic changes, thus the existing result accuracy positioned by GeoIP is not high.
Have a large amount of internet business before carrying out the transaction to be positioned to occur, the interconnection that the overwhelming majority has occurred
Shops's information that the Transaction Information traded includes transaction, the received satellite positioning signal of transaction terminal, transaction terminal is netted to connect
The location information that base station information or the WIFI information etc. of transaction terminal connection can be accurately positioned, is obtained according to these location informations
The IP address distribution obtained is more accurate relative to position by GeoIP.Therefore, this specification embodiment is according to described more
First internet business determines the fixed area of the stable IP address section and the stable IP address section distribution.
Fig. 3 is the flow chart for the fixed area that this specification embodiment determines the stable IP address section distribution, described true
The fixed area of the fixed stable IP address section distribution includes step S301- step S305.
S301 is extracted described mostly than the first interconnection from all internet business in the described first default historical time section
Net transaction, the Transaction Information of first internet business include the IP for carrying out the transaction terminal of first internet business
Location and the received satellite positioning signal of transaction terminal for carrying out first internet business.
The first default historical time section can divide as follows:, can be with since time attribute is successive value
It by time discretization, i.e., will be segmented the time, be such as segmented according to natural day, the first default historical time section is some day
Or a few days;It is such as segmented according to calendar month, the first default historical time section is some moon or certain some months.Described first
Default historical time section is arranged longer, and the first internet business total amount of extraction is bigger, mutually according to described more first
The fixed area of the determining stable IP address section distribution of networking transaction is more accurate, but correspondingly data processing speed becomes
Slowly, the length of the described first default historical time section can be specifically configured according to actual needs.
In a kind of optional implementation, the first default historical time Duan Weicong first presets historical time to progress
The time of the transaction to be positioned corresponding historical time section, the first default historical time are to carry out the transaction to be positioned
Time before any time.By setting the described first default historical time section to from the described first default historical time
To the time corresponding historical time section for carrying out the transaction to be positioned, more first internet business of acquisition are newest
, i.e., the fixed area of the stable IP address section distribution is determined according to the newest internet business occurred.It is equivalent to every time
When positioning to internet business, the described first fixed area for stablizing IP address section distribution is all updated, thus can be more
More new IP address is distributed in real time, further increases the accuracy positioned to the transaction to be positioned.
The selection of first internet business, can be that shops's information that Transaction Information includes transaction, transaction terminal connects
The satellite positioning signal of receipts, the base station information of transaction terminal connection or WIFI information of transaction terminal connection etc. can carry out standard
Determine the internet business of the location information of position.In view of all internet business Transaction Information Satellite positioning signal the most
Abundant, the Transaction Information for first internet business that this specification embodiment is extracted includes carrying out first internet to hand over
The IP address of easy transaction terminal and the received satellite positioning signal of transaction terminal for carrying out first internet business.Into one
Step, the satellite positioning signal can be GPS signal, GLONASS signal, GALILEO signal or Big Dipper satellite signal etc..
In view of there is inconsistent, the transaction of first internet business in transaction area and satellite positioning place
Information can also include exchange hour and positioning time, and the exchange hour and the absolute value of the difference of the positioning time are less than
Preset time is poor, and the exchange hour is the time for carrying out first internet business, and the positioning time is described in progress
The transaction terminal of first internet business receives the time of satellite positioning signal.When by by the exchange hour and the positioning
Between absolute value of the difference to be set smaller than the preset time poor, it is inconsistent that transaction area and satellite positioning place can be filtered out
Internet business, further increase the accuracy positioned to the transaction to be positioned.The preset time difference can basis
Practical experience is configured, and this specification embodiment is to this without limiting.
S302 is carried out according to the received satellite positioning signal of transaction terminal for carrying out every first internet business
The sole zone of the IP address distribution of the transaction terminal of every first internet business.
After extracting more first internet business, according to satellite positioning principle and every the first internet friendship is carried out
The received satellite positioning signal of easy transaction terminal obtains the transaction area for carrying out every first internet business, will be into
The transaction area of row every first internet business is as the transaction terminal for carrying out every first internet business
The sole zone of IP address distribution.
S303, according to the sole zone of the IP address for the transaction terminal for carrying out every first internet business distribution,
Obtaining each each region of IP address section distribution to be judged and each region accounting, the IP address section to be judged is to carry out
M corresponding address fields before the IP address of the transaction terminal of every first internet business.
The coverage rate of Region Administrative rank, the accuracy rate of positioning and positioning that the value of the M can position as needed
Etc. factors be configured.For positioning the city-level city of the transaction to be positioned, the value of the M is this specification embodiment
When 24, the locating accuracy and coverage rate of acquisition are relatively high.Certainly, in other embodiments, if positioning is described to be positioned
The administrative region of the higher levels such as the province of transaction, then the value of the M can be smaller;If positioning the county of the transaction to be positioned
The other administrative regions of even lower levels such as grade city, then the value of the M can be bigger.
After the value of the M determines, M before the IP address for carrying out the transaction terminal of every first internet business is obtained
Position, mutually the same M correspond to an IP address section to be judged.According to the transaction terminal for carrying out every first internet business
IP address distribution sole zone, each region and each region for counting each IP address section to be judged distribution account for
Than.
By taking the value of M is 24, extracts five the first internet business out of described first default historical time section as an example,
If the IP address of the corresponding transaction terminal of five first internet business be respectively 223.85.221.198,
223.85.221.101,223.85.221.20,223.85.221.30 and 182.132.23.97, aforementioned five IP address point
The sole zone of cloth is respectively Chengdu, Chengdu, Chengdu, Mianyang City and Deyang City, then obtains IP address section to be judged
And IP address section 182.132.23 to be judged 223.85.221.The IP address section 223.85.221 to be judged is distributed in Chengdu
And Mianyang City, and Chengdu accounting is 75%, Mianyang City accounting is 25%;The IP address section 182.132.23 distribution to be judged
In Deyang City, and Deyang City accounting is 100%.
S304 judges whether highest accounting it is pre- be greater than first in the corresponding each region accounting of the IP address section to be judged
If percentage.
Described in obtaining after judging the corresponding each region accounting of IP address section, highest in each region accounting is accounted for
Than being compared with first preset percentage.If some is ideal wait judging that IP address section do not change after original allocation
In the case of its be distributed region only one, corresponding highest accounting be 100%.In view of data acquisition errors, carry out institute
The IP address for stating the transaction terminal of the first internet business may be the roaming factors such as IP address or agent IP address, this explanation
The IP address section to be judged is determined as described by book embodiment when the highest accounting is greater than first preset percentage
Stablize IP address section.First preset percentage can be according to data acquisition errors, roaming IP address or agent IP address etc.
Actual conditions are configured, and this specification embodiment is to this without limiting.
If the highest accounting is greater than first preset percentage, S305 is thened follow the steps, determines the IP to be judged
Address field is the stable IP address section, and the corresponding region of the highest accounting is determined as the stable IP address section and is distributed
Fixed area.
By taking first preset percentage is 70% as an example, the corresponding highest of the IP address section 223.85.221 to be judged
Accounting 75% is greater than first preset percentage 70%, thus the IP address section 223.85.221 to be judged is the stabilization
IP address section, the corresponding region Chengdu of the highest accounting 75% are consolidating for the stable IP address section 223.85.221 distribution
Determine region;The corresponding highest accounting 100% of the IP address section 182.132.23 to be judged is greater than first preset percentage
70%, thus the IP address section 182.132.23 to be judged is the stable IP address section, the highest accounting 100% is corresponding
Region Deyang City be the stable IP address section 182.132.23 distribution fixed area.
After determining the stable IP address section, by the IP address of the terminal to be positioned and each stable IP address section into
Row compares, and judges whether the IP address of the terminal to be positioned belongs to one and stablize IP address section, that is, judges the terminal to be positioned
IP address before M it is whether identical as the stable IP address section.Still with the aforementioned stable IP address section 223.85.221 and
It is described if the IP address of the terminal to be positioned is 223.85.221.35 for the stable IP address section 182.132.23
The IP address 223.85.221.35 of terminal to be positioned belongs to the stable IP address section 223.85.221.
If the IP address of the terminal to be positioned, which belongs to described one, stablizes IP address section, S203 is thened follow the steps, it will be described
The fixed area for stablizing IP address section distribution is determined as carrying out the transaction area of the transaction to be positioned.
The stable IP address section is distributed in the fixed area, with showing all IP that the stable IP address section includes
Location is all distributed in the fixed area.Therefore, if the IP address of the terminal to be positioned belongs to the stable IP address section, institute
The IP address for stating terminal to be positioned is also distributed about the fixed area, i.e., the described fixed area is to carry out the transaction to be positioned
Transaction area.
In this specification embodiment, since the stable IP address section is to be determined according to more first internet business
The IP address section for being distributed in the fixed area, the transaction area for carrying out first internet business is usually according to satellite
Positioning signal, shops's information of transaction or base station information of transaction terminal connection etc. obtain, when the area of some IP address distribution
When dynamic change has occurred relative to original allocation in domain, the dynamic change by satellite positioning signal, transaction shops's information or
The base station information etc. of person's transaction terminal connection can embody in more first internet business, therefore according to described more
The IP address distribution that first internet business determines is more accurate relative to original allocation, by the stable IP address section distribution
The transaction area that fixed area is determined as carrying out the transaction to be positioned is more accurate, improves and carries out to the transaction to be positioned
The accuracy of positioning.
As previously mentioned, the Transaction Information of internet business includes but is not limited to the time traded, the gold traded
Volume, the shops's information traded, the IP address of transaction terminal, transaction terminal received satellite positioning signal, transaction terminal
Identity, the base station information of transaction terminal connection and WIFI information of transaction terminal connection etc., the door traded
Shop information, the IP address of the transaction terminal, the identity of the received satellite positioning signal of the transaction terminal, the transaction terminal
The WIFI information of mark, the base station information of transaction terminal connection and transaction terminal connection is all that can be positioned
Location information.Therefore, except the IP address of the aforementioned transaction terminal according only to the transaction to be positioned is to the transaction to be positioned
Outside being positioned, the shops's information traded, the received satellite positioning signal of the transaction terminal, institute can be combined with
State the base station information of identity, the transaction terminal connection of transaction terminal and the WIFI information of transaction terminal connection
The transaction to be positioned is positioned.In a kind of optional implementation, the internet business of this specification embodiment offer
Localization method further includes step S204 and step S205.
S204 judges the transaction of the transaction to be positioned according to the priority orders of pre-set all kinds of location informations
It is higher than the location information of the IP address of the terminal to be positioned in information with the presence or absence of priority.
The location information includes the shops's information traded, the IP address of transaction terminal, transaction terminal is received defends
Star positioning signal, the identity of transaction terminal, the base station information of transaction terminal connection and the WIFI letter of transaction terminal connection
At least one of breath.According to the accuracy height positioned using all kinds of location informations, all kinds of location informations are set
Priority orders.For example, being higher than according to the accuracy that the shops's information traded is positioned using transaction terminal
The accuracy that IP address is positioned, then the priority for the shops's information traded is set above to the IP of transaction terminal
Location;It is higher than according to the accuracy that the base station information for the shops's information combination transaction terminal connection traded is positioned and uses
The accuracy that the shops's information traded is positioned, the then base connected the shops's information combination transaction terminal traded
The priority for information of standing is set above the shops's information traded.
If being higher than the IP address of the terminal to be positioned in the Transaction Information of the transaction to be positioned there is no priority
Location information thens follow the steps S201, the IP of the terminal to be positioned is extracted from the Transaction Information of the transaction to be positioned
Location;Otherwise S205 is thened follow the steps, the location information of highest priority is extracted from the Transaction Information of the transaction to be positioned, and
The transaction area for carrying out the transaction to be positioned is determined according to the location information of highest priority.
Positioning is carried out with reference to aforementioned to the transaction to be positioned according to the IP address of the transaction terminal of the transaction to be positioned
Step S201- step S203 determines that the transaction area for carrying out the transaction to be positioned has according to the location information of highest priority
Depending on the location information of the stereoscopic highest priority.For example, if the location information of the highest priority is traded
Shops's information then is determined as the shops position for carrying out the transaction to be positioned to carry out the trading post of the transaction to be positioned
Domain;It is if the location information of the highest priority is the base station information of transaction terminal connection, the progress is described to be positioned
The base station location of the transaction terminal connection of transaction is determined as carrying out the transaction area of the transaction to be positioned;If the priority is most
High location information is the WIFI information of transaction terminal connection, then connects the transaction terminal for carrying out the transaction to be positioned
The position WIFI be determined as carrying out the transaction area of the transaction to be positioned.
In this specification previous embodiment, the IP address of the terminal to be positioned may and be not belonging to any one stabilization
IP address section.In response to this, this specification embodiment in conjunction with the terminal to be positioned last trade region to it is described to
Positioning transaction is positioned.In a kind of optional implementation, the internet business localization method of this specification embodiment offer
It further include step S206- step S208.
If the IP address of the terminal to be positioned, which is not belonging to described one, stablizes IP address section, S206 is thened follow the steps, is judged
Whether the IP address of the terminal to be positioned belongs to a unstable IP address section, and the unstable IP address section is according to described more
The IP address section for being distributed in more than two regions that the first internet business of pen determines, and the unstable IP address section is described
M corresponding address fields before the IP address for the transaction terminal that more the first internet business are related to.
The specific method of determination of the unstable IP address section refers to Fig. 3, if the highest accounting is not more than described first
Preset percentage thens follow the steps S306, determines that the IP address section to be judged is the unstable IP address section, and will be described
The region for meeting preset condition in each region of IP address section distribution to be judged is determined as the unstable IP address section distribution
More than two regions.
The preset condition includes that accounting is higher than the second preset percentage and/or region corresponding with highest accounting category
In same higher level administrative region, second preset percentage is less than first preset percentage.With described first default hundred
Point than for for 90%, it is default that the corresponding highest accounting 75% of the IP address section 223.85.221 to be judged is less than described first
Percentage 90%, thus the IP address section 223.85.221 to be judged is the unstable IP address section.If the default item
Part includes accounting higher than second preset percentage and region corresponding with the highest accounting belongs to same higher level administrative area
Domain, second preset percentage is 20%, since Chengdu accounting is 75%, Mianyang City accounting is 25%, is above described
Second preset percentage, and Chengdu and Mianyang City belong to Sichuan Province, thus by Chengdu and Mianyang City be determined as it is described not
Stablize the region of IP address section 223.85.221 distribution.
After determining the unstable IP address section, by the IP address of the terminal to be positioned and each unstable IP address
Section is compared, and judges whether the IP address of the terminal to be positioned belongs to a unstable IP address section, that is, judges described undetermined
Position terminal IP address before M it is whether identical as the unstable IP address section.Still with aforementioned unstable IP address section
223.85.221 for, if the IP address of the terminal to be positioned is 223.85.221.35, the IP of the terminal to be positioned
Location 223.85.221.35 belongs to the unstable IP address section 223.85.221.
If the IP address of the terminal to be positioned belongs to described one unstable IP address section, S207 is thened follow the steps, is judged
More than two regions of the unstable IP address section distribution whether include the terminal to be positioned last trade region.
Fig. 4 is the flow chart in the last trade region for the acquisition terminal to be positioned that this specification embodiment provides, institute
Stating and obtaining the last trade region of the terminal to be positioned includes step S401- step S404.
S401 extracts more the second internet business from all internet business in the second default historical time section,
The second default historical time Duan Weicong second presets historical time to the time for carrying out the transaction to be positioned and corresponding goes through
History period, the Transaction Information of second internet business include the body for carrying out the transaction terminal of second internet business
Part mark, the received satellite positioning signal of transaction terminal for carrying out second internet business and progress second interconnection
Net the time of transaction.
The second default historical time be the time for carrying out the transaction to be positioned before any time, described second
The length of default historical time section can be configured according to actual needs, as long as it can ensure that extracting sufficient amount of described the
Two internet business.Similar with the selection of first internet business, second internet business is also possible to transaction letter
Breath includes shops's information, the received satellite positioning signal of transaction terminal, the base station information of transaction terminal connection or the friendship of transaction
The internet business for the location information that the WIFI information etc. of easy terminal connection can be accurately positioned.In view of all internets
The Transaction Information Satellite positioning signal of transaction is the abundantest, second internet business that this specification embodiment is extracted
Transaction Information includes the identity for carrying out the transaction terminal of second internet business, carries out second internet business
The received satellite positioning signal of transaction terminal and carry out time of second internet business.
S402 according to the identity for the transaction terminal for carrying out every second internet business, carries out described every second
The time of internet business and the received satellite positioning signal of transaction terminal for carrying out every second internet business, really
Determine the last trade region of the corresponding transaction terminal of each identity.
After extracting more second internet business, according to satellite positioning principle and every the second internet friendship is carried out
The received satellite positioning signal of easy transaction terminal obtains the transaction area for carrying out every second internet business, will be into
The transaction area of row every second internet business is as the transaction terminal for carrying out every second internet business
The sole zone of IP address distribution.In conjunction with the identity and progress of the transaction terminal for carrying out every second internet business
The time of every second internet business, each transaction terminal that acquisition more second internet business are related to is most
Transaction area afterwards, that is, the corresponding last trade region of each identity that more second internet business are related to.
S403 extracts the identity of the terminal to be positioned from the Transaction Information of the transaction to be positioned.
The identity of the terminal to be positioned is the voucher for being able to demonstrate that the terminal identity to be positioned, with described undetermined
Position terminal is for smart phone, the identity of the terminal to be positioned can be the sequence number of smart phone.Described in extraction
The identity of terminal to be positioned can be in the IP address when progress for extracting the terminal to be positioned, be also possible to extracting institute
The IP address for stating terminal to be positioned carries out later, and this specification embodiment is not construed as limiting this.
S404, most according to the identity of the terminal to be positioned and the corresponding transaction terminal of each identity
Transaction area afterwards determines the last trade region of the terminal to be positioned.
All identity that the identity of the terminal to be positioned and more second internet business are related to
It is compared, the identity of the terminal to be positioned is found in all identity that more second internet business are related to
Mark, to obtain the last trade region of the terminal to be positioned.
Belong to the unstable IP address section 223.85.221 with the IP address 223.85.221.35 of the terminal to be positioned
For, then judge whether the region of the unstable IP address section 223.85.221 distribution includes the last of the terminal to be positioned
The last trade region of the terminal to be positioned and the unstable IP address section 223.85.221 are distributed by transaction area
Region is compared.
If more than two regions of the unstable IP address section distribution include the last trade area of the terminal to be positioned
Domain thens follow the steps S208, and the last trade region of the terminal to be positioned is determined as to carry out the friendship of the transaction to be positioned
Easy region.
Belong to the unstable IP address section 223.85.221 with the IP address 223.85.221.35 of the terminal to be positioned
For, if the last trade region of the terminal to be positioned is Chengdu, due to the unstable IP address section 223.85.221
The region of distribution is Chengdu and Mianyang City, the last trade region Chengdu including the terminal to be positioned, thus will be described
The last trade region Chengdu of terminal to be positioned is determined as carrying out the transaction area of the transaction to be positioned.
The step S206- step S208 of this specification embodiment, determines institute according to the identity of the terminal to be positioned
The last trade region for stating terminal to be positioned includes described undetermined in more than two regions of the unstable IP address section distribution
When the last trade region of position terminal, the last trade region of the terminal to be positioned is determined as to carry out the transaction to be positioned
Transaction area, the case where can not positioning to the stable IP address section supplements, is greatly improved to described to be positioned
The accuracy rate and coverage rate that transaction is positioned.
In a kind of optional implementation, the internet business localization method that this specification embodiment provides further includes step
S209。
If more than two regions of the unstable IP address section distribution do not include the last trade of the terminal to be positioned
Region thens follow the steps S209, and the highest region of accounting in more than two regions of the unstable IP address section distribution is true
It is set to the transaction area for carrying out the transaction to be positioned.
Belong to the unstable IP address section 223.85.221 with the IP address 223.85.221.35 of the terminal to be positioned
For, if the last trade region of the terminal to be positioned is Nanchong City, due to the unstable IP address section 223.85.221
The region of distribution is Chengdu and Mianyang City, does not include the last trade region Nanchong City of the terminal to be positioned, thus by institute
The highest Chengdu of accounting in the Chengdu and Mianyang City of unstable IP address section 223.85.221 distribution is stated to be determined as carrying out institute
State the transaction area of transaction to be positioned.
Second aspect, based on the same inventive concept, this specification embodiment provide a kind of internet business positioning device, packet
It includes:
Location information extraction module, for extracting the IP address of terminal to be positioned from the Transaction Information of transaction to be positioned,
The terminal to be positioned is the transaction terminal for carrying out the transaction to be positioned;
First judgment module stablizes IP address section, institute for judging whether the IP address of the terminal to be positioned belongs to one
Stating stable IP address section is to be distributed in fixation according to what more the first internet business in the first default historical time section determined
The IP address section in region, and the stable IP address section is the IP of transaction terminal that more first internet business are related to
M corresponding address fields before location, M are positive integer;
First determining module, for inciting somebody to action when the IP address of the terminal to be positioned belongs to the stabilization IP address section
The fixed area of the stable IP address section distribution is determined as carrying out the transaction area of the transaction to be positioned.
In a kind of optional implementation, the internet business positioning device further include:
Second judgment module judges described undetermined for the priority orders according to pre-set all kinds of location informations
It is higher than the location information of the IP address of the terminal to be positioned in the Transaction Information of position transaction with the presence or absence of priority;
The location information extraction module is for there is no priority to be higher than in the Transaction Information of the transaction to be positioned
When the location information of the IP address of the terminal to be positioned, extracted from the Transaction Information of the transaction to be positioned described to be positioned
The IP address of terminal;Otherwise from the Transaction Information of the transaction to be positioned extract highest priority location information, and according to
The location information of highest priority determines the transaction area for carrying out the transaction to be positioned.
In a kind of optional implementation, the internet business positioning device further include:
First transaction extraction module, for being extracted from all internet business in the described first default historical time section
It is described mostly than the first internet business, the Transaction Information of first internet business includes carrying out first internet business
Transaction terminal IP address and carry out the received satellite positioning signal of transaction terminal of first internet business;
Address d istribution obtains module, for according to the received satellite of transaction terminal for carrying out every first internet business
Position signal obtains the sole zone for carrying out the IP address distribution of the transaction terminal of every first internet business;
Address field distribution obtains module, for the IP according to the transaction terminal for carrying out every first internet business
The sole zone of location distribution, obtains each each region of IP address section to be judged distribution and each region accounting, it is described to
M corresponding address fields before judging IP address section for the IP address of the transaction terminal of progress every first internet business;
Third judgment module, for judging that highest accounting is in the corresponding each region accounting of the IP address section to be judged
It is no to be greater than the first preset percentage;
Second determining module, it is described wait sentence for determining when the highest accounting is greater than first preset percentage
Disconnected IP address section is the stable IP address section, and the corresponding region of the highest accounting is determined as the stable IP address section
The fixed area of distribution.
In a kind of optional implementation, the internet business positioning device further include:
4th judgment module, for the IP address of the terminal to be positioned be not belonging to it is described one stablize IP address section when,
Judge whether the IP address of the terminal to be positioned belongs to a unstable IP address section, the unstable IP address section is according to institute
The IP address section for being distributed in more than two regions that more the first internet business determine is stated, and the unstable IP address section is
M corresponding address fields before the IP address for the transaction terminal that more first internet business are related to;
5th judgment module, for when the IP address of the terminal to be positioned belongs to a unstable IP address section,
Judge the unstable IP address section distribution more than two regions whether include the terminal to be positioned last trade region;
Third determining module, for including described to be positioned in more than two regions of the unstable IP address section distribution
When the last trade region of terminal, the last trade region of the terminal to be positioned is determined as to carry out the transaction to be positioned
Transaction area.
In a kind of optional implementation, the internet business positioning device further include:
4th determining module, for when the highest accounting is not more than first preset percentage, determine it is described to
Judge that IP address section for the unstable IP address section, and will meet in each region of IP address section the to be judged distribution pre-
If the region of condition is determined as more than two regions of the unstable IP address section distribution.
In a kind of optional implementation, the location information extraction module is also used to the transaction from the transaction to be positioned
The identity of the terminal to be positioned, the internet business positioning device are extracted in information further include:
Second transaction extraction module, for extracting more from all internet business in the second default historical time section
Second internet business, the second default historical time Duan Weicong second preset historical time to carrying out the transaction to be positioned
Time corresponding historical time section, the Transaction Information of second internet business includes carrying out second internet business
Transaction terminal identity, carry out second internet business the received satellite positioning signal of transaction terminal and into
The time of row second internet business;
5th determining module, for identity, the progress according to the transaction terminal for carrying out every second internet business
Time of the every second internet business and transaction terminal for carrying out every second internet business is received defends
Star positioning signal determines the last trade region of the corresponding transaction terminal of each identity;
6th determining module, for corresponding according to the identity of the terminal to be positioned and each identity
The last trade region of transaction terminal determines the last trade region of the terminal to be positioned.
In a kind of optional implementation, the internet business positioning device further include:
7th determining module, for not including described undetermined in more than two regions of the unstable IP address section distribution
When the last trade region of position terminal, by the highest region of accounting in more than two regions of the unstable IP address section distribution
It is determined as carrying out the transaction area of the transaction to be positioned.
The third aspect is based on inventive concept same as internet business localization method in previous embodiment, and the present invention is also
A kind of server is provided, as shown in figure 5, including memory 504, processor 502 and being stored on memory 504 and can handle
The computer program run on device 502, the processor 502 realize aforementioned internet business localization method when executing described program
The step of.
Wherein, in Fig. 5, bus architecture (is represented) with bus 500, and bus 500 may include any number of interconnection
Bus and bridge, bus 500 will include the one or more processors represented by processor 502 and what memory 504 represented deposits
The various circuits of reservoir link together.Bus 500 can also will peripheral equipment, voltage-stablizer and management circuit etc. it
Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein
Description.Bus interface 505 provides interface between bus 500 and receiver 501 and transmitter 503.Receiver 501 and transmitter
503 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.Place
It manages device 502 and is responsible for management bus 500 and common processing, and memory 504 can be used for storage processor 502 and execute behaviour
Used data when making.
Fourth aspect, based on the inventive concept positioned with internet business in previous embodiment, the present invention also provides one kind
Computer readable storage medium is stored thereon with computer program, which realizes interconnection described previously when being executed by processor
The step of net transaction positioning.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram
It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds
The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes
Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification
Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill
Within the scope of art, then this specification is also intended to include these modifications and variations.