CN103906039B - A kind of method and apparatus for preventing phone number from revealing - Google Patents

A kind of method and apparatus for preventing phone number from revealing Download PDF

Info

Publication number
CN103906039B
CN103906039B CN201210578286.2A CN201210578286A CN103906039B CN 103906039 B CN103906039 B CN 103906039B CN 201210578286 A CN201210578286 A CN 201210578286A CN 103906039 B CN103906039 B CN 103906039B
Authority
CN
China
Prior art keywords
segment
mapping value
mapping
version
phone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210578286.2A
Other languages
Chinese (zh)
Other versions
CN103906039A (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.)
China Mobile Group Fujian Co Ltd
Original Assignee
China Mobile Group Fujian 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 China Mobile Group Fujian Co Ltd filed Critical China Mobile Group Fujian Co Ltd
Priority to CN201210578286.2A priority Critical patent/CN103906039B/en
Publication of CN103906039A publication Critical patent/CN103906039A/en
Application granted granted Critical
Publication of CN103906039B publication Critical patent/CN103906039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method and apparatus for preventing phone number from revealing, wherein, method includes:According to default chopping rule, phone number to be protected is divided into into N number of number segment;The mapping table corresponding to each in N number of number segment is inquired about respectively, obtains the mapping value corresponding to each in N number of number segment;Wherein, in the mapping table corresponding to each in N number of number segment, the digit of mapping value is equal to the number length of number segment;What the mapping value corresponding to each in the N number of number segment that will be obtained was combined as phone number to be protected removes privacy number.Phone number is carried out the present invention mobile phone mapping value that segment processing obtains identical digit, the problem that digit can be caused to change after compensate for existing phone number encryption, there is provided the method that phone number goes privacy to process is carried out in the case of phone number length is not changed, it is possible to be balanced adjustment between impact of the size of cost and mapping table to system performance decoding.

Description

A kind of method and apparatus for preventing phone number from revealing
Technical field
The present invention relates to field of information security technology, more particularly to a kind of method and apparatus for preventing phone number from revealing.
Background technology
At present, in operation analysis system, can by the creation data information to magnanimity carry out data analysis excavate and Knowledge Discovery.While knowledge is found, also the privacy to data brings threat to traditional data analysis digging technology, wherein Just include the phone number information of client.
Occur in that some go privacy processing method for phone number at present.These methods pass through data replacement algorithm or Phone number A is converted into phone number A ' by DEA etc., and A ' has been out phone number characteristic.Privacy is gone to process Afterwards, the purpose of protection customer privacy can be reached to a certain extent, while the data after going privacyization to process can also meet number According to computing.
However, existing phone number goes privacy methods to there is following defect:Mapping value after AES is encrypted Content can change compared with original text length, typically can be elongated, can so make data warehouse storage become big, increase cost.
The content of the invention
In order to solve drawbacks described above present in prior art, the present invention proposes a kind of method for preventing phone number from revealing And device, under conditions of the storage for not increasing data warehouse can generate and remove privacy phone number.
A kind of one aspect of the present invention, there is provided method for preventing phone number from revealing, comprises the following steps:
According to default chopping rule, phone number to be protected is divided into into N number of number segment, the N is more than or equal to 1 and is less than Equal to the positive integer of phone number digit;
The mapping table corresponding to each in N number of number segment is inquired about respectively, obtains every in N number of number segment Mapping value corresponding to one;Wherein, it is stored with the mapping table corresponding to each in N number of number segment:Number segment Number and mapping value unique corresponding relation, and the digit of the mapping value be equal to number segment number length;
Mapping value corresponding to each in the described N number of number segment that will be obtained is combined as the phone number to be protected Remove privacy number.
The method for preventing phone number leakage of embodiment of the present invention proposition, is that phone number is carried out segment processing acquisition The mobile phone mapping value of identical digit.So as to the problem that digit can be caused to change after compensate for existing phone number encryption, There is provided carry out in the case of phone number length is not changed phone number go privacy process method.And phone number is segmented Process and be advantageous in that, be balanced tune between impact of the size of cost and mapping table to system performance decoding It is whole.
As the preferred of above-mentioned technical proposal, the mapping table corresponding to each in N number of number segment is inquired about respectively, The step of obtaining the mapping value corresponding to each in N number of number segment includes:
Corresponding to each in the N number of number segment, mapping table with identical version number is inquired about respectively, obtains institute The mapping value corresponding to each in N number of number segment is stated, wherein, the mapping corresponding to each in N number of number segment At least one of value includes the version number.In the program, go privacy number that there is version number, can conveniently manage and switch version This, improves security.
Used as the preferred of above-mentioned technical proposal, methods described also includes:Privacy number is gone to change version by described, it is described to incite somebody to action It is described go privacy number change version the step of include:
The version number included in privacy number is gone to described in extracting;
According to default chopping rule, privacy number is gone to be divided into N number of mapping value section by described, the N is more than or equal to 1 and little In the integer equal to phone number digit;
The corresponding mapping table of corresponding to each in the N number of mapping value section, version number is inquired about respectively, is obtained Number corresponding to each in N number of mapping value section;
Corresponding to each in N number of mapping value section, the corresponding mapping table of target version number is inquired about respectively, is obtained The new mapping value corresponding to number corresponding to each in N number of mapping value section;
Will obtain described N number of number segment in each corresponding to new mapping value be combined as change version after go Privacy number.
The method that this solution provides change version, directly can will go privacy number to be updated to new edition from current version This, without reduction treatment.
Used as the preferred of above-mentioned technical proposal, the basis presets chopping rule, and phone number to be protected is divided into N number of number The step of code section, includes:
Phone number to be protected is divided into into two number segments, wherein, first four of the phone number to be protected are described One in two number segments, latter seven of the phone number to be protected is another in described two number segments.
This programme is to consider to decode cost and the optimal segmentation mode after system performance equilibrium.
A kind of another aspect of the present invention, there is provided device for preventing phone number from revealing, including:
Segmentation module, for according to default chopping rule, phone number to be protected being divided into N number of number segment, the N is big In equal to 1 and less than or equal to the positive integer of phone number digit;
Enquiry module, for inquiring about the mapping table corresponding to each in N number of number segment respectively, obtains the N Mapping value corresponding to each in individual number segment;Wherein, in the mapping table corresponding to each in N number of number segment It is stored with:The unique corresponding relation of the number and mapping value of number segment, and the digit of the mapping value be equal to number segment number Code bit number;
Privacy numbers module is removed in generation, for will obtain described N number of number segment in each corresponding to mapping value Be combined as the phone number to be protected removes privacy number.
Used as the preferred of above-mentioned technical proposal, the enquiry module is additionally operable to:
Corresponding to each in the N number of number segment, mapping table with identical version number is inquired about respectively, obtains institute The mapping value corresponding to each in N number of number segment is stated, wherein, the mapping corresponding to each in N number of number segment At least one of value includes the version number.
Used as the preferred of above-mentioned technical proposal, described device also includes change Version module, is used for:
The version number included in privacy number is gone to described in extracting;
According to default chopping rule, privacy number is gone to be divided into N number of mapping value section by described, the N is more than or equal to 1 and little In the integer equal to phone number digit;
Notify the enquiry module inquire about respectively each in N number of mapping value section corresponding to, in privacy number Comprising the corresponding mapping table of version number, obtain the number corresponding to each in N number of mapping value section;Institute is inquired about respectively Corresponding to each in N number of mapping value section, the corresponding mapping table of target version number is stated, is obtained in N number of mapping value section Each corresponding to number corresponding to new mapping value;
Will obtain described N number of number segment in each corresponding to new mapping value be combined as change version after go Privacy number.
Used as the preferred of above-mentioned technical proposal, the segmentation module is used for:
Phone number to be protected is divided into into two number segments, wherein, first four of the phone number to be protected are described One in two number segments, latter seven of the phone number to be protected is another in described two number segments.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write In book, claims and accompanying drawing, specifically noted structure is realizing and obtain.
Below by drawings and Examples, technical scheme is described in further detail.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention Applying example is used for explaining the present invention together, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for preventing phone number leakage that the preferred embodiment of the present invention is proposed;
Fig. 2 is the flow chart of the method for preventing phone number leakage that a specific embodiment of the invention is proposed;
Fig. 3 is the stream for preventing the version updating in the method that phone number reveals that another specific embodiment of the present invention is proposed Cheng Tu;
Fig. 4 is the structural representation of the device for preventing phone number leakage that the preferred embodiment of the present invention is proposed;
Fig. 5 is the flow process of each module interaction in the device for preventing phone number leakage that a specific embodiment of the invention is proposed Figure.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example and be merely to illustrate and explain the present invention, be not intended to limit the present invention.
As shown in figure 1, a kind of method for preventing phone number from revealing that the preferred embodiment of the present invention is proposed, including following step Suddenly:
Step S11:According to default chopping rule, phone number to be protected is divided into into N number of number segment, the N be more than etc. In 1 and less than or equal to the positive integer of phone number digit;
Step S12:The mapping table corresponding to each in N number of number segment is inquired about respectively, obtains N number of number Mapping value corresponding to each in section;Wherein, store in the mapping table corresponding to each in N number of number segment Have:The unique corresponding relation of the number and mapping value of number segment, and the digit of the mapping value is equal to the number position of number segment Number;
Step S13:Mapping value corresponding to each in the described N number of number segment that will be obtained is combined as described to be protected Phone number removes privacy number.
The method for preventing phone number leakage of embodiment of the present invention proposition, is that phone number is carried out segment processing acquisition Mapping value is combined as privacy number by the mapping value of identical digit.Position can be caused after compensate for existing phone number encryption The problem that number changes, there is provided the side that phone number goes privacy to process is carried out in the case of phone number length is not changed Method.And phone number segment processing is advantageous in that, the size of cost and mapping table can decoded to system performance Impact between be balanced adjustment.
Hereinafter, the method for preventing phone number from revealing proposed by the present invention is described in detail by specific embodiment.
Specific embodiment one is as shown in Fig. 2 in this embodiment, default chopping rule is:By phone number to be protected First 4 as number section, using latter 7 of phone number to be protected as number segment.Also, generate go have in privacy number Version information.The method may comprise steps of:
Step S21:Generate number section mapping table.
In this step, it is that the number section of different phone numbers generates corresponding number section mapping value, and records number The corresponding relation of section and number section mapping value is preserved in the mapping table, so as to generate number section mapping table.
Wherein, it is that the method that different number sections generate number section mapping value is:For a number segment, random generation is preset Quantity, three numeral compositions mapping value, and distribute the version number of one digit number for each mapping value;Then, respectively by each version This number and with version number corresponding mapping value combination producing predetermined number, comprising version number, it is corresponding only with the number section Number section mapping value.Consider that phone number first place up till now is all 1, therefore the first place of number section mapping value is set to into version Number, three is the corresponding three digital mapping values for constituting of the version number afterwards.
For example for number section " 1386 ", the random mapping value for generating 8, being made up of three numerals:123、756、987、 624th, 369,875,852,634, then, 2-9 is respectively allocated to 8 mapping values as version number, by version number and mapping value 8 number section mapping values comprising version number of combination producing:2123rd, 3756,4987,5624,6369,7875,8852,9261, Wherein, first of each number section mapping value is version number, and three are the random mapping value for generating afterwards.
The mapping value of the same version number of different number sections is stored in a mapping table.Therefore, for number section For, to there is 8 mapping tables with different editions number.
It is of course also possible to be not provided with multiple versions, i.e., for number section only generates a mapping table.
The mapping table for arranging multiple versions is advantageous in that, goes the situation that privacy number may be cracked when existing version Under, rapidly to remove privacy number change version, and can need not regenerate mapping table.
Preferably, three numerals of above-mentioned composition mapping value preferably unduplicated three are digital, improve and decode difficulty.
Step S22:Generate number segment mapping table.
In this step, it is that the number segment of different phone numbers generates corresponding number segment mapping value, and and recording mechanism The corresponding relation of code section and number segment mapping value is preserved in the mapping table, so as to generate number segment mapping table.
When generating number segment mapping value, can to adopt exhaustive computing mode, will any seven unduplicated numerals carry out After exhaustion, each number segment is respectively allocated to as number segment mapping value, number segment is had with number segment mapping value each other There is unique corresponding relation.
Seven bit digitals after due to exhaustion may be just identical with numeral and numeric sorting in number segment, therefore, it is excellent Selection of land, during by seven digits exhaustion number assigned section, preferably ensures which is inconsistent with number segment.
When the number section mapping table in step S21 has multiple versions, number segment mapping table should also correspondingly generate many Individual version, with corresponding with number section.The method for generating the number segment mapping table of multiple versions is above-mentioned one number of generation of repetition The step of section mapping table.
Those skilled in the art will appreciate that above-mentioned two step unlimited sequencing, can also be simultaneously Perform.
In other embodiments of the invention, phone number can not be segmented(During N=1), it is also possible to by cell-phone number code division For three sections or more than three sections.
The digit of embodiment of the present invention medium size head section and number segment is selected primarily based upon considered below:
Consider decoding cost and system performance is balanced, using 7 after phone number as a number segment, this Sample, operand when generating mapping table are 10 7 powers, so, the size of mapping table systematic function is affected it is little and when decoding Exhaustive cost it is larger.Before remaining phone number, 4 are done number section.
After performing step S21 and step S22 in advance, number section mapping table and number segment mapping table are just provided with, wherein Store each number section, number segment and distinguish corresponding mapping value.When needing that certain phone number to be protected is carried out at privacy During reason, following steps are performed.
Step S23:Using first four of phone number to be protected as number section, by rear the seven of the phone number to be protected Position is used as number segment.
Step S24:Query ID head section mapping table, obtain it is corresponding with the number section of the phone number to be protected, four The number section mapping value of numeral composition.
When number section mapping table has version number, the version number of mapping table to be inquired about before the step, should be also specified, The version number of to be inquired about mapping table is set at random can also.
Step S25:Enquiry number section mapping table, obtain it is corresponding with the number segment of the phone number to be protected, seven The number segment mapping value of numeral composition.
When number mapping table has version number, can according to the version number of the above-mentioned mapping table to be inquired about specified or with The version number of the mapping table to be inquired about of machine setting is inquiring about corresponding number mapping table.
Above-mentioned steps 24 and step 25 unlimited sequencing, can also be performed simultaneously.
Step S26:The number section mapping value and number segment mapping value are combined as into going for the phone number to be protected Privacy number.
For example, for phone number A (13861392328), the corresponding version of number section " 1386 " is obtained by step S24 Number for 9 number section mapping value " 9261 ", the number that number segment " 1392328 " corresponding version number is 9 is obtained by step S25 Section mapping value " 3728103 ".Therefore, the privacy number that goes after combination is " 92613728103 ".As can be seen that removing privacy number Phone number feature is had been out, protection phone number can be reached in illegal acquisition or in the case of exposing, hand is prevented The purpose that machine number is revealed.
In the present embodiment, the length for removing privacy number of generation is identical with phone number, and adds version wherein Information, is easy to carry out version change to remove privacy number.
Specific embodiment two will be as shown in figure 3, when after removing privacy number of phone number to be protected is obtained, needs will go hidden When private number carries out version change, this prevents the method that phone number is revealed from can also comprise the following steps:
Step S31:The version number included in privacy number is gone in extraction;
Step S32:Privacy number is gone to be divided into by described:The number mapping value sections of front 4 numerals composition, afterwards 7 digit groups Into number mapping value section;
Step S33:The corresponding number section mapping table of version number that query steps 31 are extracted, obtains number mapping value section institute right The number section answered;
Step S34:The corresponding number section mapping table of inquiry target version number, obtains corresponding new number Duan Ying of number section Penetrate value;
Step S35:The corresponding number segment mapping table of version number that query steps 31 are extracted, obtains number mapping value section institute right The number segment answered;
Step S36:The corresponding number section mapping table of inquiry target version number, obtains the corresponding new number segment of number segment and reflects Penetrate value;
Step S37:By new number section mapping value and new number segment mapping value be combined as change version after go privacy Number.
The execution sequence that above-mentioned steps S33- step S34 is not limited with step S35- step S36, can be performed simultaneously.
The present embodiment is realized:Under the scene of version switching, quickly recognized by removing the version information in privacy number Go out currently used mapping table version, former phone number is obtained according to currently used mapping table then, according to target version Mapping table obtains the mapping value of the target version of former phone number, realizes quick version map function.
Correspondingly, the present invention proposes a kind of device for preventing phone number from revealing, as shown in figure 4, including:
Segmentation module 401, for according to default chopping rule, phone number to be protected being divided into N number of number segment, the N It is more than or equal to 1 and less than or equal to the integer of phone number digit;
Enquiry module 402, for inquiring about the mapping table corresponding to each in N number of number segment respectively, obtains institute State the mapping value corresponding to each in N number of number segment;Wherein, the mapping corresponding to each in N number of number segment It is stored with table:The unique corresponding relation of the number and mapping value of number segment, and the digit of the mapping value is equal to number segment Number length;
Privacy numbers module 403 is removed in generation, for will obtain described N number of number segment in each corresponding to mapping What value was combined as the phone number to be protected removes privacy number.
Preferably, the enquiry module 402 is additionally operable to:
Corresponding to each in the N number of number segment, mapping table with identical version number is inquired about respectively, obtains institute The mapping value corresponding to each in N number of number segment is stated, wherein, the mapping corresponding to each in N number of number segment At least one of value includes the version number.
Preferably, described device also includes change Version module, is used for:
The version number included in privacy number is gone to described in extracting;
According to default chopping rule, privacy number is gone to be divided into N number of mapping value section by described, the N is more than or equal to 1 and little In the integer equal to phone number digit;
Notify the enquiry module 402 inquire about respectively each in N number of mapping value section corresponding to, privacy number In the corresponding mapping table of version number that includes, obtain the number corresponding to each in N number of mapping value section;Inquire about respectively Corresponding to each in N number of mapping value section, the corresponding mapping table of target version number, obtains N number of mapping value section In each corresponding to number corresponding to new mapping value;
Will obtain described N number of number segment in each corresponding to new mapping value be combined as change version after go Privacy number.
Preferably, the segmentation module 401 is used for:
Phone number to be protected is divided into into two number segments, wherein, first four of the phone number to be protected are described One in two number segments, latter seven of the phone number to be protected is another in described two number segments.
Below by taking the two-part method being embodied as in as an example, with reference to Fig. 5, phone number conversion to be protected is illustrated To remove privacy number, and carry out the idiographic flow of version change:
Phone number is submitted to segmentation module by step 1;
Step 2, segmentation module propose the request of 4 corresponding number section mapping values before inquiry mobile phone number to enquiry module And after inquiry mobile phone number 7 corresponding number segment mapping values request;
Step 3, enquiry module inquire about corresponding number section mapping value and number segment mapping value respectively;
Step 4, enquiry module to go privacy number generation module output Query Result;
Step 5, goes privacy number generation module that number section mapping value+number segment mapping value is combined as privacy number;
Step 6, goes privacy number to need to carry out version change, and submission goes privacy number to give change Version module;
Step 7, changes Version module and sends number section mapping value and the number segment that inquiry current version is gone in privacy number The request of the corresponding target version number section mapping value of mapping value and number segment mapping value;
Step 8, number section mapping value and number segment mapping value pair that enquiry module inquiry current version is gone in privacy number The target version number section mapping value answered and number segment mapping value;
Step 9, enquiry module return Query Result to change Version module;
Step 10, change Version module generation redaction remove privacy number.
The present invention compensate for existing data encryption technology application for digit being caused to change after phone number encryption The problem of change.And go privacy number in the case where data space does not change, in addition to original contents, further comprises version This information, is conducive to the version management of privacy number.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the present invention can be using the computer for wherein including computer usable program code at one or more Usable storage medium(Including but not limited to magnetic disc store and optical memory etc.)The shape of the computer program of upper enforcement Formula.
The present invention is with reference to method according to embodiments of the present invention, equipment(System), and computer program flow process Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or flow process and/or square frame in block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions can be also loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (6)

1. it is a kind of prevent phone number reveal method, it is characterised in that comprise the following steps:
According to default chopping rule, phone number to be protected is divided into into N number of number segment, the N is more than or equal to 1 and is less than or equal to The positive integer of phone number digit;
The mapping table corresponding to each in N number of number segment is inquired about respectively, obtains each in N number of number segment Corresponding mapping value;Wherein, it is stored with the mapping table corresponding to each in N number of number segment:Number segment number The unique corresponding relation of code and mapping value, and the digit of the mapping value is equal to the number length of number segment;
Mapping value corresponding to each in the described N number of number segment that will be obtained is combined as going for the phone number to be protected Privacy number;
Methods described also includes:Privacy number is gone to change version by described, it is described by the step for going privacy number to change version Suddenly include:
The version number included in privacy number is gone to described in extracting;
According to default chopping rule, go privacy number to be divided into N number of mapping value section by described, the N be more than or equal to 1 and less than etc. In the integer of phone number digit;
The corresponding mapping table of corresponding to each in the N number of mapping value section, version number is inquired about respectively, obtains described Number corresponding to each in N number of mapping value section;
Corresponding to each in N number of mapping value section, the corresponding mapping table of target version number is inquired about respectively, obtains described The new mapping value corresponding to number corresponding to each in N number of mapping value section;
Will obtain described N number of number segment in each corresponding to new mapping value be combined as change version after go privacy Number.
2. method according to claim 1, it is characterised in that each institute inquired about in N number of number segment respectively is right The mapping table answered, includes the step of obtain the mapping value corresponding to each in N number of number segment:
Corresponding to each in the N number of number segment, mapping table with identical version number is inquired about respectively, obtains the N Mapping value corresponding to each in individual number segment, wherein, in the mapping value corresponding to each in N number of number segment At least one include the version number.
3. method according to any one of claim 1 to 2, it is characterised in that the basis presets chopping rule, will treat The step of protection phone number is divided into N number of number segment includes:
Phone number to be protected is divided into into two number segments, wherein, first four of the phone number to be protected are described two One in number segment, latter seven of the phone number to be protected is another in described two number segments.
4. it is a kind of prevent phone number reveal device, it is characterised in that include:
Phone number to be protected for according to default chopping rule, is divided into N number of number segment by segmentation module, the N be more than etc. In 1 and less than or equal to the positive integer of phone number digit;
Enquiry module, for inquiring about the mapping table corresponding to each in N number of number segment respectively, obtains described N number of number Mapping value corresponding to each in code section;Wherein, store in the mapping table corresponding to each in N number of number segment Have:The unique corresponding relation of the number and mapping value of number segment, and the digit of the mapping value is equal to the number position of number segment Number;
Privacy numbers module is removed in generation, for will obtain described N number of number segment in each corresponding to mapping value combination Privacy number is removed for the phone number to be protected;
Described device also includes change Version module, is used for:
The version number included in privacy number is gone to described in extracting;
According to default chopping rule, go privacy number to be divided into N number of mapping value section by described, the N be more than or equal to 1 and less than etc. In the integer of phone number digit;
Notify the enquiry module inquire about respectively each in N number of mapping value section corresponding to, include in privacy number The corresponding mapping table of version number, obtain the number corresponding to each in N number of mapping value section;The N is inquired about respectively Corresponding to each in individual mapping value section, the corresponding mapping table of target version number, obtains every in N number of mapping value section New mapping value corresponding to number corresponding to one;
Will obtain described N number of number segment in each corresponding to new mapping value be combined as change version after go privacy Number.
5. device according to claim 4, it is characterised in that the enquiry module is additionally operable to:
Corresponding to each in the N number of number segment, mapping table with identical version number is inquired about respectively, obtains the N Mapping value corresponding to each in individual number segment, wherein, in the mapping value corresponding to each in N number of number segment At least one include the version number.
6. the device according to any one of claim 4-5, it is characterised in that the segmentation module is used for:
Phone number to be protected is divided into into two number segments, wherein, first four of the phone number to be protected are described two One in number segment, latter seven of the phone number to be protected is another in described two number segments.
CN201210578286.2A 2012-12-27 2012-12-27 A kind of method and apparatus for preventing phone number from revealing Active CN103906039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210578286.2A CN103906039B (en) 2012-12-27 2012-12-27 A kind of method and apparatus for preventing phone number from revealing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210578286.2A CN103906039B (en) 2012-12-27 2012-12-27 A kind of method and apparatus for preventing phone number from revealing

Publications (2)

Publication Number Publication Date
CN103906039A CN103906039A (en) 2014-07-02
CN103906039B true CN103906039B (en) 2017-03-29

Family

ID=50997147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210578286.2A Active CN103906039B (en) 2012-12-27 2012-12-27 A kind of method and apparatus for preventing phone number from revealing

Country Status (1)

Country Link
CN (1) CN103906039B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105825132B (en) * 2015-01-07 2018-12-07 中国移动通信集团江苏有限公司 A kind of data processing, querying method and relevant apparatus
CN106959955A (en) * 2016-01-11 2017-07-18 中国移动通信集团陕西有限公司 The data processing method and device of a kind of database
CN106921964A (en) * 2017-03-28 2017-07-04 惠州Tcl移动通信有限公司 A kind of mobile terminal calling number encryption method and system
CN107122412A (en) * 2017-03-31 2017-09-01 合肥天馈互联网技术有限公司 A kind of magnanimity telephone number Rapid matching search method
WO2019024031A1 (en) * 2017-08-03 2019-02-07 于志 System and method for authenticating mobile phone number based on cn39 code
US10893039B2 (en) 2017-09-27 2021-01-12 International Business Machines Corporation Phone number protection system
CN107835073B (en) * 2017-12-15 2019-05-17 卫盈联信息技术(深圳)有限公司 The encryption and decryption method of multiple digital bits number and encryption, decryption server
CN108377183B (en) * 2017-12-20 2020-11-13 中国移动通信集团福建有限公司 XDR data information encryption method, device, equipment and medium
CN109711189B (en) * 2018-12-19 2021-09-03 上海晶赞融宣科技有限公司 Data desensitization method and device, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258474A (en) * 2004-05-04 2008-09-03 Utbk公司 Methods and apparatuses for pay-per-call advertising in mobile/wireless applications
CN101778148A (en) * 2009-12-23 2010-07-14 宇龙计算机通信科技(深圳)有限公司 Incoming call confidentiality method, system and mobile communication terminal
CN101808094A (en) * 2010-03-15 2010-08-18 张锋 Identity authentication system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7630485B2 (en) * 2006-07-06 2009-12-08 At&T Intellectual Property I, L.P. Method and system to bypass ENUM to reach a callee via a PSTN or a PLMN

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258474A (en) * 2004-05-04 2008-09-03 Utbk公司 Methods and apparatuses for pay-per-call advertising in mobile/wireless applications
CN101778148A (en) * 2009-12-23 2010-07-14 宇龙计算机通信科技(深圳)有限公司 Incoming call confidentiality method, system and mobile communication terminal
CN101808094A (en) * 2010-03-15 2010-08-18 张锋 Identity authentication system and method

Also Published As

Publication number Publication date
CN103906039A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103906039B (en) A kind of method and apparatus for preventing phone number from revealing
CN110337649B (en) Method and system for dynamic symmetric searchable encryption with imperceptible search patterns
EP2891109B1 (en) A video file encryption and decryption method, device, and mobile terminal
US9419796B2 (en) Method for storing and recovering data, utilization of the method in a storage cloud, storage server and computer program product
CA2593076C (en) Display of decrypted data by a graphics processing unit
JP2010176691A5 (en)
JP2012529114A5 (en)
CN106878013B (en) File encryption and decryption method and device
US20140129848A1 (en) Method and Apparatus for Writing and Reading Hard Disk Data
US8769302B2 (en) Encrypting data and characterization data that describes valid contents of a column
WO2013084957A1 (en) Encoded-search database device, method for adding and deleting data for encoded search, and addition/deletion program
CN111310222A (en) File encryption method
US20130247228A1 (en) Method, system and server for digital right management
CN105718808A (en) File encryption storage system and method based on multiple network disks
CN107710671A (en) Terminal installation and computer program
CN111432287A (en) Slicing encryption method and system and decryption method and system for audio and video files
CN116488814A (en) FPGA-based data encryption secure computing method
CN105379172B (en) Device and method for the key updating used in Tuber yield
CN108256343B (en) Encryption method and device and decryption method and device of Shader file
CN116502276A (en) Method and device for inquiring trace
CN108256342B (en) Encryption method and device and decryption method and device of Shader file
JP2003169048A5 (en)
CN111339562A (en) Order preserving/de-ordering ciphertext recovery method and device
CN106375490A (en) IP information matching and extension method
US10061717B1 (en) Storing multiple encryption keys to protect data at rest

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant