Method and system for coding home address

文档序号:1505365 发布日期:2020-02-07 浏览:5次 中文

阅读说明:本技术 一种家庭地址编码的方法及系统 (Method and system for coding home address ) 是由 郑春阳 于 2019-06-22 设计创作,主要内容包括:本发明的一种家庭地址编码的方法及系统,该方法包括以下步骤:S1:获取家庭地址信息或获取所述家庭地址中当前住户的个人身份信息;S2:生成家庭地址码;该系统包括包括获取单元和家庭地址码生成单元;所述获取单元,用于获取家庭地址信息或获取所述家庭地址中当前住户的个人身份信息;所述家庭地址码生成单元,用于生成家庭地址码。通过使用本发明的家庭地址编码的方法及系统,可以方便住户填写收货地址,同时可以有效防止住户隐私的泄露。(The invention relates to a method and a system for coding a home address, wherein the method comprises the following steps: s1: acquiring home address information or acquiring personal identity information of a current resident in the home address; s2: generating a home address code; the system comprises an acquisition unit and a home address code generation unit; the acquisition unit is used for acquiring the home address information or acquiring the personal identity information of the current resident in the home address; the home address code generating unit is used for generating a home address code. By using the method and the system for coding the home address, the householder can conveniently fill in the delivery address, and simultaneously, the privacy of the householder can be effectively prevented from being revealed.)

1. A method for home address coding, comprising the steps of:

s1: acquiring home address information or acquiring personal identity information of a current resident in the home address;

s2: a home address code is generated.

2. The method for encoding home addresses according to claim 1, further comprising the following steps before obtaining the personal identification information of the current resident in the home address in step S1:

s10: and prompting the current resident in the home address to fill in personal identity information according to an instruction.

3. The method for encoding a home address as claimed in claim 2, wherein step S10, before prompting the current resident in the home address to fill out the personal identification information as instructed, further comprises the following steps:

s100: judging whether the current resident in the home address is the first home address code application, if yes, entering S10; if not, the process goes to S101;

s101: and prompting the current resident in the home address to fill in the changed personal identity information according to the instruction.

4. The method for encoding home addresses according to any one of claims 1 to 3, wherein after the step S2 of generating the home address code, the method further comprises the following steps:

s21: and sending the generated home address code to the intelligent terminal of the corresponding current household.

5. The method of home address coding according to claim 4, wherein the home address information includes postal codes of province, city, county, town, cell name, building number, house number information; the personal identity information comprises the postal code, the cell name, the building number, the house number, the name and the contact telephone of the province, the city, the county and the town where the current resident is located.

6. The method of home address coding according to claim 5, wherein the home address code comprises a home address coding part or a personal coding part; the home address coding part is used for indicating the unified delivery address of all current residents in the same house number; the personal coding part is used for distinguishing different consignees in the unified consignee address, namely different residents in the same house number.

7. The method as claimed in claim 6, wherein the home address code is a string of fixed and unique digital codes randomly generated after obtaining the home address information or after obtaining the personal identity information of the current household of the home address, and the digital codes are used for indicating the home address or the delivery address of the current household in the home address.

8. The method as claimed in claim 6, wherein the home address code is a string of fixed and unique digital codes generated according to a preset rule after obtaining home address information or after obtaining personal identity information of a current household of the home address, and the digital codes are used for indicating the home address or a delivery address of the current household in the home address.

9. A home address coding system is characterized by comprising an acquisition unit and a home address code generation unit;

the acquisition unit is used for acquiring the home address information or acquiring the personal identity information of the current resident in the home address;

the home address code generating unit is used for generating a home address code.

10. The system for home address coding according to claim 9, further comprising a prompting unit and a judging unit;

the prompting unit is used for prompting the current resident in the home address to fill in the personal identity information according to the instruction, or prompting the current resident in the home address to fill in the changed personal identity information according to the instruction;

and the judging unit is used for judging whether the current resident in the home address applies for the home address code for the first time.

Technical Field

The invention belongs to the field of express delivery, and particularly relates to a home address coding method and system.

Background

At present, more and more people buy things through a network platform, before buying things, consignee information is required to be filled in, wherein the consignee information comprises a consignee address, a name and a mobile phone number of the consignee; if the resident purchases goods on a plurality of network platforms, the information of the consignee is required to be filled in once on each platform; for those residents with long addresses, it is troublesome to fill in the long consignee information every time, and the personal information of the residents including the home address, name and contact telephone number is exposed, so that the personal privacy information of the residents is easily revealed.

Disclosure of Invention

Aiming at the characteristics, the invention provides a method and a system for coding a home address, which are used for solving the problem that a resident is inconvenient to fill in consignee information and solving the problem that the resident information is easy to leak.

The invention provides a method for coding a home address, which comprises the following steps:

s1: acquiring home address information or acquiring personal identity information of a current resident in the home address;

s2: a home address code is generated.

Preferably, before the step S1 of obtaining the personal identity information of the current resident in the home address, the method further includes the following steps:

s10: and prompting the current resident in the home address to fill in personal identity information according to an instruction.

Preferably, in step S10, before prompting the current resident in the home address to fill in the personal identity information according to the instruction, the method further includes the following steps:

s100: judging whether the current resident in the home address is the first home address code application, if yes, entering S10; if not, the process goes to S101;

s101: and prompting the current resident in the home address to fill in the changed personal identity information according to the instruction.

Preferably, after the home address code is generated in step S2, the method further includes the steps of:

s21: and sending the generated home address code to the intelligent terminal of the corresponding current household.

Preferably, the home address information includes postal codes, cell names, building numbers and house number information of provinces, cities, counties and towns; the personal identity information comprises the postal code, the cell name, the building number, the house number, the name and the contact telephone of the province, the city, the county and the town where the current resident is located.

Preferably, the home address code includes a home address code portion or a personal code portion; the home address coding part is used for indicating the unified delivery address of all current residents in the same house number; the personal coding part is used for distinguishing different consignees in the unified consignee address, namely different residents in the same house number.

Preferably, the home address code is a string of fixed and unique digital codes generated randomly after acquiring home address information or personal identity information of a current resident of the home address, and the digital codes are used for indicating the home address or a delivery address of the current resident in the home address.

Preferably, the home address code is a string of fixed and unique digital codes generated according to a preset rule after obtaining home address information or after obtaining personal identity information of a current resident of the home address, and the digital codes are used for indicating the home address or a delivery address of the current resident in the home address.

Furthermore, the invention also provides a system for home address coding, which comprises an acquisition unit and a home address code generation unit;

the acquisition unit is used for acquiring the home address information or acquiring the personal identity information of the current resident in the home address;

the home address code generating unit is used for generating a home address code.

Preferably, the system further comprises a prompting unit and a judging unit;

the prompting unit is used for prompting the current resident in the home address to fill in the personal identity information according to the instruction, or prompting the current resident in the home address to fill in the changed personal identity information according to the instruction;

and the judging unit is used for judging whether the current resident in the home address applies for the home address code for the first time.

The technical scheme provided by the embodiment of the invention can have the following beneficial effects:

aiming at the characteristics, the method and the system for coding the home address can prompt the householder to fill in personal identity information according to the indication through the identity information filling prompting unit; the judging unit judges whether the householder applies for the home address code for the first time, so that the identity information filling prompting unit is convenient for prompting the householder to fill and change corresponding information; the individual identity information of the resident can be acquired through the resident identity information acquisition unit; the home address code generating unit can generate a corresponding home address code for the resident; the home address coding method and the home address coding system can facilitate the householder to fill in the delivery address and can effectively prevent the privacy of the householder from being revealed.

Drawings

Fig. 1 is a flowchart illustrating a home address encoding method according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating a method for encoding a home address according to another embodiment of the present invention;

fig. 3 is a flowchart illustrating a home address encoding method according to another embodiment of the present invention;

fig. 4 is a flowchart illustrating a home address encoding method according to another embodiment of the present invention;

FIG. 5 is a diagram illustrating components of a first embodiment of a home address encoding system according to the present invention;

fig. 6 is a schematic diagram of the second embodiment of the home address coding system according to the present invention.

Detailed Description

The present invention will be further described in detail with reference to the drawings attached hereto, it being understood that the preferred embodiments described herein are for the purpose of illustrating and explaining the present invention only and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.

In an embodiment of the present invention, referring to fig. 1, the present invention provides a method for encoding a home address, including the following steps:

s1: acquiring home address information or acquiring personal identity information of a current resident in the home address;

s2: a home address code is generated.

In the embodiment, two home address coding methods are included;

the first method comprises the following steps: step S1: acquiring home address information, including postal codes, cell names, building numbers and house number information of provinces, cities, counties and towns of the home address; for example, the family address is the West village and town of the Jean region of Shenzhen city, Guangdong province, such as the West village of the Jean region, and the zip code is 518102; then, a cell in the western countryside, for example, the tay-hua sunshine sea cell, 2 203 residents, and then the complete family address information of the 203 residents is 518102 tay-hua sunshine sea 2 residents 203; then, the flow proceeds to step S2: generating a home address code, wherein the home address code can be generated randomly or according to a preset rule; the number of cells in a town or a street can be represented by a four-digit number, namely 0001 + 9999 cells, if the number of the cells is too large, more digits can be considered to represent the cells, in the embodiment, the four-digit number represents the cells, and the taihua sunshine sea code is 0001; the number of buildings in each cell is represented by two digits, and can represent 01-99 buildings; if the number of the buildings is too large, three digits can be considered to represent the buildings; for example, 2 tay sunshine sea districts are coded as 02; the specific number code of the house number is represented by two digits and can represent 01-99 house numbers in each floor; if there are too many portals, it can be considered to represent with three-digit numbers, 203, representing room three on the second floor, 203 being the house number; the number of the 203 house is coded as 03; thus, it can be seen that the composition of the home address code is: postal code of province, city, county and town + cell name + building number + house number; then, the generated home address code is 51810200010203 in combination, and the number of digits of the home address code can be increased continuously as required, which is composed of 14 digits. It should be noted that the composition sequence of the home address code can be freely combined, and is not limited by the above examples; for example: another form of the home address code is: the method comprises the following steps of (1) placing a cell name + building number + house number + postal codes of province, city, county and town, namely placing the cell name at the forefront, and finally placing the postal codes of the province, city, county and town, wherein a generated home address code is 00010203518102; the cell name may also be placed in the middle, that is, four components of the home address code may be arranged and combined to generate the home address code, for example, 02030001518102 is generated, and the four components may have 24 arrangement and combination modes to generate 24 home address codes. The system counts home address codes generated by all house numbers of buildings in all cells in the country, the counted home address codes are issued to a network or printed into books, so that all nationalities can inquire the home address codes of the house numbers of the residential areas, and when filling in the goods receiving address, the system can only find out the home address code where a resident resides and fill in a column of the goods receiving address without filling in the specific address, and a courier can find out a corresponding delivery object according to the home address code; a cabinet capable of receiving express delivery, namely an express delivery cabinet, is arranged outside the door corresponding to each house number, an intelligent lock and a two-dimensional code are arranged on the express delivery cabinet, and the intelligent lock of the express delivery cabinet can be opened by scanning the two-dimensional code; after the courier opens the intelligent lock by scanning the two-dimensional code, the courier puts the courier into a courier cabinet; after the intelligent lock is opened by the resident through scanning the two-dimensional code, the express inside can be taken out.

And the second method comprises the following steps: step S1: acquiring home address information, including postal codes, cell names, building numbers and house number information of provinces, cities, counties and towns of the home address; for example, the family address is the West village and town of the Jean region of Shenzhen city, Guangdong province, such as the West village of the Jean region, and the zip code is 518102; then, in a cell in the western countryside, such as the tay sun sea cell, the current household of 2 persons 203 has zhang three and li four, zhang three phone 18600000022; lee four phone 18800000033; the complete family address information of the 203 residents is 518102 Twy sunlight sea 2 203 Zhang III 186000000022 and Li IV 18800000033; then, the flow proceeds to step S2: generating a home address code, wherein the home address code can be generated randomly or according to a preset rule; the number of cells in a town or a street can be represented by a four-digit number, namely 0001 + 9999 cells, if the number of the cells is too large, more digits can be considered to represent the cells, in the embodiment, the four-digit number represents the cells, and the taihua sunshine sea code is 0001; the number of buildings in each cell is represented by two digits, and can represent 01-99 buildings; if the number of the buildings is too large, three digits can be considered to represent the buildings; for example, 2 tay sunshine sea districts are coded as 02; the specific number code of the house number is represented by two digits and can represent 01-99 house numbers in each floor; if there are too many portals, it can be considered to represent with three-digit numbers, 203, representing room three on the second floor, 203 being the house number; the number of the 203 house is coded as 03; the name of the current resident in the home address can be represented by a single digit, which indicates that 1-9 residents can live in the home, if the number of residents is too many, the number can be increased to two digits to represent the resident, for example, the current resident has the code of three, the code is 1, and the Liqu code is 2; the telephone number of the current resident corresponds to the name of the current resident one by one, is represented by one digit, can represent 1-9 as the telephone number of the resident, and can be increased to two digits to represent the telephone number of each resident if the number of the resident is too many; for example, the telephone number of Zhang III is 186000000022, and the number is 1; the telephone number of lee four is 18800000033, and the number is 2; thus, it can be seen that the composition of the home address code is: postcodes of province, city, county and town, cell name, building number, house number, name and contact telephone; then, in sum, the home address code generated for Zhang III of 203 residents is 5181020001020311, and the home address code generated for Li IV of 203 residents is 5181020001020322. The home address code is composed of 16 digits in common, and the digits of the home address code can be increased continuously according to needs. It should be noted that the composition sequence of the home address code can be freely combined, and is not limited by the above examples; for example: another form of the home address code is: name + contact telephone + cell name + building number + house number + province, city, county, town zip code, that is, name, contact telephone and cell name are placed at the forefront, and the zip code of province, city, county, town is placed at the end, the home address code generated for Zhang III of 203 residents is 1151810200010203, and the home address code generated for Li IV of 203 residents is 2251810200010203; the name, name and contact telephone of the cell can also be put in the middle, namely six components of the home address code can be arranged and combined to generate the home address code, the home address code generated for Zhang III of 203 residents is 5181020001110203, and the home address code generated for Li IV of 203 residents is 5181020001220203; the six components can have 720 permutation and combination modes, and 720 different home address codes can be generated. The system sends the generated home address code corresponding to the resident to the intelligent terminal of the corresponding resident, so that the resident can conveniently obtain the home address code corresponding to the resident; for example, 5181020001110203 is sent to an intelligent terminal of zhangsan, zhangsan knows that the home address code corresponding to zhangsan is 5181020001110203, 5181020001220203 is sent to an intelligent terminal of zhangsan, zhangsan knows that the home address code corresponding to zhangsan is 5181020001220203, when a receiving address is filled later, the specific address does not need to be filled, zhangsan only needs to fill the unique and fixed home address code 5181020001110203 of zhangsan to the first column of the receiving address, and zhangsan also only needs to fill the unique and fixed home address code 5181020001220203 of zhangsan to the first column of the receiving address, and an express can find the corresponding delivery object according to the home address code, namely, find tahua sunshine, a residence portal of the 2-rise 203, deliver the express, zhangsan sees the address code 5181020001110203 thereon, and can know that the express is zhangsan, but not zhangsan; if Zhang three sees the address code 5181020001220203 on it, it knows that the express is Liqu, not Zhang three; a cabinet capable of receiving express delivery, namely an express delivery cabinet, is arranged outside the door corresponding to each house number, an intelligent lock and a two-dimensional code are arranged on the express delivery cabinet, and the intelligent lock of the express delivery cabinet can be opened by scanning the two-dimensional code; after the courier opens the intelligent lock by scanning the two-dimensional code, the courier puts the courier into a courier cabinet; after the intelligent lock is opened by the resident through scanning the two-dimensional code, the express inside can be taken out.

Further, referring to fig. 2, before acquiring the personal identity information of the current household in the home address in step S1, the method further includes the following steps:

s10: and prompting the current resident in the home address to fill in personal identity information according to an instruction.

In this embodiment, referring to the second embodiment, before obtaining the personal identity information of the current resident in the home address, the current resident in the home address may also be prompted to fill in the personal identity information according to an instruction, where the personal identity information includes personal information such as a zip code, a cell name, a building number, a house number, a name, a contact phone, and the like of a province, a city, a county, and a town where the current resident is located.

Further, referring to fig. 3, before prompting the current resident in the home address to fill out the personal identity information according to the instruction in step S10, the method further includes the following steps:

s100: judging whether the current resident in the home address is the first home address code application, if yes, entering S10; if not, the process goes to S101;

s101: and prompting the current resident in the home address to fill in the changed personal identity information according to the instruction.

In this embodiment, before prompting the current resident in the home address to fill in the personal identity information according to the instruction, it may be further determined whether the current resident in the home address applies for the home address code for the first time, and if the current resident in the home address applies for the home address code for the first time, the current resident in the home address is prompted to fill in the personal identity information according to the instruction; if the home address code is not applied for the first time, the fact that the personal information of the resident has a change item is shown, and the current resident is prompted to fill in the changed personal identity information according to the indication in the home address; for example, zhang san, the previous home address code is 5181020001020311, it can be seen that zhang san is the 203 of the 2 th building living in the west county, taihua sunshine sea district in the precious security zone of shenzhen, guangdong province, and the cell phone number is 18600000022; zhang III may move home, so the residential area he is now in may not be Taihua sunshine sea, if he lives in the district of the Jinhong Huating district in West countryside, then the code of the district of the Jinhong Huating is 0002, he lives in 3 buildings 406 of the Jinhong Huating, then the code of the 3 buildings is 03,406, then Zhang III changes the address of the residential area and the building number and the house number, for Zhang III newly generates a home address code, 5181020002030611; the last two digits 1 represent the names of zhang san and zhang san phone 18600000022, respectively.

Further, referring to fig. 4, after the home address code is generated in step S2, the method further includes the following steps:

s21: and sending the generated home address code to the intelligent terminal of the corresponding current household.

In the embodiment, the system sends the generated home address code corresponding to the resident to the intelligent terminal of the corresponding resident, so that the resident can conveniently obtain the home address code corresponding to the resident; for example, 5181020001110203 is sent to the intelligent terminal of zhangsan, zhangsan knows that the home address code corresponding to zhangsan is 5181020001110203, 5181020001220203 is sent to the intelligent terminal of liquad, and liquad knows that the home address code corresponding to liquad is 5181020001220203.

Further, the family address information comprises postal codes, cell names, building numbers and house number information of provinces, cities, counties and towns; the personal identity information comprises the postal code, the cell name, the building number, the house number, the name and the contact telephone of the province, the city, the county and the town where the current resident is located.

In this embodiment, the home address information, including but not limited to postal codes, cell names, building numbers, and house number information of provinces, cities, counties, and towns, may also include the location of each building, for example, a taihua sunshine sea district, where 10 buildings exist, and 1-4 buildings are north after entering the gate of the district, so as to indicate that the location of each building is north, and the position is represented by one digit, that is, the north is represented by 4; 5-8 buildings are arranged at the south side behind the entrance of the gate of the community, so that the position of the building is indicated to be at the south side, the position is represented by one digit, namely the south side is represented by 2; 9-10 buildings are arranged on the west side behind the entrance of the large entrance of the community, so that the position of the building is indicated to be on the west side, the position is represented by one digit, namely the west side is represented by 3, and the east side can be represented by 1 in the same way; for example, the family address code of Zhangthree of the Shenzhen, Guangdong, Shenzhen, Jewel, Shenhua, solar sea district 2, building 203 is 5181020203114. The individual identity information in this embodiment includes, but is not limited to, postal codes, cell names, building numbers, house numbers, names, and contact numbers of provinces, cities, counties, and towns where the current resident is located, and may also include the gender of the resident, where the gender may be represented by one digit, 0 represents female, 1 represents male, and the gender of the consignee may be indicated by the gender code; for example, the family address code of zhang san man in the west county, taihua sunshine sea area 2 building 203 in the Shenzhen city of Guangdong province is 51810202031141.

Further, the home address code comprises a home address coding part or a personal coding part;

the home address coding part is used for indicating the unified delivery address of all current residents in the same house number; the personal coding part is used for distinguishing different consignees in the unified consignee address, namely different residents in the same house number.

In this embodiment, the home address code includes a home address code portion or a personal code portion; the family address code is used for indicating the unified delivery address of all current residents in the same house number; for example, the code of the 2-storied building 203 in the West county Taihua sunlight sea district in the Shenzhen city of Guangdong province is 5181020203; the other family address code with personal information comprises the postal code, the cell name, the building number, the house number, the name and the contact telephone number of the province, the city, the county and the town where the current resident is located, and is used for distinguishing different consignees in the unified consignee address, namely different residents in the same house number; for example, if three residents of the 2-span building 203 in the west county, Taihua sunlight sea district of Shenzhen, Guangdong province and the contact telephone is 18600000022, the home address code of the three residents is 518102020311; similarly, if the contact telephone number of the user lie four of the building 203 in the west county, taihua sunlight sea district 2 in the precious district of Shenzhen, Guangdong province is 18800000033, the home address code of the lie four is 518102020322; if the home address code of the consignee is filled in 5181020203, it can be known that the express delivery should be delivered to the 2-storied building 203 in the western county, taihua sunshine sea district in the precious security district of Shenzhen, Guangdong province; if the home address code of the consignee is filled in 518102020311, it can be known that the express delivery should be delivered to the 2-storied building 203 in the west county, taihua sunshine sea district in the precious security district of Shenzhen, Guangdong, and meanwhile, after the current resident in the 203 room sees the express delivery, it can be known that the express delivery is Zhang-three, but not Li-four.

Further, the home address code is a string of fixed and unique digital codes generated randomly after the home address information is acquired or after the personal identity information of the current household of the home address is acquired, and the digital codes are used for indicating the home address or the delivery address of the current household in the home address.

In this embodiment, the home address code may be a string of fixed and unique digital codes randomly generated after the home address information is acquired or after the personal identity information of the current household of the home address is acquired, where the digital codes are used to indicate the home address or a delivery address of the current household in the home address. Randomly generating a family address code, for example, for the 2-span building 203 in the west county, taihua sunlight sea cell in the precious security region of Shenzhen, Guangdong province, randomly generating a string of fixed and unique digital codes, wherein the digital codes are 14-bit random codes, for example, 10002344126788; for another example, for three 18600000022 of 203 buildings in the west county, taihua sunlight sea cell 2 in the precious security region of Shenzhen, Guangdong province, a string of fixed and unique digital codes is randomly generated, and the digital codes are 16-bit random codes, such as 1000234412678856; for the Li IV 18800000033 building 203 in the West county Taihua sunlight sea cell 2 in the Shenzhen region of Guangdong province, a string of fixed and unique digital codes is randomly generated, and the digital codes are 16-bit random codes, such as 5689745125698745.

Further, the home address code is a string of fixed and unique digital codes generated according to a preset rule after the home address information is acquired or after the personal identity information of the current resident of the home address is acquired, and the digital codes are used for indicating the home address or the delivery address of the current resident in the home address.

In the embodiment, the method comprises two methods for generating the home address code according to the preset rule;

firstly, the generation of the home address code is a series of fixed and unique digital codes generated according to a preset rule after the home address information is acquired, and the digital codes are used for indicating the home address or the delivery address of the current resident in the home address. The preset rule can be changed according to the requirement, for example, the preset rule is that the postal code of province, city, county and town + cell name + building number + floor number + house number, the postal code of the western and rural area of the Shenzhen city of Guangdong province is 518102, then all the cells of the western and rural areas of the Shenzhen city of Guangdong province are sorted, for example, the Taihua sunshine sea cell number is 0001, the Jinhong court code is 0002 … …, the building number 1 is 01, the 2 building is 02, the 3 building is 03 … …, the floor number is represented by two digits, for example, the floor 1 is 01, the floor 2 is 02, the floor 3 is 03 … …, the door number is represented by two digits, the floor number 101 is 01,102, the floor 78 is 02,103, the floor 03,201 is 02,203 and the … …, the two digits of the floor number are used for indicating a specific room number, and the information of the Guangdian city, the Guangdian district address of the Guangdian city, namely the Guangdian city Shenzhen county number 16 of the Guangdian district of the Guangdian city The word is encoded, i.e., 5181020001020203.

And secondly, generating a home address code, namely randomly generating a string of fixed and unique digital codes after acquiring the personal identity information of the current household of the home address, wherein the digital codes are used for indicating the home address or the delivery address of the current household in the home address. The preset rule can be changed according to the requirement, for example, the preset rule is that the postal code of province, city, county and town + cell name + building number + floor number + house number + name + contact telephone, the postal code of the western and rural area of the Shenzhen city of Guangdong province is obtained as 518102, then all the cells of the western and rural areas of the Shenzhen city of Guangdong province are sorted, for example, the Taihua sunshine sea cell number is 0001, the Jinhong court code is 0002 … …, the building number 1 is 01, the 2 is 02, the 3 is 03 … …, the floor number is represented by two digits, for example, the floor number 1 is 01, the floor 2 is 02, the floor 3 is 03 … …, the house number is represented by two digits, the floor number 101 is 01,102, the floor number 36 03,201 is 01,202 and the floor number is also 03, so that the two digits representing the house number are only used for indicating a specific room number, and the floor number can be irrelevant to floor information, the names of Zhang III 18600000022 and Li IV 18800000033 living in the house number 203 can be represented by one digit from 1 to 9, which represents 9 residents living in the same house number, Zhang III is 1, and Li IV is 2; the contact telephone is represented by a digit, 1-9 represent the corresponding contact telephone of 9 resident who live in the same house number; the contact telephone number of Zhang three is 1, and the contact telephone number of Li four is 2. Therefore, the family address code generated according to the preset rule by Zhang III 18600000022 in 203 th building of Taihua sunshine sea 2 in the precious security region of Shenzhen, Guangdong province is an 18-bit digital code, namely 518102000102020311; the 203 Li IV 18800000033 building of the Xixiang Taihua sunlight sea 2 in the Shen Zhen province of Guangdong province is a 18-bit digital code, namely 518102000102020322, generated according to preset rules.

Referring to fig. 5, the present invention further provides a home address coding system, which includes an obtaining unit 1 and a home address code generating unit 2;

the acquiring unit 1 is configured to acquire home address information or acquire personal identity information of a current resident in the home address;

in this embodiment, the obtaining unit 1 is configured to obtain home address information or obtain personal identity information of a current resident in the home address; for example, the acquired home address information includes postal codes, cell names, building numbers and house number information of province, city, county and town, and the acquired individual identification information of the current resident in the home address includes postal codes, cell names, building numbers, house numbers, names and contact numbers of province, city, county and town.

The home address code generating unit 2 is configured to generate a home address code.

In this embodiment, the home address code generating unit 2 is configured to generate a home address code, where the generation of the home address code includes randomly generating the home address code and generating the home address code according to a preset rule.

The home address code generating unit 2 may randomly generate a home address code, or generate a home address code according to a preset rule; the number of cells in a town or a street can be represented by a four-digit number, namely 0001 + 9999 cells, if the number of the cells is too large, more digits can be considered to represent the cells, in the embodiment, the four-digit number represents the cells, and the taihua sunshine sea code is 0001; the number of buildings in each cell is represented by two digits, and can represent 01-99 buildings; if the number of the buildings is too large, three digits can be considered to represent the buildings; for example, 2 tay sunshine sea districts are coded as 02; the specific number code of the house number is represented by two digits and can represent 01-99 house numbers in each floor; if there are too many portals, it can be considered to represent with three-digit numbers, 203, representing room three on the second floor, 203 being the house number; the number of the 203 house is coded as 03; thus, it can be seen that the composition of the home address code is: postal code of province, city, county and town + cell name + building number + house number; then, the generated home address code is 51810200010203 in combination, and the number of digits of the home address code can be increased continuously as required, which is composed of 14 digits. It should be noted that the composition sequence of the home address code can be freely combined, and is not limited by the above examples; for example: another form of the home address code is: the method comprises the following steps of (1) placing a cell name + building number + house number + postal codes of province, city, county and town, namely placing the cell name at the forefront, and finally placing the postal codes of the province, city, county and town, wherein a generated home address code is 00010203518102; the cell name may also be placed in the middle, that is, four components of the home address code may be arranged and combined to generate the home address code, for example, 02030001518102 is generated, and the four components may have 24 arrangement and combination modes to generate 24 home address codes. The system counts home address codes generated by all house numbers of buildings in all cells in the country, the counted home address codes are issued to a network or printed into books, so that all nationalities can inquire the home address codes of the house numbers of the residential areas, and when filling in the goods receiving address, the system can only find out the home address code where a resident resides and fill in a column of the goods receiving address without filling in the specific address, and a courier can find out a corresponding delivery object according to the home address code; a cabinet capable of receiving express delivery, namely an express delivery cabinet, is arranged outside the door corresponding to each house number, an intelligent lock and a two-dimensional code are arranged on the express delivery cabinet, and the intelligent lock of the express delivery cabinet can be opened by scanning the two-dimensional code; after the courier opens the intelligent lock by scanning the two-dimensional code, the courier puts the courier into a courier cabinet; after the intelligent lock is opened by the resident through scanning the two-dimensional code, the express inside can be taken out.

Further, referring to fig. 6, the system further includes a prompting unit 3 and a determining unit 4;

the prompting unit 3 is used for prompting the current resident in the home address to fill in the personal identity information according to the instruction, or prompting the current resident in the home address to fill in the changed personal identity information according to the instruction;

in this embodiment, the prompting of the prompting unit 3 includes two situations:

in the first situation, before acquiring the personal identity information of the current resident in the home address, the current resident in the home address may also be prompted to fill the personal identity information according to instructions, including prompting the resident to fill personal information such as postal codes, cell names, building numbers, house numbers, names, contact phones and the like of provinces, cities, counties and towns where the current resident is located, and the current resident may apply for obtaining a home address code from the system by filling the personal information, so as to facilitate the subsequent filling of a receiving address for use.

In the second case, before prompting the current resident in the home address to fill in the personal identity information according to the indication, whether the current resident in the home address applies for the home address code for the first time can be judged, if the current resident in the home address applies for the home address code for the first time, the current resident in the home address is prompted to fill in the personal identity information according to the indication; if the home address code is not applied for the first time, the fact that the personal information of the resident has a change item is shown, and the current resident is prompted to fill in the changed personal identity information according to the indication in the home address; for example, zhang san, the previous home address code is 5181020001020311, it can be seen that zhang san is the 203 of the 2 th building living in the west county, taihua sunshine sea district in the precious security zone of shenzhen, guangdong province, and the cell phone number is 18600000022; zhang III may move home, so the residential area he is now in may not be Taihua sunshine sea, if he lives in the district of the Jinhong Huating district in West countryside, then the code of the district of the Jinhong Huating is 0002, he lives in 3 buildings 406 of the Jinhong Huating, then the code of the 3 buildings is 03,406, then Zhang III changes the address of the residential area and the building number and the house number, for Zhang III newly generates a home address code, 5181020002030611; the last two digits 1 represent the names of zhang san and zhang san phone 18600000022, respectively.

And the judging unit 4 is configured to judge whether the current household in the home address is a first-time application home address code.

The determining unit 4 in this embodiment is configured to determine whether a current resident in the home address applies for a home address code for the first time, and if the current resident in the home address applies for the home address code for the first time, prompt the current resident in the home address to fill in personal identity information according to an instruction; if the home address code is not applied for the first time, the fact that the personal information of the resident has a change item is shown, and the current resident is prompted to fill in the changed personal identity information according to the indication in the home address.

The above-mentioned embodiments are merely preferred examples of the present invention, and not intended to limit the present invention, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present invention, so that the protection scope of the present invention shall be subject to the protection scope of the claims.

It will be understood that the foregoing is only a preferred embodiment of the invention and is not intended to limit the scope of the invention, which is not limited to the precise construction herein before described and illustrated in the accompanying drawings, and that various modifications and changes may be effected therein without departing from the scope thereof.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于事件代理的表单自动生成方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!