CN107798065A - A kind of customer ID coding method, application server, system and storage medium - Google Patents

A kind of customer ID coding method, application server, system and storage medium Download PDF

Info

Publication number
CN107798065A
CN107798065A CN201710858735.1A CN201710858735A CN107798065A CN 107798065 A CN107798065 A CN 107798065A CN 201710858735 A CN201710858735 A CN 201710858735A CN 107798065 A CN107798065 A CN 107798065A
Authority
CN
China
Prior art keywords
client
customer
information
identification information
integrity degree
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.)
Granted
Application number
CN201710858735.1A
Other languages
Chinese (zh)
Other versions
CN107798065B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710858735.1A priority Critical patent/CN107798065B/en
Publication of CN107798065A publication Critical patent/CN107798065A/en
Priority to PCT/CN2018/082257 priority patent/WO2019056734A1/en
Application granted granted Critical
Publication of CN107798065B publication Critical patent/CN107798065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of customer ID coding method, application server, system and storage medium, wherein, client's essential information that the customer ID coding method is stored by obtaining in each source database, client's essential information include customer type, customer name and identification information;Judge whether the identification information of each client is complete according to the customer type and its corresponding default identification item afterwards, the integrity degree information of each client is obtained according to judged result;Preset format and unique customer ID are distributed for each client according to pre-arranged code rule according to the customer type of each client and its integrity degree information afterwards, and client association table is established according to the customer ID and its client's essential information of each client.Can be distributed according to the type and information integrity of each client has unified form and unique customer ID, and the encoder client of unified standard is provided for all clients, is advantageous to customer information lookup and information updating, improves operating efficiency.

Description

A kind of customer ID coding method, application server, system and storage medium
Technical field
The present invention relates to data encoding technique field, and in particular to a kind of customer ID coding method, application server, system And storage medium.
Background technology
At present, because the customer quantity of many enterprises is huge, and customer type is various, while the information completely of each client Degree is also different, especially in the case where a plurality of service line be present while develop, causes customer information to be mixed under long term accumulation Disorderly, it is very difficult to search, lack unified, science encoder client, be unfavorable for the standardization of customer information.
Therefore, prior art has yet to be improved and developed.
The content of the invention
In view of in place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide a kind of customer ID coding method, answer With server, system and storage medium, can be distributed according to the type and information integrity of each client have unified form and Unique customer ID, the encoder client of unified standard is provided for all clients, is advantageous to customer information lookup and information updating, Improve operating efficiency.
In order to achieve the above object, this invention takes following technical scheme:
A kind of customer ID coding method, it comprises the following steps:
The client's essential information stored in each source database is obtained, wherein, client's essential information includes customer type, visitor Name in an account book claims and identification information;
Judge whether the identification information of each client is complete according to the customer type and its corresponding default identification item, according to sentencing Disconnected result obtains the integrity degree information of each client;
Lattice are preset for each client distribution according to pre-arranged code rule according to the customer type of each client and its integrity degree information Formula and unique customer ID, and client association table is established according to the customer ID and its client's essential information of each client.
In described customer ID coding method, it is described according to the customer type and its corresponding default identification item judge it is each The whether complete step of the identification information of individual client includes:
Obtain the customer type of each client and its corresponding default identification item;
Judge in the identification information of each client whether and meanwhile all default identification items be present, if so, then identification information is complete, Otherwise, identification information is imperfect.
In described customer ID coding method, the preset format and unique customer ID include start bit, customer type Flag bit, integrity degree flag bit and random sequence number position.
In described customer ID coding method, the customer type and its integrity degree information according to each client is according to pre- If coding rule, which is each client, distributes preset format and unique customer ID, and the customer ID according to each client and its client Essential information, which establishes the step of client association table, to be included:
For the start bit of all client's distributing uniforms, and customer type flag bit is set according to the customer type of each client Value, the value of complete scale will position is set according to the integrity degree information of each client, while is the random sequence number position point of each client With unique preset length random number;
The start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position are arranged by preset order Draw the customer ID of each client;
Client association table is established according to the customer ID of each client and its client's essential information.
In described customer ID coding method, the customer type and its integrity degree information of each client is according to default volume Code rule distributes preset format and unique customer ID for each client, and basic according to the customer ID and its client of each client Information includes after establishing the step of client association table:
When updating or supplementing the identification information of a certain client, according to client's essential information of the client in the client association table In searched, judge whether for the client distribute customer ID;
If judgement has distributed, it will update or the identification information of supplement covered or is supplemented in the client association table, and according to The value of identification information renewal integrity degree flag bit after covering or supplement;
If judgement is unallocated, preset format and unique customer ID are distributed for the client according to pre-arranged code rule, and preserve To client association table.
In described customer ID coding method, if described distributed, it will update or the identification information of supplement covered or mended The step of being charged in the client association table, and updating the value of integrity degree flag bit according to the identification information after covering or supplement is wrapped Include:
It will update or the identification information of supplement covered or is supplemented in the client association table;
Identification information after judging to cover or supplementing whether and meanwhile default identification item all corresponding to existing customer type be present, If so, then identification information is complete, otherwise, identification information is imperfect;
According to the value of the integrity degree information updating integrity degree flag bit after renewal or supplement.
In described customer ID coding method, the customer type includes corporate customer, individual client and virtual client.
A kind of application server of customer ID coding, it includes:Processor, memory and communication bus;
Being stored with the memory can be by the computer-readable program of the computing device;
The communication bus realizes the connection communication between processor and memory;
The step in customer ID coding method as described above is realized described in the computing device during computer-readable program.
A kind of computer-readable recording medium, wherein, the computer-readable recording medium storage has one or more Program, one or more of programs can be by one or more computing devices, to realize that customer ID as described above is compiled Step in code method.
A kind of customer ID coded system, including several source databases, it also includes customer ID as described above coding Application server;
Each source database, for storing client's essential information;
The application server, for obtaining the client's essential information stored in each source database, wherein, the client is basic Information includes customer type, customer name and identification information;And according to the customer type and its corresponding default identification item Judge whether the identification information of each client is complete, the integrity degree information of each client is obtained according to judged result;According to each The customer type and its integrity degree information of client distributes preset format and unique visitor according to pre-arranged code rule for each client Family number, and client association table is established according to the customer ID and its client's essential information of each client.
Compared to prior art, customer ID coding method, application server, system and storage medium provided by the invention In, client's essential information that the customer ID coding method is stored by obtaining in each source database, wherein, client's base This information includes customer type, customer name and identification information;Afterwards according to the customer type and its corresponding default identification Item judges whether the identification information of each client is complete, and the integrity degree information of each client is obtained according to judged result;Root afterwards According to the customer type and its integrity degree information of each client preset format and only is distributed according to pre-arranged code rule for each client One customer ID, and client association table is established according to the customer ID and its client's essential information of each client.Can be according to each visitor Type and the information integrity distribution at family have unified form and unique customer ID, and unified standard is provided for all clients Encoder client, be advantageous to customer information search and information updating, improve operating efficiency.
Brief description of the drawings
Fig. 1 is the application environment schematic diagram of customer ID coding method provided by the invention;
Fig. 2 is the flow chart of customer ID coding method provided by the invention;
Fig. 3 is the flow chart of step S20 in customer ID coding method provided by the invention;
Fig. 4 is the flow chart of step S30 in customer ID coding method provided by the invention;
Fig. 5 is the flow chart of step S40, S50 and S60 in customer ID coding method provided by the invention;
Fig. 6 is the flow chart of step S50 in customer ID coding method provided by the invention;
Fig. 7 is the running environment schematic diagram of the preferred embodiment of customer ID coded program of the present invention;
Fig. 8 is the functional block diagram of the application server preferred embodiment of present invention installation customer ID coded program;
Fig. 9 is the structured flowchart of customer ID coded system provided by the invention.
Embodiment
In view of customer information is chaotic in the prior art, the shortcomings of lacking the coding of unified standard, it is an object of the invention to A kind of customer ID coding method, application server, system and storage medium are provided, can be according to the type and information of each client Integrity degree distribution has unified form and unique customer ID, the encoder client of unified standard is provided for all clients, favorably In customer information lookup and information updating, operating efficiency is improved.
To make the purpose of the present invention, technical scheme and effect clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings The present invention is further described.It should be appreciated that specific embodiment described herein is not used to only to explain the present invention Limit the present invention.
Referring to Fig. 1, it is the application environment schematic diagram of customer ID coding method provided by the invention.In figure, using clothes One or more application programs can be installed to handle related data in business device.In the present embodiment, can be connect by application server The client's essential information stored in each source database is received, and by application server according to the customer type and its correspondingly Default identification item judge whether the identification information of each client complete, the integrity degree that each client is obtained according to judged result is believed Breath, preset format is distributed according to pre-arranged code rule for each client according to client's essential information and corresponding integrity degree information And unique customer ID, and client association table is established according to the customer ID and its client's essential information of each client, so as to realize The encoder client of unified standard is provided for all clients, is advantageous to customer information and searches and information updating, improve work effect Rate.
Referring to Fig. 2, customer ID coding method provided by the invention comprises the following steps:
S10, the client's essential information stored in each source database is obtained, wherein, client's essential information includes customer class Type, customer name and identification information.
In the present embodiment, the customer data that several source databases correspondingly store Different Industries company can be set, carrying out When customer ID encodes, the client that need to be unified for all Different Industries companies distributes customer ID, in order to subsequent clients information unification Management, therefore the client's essential information stored is first obtained from each source database of different industry companies, wherein, the visitor Family essential information includes customer type, customer name and identification information, and the specific customer type includes corporate customer, personal visitor Family and virtual client.
Preferably, the source database is oracle database(Oracle database also known as Oracle RDBMS, or referred to as Oracle, it is a relational database management system of Oracle), MySQL(MySQL is the small-sized of open source code Correlation data base management system)Database or PostgreSQL(PostgreSQL is a free Object-Relation data Storehouse server)Database, the target database are hive(Hive is a Tool for Data Warehouse based on Hadoop)Data Storehouse.These databases are common and easily operated data base management system and instrument, are easy in the present embodiment to data Analyzed and handled.
S20, according to the customer type and its it is corresponding it is default identification item judge whether the identification information of each client complete It is whole, the integrity degree information of each client is obtained according to judged result.
After the essential information of all clients is obtained, because the information integrity of different clients is different, the present embodiment It is middle according to customer type and its corresponding default identification item carries out the judgement of integrity degree, i.e. corporate customer, individual client and virtual Client is correspondingly arranged on default identification item, judges its knowledge according to the customer type of each client and corresponding default identification item Whether other information is complete, to provide integrity degree information reference during follow-up progress customer ID coding, referring to Fig. 3, it is the present invention Step S20 flow chart in the customer ID coding method of offer.
As shown in figure 3, judged respectively according to the customer type and its corresponding default identification item described in the step S20 The whether complete step of the identification information of individual client includes:
S21, the customer type for obtaining each client and its corresponding default identification item;
S22, judge in the identification information of each client whether and meanwhile all default identification items be present, if so, then identification information Completely, otherwise, identification information is imperfect.
In the present embodiment, the customer type of each client and its corresponding default identification item, such as corporate customer are first obtained Default identification item Institution Code, industrial and commercial registration number, the tax registration number, business license number in a organized way, the default knowledge of individual client Other item has identification card number, telephone number, mailbox, and the default identification item of virtual client has virtual address, virtual certificate number, judges every Whether all default identification items be present simultaneously in the identification information of individual client, if then identification information is complete, otherwise identification is believed Cease it is imperfect, such as when in the identification information of a corporate customer simultaneously organization mechanism code, industrial and commercial registration number, the tax registration be present Number, business license when, judge that its identification information is complete, it is on the contrary then imperfect, according to the judgement to each client identification information As a result the integrity degree information of all clients is obtained, to distinguish the client of different integrity degree information, when carrying out customer ID coding The integrity degree information of each client can be embodied, is advantageous to the classification of customer information integrity degree, and staff can know at a glance Whether typing is complete for the identification information of each client in road, contributes to the perfect of identification information.
S30, according to the customer type of each client and its integrity degree information according to pre-arranged code rule it is each client point Client association is established with preset format and unique customer ID, and according to the customer ID and its client's essential information of each client Table.
In the present embodiment, after the integrity degree information for obtaining each client, according to the essential information of client and its completely Spend information and distribute preset format and unique customer ID by pre-arranged code rule for each client, specially according to each client's Customer type and integrity degree information carry out customer number, i.e., there is customer type feature and integrity degree to believe in described customer ID The feature of breath, its customer type and integrity degree information directly can be reflected by the customer ID of each client, be advantageous to improve visitor Family information management efficiency, and each client's distribution is unique customer ID, and customer ID will not occur and repeat to cause client The situation of information errors, after customer ID is assigned, visitor is established according to the customer ID of each client and its client's essential information Family contingency table, each the customer ID of client and client's essential information it will collect and be integrated into client association table, in order to follow-up The lookup and renewal of customer information.
Specifically, the preset format and unique customer ID include start bit, customer type flag bit, integrity degree mark Position and random sequence number position, start bit, customer type flag bit, complete is set according to client's essential information and integrity degree information respectively Spend the value of flag bit and random sequence number position, so obtain it is default shelve and unique customer ID, referring to Fig. 4, it is the present invention Step S30 flow chart in the customer ID coding method of offer.
As shown in figure 4, the step S30 includes:
S31, it is the start bit of all client's distributing uniforms, and customer type flag bit is set according to the customer type of each client Value, the value of complete scale will position is set according to the integrity degree information of each client, while is the random sequence number position of each client Distribute unique preset length random number;
S32, the start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position pressed into preset order Arrangement draws the customer ID of each client;
S33, client association table established according to the customer ID and its client's essential information of each client
When carrying out customer ID distribution, for the start bit of all client's distributing uniforms, identified as customer ID, and according to each The customer type of client sets the value of customer type flag bit, specially corporate customer, individual client and virtual client distribution length Identical but different character data are spent, the value of complete scale will position is set according to the integrity degree information of each client, specially known The data that the incomplete client's allocated length of other information completely and identification information is identical but character is different, while be each client's The unique preset length random number of random sequence number bit allocation, when it is implemented, customer ID pond can be pre-established, according to the base of client This information and above-mentioned preset numbers rule are customer ID of each client distribution with set form, and are follow-up newly-increased visitor Family reserved part customer ID, to meet the increased demand of client capabilities.
Afterwards by the start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position by default Order arrangement draws the customer ID of each client, for example, customer ID be respectively start bit from left to right, it is customer type flag bit, complete Whole degree flag bit and random sequence number position, or other preset orders are adjusted on demand, for the unique visitor of each client distribution Client association table is established according to customer ID and client's essential information behind family number, unified, specification visitor is established for customer information Family information table, improve customer information search efficiency.
Preferably, the customer ID is 20 data, including 2 start bits, 1 customer type flag bit, 1 it is complete Whole degree flag bit and 16 random sequence number positions, when carrying out customer ID distribution, the preset characters of start bit distributing uniform, such as EC Identified as customer ID;The value of customer type flag bit is set according to customer type, and wherein P represents that individual client, G represent group Client, Z represent virtual client;The value of complete scale will position is set according to integrity degree information, and wherein X represents that identification information is endless Whole, O represents that identification information is complete;Unique 16 random numbers are randomly assigned for the sequence number position of each client, and by start bit, visitor Family type code position, integrity degree flag bit and random sequence number position array from left to right, and draw the customer ID of each client.
Further, the identification information of client can be updated or supplement at any time by establishing after client association table, or by new client Added in client association table, referring specifically to Fig. 5, include after the step S30:
S40, when updating or supplementing the identification information of a certain client, closed according to client's essential information of the client in the client Searched in connection table, judge whether to distribute customer ID for the client.
In the present embodiment, when needing to update or supplement the identification information of a certain client, first according to client's base of the client This information is searched in the client association table, such as is searched using customer name in client association table, is judged Whether customer ID is distributed for the client, that is, judged customer information and the client of the client whether have been stored in client association table Number.
If S50, judgement have distributed, it will update or the identification information of supplement cover or be supplemented to the client association table In, and according to the value of the identification information renewal integrity degree flag bit after covering or supplement.
, will renewal or supplement if being stored with the client's essential information and customer ID of the client in the client association table Identification information covering or be supplemented in the client association table, i.e., the operation to the identification information include update and supplement two Kind scheme, will treat that new identification information is covered into client association table when being updated operation, will when carrying out complement operation Identification information to be supplemented is supplemented in client association table, for example, previous corporate customer lack organization mechanism code, now will mend The organization mechanism code filled fills into the identification information option of the corporate customer in client association table, or the electricity to an individual client Words number is updated, and is found in client association table after the individual client, by the telephone number covering client association table of renewal Original telephone number, complete renewal or the supplement of identification information, it is preferable that after identification information updates or supplements, according to more The value of identification information renewal integrity degree flag bit after new or supplement, to ensure the real-time of integrity degree flag bit, there is provided newest Integrity degree mark.Specific more new technological process is referring to Fig. 6, it is step S50 in customer ID coding method provided by the invention Flow chart.
As shown in fig. 6, the step S50 includes:
S51, the identification information that will be updated or supplement are covered or are supplemented in the client association table;
S52, judge to cover or supplement after identification information whether and meanwhile default knowledge all corresponding to existing customer type be present Other item, if so, then identification information is complete, otherwise, identification information is imperfect;
S53, the value according to the integrity degree information updating integrity degree flag bit after renewal or supplement.
In the present embodiment, after the client is found in client association table, will update or supplement identification information covering or It is supplemented in the client association table, afterwards according to the customer type of the client, the identification information after judging to cover or supplementing is It is no at the same exist its customer type corresponding to all default identification items, i.e., with first distribute customer ID when it is similar, if desired update Or the client of supplement be corporate customer, then judge in the identification information after covering or supplement whether and meanwhile organization's generation be present Code, industrial and commercial registration number, the tax registration number, business license number, if then judging that identification information is complete, otherwise identification information is complete, Afterwards according to the value of the integrity degree information updating integrity degree flag bit after renewal or supplement.
For example, a certain corporate customer lacks organization mechanism code when distributing customer ID first, it is raw by pre-arranged code rule Into using customer ID as ECGX1111111111111111, when requiring supplementation with the organization mechanism code of the client, according to its client Title carries out Search and Orientation in client association table, and organization mechanism code is supplemented to complete, the now identification of the corporate customer Information completely, its customer ID is updated to ECGO1111111111111111, i.e., only updates the value of integrity degree flag bit, and preset Length random number then keeps constant, and avoiding unique preset length random number from changing causes customer information chaotic, completes client The more new technological process of information.
If S60, judgement are unallocated, preset format and unique client are distributed for the client according to pre-arranged code rule Number, and preserve to client association table.
If not being stored with the client's essential information and customer ID of the client in the client association table, i.e. existing customer is new Increase client, then distribute preset format and unique customer ID by above-mentioned pre-arranged code rule for the client, and increase this newly client Customer information and customer ID preserve into client association table, realize the newly-increased of customer information.
As shown in fig. 7, being based on above-mentioned customer ID coding method, the present invention further correspondingly provides a kind of answering for customer ID coding With server, it includes processor 10, memory 20 and display 30.Fig. 7 illustrate only the application server of customer ID coding Members, it should be understood that be not required for implementing all components shown, the implementation that can be substituted is more or more Few component.
The memory 20 can be the storage inside of the application server of the customer ID coding in certain embodiments Unit, such as the hard disk or internal memory of application server.The memory 20 can also be the client in further embodiments The External memory equipment of the application server of number coding, such as the plug-in type that is equipped with the application server of customer ID coding Hard disk, intelligent memory card(Smart Media Card, SMC), secure digital(Secure Digital, SD)Card, flash card (Flash Card)Deng.Further, the memory 20 can also both include the application server of customer ID coding Internal storage unit also includes External memory equipment.The memory 20 is used to store the application for being installed on the customer ID coding The application software and Various types of data of server, such as the program code of application server of the customer ID coding is installed etc.. In one embodiment, customer ID coded program 40 is stored with memory 20, the customer ID coded program 40 can be by the institute of processor 10 Perform, so as to realize the customer ID coding method of each embodiment of the application.
The processor 10 can be a central processing unit in certain embodiments(Central Processing Unit, CPU), microprocessor or other data processing chips, for running the program code stored in the memory 20 or processing number According to, such as perform described customer ID coding method etc..
The display 30 can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display in certain embodiments And OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Touch device etc..The display 30 is used In the information for the application server for being shown in the customer ID coding and for showing visual user interface, such as client Associate surface and interface etc..The part 10-30 of the application server of the customer ID coding is in communication with each other by system bus.
In one embodiment, following walk is realized when processor 10 performs customer ID coded program 40 in the memory 20 Suddenly:
The client's essential information stored in each source database is obtained, wherein, client's essential information includes customer type, visitor Name in an account book claims and identification information;
Judge whether the identification information of each client is complete according to the customer type and its corresponding default identification item, according to sentencing Disconnected result obtains the integrity degree information of each client;
Lattice are preset for each client distribution according to pre-arranged code rule according to the customer type of each client and its integrity degree information Formula and unique customer ID, and client association table is established according to the customer ID and its client's essential information of each client.
Further, in the application server of customer ID coding, it is described according to the customer type and its correspondingly Default identification item judge that the whether complete step of the identification information of each client includes:
Obtain the customer type of each client and its corresponding default identification item;
Judge in the identification information of each client whether and meanwhile all default identification items be present, if so, then identification information is complete, Otherwise, identification information is imperfect.
The preset format and unique customer ID include start bit, customer type flag bit, integrity degree flag bit and with Machine sequence number position.
The customer type and its integrity degree information of each client is pre- for each client distribution according to pre-arranged code rule If form and unique customer ID, and establish according to the customer ID and its client's essential information of each client the step of client association table Suddenly include:
For the start bit of all client's distributing uniforms, and customer type flag bit is set according to the customer type of each client Value, the value of complete scale will position is set according to the integrity degree information of each client, while is the random sequence number position point of each client With unique preset length random number;
The start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position are arranged by preset order Draw the customer ID of each client;
Client association table is established according to the customer ID of each client and its client's essential information.
The customer type and its integrity degree information according to each client is each client point according to pre-arranged code rule Client association table is established with preset format and unique customer ID, and according to the customer ID and its client's essential information of each client The step of after include:
When updating or supplementing the identification information of a certain client, according to client's essential information of the client in the client association table In searched, judge whether for the client distribute customer ID;
If judgement has distributed, it will update or the identification information of supplement covered or is supplemented in the client association table, and according to The value of identification information renewal integrity degree flag bit after covering or supplement;
If judgement is unallocated, preset format and unique customer ID are distributed for the client according to pre-arranged code rule, and preserve To client association table.
If described distributed, it will update or the identification information of supplement covered or is supplemented in the client association table, and Included according to the step of value of the identification information renewal integrity degree flag bit after covering or supplement:
It will update or the identification information of supplement covered or is supplemented in the client association table;
Identification information after judging to cover or supplementing whether and meanwhile default identification item all corresponding to existing customer type be present, If so, then identification information is complete, otherwise, identification information is imperfect;
According to the value of the integrity degree information updating integrity degree flag bit after renewal or supplement.
The customer type includes corporate customer, individual client and virtual client.
Referring to Fig. 8, its function mould for the application server preferred embodiment of present invention installation customer ID coded program Block figure.In the present embodiment, the application server for installing customer ID coded program can be divided into one or more modules, institute One or more module is stated to be stored in the memory 20, and by one or more processors(The present embodiment is described Processor 10)It is performed, to complete the present invention.For example, in fig. 8, the application server for installing customer ID coded program can be with It is divided into acquisition module 21, integrity degree judge module 22 and distribution and integrates module 23.Module alleged by the present invention is to refer to The series of computation machine programmed instruction section of specific function is completed, than program more suitable for describing the customer ID coded program in institute State the implementation procedure in the application server of customer ID coding.Describe specifically to introduce the function of the module 21-23 below.
Acquisition module 21, for obtaining the client's essential information stored in each source database, wherein, the client is basic Information includes customer type, customer name and identification information;
Integrity degree judge module 22, for judging the knowledge of each client according to the customer type and its corresponding default identification item Whether other information is complete, and the integrity degree information of each client is obtained according to judged result;
Module 23 is integrated in distribution, is according to pre-arranged code rule for the customer type according to each client and its integrity degree information Each client distributes preset format and unique customer ID, and is established according to the customer ID and its client's essential information of each client Client association table.
The integrity degree judge module 22 includes:
Customer type acquiring unit, for the customer type for obtaining each client and its corresponding default identification item;
First judging unit, in the identification information for judging each client whether and meanwhile all default identification items be present, if It is that then identification information is complete, otherwise, identification information is imperfect.
The preset format and unique customer ID include start bit, customer type flag bit, integrity degree flag bit and with Machine sequence number position.
Module 23 is integrated in the distribution to be included:
Allocation unit, client is set for the start bit for all client's distributing uniforms, and according to the customer type of each client The value of type code position, the value of complete scale will position is set according to the integrity degree information of each client, while is each client's The unique preset length random number of random sequence number bit allocation;
Arrangement units, for the start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position to be pressed Preset order arranges the customer ID for drawing each client;
Integral unit, client association table is established for the customer ID according to each client and its client's essential information.
The application server of installation customer ID coded program can also be divided into:
Complementary module is updated, for when updating or supplementing the identification information of a certain client, believing substantially according to the client of the client Breath is searched in the client association table, judges whether to distribute customer ID for the client;If judgement has distributed, will more New or supplement identification information covering is supplemented in the client association table, and according to the identification information after covering or supplement more The value of new integrity degree flag bit;It is regular for client distribution preset format and unique according to pre-arranged code if judgement is unallocated Customer ID, and preserve to client association table.
The renewal complementary module includes:
First updating block, the identification information for that will update or supplement are covered or are supplemented in the client association table;
Second judging unit, for judge cover or supplement after identification information whether and meanwhile exist corresponding to existing customer type All default identification items, if so, then identification information is complete, otherwise, identification information is imperfect;
Second updating block, for the value according to the integrity degree information updating integrity degree flag bit after renewal or supplement.
Based on above-mentioned customer ID coding method and application server, the present invention correspondingly provides a kind of customer ID coding system System, referring to Fig. 9, it includes the application server 120 of several source databases 110 and customer ID as described above coding.
Wherein, each source database 110 is used to store client's essential information, and the application server 120 is each for obtaining The client's essential information stored in source database;Wherein, client's essential information includes customer type, customer name and identification Information;And judge whether the identification information of each client is complete according to the customer type and its corresponding default identification item, The integrity degree information of each client is obtained according to judged result;According to the customer type of each client and its integrity degree information according to Pre-arranged code rule distributes preset format and unique customer ID, and the customer ID according to each client and its visitor for each client Family essential information establishes client association table.
The workflow of customer ID coded system is as follows in the present embodiment:
Application server obtains the client's essential information stored in each source database, wherein, client's essential information includes Customer type, customer name and identification information;
Application server according to the customer type and its it is corresponding it is default identification item judge each client identification information whether Completely, the integrity degree information of each client is obtained according to judged result;
Application server is each client according to pre-arranged code rule according to the customer type and its integrity degree information of each client Preset format and unique customer ID are distributed, and client association is established according to the customer ID and its client's essential information of each client Table.
Further, in the customer ID coded system, the application server is according to the customer type and its right The default identification item answered judges that the whether complete flow of the identification information of each client includes:
Application server obtains the customer type of each client and its corresponding default identification item;
Application server judge in the identification information of each client whether and meanwhile all default identification items be present, if so, then knowing Other information completely, otherwise, identification information is imperfect.
The application server is according to pre-arranged code rule according to the customer type and its integrity degree information of each client Each client distributes preset format and unique customer ID, and is established according to the customer ID and its client's essential information of each client The flow of client association table includes:
Application server is the start bit of all client's distributing uniforms, and sets customer type according to the customer type of each client The value of flag bit, the value of complete scale will position is set according to the integrity degree information of each client, while is the random of each client The unique preset length random number of sequence number bit allocation;
Application server is by the start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position by pre- If order arrangement draws the customer ID of each client;
Application server establishes client association table according to the customer ID and its client's essential information of each client.
The application server is according to pre-arranged code rule according to the customer type and its integrity degree information of each client Each client distributes preset format and unique customer ID, and is established according to the customer ID and its client's essential information of each client Also include after the flow of client association table:
Application server is when updating or supplementing the identification information of a certain client, according to client's essential information of the client described Searched in client association table, judge whether to distribute customer ID for the client;
If judgement has distributed, application server will then update or the identification information of supplement covers or be supplemented to the client association table In, and according to the value of the identification information renewal integrity degree flag bit after covering or supplement;
If judgement is unallocated, application server then distributes preset format and unique client according to pre-arranged code rule for the client Number, and preserve to client association table.
If the judgement has distributed, application server will then update or the identification information of supplement covers or be supplemented to the visitor In the contingency table of family, and included according to the flow of the value of the identification information renewal integrity degree flag bit after covering or supplement:
Application server will be updated or the identification information of supplement is covered or is supplemented in the client association table;
Application server judge cover or supplement after identification information whether and meanwhile exist all corresponding to existing customer type Default identification item, if so, then identification information is complete, otherwise, identification information is imperfect;
Application server is according to the value of the integrity degree information updating integrity degree flag bit after renewal or supplement.
In summary, it is described in customer ID coding method provided by the invention, application server, system and storage medium Client's essential information that customer ID coding method is stored by obtaining in each source database, wherein, client's essential information Including customer type, customer name and identification information;Judged afterwards according to the customer type and its corresponding default identification item Whether the identification information of each client is complete, and the integrity degree information of each client is obtained according to judged result;Afterwards according to each The customer type and its integrity degree information of client distributes preset format and unique visitor according to pre-arranged code rule for each client Family number, and client association table is established according to the customer ID and its client's essential information of each client.Can be according to the class of each client Type and information integrity distribution have unified form and unique customer ID, and the client of unified standard is provided for all clients Coding, be advantageous to customer information lookup and information updating, improve operating efficiency.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, It is that related hardware can be instructed by computer program(Such as processor, controller etc.)To complete, described program can store In a computer-readable storage medium, the program may include such as the flow of above-mentioned each method embodiment upon execution.Its Described in storage medium can be memory, magnetic disc, CD etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention Protect scope.

Claims (10)

1. a kind of customer ID coding method, it is characterised in that comprise the following steps:
The client's essential information stored in each source database is obtained, wherein, client's essential information includes customer type, visitor Name in an account book claims and identification information;
Judge whether the identification information of each client is complete according to the customer type and its corresponding default identification item, according to sentencing Disconnected result obtains the integrity degree information of each client;
Lattice are preset for each client distribution according to pre-arranged code rule according to the customer type of each client and its integrity degree information Formula and unique customer ID, and client association table is established according to the customer ID and its client's essential information of each client.
2. customer ID coding method according to claim 1, it is characterised in that described according to the customer type and its right The default identification item answered judges that the whether complete step of the identification information of each client includes:
Obtain the customer type of each client and its corresponding default identification item;
Judge in the identification information of each client whether and meanwhile all default identification items be present, if so, then identification information is complete, Otherwise, identification information is imperfect.
3. customer ID coding method according to claim 1, it is characterised in that the preset format and unique customer ID Including start bit, customer type flag bit, integrity degree flag bit and random sequence number position.
4. customer ID coding method according to claim 3, it is characterised in that the customer type according to each client And its integrity degree information distributes preset format and unique customer ID according to pre-arranged code rule for each client, and according to each The step of customer ID and its client's essential information of client establish client association table includes:
For the start bit of all client's distributing uniforms, and customer type flag bit is set according to the customer type of each client Value, the value of complete scale will position is set according to the integrity degree information of each client, while is the random sequence number position point of each client With unique preset length random number;
The start bit, customer type flag bit, integrity degree flag bit and the character of random sequence number position are arranged by preset order Draw the customer ID of each client;
Client association table is established according to the customer ID of each client and its client's essential information.
5. the customer ID coding method according to claim 3 or 4, it is characterised in that the client according to each client Type and its integrity degree information distribute preset format and unique customer ID according to pre-arranged code rule for each client, and according to Include after the step of customer ID and its client's essential information of each client establish client association table:
When updating or supplementing the identification information of a certain client, according to client's essential information of the client in the client association table In searched, judge whether for the client distribute customer ID;
If judgement has distributed, it will update or the identification information of supplement covered or is supplemented in the client association table, and according to The value of identification information renewal integrity degree flag bit after covering or supplement;
If judgement is unallocated, preset format and unique customer ID are distributed for the client according to pre-arranged code rule, and preserve To client association table.
6. customer ID coding method according to claim 5, it is characterised in that, will renewal if the judgement has distributed Or the identification information of supplement is covered or is supplemented in the client association table, and updated according to the identification information after covering or supplement The step of value of integrity degree flag bit, includes:
It will update or the identification information of supplement covered or is supplemented in the client association table;
Identification information after judging to cover or supplementing whether and meanwhile default identification item all corresponding to existing customer type be present, If so, then identification information is complete, otherwise, identification information is imperfect;
According to the value of the integrity degree information updating integrity degree flag bit after renewal or supplement.
7. according to the customer ID coding method described in claim 1-4 any one, it is characterised in that the customer type includes Corporate customer, individual client and virtual client.
A kind of 8. application server of customer ID coding, it is characterised in that including:Processor, memory and communication bus;
Being stored with the memory can be by the computer-readable program of the computing device;
The communication bus realizes the connection communication between processor and memory;
Realize that the customer ID as described in claim 1-7 any one is compiled described in the computing device during computer-readable program Step in code method.
A kind of 9. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing devices, and to realize, such as claim 1-7 appoints The step in customer ID coding method described in meaning one.
10. a kind of customer ID coded system, including several source databases, it is characterised in that also include as claimed in claim 8 Customer ID coding application server;
Each source database, for storing client's essential information;
The application server, for obtaining the client's essential information stored in each source database, wherein, the client is basic Information includes customer type, customer name and identification information;And according to the customer type and its corresponding default identification item Judge whether the identification information of each client is complete, the integrity degree information of each client is obtained according to judged result;According to each The customer type and its integrity degree information of client distributes preset format and unique visitor according to pre-arranged code rule for each client Family number, and client association table is established according to the customer ID and its client's essential information of each client.
CN201710858735.1A 2017-09-21 2017-09-21 Client number coding method, application server, system and storage medium Active CN107798065B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710858735.1A CN107798065B (en) 2017-09-21 2017-09-21 Client number coding method, application server, system and storage medium
PCT/CN2018/082257 WO2019056734A1 (en) 2017-09-21 2018-04-09 Customer number encoding method, application server, system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710858735.1A CN107798065B (en) 2017-09-21 2017-09-21 Client number coding method, application server, system and storage medium

Publications (2)

Publication Number Publication Date
CN107798065A true CN107798065A (en) 2018-03-13
CN107798065B CN107798065B (en) 2020-07-07

Family

ID=61531990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710858735.1A Active CN107798065B (en) 2017-09-21 2017-09-21 Client number coding method, application server, system and storage medium

Country Status (2)

Country Link
CN (1) CN107798065B (en)
WO (1) WO2019056734A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109064342A (en) * 2018-07-20 2018-12-21 阳光保险集团股份有限公司 Client identity recognition methods and device
WO2019056734A1 (en) * 2017-09-21 2019-03-28 平安科技(深圳)有限公司 Customer number encoding method, application server, system, and storage medium
CN111210228A (en) * 2019-12-25 2020-05-29 杭州龙席网络科技股份有限公司 CRM (customer relationship management) customer management method suitable for export-type cross-border trade
CN112069276A (en) * 2020-08-31 2020-12-11 平安科技(深圳)有限公司 Address coding method and device, computer equipment and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205329A (en) * 2021-11-16 2022-03-18 杭州华橙软件技术有限公司 Equipment coding method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366669A (en) * 2000-01-24 2002-08-28 皇家菲利浦电子有限公司 Protecting content from illicit reproduction by proof of existence of complete data set using security identifiers
CN1422076A (en) * 2001-11-26 2003-06-04 国家广播电影电视总局广播科学研究院 Cable TV subscriber code generating method
CN101227450A (en) * 2007-01-16 2008-07-23 华为技术有限公司 Equipment, system and method for transmitting spending information
WO2010040150A1 (en) * 2008-10-03 2010-04-08 Dt Lab, Llc System and method for customer authentication of an item
CN101945092A (en) * 2010-06-30 2011-01-12 赛尔网络有限公司 Method for generating uniform internet user identification

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60133097T2 (en) * 2000-03-31 2009-04-30 British Telecommunications P.L.C. METHOD AND TRANSMISSION NETWORK FOR CONTROLLING MENU FUNCTIONS OF A MOBILE TELEPHONE
CN100512528C (en) * 2004-11-15 2009-07-08 中兴通讯股份有限公司 Method for realizing imputation position registor user control
CN106650259B (en) * 2016-12-22 2020-06-19 深圳中兴网信科技有限公司 Patient information management method and management system
CN107798065B (en) * 2017-09-21 2020-07-07 平安科技(深圳)有限公司 Client number coding method, application server, system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366669A (en) * 2000-01-24 2002-08-28 皇家菲利浦电子有限公司 Protecting content from illicit reproduction by proof of existence of complete data set using security identifiers
CN1422076A (en) * 2001-11-26 2003-06-04 国家广播电影电视总局广播科学研究院 Cable TV subscriber code generating method
CN101227450A (en) * 2007-01-16 2008-07-23 华为技术有限公司 Equipment, system and method for transmitting spending information
WO2010040150A1 (en) * 2008-10-03 2010-04-08 Dt Lab, Llc System and method for customer authentication of an item
CN101945092A (en) * 2010-06-30 2011-01-12 赛尔网络有限公司 Method for generating uniform internet user identification

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019056734A1 (en) * 2017-09-21 2019-03-28 平安科技(深圳)有限公司 Customer number encoding method, application server, system, and storage medium
CN109064342A (en) * 2018-07-20 2018-12-21 阳光保险集团股份有限公司 Client identity recognition methods and device
CN111210228A (en) * 2019-12-25 2020-05-29 杭州龙席网络科技股份有限公司 CRM (customer relationship management) customer management method suitable for export-type cross-border trade
CN112069276A (en) * 2020-08-31 2020-12-11 平安科技(深圳)有限公司 Address coding method and device, computer equipment and computer readable storage medium
CN112069276B (en) * 2020-08-31 2024-03-08 平安科技(深圳)有限公司 Address coding method, address coding device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
WO2019056734A1 (en) 2019-03-28
CN107798065B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN107798065A (en) A kind of customer ID coding method, application server, system and storage medium
Battaïa et al. Future trends in management and operation of assembly systems: from customized assembly systems to cyber-physical systems
CN104778540B (en) A kind of equipment for building materiaIs manufacturing BOM management method and management system
CN112418798A (en) Information auditing method and device, electronic equipment and storage medium
CN109034849B (en) Agricultural product information traceability verification method and system based on block chain
CN1862580A (en) Method and system for performing inventory management
CN106920019A (en) Multi-class coding management system
KR20180124299A (en) Shiping Processing System In a Bundle
CN114519590A (en) Traceability information generation system and method, electronic device and readable storage medium
CN112417503A (en) Method and device for authorizing post authority, electronic equipment and storage medium
CN104657866A (en) Method, device and system for inquiring business object information based on product encoded information
CN107832134A (en) multi-task processing method, application server and storage medium
CN108446989B (en) Method for determining commission charge and terminal equipment
CN110618842B (en) Service processing method and device, electronic equipment and storage medium
CN114493335A (en) System for product quality tracing
CN114844844A (en) Delay message processing method, device, equipment and storage medium
CN103440518A (en) Coal mine management system based on RFID technology
CN113505273A (en) Data sorting method, device, equipment and medium based on repeated data screening
CN113157853A (en) Problem mining method and device, electronic equipment and storage medium
CN105760911A (en) Method and device for applying associated identification codes
CN108898199B (en) Product identification code conversion method and device and product management system
CN109285043A (en) A kind of configuration method of product modular, terminal device and storage medium
RU2640749C2 (en) Method of automated goods inventory accounting
CN114387021A (en) Service state generation method, device, equipment and storage medium
CN109784593A (en) Production capacity equalization processing method and device for multistoried storehouse

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