CN107203537B - Service implementation method and device - Google Patents

Service implementation method and device Download PDF

Info

Publication number
CN107203537B
CN107203537B CN201610151548.5A CN201610151548A CN107203537B CN 107203537 B CN107203537 B CN 107203537B CN 201610151548 A CN201610151548 A CN 201610151548A CN 107203537 B CN107203537 B CN 107203537B
Authority
CN
China
Prior art keywords
code
segment
character
target
segments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610151548.5A
Other languages
Chinese (zh)
Other versions
CN107203537A (en
Inventor
方腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610151548.5A priority Critical patent/CN107203537B/en
Publication of CN107203537A publication Critical patent/CN107203537A/en
Application granted granted Critical
Publication of CN107203537B publication Critical patent/CN107203537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a service implementation method and device. The method comprises the following steps: determining a plurality of identification codes of the business object, wherein the identification codes comprise a plurality of groups of character segments with different attributes; determining a target character segment in the character segments with the same attribute; combining target character segments with different attributes according to a combination rule of the character segments to obtain a target identification code of the service object; and providing related services for the service object based on the target identification code. After a plurality of identification codes of the service object are determined, more accurate target identification codes are determined for the service object based on the plurality of identification codes, so that the accuracy of subsequent services is improved.

Description

Service implementation method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for implementing a service.
Background
In the related art, the enterprise may be classified according to the administrative division code of the enterprise, and relevant services are provided for the enterprise based on the result of the regional classification, such as: loan transactions, etc. Therefore, once the administrative division code of the enterprise is inaccurate, the accuracy of business processing is directly influenced.
Disclosure of Invention
In view of this, the present application provides a service implementation method and apparatus.
Specifically, the method is realized through the following technical scheme:
a service implementation method, the method comprising:
determining a plurality of identification codes of the business object, wherein the identification codes comprise a plurality of groups of character segments with different attributes;
determining a target character segment in the character segments with the same attribute;
combining target character segments with different attributes according to a combination rule of the character segments to obtain a target identification code of the service object;
and providing related services for the service object based on the target identification code.
Optionally, the determining a target character segment among character segments with the same attribute includes:
determining the frequency parameter of each character segment in the character segments with the same attribute;
and determining the character segment with the highest frequency parameter as the target character segment.
Optionally, the determining a target character segment in character segments with the same attribute further includes:
when a plurality of character segments with the highest frequency parameters exist, calculating the weight of the character segments according to the determination mode of the identification codes to which the character segments with the highest frequency parameters belong;
and determining the character segment with the weight meeting the preset condition as a target character segment.
Optionally, the identification code is an administrative division code, and the plurality of groups of character segments with different attributes include: provincial, city, and district/county character segments.
A service implementation method, the method comprising:
determining a plurality of administrative division codes for a business object, the administrative division codes comprising a plurality of sets of code segments at different levels, the different levels comprising: provincial, city, and district/county levels;
determining a target code segment in the same level code segments;
combining target code segments of different levels according to a combination rule of administrative division codes to obtain target administrative division codes of the business objects;
and providing related services for the service object based on the target administrative division code.
Optionally, the determining a target code segment in the same level code segments includes:
determining frequency parameters of code sections in the same level;
and determining the code segment with the highest frequency parameter as the target code segment.
Optionally, the determining the target code segment in the code segments with the same level further includes:
when a plurality of code segments with the highest frequency parameters exist, calculating the weight of the code segments according to the determination mode of administrative division codes to which the code segments with the highest frequency parameters belong;
and determining the code segment with the weight meeting the preset condition as a target code segment.
Optionally, the calculating the weight of the code segment according to the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs includes:
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the registration address, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the registration address to be used as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to a business and commercial registry, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the business and commercial registry as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business and commercial registration number, calculating the difference value between a preset reference weight and the registration duration as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the name of the business object, acquiring a preset weight lower limit value as the weight of the code segment.
A service implementation apparatus, the apparatus comprising:
the code determining unit is used for determining a plurality of identification codes of the business object, wherein the identification codes comprise a plurality of groups of character segments with different attributes;
a character segment determining unit that determines a target character segment among character segments having the same attribute;
the character segment combination unit is used for combining target character segments with different attributes according to the combination rule of the character segments to obtain the target identification code of the service object;
and the first providing unit is used for providing related services for the service object based on the target identification code.
Optionally, the character segment determining unit determines a frequency parameter of each character segment in the character segments with the same attribute, and determines the character segment with the highest frequency parameter as the target character segment.
Optionally, when there are multiple character segments with the highest frequency parameter, the character segment determining unit calculates the weight of the character segment according to the determination mode of the identification code to which the character segment with the highest frequency parameter belongs, and determines the character segment whose weight meets the preset condition as the target character segment.
Optionally, the identification code is an administrative division code, and the plurality of groups of character segments with different attributes include: provincial, city, and district/county character segments.
A service implementation apparatus, the apparatus comprising:
a code determination unit that determines a plurality of administrative division codes of a business object, the administrative division codes including a plurality of sets of code segments at different levels, the different levels including: provincial, city, and district/county levels;
a code segment determination unit that determines a target code segment among code segments of the same level;
the code segment combination unit is used for combining target code segments of different levels according to the combination rule of the administrative division codes to obtain the target administrative division codes of the business objects;
and the second providing unit is used for providing related services for the service object based on the target administrative division code.
Optionally, the code segment determining unit determines the frequency parameter of each code segment in the code segments with the same level, and determines the code segment with the highest frequency parameter as the target code segment.
Optionally, when there are multiple code segments with the highest frequency parameter, the code segment determining unit calculates the weight of the code segment according to the determination method of the administrative division code to which the code segment with the highest frequency parameter belongs, and determines the code segment whose weight meets the preset condition as the target code segment.
Optionally, when the determining manner of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the registration address, the code segment determining unit calculates a difference between a preset reference weight and the number of administrative divisions determined based on the registration address as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to a business and commercial registry, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the business and commercial registry as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business and commercial registration number, calculating the difference value between a preset reference weight and the registration duration as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the name of the business object, acquiring a preset weight lower limit value as the weight of the code segment
From the above description, it can be seen that, according to the method and the device, after the plurality of identification codes of the service object are determined, more accurate target identification codes are determined for the service object based on the plurality of identification codes, so that the accuracy of subsequent services is improved.
Drawings
Fig. 1 is a flowchart illustrating a service implementation method according to an exemplary embodiment of the present application.
Fig. 2 is a flowchart illustrating another service implementation method according to an exemplary embodiment of the present application.
Fig. 3 is a schematic structural diagram of a service implementation apparatus according to an exemplary embodiment of the present application.
Fig. 4 is a schematic structural diagram of a service implementation apparatus according to an exemplary embodiment of the present application.
Fig. 5 is a schematic structural diagram of another apparatus for implementing services according to an exemplary embodiment of the present application.
Fig. 6 is a schematic structural diagram of another service implementation apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the related art, the administrative code of the enterprise and public institution may be determined by the factory registered address, however, since some enterprise and public institutions do not provide the complete registered address, the determined administrative code may not be accurate enough. In addition, the administrative division code of the enterprise and public institution may be determined by the industrial and public institution when the enterprise and public institution performs registration, however, the name of the industrial and public institution often only includes the region or county information, and a plurality of regions or counties with the same name may exist in the whole country, so that the determined administrative division code may not be accurate enough. On the other hand, the administrative division code of the enterprise and public institution may also be determined by the business registration number of the enterprise and public institution, however, the determined administrative division code may not be accurate enough because the enterprise may be moved. When the administrative division code of the enterprise and public institution is not accurate, the accuracy of business processing can be influenced, and in severe cases, huge economic and property loss can be brought to a business provider.
In view of the above problems, the present application provides a service implementation scheme.
Fig. 1 is a flowchart illustrating a service implementation method according to an exemplary embodiment of the present application.
Referring to fig. 1, the service implementation method may be applied to a server, and includes the following steps:
step 101, determining a plurality of identification codes of a business object, wherein the identification codes comprise a plurality of groups of character segments with different attributes.
In this embodiment, the service provider may provide the relevant service to the service object. The identification code is used to represent some attribute feature of the business object, such as: the identification code may be an administrative division code for indicating information of an administrative area to which the service object belongs, or may be a classification code for indicating a classification to which the service object belongs. The identification code typically includes a plurality of sets of character segments having different attributes, where each character segment may include one or more characters. For example, assuming that the identification code is an administrative division code, the administrative division code includes a plurality of groups of character segments of different levels, that is, a plurality of groups of code segments of different levels, such as: provincial code segments, municipal code segments, district/county code segments, etc.
In this embodiment, the identification codes of the service objects may be determined in a plurality of different manners, so as to obtain a plurality of identification codes of the service objects.
And 102, determining a target character segment in the character segments with the same attribute.
Based on the foregoing step 101, after determining a plurality of identification codes of a service object, the identification codes may be split into a plurality of groups of character segments with different attributes according to a combination rule of the identification codes, that is, a combination rule of each character segment with different attributes that constitutes an identification code, and then a target character segment is determined in the character segments with the same attribute.
For example, assuming that N identification codes of the service object are determined in the foregoing step 101, each identification code includes M groups of character segments with different attributes, where M and N are both natural numbers greater than 1, each identification code may be split into M groups of character segments with different attributes, after the N identification codes are split, for each attribute, N groups of character segments may be obtained, and N × M groups of character segments may be obtained in total.
In this step, for each attribute, the target character segment of the attribute may be determined in N groups of character segments, such as: the frequency parameter of each character segment in the N groups of character segments may be determined first, and then the character segment with the highest frequency parameter may be determined as the target character segment. The frequency parameter may be a frequency, or the like, and this is not particularly limited in this application.
For example, assuming that 3 groups of character segments, namely "11", "11" and "12", can be obtained after splitting for a certain attribute, the frequency count of the character segment "11" is 2, the frequency is 2/3, the frequency count of the character segment "12" is 1, and the frequency is 1/3, the character segment "11" with the highest frequency parameter can be determined as the target character segment of the attribute.
And 103, combining the target character segments with different attributes according to the combination rule of the character segments to obtain the target identification code of the service object.
Based on the foregoing step 102, after the target character segments of each attribute are determined, the target character segments with different attributes may be combined according to the combination rule of the character segments, that is, the combination rule of each character segment with different attributes that constitutes the identification code, so as to obtain the target identification code of the service object. The combination rule of the character segments may include rules that the character segment with the attribute a is arranged before the character segment with the attribute B, and the like.
And 104, providing related services for the service object based on the target identification code.
Based on the foregoing step 103, after obtaining the target identification code of the service object, the service object may be provided with related services based on the target identification code, such as: loan transactions, etc., which are not specifically limited by this application.
From the above description, it can be seen that, according to the method and the device, after the plurality of identification codes of the service object are determined, more accurate target identification codes are determined for the service object based on the plurality of identification codes, so that the accuracy of subsequent services is improved.
The implementation of the present application is described below with reference to specific embodiments.
Taking the identification code as an administrative division code as an example, please refer to fig. 2, the service implementation method provided by the present application may include the following steps:
step 201, a plurality of administrative division codes of the business object are determined.
In the embodiment, the business objects comprise enterprises and institutions in China, and the administrative division codes are compiled by compilation rules specified in the administrative division codes of the people's republic of China (GB/T2260-2007). The administrative division code may be a six-bit code or a nine-bit code, and may be specifically set by a developer, which is not particularly limited in this application.
In this embodiment, the administrative division code of the business object may be determined in various manners, and the administrative division code is described as a six-bit code as an example.
First, an administrative division code of the business object may be determined according to a registered address of the business object, such as: the administrative division code of the business object can be determined according to the registration address used when the business object is registered in the business bureau, and for the convenience of distinguishing, the administrative division code determined according to the registration address can be called a first administrative division code. Assuming that the registered address of the business object is Bingjiang district, Hangzhou, Zhejiang, the first administrative division code of the business object may be determined to be 330108. The first two 33 are provincial code segments, the middle two 01 are city code segments, and the last two 08 are district/county code segments.
In a second manner, the administrative division code of the business object may be determined according to the business registry where the business object is registered, such as: the administrative division code of the business object may be determined according to the name of the business registry at the time of registration of the business object, and for convenience of distinction, the administrative division code determined according to the business registry may be referred to as a second administrative division code. Assuming that the business registered office name of the business object is the west lake region business office, the second administrative division code of the business object may be determined to be 330106.
In a third aspect, the administrative division code of the business object may be determined according to the business registration number of the business object, and for convenience of differentiation, the administrative division code determined according to the business registration number may be referred to as a third administrative division code. Assuming that the business registration number of the business object is 422324000008036, the first six digits of the business registration number can be determined as the administrative division code of the business object, and the third administrative division code of the business object is 422324.
In a fourth mode, the administrative division code of the business object may be determined according to the name of the business object, and for convenience of distinction, the administrative division code determined according to the name of the business object may be referred to as a fourth administrative division code. Assuming that the business object is named "beijing technology ltd", the fourth political division code of the business object may be determined to be 110000.
Of course, in practical application, the administrative division code of the business object may also be determined in other manners, and theoretically, the more the number of the administrative division codes determined in this step is, the higher the accuracy of the finally obtained target administrative division code is.
In step 202, a target code section is determined among the same level code sections.
Based on the foregoing step 201, after determining a plurality of administrative division codes of a business object, according to a combination rule of each level of codes in the administrative division codes, the plurality of administrative division codes may be respectively split into a plurality of groups of code segments of different levels, and then a target code segment is determined in the code segments of the same level.
For example, assuming that three administrative division codes of the business object are determined in step 201, which are 330108, 330107, and 330208, respectively, the three administrative division codes may be split into code segments shown in the following table.
Provincial code segment City code segment Region/county level code segment
330108 33 01 08
330107 33 01 07
330208 33 02 08
TABLE 1
Referring to table 1, there are three groups of provincial code segments, each of which is "33", and three groups of city code segments, each of which is "01", and the other of which is "02", and three groups of district/county code segments, each of which is "08", and the other of which is "07".
In this step, the frequency parameter of each code segment in the code segments with the same level may be determined, and then the code segment with the highest frequency parameter may be determined as the target code segment of the level. Taking the frequency parameter as the frequency as an example, in the provincial code segment, each of the divided provincial code segments is "33", and then the provincial target code segment can be determined to be "33". In the city code segment, the frequency of the split city code segment "01" is 2, the frequency of the city code segment "02" is 1, and the city target code segment is "01" with the highest frequency. In the district/county level code segment, the frequency of the divided district/county level code segment "08" is 2, and the frequency of the district/county level code segment "07" is 1, and the district/county level target code segment is "08" with the highest frequency.
Optionally, in an example of the present application, when there are a plurality of code segments with the highest frequency parameter in a certain level of code segments, the weights of the code segments may be calculated according to the determination manner of the administrative division code to which the code segment with the highest frequency parameter belongs, and a code segment whose weight meets a preset condition is determined as the target code segment of the level. For example, assuming that the frequency counts of code segments "11" and "33" are 3 and higher than the frequency counts of other provincial code segments in a provincial code segment, weights may be calculated for the code segments according to the determination manner of the administrative division codes to which the code segments "11" and "33" belong, and the code segment whose weight satisfies a preset condition is determined as a provincial target code segment, such as: the code segment with the highest weight may be determined as the provincial target code segment.
In this embodiment, when the administrative division code to which the code segment with the highest frequency parameter belongs is the first administrative division code, that is, when the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the registration address, a difference between a preset reference weight and the number of administrative divisions determined based on the registration address may be calculated, and the difference is used as the weight of the code segment. Wherein, the preset reference weight can be set by a developer, such as: 10, 20, etc. Taking the reference weight as 10 as an example, assuming that the registered address is the Bingjiang district … in Hangzhou city, Zhejiang province, a unique first administrative division code 330108 can be determined, the code segment belonging to the first administrative division code has a weight of 10-1 and a weight of 9. Further, assuming that the registration address is the qingshan area …, and there are two qingshan areas in the country, one is the qingshan area in the first city and the other is the qingshan area in the wuhan city, two different first administrative division codes can be determined according to the registration address, and the code segment belonging to any one of the two first administrative division codes has a weight of 10 "2, that is, the weights are 8.
In this embodiment, when the administrative division code to which the code segment with the highest frequency parameter belongs is the second administrative division code, that is, when the determination manner of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the factory registry, a difference between a preset reference weight and the number of administrative divisions determined based on the factory registry may be calculated, and the difference is used as the weight of the code segment. Still taking the reference weight as 10 as an example, assuming that the business registry at the time of registering the service object is the business office in the west lake region, a unique second administrative division code 330106 can be determined according to the name of the registry, the weight of the code segment belonging to the second administrative division code is 10-1, and the weight is 9. Further, assuming that the registry is a landscaped industrial and commercial bureau, two different second administrative division codes can be identified according to the name of the registry, and the code segments belonging to any one of the two second administrative division codes have a weight of 10-2, that is, a weight of 8.
In this embodiment, when the administrative division code to which the code segment with the highest frequency parameter belongs is the third administrative division code, that is, when the determination manner of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business registration number, a difference between a preset reference weight and a registration time period may be calculated, and the difference is used as the weight of the code segment. The registration duration is the duration of the business object registration date, and may be in units of years. Still taking the reference weight as 10 as an example, assuming that the registration date of the business object is 2012, and 4 years ago, the weight of the code segment belonging to the third administrative division code is 10-4, and the weight is 6. It can be understood that, since the business object may be moved during the production and management, generally, the longer the registration date is, the more likely it is to be moved, and the lower the accuracy of the administrative division code determined by the business registration number is.
In this embodiment, when the administrative division code to which the code segment with the highest frequency parameter belongs is the fourth administrative division code, that is, when the determination manner of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business object name, a preset weight lower limit value may be obtained as the weight of the code segment. The weight lower limit value may be set by a developer, and in an example where the reference weight is 10, the weight lower limit value may be half of the reference weight, that is, the weight lower limit value may be 5. It is understood that, generally speaking, the name of the business object usually does not carry more detailed region-level information, so the accuracy of the administrative region code determined according to the name of the business object is relatively low, and therefore the weight can be set as the weight lower limit value.
Of course, if the determination method of the administrative division code to which the code segment with the highest frequency parameter belongs is other methods, a person skilled in the art may determine the weight according to the accuracy of the specific determination method, and details of the method are not repeated herein.
And 203, combining the target code segments of different levels according to the combination rule of the administrative division codes to obtain the target administrative division codes of the business objects.
Based on the foregoing step 202, after determining the target code segments of the code segments at all levels, the target code segments at all levels may be combined according to the combination rule of the administrative division codes, so as to obtain the target administrative division codes of the business objects.
Still taking the 3 administrative division codes shown in table 1 as an example, in the aforementioned step 202, the determined province-level target code segment is "33", the city-level target code segment is "01", and the district/county-level target code segment is "08", according to the combination rule of the administrative division codes: province level code segment + city level code segment + district/county level code segment, the target administrative division code for the business object may be determined to be 330108.
And step 204, providing related services for the service object based on the target administrative division code.
In this embodiment, after determining the target administrative division code of each service object, each service object may be distinguished according to the target administrative division code, so as to provide the relevant service for each service object according to the distinguishing result. For example, assuming that the provided service is a loan transaction, if the business conditions of enterprises in the near-term Jiangzhe area are poor and the business crisis is met, the enterprises in the Jiangzhe area can be screened according to the administrative division codes of the enterprises, and the enterprises can be carefully credited to avoid the economic loss caused by the fact that the loan cannot be withdrawn later.
As can be seen from the above description, after determining multiple administrative division codes of a business object, the present application may determine a more accurate target administrative division code for the business object based on the multiple administrative division codes and the determination manner of each administrative division code, so as to improve the accuracy of subsequent businesses.
Corresponding to the foregoing embodiment of the service implementation method shown in fig. 1, the present application also provides an embodiment of a service implementation apparatus.
The embodiment of the service implementation device can be applied to a server. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and as a device in a logical sense, a processor of a service end reads corresponding computer program instructions in a nonvolatile memory into a memory for operation. From a hardware aspect, as shown in fig. 3, a hardware structure diagram of a service end where a service implementation apparatus of the present application is located is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3, the service end where the apparatus is located in the embodiment may also include other hardware according to an actual function of the service end, which is not described again.
Fig. 4 is a schematic structural diagram of a service implementation apparatus according to an exemplary embodiment of the present application.
Referring to fig. 4, the service implementing apparatus 300 can be applied to the service end shown in fig. 3, and includes: an encoding determination unit 301, a character segment determination unit 302, a character segment combination unit 303, and a first providing unit 304.
The code determining unit 301 determines a plurality of identification codes of the business object, where the identification codes include a plurality of groups of character segments with different attributes;
the character segment determining unit 302, which determines the target character segment among the character segments with the same attribute;
the character segment combination unit 303 combines the target character segments with different attributes according to a combination rule of the character segments to obtain a target identification code of the service object;
the first providing unit 304, providing the related service for the service object based on the target identification code.
Optionally, the character segment determining unit 302 determines a frequency parameter of each character segment in the character segments with the same attribute, and determines the character segment with the highest frequency parameter as the target character segment.
Optionally, when there are multiple character segments with the highest frequency parameter, the character segment determining unit 302 calculates the weight of the character segment according to the determination manner of the identification code to which the character segment with the highest frequency parameter belongs, and determines the character segment whose weight meets the preset condition as the target character segment.
Optionally, the identification code is an administrative division code, and the plurality of groups of character segments with different attributes include: provincial, city, and district/county character segments.
Corresponding to the foregoing embodiment of the service implementation method shown in fig. 2, the present application also provides an embodiment of a service implementation apparatus.
The embodiment of the service implementation device can be applied to a server. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and as a device in a logical sense, a processor of a service end reads corresponding computer program instructions in a nonvolatile memory into a memory for operation. From a hardware aspect, as shown in fig. 5, a hardware structure diagram of a service end where a service implementation apparatus of the present application is located is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 5, the service end where the apparatus is located in the embodiment may also include other hardware according to an actual function of the service end, which is not described again.
Fig. 6 is a schematic structural diagram of a service implementation apparatus according to an exemplary embodiment of the present application.
Referring to fig. 6, the service implementation apparatus 500 can be applied to the service end shown in fig. 5, and includes: a code determination unit 501, a code segment determination unit 502, a code segment combination unit 503, and a second providing unit 504.
The code determination unit 501 determines a plurality of administrative division codes of a business object, where the administrative division codes include a plurality of sets of code segments at different levels, and the different levels include: provincial, city, and district/county levels;
the code segment determination unit 502 determines a target code segment among code segments of the same level;
the code segment combining unit 503 combines target code segments of different levels according to a combination rule of administrative division codes to obtain target administrative division codes of the business objects;
the second providing unit 504 provides the relevant business for the business object based on the target administrative division code.
Optionally, the code segment determining unit 502 determines the frequency parameter of each code segment in the code segments with the same level, and determines the code segment with the highest frequency parameter as the target code segment.
Optionally, when there are multiple code segments with the highest frequency parameter, the code segment determining unit 502 calculates the weight of the code segment according to the determination method of the administrative division code to which the code segment with the highest frequency parameter belongs, and determines the code segment whose weight meets the preset condition as the target code segment.
Optionally, when the determining manner of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the registration address, the code segment determining unit 502 calculates a difference between a preset reference weight and the number of administrative divisions determined based on the registration address as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to a business and commercial registry, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the business and commercial registry as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business and commercial registration number, calculating the difference value between a preset reference weight and the registration duration as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the name of the business object, acquiring a preset weight lower limit value as the weight of the code segment.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (12)

1. A service implementation method, the method comprising:
determining a plurality of identification codes of the business object, wherein the identification codes comprise a plurality of groups of character segments with different attributes;
determining a target character segment in the character segments with the same attribute;
combining target character segments with different attributes according to a combination rule of the character segments to obtain a target identification code of the service object;
providing related services for the service object based on the target identification code;
the determining the target character segment in the character segments with the same attribute comprises the following steps:
determining the frequency parameter of each character segment in the character segments with the same attribute;
and determining the character segment with the highest frequency parameter as the target character segment.
2. The method of claim 1, wherein determining the target character segment among the character segments with the same attribute further comprises:
when a plurality of character segments with the highest frequency parameters exist, calculating the weight of the character segments according to the determination mode of the identification codes to which the character segments with the highest frequency parameters belong;
and determining the character segment with the weight meeting the preset condition as a target character segment.
3. The method of claim 1,
the identification code is an administrative division code, and the plurality of groups of character segments with different attributes comprise: provincial, city, and district/county character segments.
4. A service implementation method, the method comprising:
determining a plurality of administrative division codes for a business object, the administrative division codes comprising a plurality of sets of code segments at different levels, the different levels comprising: provincial, city, and district/county levels;
determining a target code segment in the same level code segments;
combining target code segments of different levels according to a combination rule of administrative division codes to obtain target administrative division codes of the business objects;
providing related services for the service object based on the target administrative division code;
the determining the target code segment in the same level code segment comprises:
determining frequency parameters of code sections in the same level;
and determining the code segment with the highest frequency parameter as the target code segment.
5. The method of claim 4, wherein determining the target code section in the same level code section further comprises:
when a plurality of code segments with the highest frequency parameters exist, calculating the weight of the code segments according to the determination mode of administrative division codes to which the code segments with the highest frequency parameters belong;
and determining the code segment with the weight meeting the preset condition as a target code segment.
6. The method according to claim 5, wherein the calculating the weight of the code segment according to the determination manner of the administrative division code to which the code segment with the highest frequency parameter belongs comprises:
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the registration address, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the registration address to be used as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to a business and commercial registry, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the business and commercial registry as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business and commercial registration number, calculating the difference value between a preset reference weight and the registration duration as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the name of the business object, acquiring a preset weight lower limit value as the weight of the code segment.
7. A service enablement device, the device comprising:
the code determining unit is used for determining a plurality of identification codes of the business object, wherein the identification codes comprise a plurality of groups of character segments with different attributes;
a character segment determining unit that determines a target character segment among character segments having the same attribute;
the character segment combination unit is used for combining target character segments with different attributes according to the combination rule of the character segments to obtain the target identification code of the service object;
the first providing unit is used for providing related services for the service object based on the target identification code;
and the character segment determining unit is used for determining the frequency parameter of each character segment in the character segments with the same attribute and determining the character segment with the highest frequency parameter as the target character segment.
8. The apparatus of claim 7,
and the character segment determining unit is used for calculating the weight of the character segment according to the determining mode of the identification code to which the character segment with the highest frequency parameter belongs when the character segment with the highest frequency parameter is multiple, and determining the character segment with the weight meeting the preset condition as the target character segment.
9. The apparatus of claim 7,
the identification code is an administrative division code, and the plurality of groups of character segments with different attributes comprise: provincial, city, and district/county character segments.
10. A service enablement device, the device comprising:
a code determination unit that determines a plurality of administrative division codes of a business object, the administrative division codes including a plurality of sets of code segments at different levels, the different levels including: provincial, city, and district/county levels;
a code segment determination unit that determines a target code segment among code segments of the same level;
the code segment combination unit is used for combining target code segments of different levels according to the combination rule of the administrative division codes to obtain the target administrative division codes of the business objects;
the second providing unit is used for providing related services for the service object based on the target administrative division code;
the code segment determining unit determines the frequency parameters of the code segments with the same level, and determines the code segment with the highest frequency parameter as the target code segment.
11. The apparatus of claim 10,
and the code segment determining unit is used for calculating the weight of the code segment according to the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs when a plurality of code segments with the highest frequency parameter exist, and determining the code segment with the weight meeting the preset condition as the target code segment.
12. The apparatus of claim 11,
the code segment determining unit is used for calculating the difference value between a preset reference weight and the number of administrative divisions determined based on the registered address as the weight of the code segment when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the registered address;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to a business and commercial registry, calculating the difference value between a preset reference weight and the number of the administrative divisions determined based on the business and commercial registry as the weight of the code segment;
when the determination mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the business and commercial registration number, calculating the difference value between a preset reference weight and the registration duration as the weight of the code segment;
when the determining mode of the administrative division code to which the code segment with the highest frequency parameter belongs is determined according to the name of the business object, acquiring a preset weight lower limit value as the weight of the code segment.
CN201610151548.5A 2016-03-16 2016-03-16 Service implementation method and device Active CN107203537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610151548.5A CN107203537B (en) 2016-03-16 2016-03-16 Service implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610151548.5A CN107203537B (en) 2016-03-16 2016-03-16 Service implementation method and device

Publications (2)

Publication Number Publication Date
CN107203537A CN107203537A (en) 2017-09-26
CN107203537B true CN107203537B (en) 2020-06-26

Family

ID=59903659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610151548.5A Active CN107203537B (en) 2016-03-16 2016-03-16 Service implementation method and device

Country Status (1)

Country Link
CN (1) CN107203537B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158972B (en) * 2019-12-05 2020-08-25 连连银通电子支付有限公司 Method, device, equipment and medium for determining switch state

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100537058B1 (en) * 2005-09-13 2005-12-16 주식회사 이지막 Online marc data provision system and method for the efficient provision of the marc data
WO2008079006A1 (en) * 2006-12-22 2008-07-03 Nederlandse Organisatie Voor Toegepast-Natuurwetenschappelijk Onderzoek Tno Identification registration system
TW201243619A (en) * 2011-04-27 2012-11-01 Acer Inc Terminal device and file synchronization method
CN102682133A (en) * 2012-05-21 2012-09-19 深圳市慢性病防治中心 Method for locating and inquiring biological sample
CN105117426B (en) * 2015-07-31 2019-04-16 重庆龙工场跨境电子商务投资有限公司 A kind of intellectual coded searching method of customs

Also Published As

Publication number Publication date
CN107203537A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
CN104462059B (en) Trade company's address information recognition methods and device
US20210374204A1 (en) Method and apparatus for managing region tag
CN112347214A (en) Target area dividing method and device, electronic equipment and storage medium
CN104463668A (en) Online credit checking method and device
CN110322295B (en) Relationship strength determination method and system, server and computer readable medium
CN113312578B (en) Fluctuation attribution method, device, equipment and medium of data index
CN104965876A (en) Method and apparatus for carrying out mining on work units of users on basis of position information
US20140129334A1 (en) Method and system for modeling consumer activity areas based on social media and mobile data
CN111090780A (en) Method and device for determining suspicious transaction information, storage medium and electronic equipment
CN110019774B (en) Label distribution method, device, storage medium and electronic device
CN107330709B (en) Method and device for determining target object
CN107203537B (en) Service implementation method and device
CN114549058A (en) Address selection method and device, electronic equipment and readable storage medium
CN114265740A (en) Error information processing method, device, equipment and storage medium
CN110348983B (en) Transaction information management method and device, electronic equipment and non-transitory storage medium
Halás et al. Contribution to regional division of Slovakia based on the application of the Reilly's model
CN108880835B (en) Data analysis method and device and computer storage medium
CN106815290B (en) Method and device for determining attribution of bank card based on graph mining
CN113870010A (en) Data processing method, device and equipment based on machine learning and storage medium
CN108537654B (en) Rendering method and device of customer relationship network graph, terminal equipment and medium
CN109919811B (en) Insurance agent culture scheme generation method based on big data and related equipment
CN113849531A (en) Query method and device
EP3759665A1 (en) Multi-dimensional organization of data for efficient analysis
CN105913270A (en) Enterprise credit assessment method and enterprise credit assessment device
Song et al. Determinants of city choice of foreign direct investment into China: The role of specialisation, diversification and competition externalities

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.