A kind of service implementation method and device
Technical field
The application is related to communication technical field, more particularly to a kind of service implementation method and device.
Background technology
Administrative division code, can for representing in the administrative region belonging to each enterprises and institutions, correlation technique
Territorial classification is carried out to enterprise with the administrative division code according to enterprise, and the result based on territorial classification is
Enterprise provides related service, such as:Loan transaction etc..Therefore, once the administrative division code of enterprise not
Accurately, the accuracy of business processing will be directly affected.
The content of the invention
In view of this, the application provides a kind of service implementation method and device.
Specifically, the application is achieved by the following technical solution:
A kind of service implementation method, methods described includes:
Multiple identification codes of business object are determined, the identification code includes the character of multigroup different attribute
Section;
Target character section is determined in attribute identical character field;
According to the rule of combination of character field, the target character sections different to attribute are combined, and obtain described
The target identification coding of business object;
The business object is encoded to based on the target identification related service is provided.
Optionally, the determination target character section in attribute identical character field, including:
Determine the frequency parameter of each character field in attribute identical character field;
Frequency parameter highest character field is defined as target character section.
Optionally, the determination target character section in attribute identical character field, in addition to:
When frequency parameter highest character field has multiple, marked according to belonging to frequency parameter highest character field
The determination mode for knowing coding calculates the weight of the character field;
The character field that weight is met into preparatory condition is defined as target character section.
Optionally, the identification code is administrative division code, the character field bag of multigroup different attribute
Include:Provincial character field, city-level character field and area/character field at county level.
A kind of service implementation method, methods described includes:
Multiple administrative division codes of business object are determined, the administrative division code includes multigroup not at the same level
Other code segment, the different stage includes:Provincial, city-level and area/at county level;
Object code section is determined in rank identical code segment;
According to the rule of combination of administrative division code, the object code section to different stage is combined, obtained
To the target administrative division code of the business object;
Based on the target administrative division code related service is provided for the business object.
Optionally, the determination object code section in rank identical code segment, including:
Determine the frequency parameter of each code segment in rank identical code segment;
Frequency parameter highest code segment is defined as object code section.
Optionally, the determination object code section in rank identical code segment, in addition to:
When frequency parameter highest code segment has multiple, according to belonging to frequency parameter highest code segment
The determination mode of administrative division code calculates the weight of the code segment;
The code segment that weight is met into preparatory condition is defined as object code section.
Optionally, the determination side of the administrative division code according to belonging to frequency parameter highest code segment
Formula calculates the weight of the code segment, including:
When the determination mode of the administrative division code belonging to frequency parameter highest code segment is according to registration
When address is determined, default benchmark weight and the administrative division number determined based on the registered address are calculated
The difference of amount as the code segment weight;
When the determination mode of the administrative division code belonging to frequency parameter highest code segment is according to industrial and commercial
When registration office is determined, default benchmark weight and the administrative area determined based on industrial and commercial registration office are calculated
The difference for drawing quantity is used as the weight of the code segment;
When the determination mode of the administrative division code belonging to frequency parameter highest code segment is according to industrial and commercial
When number of registration is determined, the difference for calculating default benchmark weight and registration time length is used as the power of the code segment
Weight;
When the determination mode of the administrative division code belonging to frequency parameter highest code segment is according to business
When the title of object is determined, default weight lower limit is obtained as the weight of the code segment.
A kind of business realizing device, described device includes:
Determining unit is encoded, multiple identification codes of business object are determined, the identification code includes multigroup
The character field of different attribute;
Character field determining unit, determines target character section in attribute identical character field;
Character field assembled unit, according to the rule of combination of character field, the target character sections different to attribute are entered
Row combination, obtains the target identification coding of the business object;
First provides unit, and being encoded to the business object based on the target identification provides related service.
Optionally, the character field determining unit, determines the frequency of each character field in attribute identical character field
Rate parameter, and frequency parameter highest character field is defined as target character section.
Optionally, the character field determining unit, when frequency parameter highest character field has multiple, root
The weight of the character field is calculated according to the determination mode of the affiliated identification code of frequency parameter highest character field,
And the character field that weight is met into preparatory condition is defined as target character section.
Optionally, the identification code is administrative division code, the character field bag of multigroup different attribute
Include:Provincial character field, city-level character field and area/character field at county level.
A kind of business realizing device, described device includes:
Code-determining unit, determines multiple administrative division codes of business object, the administrative division code
Include the code segment of multigroup different stage, the different stage includes:Provincial, city-level and area/at county level;
Code segment determining unit, determines object code section in rank identical code segment;
Code segment assembled unit, according to the rule of combination of administrative division code, to the target generation of different stage
Code section is combined, and obtains the target administrative division code of the business object;
Second provides unit, and related industry is provided for the business object based on the target administrative division code
Business.
Optionally, the code segment determining unit, determines the frequency of each code segment in rank identical code segment
Rate parameter, and frequency parameter highest code segment is defined as object code section.
Optionally, the code segment determining unit, when frequency parameter highest code segment has multiple, root
The code segment is calculated according to the determination mode of the administrative division code belonging to frequency parameter highest code segment
Weight, and the code segment that weight is met into preparatory condition is defined as object code section.
Optionally, the code segment determining unit, in the administrative area belonging to frequency parameter highest code segment
The determination mode for drawing code is when being determined according to registered address, to calculate default benchmark weight and based on described
The difference for the administrative division quantity that registered address is determined as the code segment weight;
It is according to industrial and commercial note in the determination mode of the administrative division code belonging to frequency parameter highest code segment
When volume office determines, default benchmark weight and the administrative division determined based on industrial and commercial registration office are calculated
The difference of quantity as the code segment weight;
It is according to industrial and commercial note in the determination mode of the administrative division code belonging to frequency parameter highest code segment
When volume number is determined, the difference for calculating default benchmark weight and registration time length is used as the weight of the code segment;
It is according to business pair in the determination mode of the administrative division code belonging to frequency parameter highest code segment
When the title of elephant is determined, default weight lower limit is obtained as the weight of the code segment
By the application it can be seen from above description can it is determined that after multiple identification codes of business object,
It is that business object determines more accurate target identification coding based on the multiple identification code, so as to improve
The accuracy of follow-up business.
Brief description of the drawings
Fig. 1 is a kind of flow chart of service implementation method shown in the exemplary embodiment of the application one.
Fig. 2 is the flow chart of another service implementation method shown in the exemplary embodiment of the application one.
Fig. 3 is that a kind of structure for business realizing device shown in the exemplary embodiment of the application one is shown
It is intended to.
Fig. 4 is a kind of structural representation of business realizing device shown in the exemplary embodiment of the application one.
Fig. 5 is another structure for business realizing device shown in the exemplary embodiment of the application one
Schematic diagram.
Fig. 6 is the structural representation of another business realizing device shown in the exemplary embodiment of the application one.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following
When description is related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous
Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the application
There is embodiment.On the contrary, they are only one be described in detail in such as appended claims, the application
The example of the consistent apparatus and method of a little aspects.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting
The application." one kind ", " institute of singulative used in the application and appended claims
State " and "the" be also intended to including most forms, unless context clearly shows that other implications.Should also
Work as understanding, term "and/or" used herein refers to and associated lists item comprising one or more
Purpose any or all may combine.
It will be appreciated that though may describe various using term first, second, third, etc. in the application
Information, but these information should not necessarily be limited by these terms.These terms only be used for by same type of information that
This is distinguished.For example, in the case where not departing from the application scope, the first information can also be referred to as
Two information, similarly, the second information can also be referred to as the first information.Depending on linguistic context, as in this institute
Use word " if " can be construed to " and ... when " or " when ... when " or " response
In it is determined that ".
In correlation technique, the administrative division code of enterprises and institutions can be determined by address of registering in Administration for Industry and Commerce,
However, because some enterprises and institutions do not provide complete registered address, it is possible that can cause to determine
Administrative division code it is not accurate enough.Further, it is also possible to industry and commerce when being registered by enterprises and institutions
Registration office determines the administrative division code of enterprises and institutions, however, due to industrial and commercial registration office title often
Only include area or county's information, and the whole nation there may be multiple areas or county of the same name, so be able to may also cause
The administrative division code of determination is not accurate enough.On the other hand, it can also be noted by the industry and commerce of enterprises and institutions
Volume number determines the administrative division code of enterprises and institutions, however, because enterprise may move, so
The administrative division code for being likely to result in determination is not accurate enough.When enterprises and institutions administrative division code not
When accurate, it is possible to the accuracy of business processing can be influenceed, can also bring huge to business provider when serious
Big economic asset loss.
In view of the above-mentioned problems, the application provides a kind of business realizing scheme.
Fig. 1 is a kind of flow chart of service implementation method shown in the exemplary embodiment of the application one.
Fig. 1 is refer to, the service implementation method can be applied in service end, include following steps:
Step 101, multiple identification codes of business object are determined, the identification code includes multigroup difference
The character field of attribute.
In the present embodiment, business provider can provide related service service with service-oriented object.It is described
Identification code is used for certain attributive character for representing business object, such as:The identification code can be row
Code is drawn in administrative division, and for representing the administrative information region belonging to business object, the identification code can also
For sorting code number, for representing classification belonging to business object etc..The identification code has generally included many
The character field of group different attribute, wherein, each character field can include one or more character.Citing
For, it is assumed that the identification code is administrative division code, then administrative division code includes multigroup difference
The character field of rank, that is, multigroup different stage code segment, such as:Provincial code segment, city-level generation
Code section, area/code segment at county level etc..
In the present embodiment, the mark that various ways determines the business object can be respectively adopted
Coding, to obtain multiple identification codes of the business object.
Step 102, target character section is determined in attribute identical character field.
, can be according to institute it is determined that after multiple identification codes of business object based on abovementioned steps 101
The rule of combination of identification code is stated, that is, the combination of the variant attribute character section of composition identification code is advised
Then, the identification code is split as to the character field of multigroup different attribute, then in attribute identical character
Target character section is determined in section.
As an example it is assumed that determining N number of identification code of business object, Mei Gebiao in abovementioned steps 101
Knowing coding includes the character field of M group different attributes, wherein, M and N are the natural number more than 1.
Each identification code can be then split as to the character field of M group different attributes, to N number of mark
After coding is split, for every attribute, N group character fields can be obtained, N × M can be obtained altogether
Group character field.
In this step, for every attribute, the target word of the attribute can be determined in N group character fields
Section is accorded with, such as:Can first it determine in this N group character field, the frequency parameter of each character field, then will frequency
Rate parameter highest character field is defined as target character section.Wherein, the frequency parameter can be frequency,
Can also be frequency etc., the application is not particularly limited to this.
As an example it is assumed that for certain attribute, 3 groups of character fields can be obtained after fractionation, it is respectively
" 11 ", " 11 " and " 12 ", then the frequency of character field " 11 " is 2, and frequency is 2/3, character
The frequency of section " 12 " is 1, and frequency is 1/3, then can be by frequency parameter highest character field " 11 " really
It is set to the target character section of the attribute.
Step 103, according to the rule of combination of character field, the target character sections different to attribute are combined,
Obtain the target identification coding of the business object.
, can be according to character field it is determined that after the target character section of each attribute based on abovementioned steps 102
Rule of combination, that is, composition identification code variant attribute character section rule of combination, to attribute
Different target character sections are combined, and are encoded with the target identification for obtaining the business object.Wherein,
The rule of combination of the character field can include the character field that attribute is A and be arranged in the character field that attribute is B
Rule is waited before.
Step 104, the business object is encoded to based on the target identification and related service is provided.
Based on abovementioned steps 103, after the target identification for obtaining the business object is encoded, it can be based on
The target identification is encoded to the business object and provides related service, such as:Lending business etc., this Shen
Please this is not particularly limited.
By the application it can be seen from above description can it is determined that after multiple identification codes of business object,
It is that business object determines more accurate target identification coding based on the multiple identification code, so as to improve
The accuracy of follow-up business.
The implementation process of the application is described with reference to specifically embodiment.
So that identification code is administrative division code as an example, Fig. 2, the business realizing that the application is provided refer to
Method may comprise steps of:
Step 201, multiple administrative division codes of business object are determined.
In the present embodiment, the business object includes each enterprises and institutions within Chinese territory, the administration
Zoning code be by《Administrative regional division of the People's Republic of China's code》(GB/T2260-2007) as defined in
Establishment rules are worked out.The administrative division code can be hexacode, nine codes, specifically can be by
Developer is configured, and the application is not particularly limited to this.
In the present embodiment, the administrative division generation that various ways determine the business object can be respectively adopted
Code, carries out citing description so that the administrative division code is hexacode as an example below.
First way, can determine the row of the business object according to the registered address of the business object
Code is drawn in administrative division, such as:The registered address that can be used according to the business object when industrial and commercial bureau registers
The administrative division code of the business object is determined, for ease of distinguishing, will can be determined according to registered address
Administrative division code be referred to as the first administrative division code.It is assumed that the registered address of the business object is
Hangzhou, Zhejiang province city Binjiang District, then the first administrative division code that can determine the business object is
330108.Wherein, front two 33 is provincial code segment, and middle two 01 are city-level code segment, finally
Two Wei08Wei areas/code segment at county level.
The second way, the industrial and commercial registration office that can be registered according to the business object determines the industry
The administrative division code of business object, such as:Industrial and commercial registration office when can be registered according to the business object
Title determines the administrative division code of the business object, can be by according to industrial and commercial registration for ease of distinguishing
The administrative division code that office determines is referred to as the second administrative division code.It is assumed that the industry and commerce of the business object
The entitled Xihu District industrial and commercial bureau of registration office, then can determine the second administrative division code of the business object
For 330106.
The third mode, can determine the business object according to the industrial and commercial registration number of the business object
Administrative division code, for ease of distinguishing, can claim the administrative division code determined according to industrial and commercial registration number
Code is drawn for the third line administrative division.It is assumed that the industrial and commercial registration number of the business object is 422324000008036,
The first six digits of the industrial and commercial registration number can be then defined as to the administrative division code of the business object, then
It is 422324 that code is drawn in the third line administrative division of the business object.
4th kind of mode, can determine the administrative area of the business object according to the title of the business object
Code is drawn, for ease of distinguishing, the administrative division code determined according to business object title can be referred to as to the
Four administrative division codes.It is assumed that entitled " Beijing * * Science and Technology Ltd.s " of the business object,
It is 110000 that can then determine that code is drawn in the fourth line administrative division of the business object.
Certainly, in actual applications, the administration of the business object can also be determined using other modes
Zoning code, in theory for, the administrative division code quantity determined in this step is more, finally obtains
Target administrative division code accuracy it is higher.
Step 202, object code section is determined in rank identical code segment.
Based on abovementioned steps 201, it is determined that after multiple administrative division codes of business object, Ke Yigen
According to the rule of combination of codes at different levels in the administrative division code, by respectively by the multiple administrative division generation
Code is split as the code segment of multigroup different stage, then determines object code in rank identical code segment
Section.
As an example it is assumed that three administrative division codes of business object are determined in abovementioned steps 201,
Respectively 330108,330107,330208, then these three administrative division codes can be split as following table
Shown code segment.
|
Provincial code segment |
City-level code segment |
Area/code segment at county level |
330108 |
33 |
01 |
08 |
330107 |
33 |
01 |
07 |
330208 |
33 |
02 |
08 |
Table 1
Table 1 is refer to, provincial code segment there are three groups, is " 33 ", city-level code segment also there are three groups,
Wherein two groups are " 01 ", and another set is " 02 ", and area/code segment at county level also has three groups, wherein two groups
For " 08 ", another set is " 07 ".
In this step, the frequency parameter of each code segment in rank identical code segment can be first determined, so
Frequency parameter highest code segment is defined as to the object code section of the rank afterwards.Using the frequency parameter as
Exemplified by frequency, in provincial code segment, each provincial code segment after fractionation is " 33 ", then can be true
A grade object code section of inquiring after the health of one's parents is " 33 ".In city-level code segment, the city-level code segment " 01 " after fractionation
Frequency be 2, the frequency of city-level code segment " 02 " is 1, then city-level object code section is frequency highest
“01”.In area/code segment at county level, the frequency of area/code segment at county level " 08 " after fractionation is 2, area
The frequency of/code segment " 07 " at county level is 1, then area/object code at county level section is frequency highest " 08 ".
Optionally, in one example of the application, when certain level codes section in, frequency parameter highest generation
Code section is when having multiple, can be according to the determination of the administrative division code belonging to frequency parameter highest code segment
Mode calculates the weight of the code segment, and the code segment that weight is met into preparatory condition is defined as the rank
Object code section.As an example it is assumed that in provincial code segment, code segment " 11 " and " 33 "
Frequency is 3, and higher than the frequency of other provincial code segments, then can be according to code segment " 11 " and " 33 "
The determination mode of affiliated administrative division code is that the code segment calculates weight, and weight is met into default
The code segment of condition is defined as provincial object code section, such as:Weight highest code segment can be determined
For provincial object code section.
In the present embodiment, when the administrative division code belonging to frequency parameter highest code segment is the first row
When code is drawn in administrative division, i.e., the determination side of the administrative division code belonging to described frequency parameter highest code segment
Formula is that when being determined according to registered address, can calculate default benchmark weight true with being based on the registered address
The difference for the administrative division quantity made, and using the difference as the code segment weight.Wherein, institute
Stating default benchmark weight can be configured by developer, such as:10,20 etc..With the benchmark
Weight be 10 exemplified by, it is assumed that the registered address be Hangzhou, Zhejiang province city Binjiang District ..., then can determine
Go out the first administrative division of only one code 330108, belong to the code segment of the first administrative division code
Weight is 10-1, and weight is 9.Again it is assumed that the registered address is Qingshan District ..., and the whole nation has two
Qingshan District, one is Baotou Qingshan District, and another is Wuhan City Qingshan District, then blue or green according to registered address
Mountain area can determine two the first different administrative division codes, belong to the two first administrative division generations
The weight of the code segment of any one the first administrative division code is 10-2 in code, i.e., weight is 8.
In the present embodiment, when the administrative division code belonging to frequency parameter highest code segment is the second row
When code is drawn in administrative division, i.e., the determination side of the administrative division code belonging to described frequency parameter highest code segment
Formula is that when being determined according to industrial and commercial registration office, can calculate default benchmark weight and based on the industrial and commercial registration
The difference of administrative division quantity that office determines, and using the difference as the code segment weight.Still with
The benchmark weight is exemplified by 10, it is assumed that industrial and commercial registration of the business object when register innings is Xihu District work
Business office, then can determine the second administrative division of only one code 330106 according to registration office title, belong to
It is 10-1 in the weight of the code segment of the second administrative division code, weight is 9.Again it is assumed that the note
Volume office is Qingshan District industrial and commercial bureau, then can determine two the second different administrative areas according to registration office title
Code is drawn, belongs to the code of any one the second administrative division code in the two second administrative division codes
The weight of section is 10-2, i.e., weight is equal 8.
In the present embodiment, when the administrative division code belonging to frequency parameter highest code segment is the third line
When code is drawn in administrative division, i.e., the determination side of the administrative division code belonging to described frequency parameter highest code segment
Formula is that when being determined according to industrial and commercial registration number, can calculate default benchmark weight and the difference of registration time length,
And using the difference as the code segment weight.Wherein, the registration time length is business object date of registration
, can be in units of year away from modern duration.Still so that the benchmark weight is 10 as an example, it is assumed that business pair
The date of registration of elephant is 2012, away from modern 4 years, then belongs to the power that the code segment of code is drawn in the third line administrative division
Weight is 10-4, and weight is 6.It is understood that due to business object may production and operation process
Middle resettlement, so in general, date of registration is longer away from modern duration, the possibility that it is moved is bigger, leads to
The accuracy for crossing the industrial and commercial registration number administrative division code determined is also lower.
In the present embodiment, when the administrative division code belonging to frequency parameter highest code segment is fourth line
When code is drawn in administrative division, i.e., the determination side of the administrative division code belonging to described frequency parameter highest code segment
Formula is that when being determined according to business object title, can obtain default weight lower limit as the code segment
Weight.Wherein, the weight lower limit can also be configured by developer, using benchmark weight as
Exemplified by 10, the weight lower limit can be the half of the benchmark weight, i.e., described weight lower limit can
Think 5.It is understood that in general, will not generally be carried more in the title of business object
Detailed area's level information, so the accuracy phase of the administrative division code determined according to the title of business object
To relatively low, therefore the weight can be set to weight lower limit.
Certainly, if the determination mode of the administrative division code belonging to frequency parameter highest code segment is it
His mode, those skilled in the art can determine its weight according to the accuracy of specific determination mode, this Shen
Please this is no longer going to repeat them.
Step 203, according to the rule of combination of administrative division code, the object code section to different stage is entered
Row combination, obtains the target administrative division code of the business object.
, can be according to row it is determined that after the object code section of code segment at different levels based on abovementioned steps 202
The rule of combination of code is drawn in administrative division, object code sections at different levels is combined, to obtain the target of the business object
Administrative division code.
Still by taking 3 administrative division codes shown in table 1 as an example, in abovementioned steps 202, determine
Provincial object code section is " 33 ", and city-level object code section is " 01 ", and area/object code at county level section is
" 08 " is then according to the rule of combination of administrative division code:Provincial code segment+city-level code segment+area/generation at county level
Code section, it may be determined that the target administrative division code of the business object is 330108.
Step 204, related service is provided based on the target administrative division code for the business object.
In the present embodiment, can be according to institute it is determined that after the target administrative division code of each business object
Target administrative division code is stated to make a distinction each business object, using according to distinguish result as each business object
Related service is provided.As an example it is assumed that the business provided is lending business, if Jiangsu and Zhejiang Provinces area in the recent period
Enterprise management condition it is poor, run into operation crisis, then can be sieved according to the administrative division code of each enterprise
The enterprise in Jiangsu and Zhejiang Provinces area is selected, is made loans with caution for these enterprises, to avoid the institute that can not subsequently recall a loan
The economic loss brought.
The application can be it is determined that multiple administrative division codes of business object it can be seen from above description
Afterwards, the determination mode based on the multiple administrative division code and each administrative division code is business object
More accurate target administrative division code is determined, so as to improve the accuracy of follow-up business.
Embodiment with the service implementation method shown in earlier figures 1 is corresponding, and present invention also provides business
Realize the embodiment of device.
The embodiment of the application business realizing device can be applied in service end.Device embodiment can lead to
Software realization is crossed, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software,
It is by non-volatile memories by the processor of service end where it as the device on a logical meaning
Corresponding computer program instructions read what operation in internal memory was formed in device.For hardware view, such as
It is a kind of hardware structure diagram of service end where the application business realizing device, except Fig. 3 shown in Fig. 3
Outside shown processor, internal memory, network interface and nonvolatile memory, device in embodiment
The service end at place can also include other hardware, to this not generally according to the actual functional capability of the service end
Repeat again.
Fig. 4 is a kind of structural representation of business realizing device shown in the exemplary embodiment of the application one.
Fig. 4 is refer to, the business realizing device 300 can be applied in the service end shown in earlier figures 3
In, include:Encode determining unit 301, character field determining unit 302, character field assembled unit 303
And first provide unit 304.
Wherein, the coding determining unit 301, determines multiple identification codes of business object, the mark
Knowing coding includes the character field of multigroup different attribute;
The character field determining unit 302, determines target character section in attribute identical character field;
The character field assembled unit 303, according to the rule of combination of character field, the target different to attribute
Character field is combined, and obtains the target identification coding of the business object;
Described first provides unit 304, and being encoded to the business object based on the target identification provides phase
Pass business.
Optionally, the character field determining unit 302, determines each character field in attribute identical character field
Frequency parameter, and by frequency parameter highest character field be defined as target character section.
Optionally, the character field determining unit 302, when frequency parameter highest character field has multiple,
The weight of the character field is calculated according to the determination mode of the affiliated identification code of frequency parameter highest character field,
And the character field that weight is met into preparatory condition is defined as target character section.
Optionally, the identification code is administrative division code, the character field bag of multigroup different attribute
Include:Provincial character field, city-level character field and area/character field at county level.
Embodiment with the service implementation method shown in earlier figures 2 is corresponding, and present invention also provides business
Realize the embodiment of device.
The embodiment of the application business realizing device can be applied in service end.Device embodiment can lead to
Software realization is crossed, can also be realized by way of hardware or software and hardware combining.Exemplified by implemented in software,
It is by non-volatile memories by the processor of service end where it as the device on a logical meaning
Corresponding computer program instructions read what operation in internal memory was formed in device.For hardware view, such as
It is a kind of hardware structure diagram of service end where the application business realizing device, except Fig. 5 shown in Fig. 5
Outside shown processor, internal memory, network interface and nonvolatile memory, device in embodiment
The service end at place can also include other hardware, to this not generally according to the actual functional capability of the service end
Repeat again.
Fig. 6 is a kind of structural representation of business realizing device shown in the exemplary embodiment of the application one.
Fig. 6 is refer to, the business realizing device 500 can be applied in the service end shown in earlier figures 5
In, include:Code-determining unit 501, code segment determining unit 502, code segment assembled unit 503
And second provide unit 504.
Wherein, the code-determining unit 501, determines multiple administrative division codes of business object, institute
Stating administrative division code includes the code segment of multigroup different stage, and the different stage includes:Provincial, city
Level and area/at county level;
The code segment determining unit 502, determines object code section in rank identical code segment;
The code segment assembled unit 503, according to the rule of combination of administrative division code, to different stage
Object code section be combined, obtain the target administrative division code of the business object;
Described second provides unit 504, is that the business object is carried based on the target administrative division code
For related service.
Optionally, the code segment determining unit 502, determines each code segment in rank identical code segment
Frequency parameter, and by frequency parameter highest code segment be defined as object code section.
Optionally, the code segment determining unit 502, when frequency parameter highest code segment has multiple,
The determination mode of administrative division code according to belonging to frequency parameter highest code segment calculates the code segment
Weight, and the code segment that weight is met into preparatory condition be defined as object code section.
Optionally, the code segment determining unit 502, in the row belonging to frequency parameter highest code segment
The determination mode that code is drawn in administrative division is when being determined according to registered address, to calculate default benchmark weight with being based on
The difference for the administrative division quantity that the registered address is determined as the code segment weight;
It is according to industrial and commercial note in the determination mode of the administrative division code belonging to frequency parameter highest code segment
When volume office determines, default benchmark weight and the administrative division determined based on industrial and commercial registration office are calculated
The difference of quantity as the code segment weight;
It is according to industrial and commercial note in the determination mode of the administrative division code belonging to frequency parameter highest code segment
When volume number is determined, the difference for calculating default benchmark weight and registration time length is used as the weight of the code segment;
It is according to business pair in the determination mode of the administrative division code belonging to frequency parameter highest code segment
When the title of elephant is determined, default weight lower limit is obtained as the weight of the code segment.
The function of unit and the implementation process of effect specifically refer to correspondence in the above method in said apparatus
The implementation process of step, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is joined
See the part explanation of embodiment of the method.Device embodiment described above be only it is schematical,
The wherein described unit illustrated as separating component can be or may not be it is physically separate, make
It can be for the part that unit is shown or may not be physical location, you can with positioned at a place,
Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or
Person's whole modules realize the purpose of application scheme.Those of ordinary skill in the art are not paying creativeness
In the case of work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, it is all at this not to limit the application
Within the spirit and principle of application, any modification, equivalent substitution and improvements done etc. should be included in
Within the scope of the application protection.