[go: up one dir, main page]

CN103744927B - Information of home location storage, acquisition methods and device - Google Patents

Information of home location storage, acquisition methods and device Download PDF

Info

Publication number
CN103744927B
CN103744927B CN201310743043.4A CN201310743043A CN103744927B CN 103744927 B CN103744927 B CN 103744927B CN 201310743043 A CN201310743043 A CN 201310743043A CN 103744927 B CN103744927 B CN 103744927B
Authority
CN
China
Prior art keywords
information
home location
field
storage region
ownership place
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
CN201310743043.4A
Other languages
Chinese (zh)
Other versions
CN103744927A (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.)
SHANGHAI DAHAN TRICOM COMMUNICATION Co Ltd
Original Assignee
SHANGHAI DAHAN TRICOM COMMUNICATION 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 SHANGHAI DAHAN TRICOM COMMUNICATION Co Ltd filed Critical SHANGHAI DAHAN TRICOM COMMUNICATION Co Ltd
Priority to CN201310743043.4A priority Critical patent/CN103744927B/en
Publication of CN103744927A publication Critical patent/CN103744927A/en
Application granted granted Critical
Publication of CN103744927B publication Critical patent/CN103744927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof

Landscapes

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

Abstract

An embodiment of the present invention provides a kind of storage of information of home location, acquisition methods and device, this method to include:The first field is obtained from number, first field includes the number for the information of home location for identifying the number;Obtain the quotient and the remainder of first field divided by parameter preset;The information of home location of the number is stored to the first storage region of memory space, it is the quotient that the initial address of first storage region, which is physical block address, and offset address is the remainder, and the byte length of first storage region is preset length.Use information of home location storage method provided in an embodiment of the present invention and device that can provide foundation to save the time for the ownership place for searching number.Using information of home location acquisition methods provided in an embodiment of the present invention and device, the time for searching number attribution can be saved.

Description

Information of home location storage, acquisition methods and device
Technical field
The present invention relates to data processing fields, and more specifically, it relates to information of home location storage, acquisition methods and dresses It sets.
Background technology
Number segment abbreviation number section, a number section uniquely correspond to a regional ownership place, such as:Number section 1358555 is corresponding Ownership place is Shanghai, and 0312 corresponding ownership place of number section is Baoding.Number segment resource i.e. number section resource, are for the number of preservation The data acquisition system of section and ownership place correspondence.
Number segment resource stores in the database in the prior art, to extend the time for searching ownership place, for example, looking into Look for the ownership place of the first number section, then need to obtain using corresponding query statement, such as SQL statement, query statement in search, It needs to be compared with some number sections in database, until finding number section identical with the first number section, then obtain and first The corresponding ownership place of number section, to extend the time for the ownership place for searching number section.
Invention content
In view of this, the present invention provides a kind of storage of information of home location, acquisition methods and devices, to overcome the prior art In due to by number segment resource storage in the database, so extend search ownership place time the problem of.
To achieve the above object, the present invention provides the following technical solutions:
A kind of information of home location storage method, including:
The first field is obtained from number, first field includes the number for the information of home location for identifying the number;
Obtain the quotient and the remainder of first field divided by parameter preset;
The information of home location of the number is stored to the first storage region of memory space, first storage region Initial address is that physical block address is the quotient, and offset address is the remainder, and the byte length of first storage region is Preset length.
Wherein, first field is the number section of the number or the number is phone number, and first field is Second in the number section is to the 7th bit digital.
Wherein, the parameter preset is N/M, and the M is the byte length of the minimum memory unit of the memory space Factor, the N are the positive integer more than or equal to 1, and the method for obtaining the preset length includes:
The product of N/M and the byte length of the minimum memory unit of the memory space are calculated, the product is described pre- If length.
A kind of information of home location acquisition methods, including:
The first field is obtained from number, first field includes the number for the information of home location for identifying the number;
Obtain the quotient and the remainder of first field divided by parameter preset;
The first storage region is determined from the memory space, the initial address of first storage region is physical block Address is the quotient, and offset address is the remainder, and the byte length of first storage region is preset length;
The information of home location of the number is obtained from first storage region.
Wherein, the information of home location includes ownership place number information, and the information of home location storage method further includes:
According to the correspondence of pre-set ownership place number information and ownership place, the ownership place number information is obtained Corresponding ownership place.
A kind of information of home location storage device, including:
First acquisition module, for obtaining the first field from number, first field includes the mark number The number of information of home location;
Second acquisition module, the quotient and the remainder for obtaining first field divided by parameter preset;;
Memory module, it is described for storing the information of home location of the number to the first storage region of memory space The initial address of first storage region is that physical block address is the quotient, and offset address is the remainder, first memory block The byte length in domain is preset length.
Wherein, first field is the number section of the number or the number is phone number, and first field is Second in the number section is to the 7th bit digital.
Wherein, the parameter preset is N/M, and the M is the byte length of the minimum memory unit of the memory space Factor, the N are the positive integer more than or equal to 1, and the information of home location storage device further includes:
Computing module, the product for calculating N/M and the byte length of the minimum memory unit of the memory space are described Product is the preset length.
A kind of information of home location acquisition device, including:
First acquisition module, for obtaining the first field from number, first field includes the mark number The number of information of home location;
Second acquisition module, the quotient and the remainder for obtaining first field divided by parameter preset;
Determining module, for determining that the first storage region, first storage region rise from the memory space Beginning address is that physical block address is the quotient, and offset address is the remainder, and the byte length of first storage region is pre- If length;
Third acquisition module, the information of home location for obtaining the number from first storage region.
Wherein, further include:
4th acquisition module is obtained for the correspondence according to pre-set ownership place number information and ownership place The corresponding ownership place of the ownership place number information.
It can be seen via above technical scheme that compared with prior art, an embodiment of the present invention provides a kind of ownership place letters Storage method is ceased, the information of home location of number is stored in memory space in this method, and stores the first of information of home location The initial address of storage region can be obtained by the quotient and the remainder of the first field and parameter preset in number, the first memory block The initial address in domain is that physical block address is above-mentioned quotient, and offset address is above-mentioned remainder, and the byte length of the first storage region is Preset length, to be provided a convenient to search information of home location, for example, when the information of home location for requiring to look up a certain number When, the physical address of information of home location can be directly calculated according to the first field and parameter preset, and know the information of home location Byte length be preset length, it is possible to the information of home location of the number is directly obtained from the first storage region, to Time to save the ownership place for searching number provides foundation.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is that an embodiment of the present invention provides a kind of flow diagrams of information of home location storage method;
Fig. 2 is a kind of flow diagram of information of home location acquisition methods provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of information of home location storage device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of information of home location acquisition device provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Attached drawing 1 is please referred to, it, should for an embodiment of the present invention provides a kind of flow diagrams of information of home location storage method Method includes:
Step S101:The first field is obtained from number.
First field includes the number for the information of home location for identifying above-mentioned number.
First field can be all numbers of number, or the number section in number, such as number section 1358555(It is right For cell-phone number), number section 0312(For home Tel).
Assuming that above-mentioned number is 15033745663, then the first field can be 15033745663(Entire number), also may be used It is 1503374(Number section)Or 15033745 or 150337456 or 1503374566.
Since first of cell-phone number in the prior art is all 1, the data for really carrying information of home location are next 6 Position, so can be identified for that the number of the information of home location of number can be 503374, i.e. the first field can be the in number section Two to the 7th bit digital.Above-mentioned first field can also be 5033745 etc., and the embodiment of the present invention is not to the first field Particular content is construed as limiting, as long as the number of the information of home location including can be identified for that above-mentioned number.
Step S102:Obtain the quotient and the remainder of the first field divided by parameter preset.
Step S103:The information of home location of above-mentioned number is stored to the first storage region of memory space.
The initial address of first storage region is that physical block address is the quotient, and offset address is the remainder, and first deposits The byte length in storage area domain is preset length.
Assuming that above-mentioned number is cell-phone number, the number section of the cell-phone number is 1503328, and the first field is 503328, this is default Parameter is 3/2, then the physical block address of the corresponding information of home location of the cell-phone number is 754992, offset address 0.
Information of home location can be Chinese character title, phonetic title or the number of ownership place.
An embodiment of the present invention provides a kind of information of home location storage method, the information of home location of number is deposited in this method Storage is in memory space, and the initial address for storing the first storage region of information of home location can pass through the first word in number Section and the quotient and the remainder of parameter preset obtain, and it is above-mentioned quotient that the initial address of the first storage region, which is physical block address, offset ground Location is above-mentioned remainder, and the byte length of the first storage region is preset length, to be provided a convenient to search information of home location, For example, when requiring to look up the information of home location of a certain number, it can directly be calculated and be returned with parameter preset according to the first field The physical address of possession information, and know that the byte length of the information of home location is preset length, it is possible to from the first memory block The information of home location of the number is directly obtained in domain, to which the time of the ownership place to save lookup number provides foundation.
Parameter preset in above-mentioned information of home location storage method embodiment can be N/M, and M is that the minimum of memory space is deposited The factor of the byte length of storage unit, N are the positive integer more than or equal to 1, a kind of information of home location provided in an embodiment of the present invention The method of acquisition preset length in storage method includes:Calculate the byte length of the minimum memory unit of N/M and memory space Product, the product be preset length.
Such as when the byte length of the minimum memory unit of memory space is 8, then M can be 2,4 or 8.Parameter preset can Think 3/2,9/8 etc., it is assumed that the byte length of parameter preset 3/2, the minimum memory unit of memory space is 8, then presets Length is 12 bytes.
It is understood that memory space is limited, if the Chinese character of ownership place or phonetic transcriptions of Chinese characters are stored directly in Many bytes may be occupied in first storage region, can be that each ownership place setting one is compiled to save memory space Number, which is stored in the first storage region.
Assuming that all ownership place in the prior art probably have more than 400, can return successively to each since number 1 Possession is numbered, wherein 0 is expressed as sky ownership place, i.e., is not present without the ownership place namely the number.It is above-mentioned to ownership The method that ground is numbered is an example provided in an embodiment of the present invention, and how the embodiment of the present invention is to not to be ownership place The method being numbered is defined.
The byte length of the minimum memory unit of memory space can be 8, be 255 since 1 byte maximum preserves numerical value, And the number of all ownership place is 400 or so, so 9 bit are needed, so the minimum value of N/M can be 9/8, certainly N/M may be 3/2, and the embodiment of the present invention is not defined the occurrence of parameter preset.
Referring to Fig. 2, being a kind of flow diagram of information of home location acquisition methods provided in an embodiment of the present invention, the party Method includes:
Step S201:The first field from number.
First field includes the number for the information of home location for identifying above-mentioned number.
First field can be all numbers of number, or the number section in number, such as number section 1358555(It is right For cell-phone number), number section 0312(For home Tel).
Assuming that above-mentioned number is 15033745663, then the first field can be 15033745663(Entire number), also may be used It is 1503374(Number section)Or 15033745 or 150337456 or 1503374566.
Since first of cell-phone number in the prior art is all 1, the data for really carrying information of home location are next 6 Position, so can be identified for that the number of the information of home location of number can be 503374, i.e. the first field can be the in number section Two to the 7th bit digital.Above-mentioned first field can also be 5033745 etc., and the embodiment of the present invention is not to the first field Particular content is construed as limiting, as long as the number of the information of home location including can be identified for that above-mentioned number.
Step S202:Obtain the quotient and the remainder of the first field divided by parameter preset.
Step S203:The first storage region is determined from memory space.
It is the quotient that the initial address of first storage region, which is physical block address, and offset address is the remainder, described the The byte length of one storage region is preset length.
Assuming that above-mentioned number is cell-phone number, the number section of the cell-phone number is 1503328, and the first field is 503328, this is default Parameter is 3/2, then the physical block address of the corresponding information of home location of the cell-phone number is 754992, offset address 0.
Step S204:The information of home location of above-mentioned number is obtained from the first storage region.
Information of home location can be Chinese character title, phonetic title or the number of ownership place.
Information of home location acquisition methods provided in an embodiment of the present invention, when the information of home location for requiring to look up a certain number When, the physical address of information of home location can be directly calculated according to the first field and parameter preset, and know the information of home location Byte length be preset length, it is possible to the information of home location of the number is directly obtained from the first storage region, to Save the time for the ownership place for searching number.
It is understood that memory space is limited, if the Chinese character of ownership place or phonetic transcriptions of Chinese characters are stored directly in Many bytes may be occupied in first storage region, can be that each ownership place setting one is compiled to save memory space Number, which is stored in the first storage region, then obtains corresponding ownership place further according to the number.Above-mentioned ownership place letter Breath includes ownership place number information, which further includes:According to pre-set ownership place number information With the correspondence of ownership place, the corresponding ownership place of ownership place number information is obtained.
Assuming that all ownership place in the prior art probably have more than 400, can return successively to each since number 1 Possession is numbered, wherein 0 is expressed as sky ownership place, i.e., is not present without the ownership place namely the number.It is above-mentioned to ownership The method that ground is numbered is an example provided in an embodiment of the present invention, and how the embodiment of the present invention is to not to be ownership place The method being numbered is defined.
The byte length of the minimum memory unit of memory space can be 8, be 255 since 1 byte maximum preserves numerical value, And the number of all ownership place is 400 or so, so 9 bit are needed, so the minimum value of N/M can be 9/8, certainly N/M may be 3/2, and the embodiment of the present invention is not defined the occurrence of parameter preset.
Method is described in detail in aforementioned present invention disclosed embodiment, diversified forms can be used for the method for the present invention Device realize that therefore the invention also discloses a variety of devices, and specific embodiment is given below and is described in detail.
Referring to Fig. 3, being a kind of structural schematic diagram of information of home location storage device provided in an embodiment of the present invention, the dress Set including:First acquisition module 301, the second acquisition module 302 and memory module 303, wherein:
First acquisition module 301, for obtaining the first field from number.
First field includes the number for the information of home location for identifying above-mentioned number.
First field can be all numbers of number, or the number section in number, such as number section 1358555(It is right For cell-phone number), number section 0312(For home Tel).
Assuming that above-mentioned number is 15033745663, then the first field can be 15033745663(Entire number), also may be used It is 1503374(Number section)Or 15033745 or 150337456 or 1503374566.
Since first of cell-phone number in the prior art is all 1, the data for really carrying information of home location are next 6 Position, so can be identified for that the number of the information of home location of number can be 503374, i.e. the first field can be the in number section Two to the 7th bit digital.Above-mentioned first field can also be 5033745 etc., and the embodiment of the present invention is not to the first field Particular content is construed as limiting, as long as the number of the information of home location including can be identified for that above-mentioned number.
Second acquisition module 302, the quotient and the remainder for obtaining first field divided by parameter preset.
Memory module 303, for storing the information of home location of the number to the first storage region of memory space.
The initial address of first storage region is that physical block address is the quotient, and offset address is the remainder, and first deposits The byte length in storage area domain is preset length.
Assuming that above-mentioned number is cell-phone number, the number section of the cell-phone number is 1503328, and the first field is 503328, this is default Parameter is 3/2, then the physical block address of the corresponding information of home location of the cell-phone number is 754992, offset address 0.
Information of home location can be Chinese character title, phonetic title or the number of ownership place.
An embodiment of the present invention provides a kind of information of home location storage device, memory module 303 believes the ownership place of number Breath is stored in memory space, while the initial address of the first storage region of storage information of home location can obtain mould by second Block 302 is obtained by the quotient and the remainder of the first field and parameter preset in number, and the initial address of the first storage region is object Reason block address is above-mentioned quotient, and offset address is above-mentioned remainder, and the byte length of the first storage region is preset length, to be to look into It looks for information of home location to provide a convenient, for example, when requiring to look up the information of home location of a certain number, can directly calculate and return The physical address of possession information, and know that the byte length of the information of home location is preset length, it is possible to from memory space The information of home location of the number is directly obtained, to which the time of the ownership place to save lookup number provides foundation.
Parameter preset in above-mentioned information of home location storage device embodiment can be N/M, and M is that the minimum of memory space is deposited The factor of the byte length of storage unit, N are the positive integer more than or equal to 1, a kind of information of home location provided in an embodiment of the present invention Storage device can also include:Computing module, the byte length for calculating N/M and the minimum memory unit of the memory space Product, the product be the preset length.
Such as when the byte length of the minimum memory unit of memory space is 8, then M can be 2,4 or 8.Parameter preset can Think 3/2,9/8 etc., it is assumed that the byte length of parameter preset 3/2, the minimum memory unit of memory space is 8, then presets Length is 12 bytes.
It is understood that memory space is limited, if the Chinese character of ownership place or phonetic transcriptions of Chinese characters are stored directly in Many bytes may be occupied in first storage region, can be that each ownership place setting one is compiled to save memory space Number, which is stored in the first storage region.
Assuming that all ownership place in the prior art probably have more than 400, can return successively to each since number 1 Possession is numbered, wherein 0 is expressed as sky ownership place, i.e., is not present without the ownership place namely the number.
The byte length of the minimum memory unit of memory space can be 8, be 255 since 1 byte maximum preserves numerical value, And the number of all ownership place is 400 or so, so 9 bit are needed, so the minimum value of N/M can be 9/8, certainly N/M may be 3/2, and the embodiment of the present invention is not defined the occurrence of parameter preset.
Referring to Fig. 4, being a kind of structural schematic diagram of information of home location acquisition device provided in an embodiment of the present invention, the dress It sets and may include:First acquisition module 401, the second acquisition module 402, determining module 403 and third acquisition module 404, In:
First acquisition module 401, for obtaining the first field from number, first field includes identifying the number Information of home location number.
First field includes the number for the information of home location for identifying above-mentioned number.
First field can be all numbers of number, or the number section in number, such as number section 1358555(It is right For cell-phone number), number section 0312(For home Tel).
Assuming that above-mentioned number is 15033745663, then the first field can be 15033745663(Entire number), also may be used It is 1503374(Number section)Or 15033745 or 150337456 or 1503374566.
Since first of cell-phone number in the prior art is all 1, the data for really carrying information of home location are next 6 Position, so can be identified for that the number of the information of home location of number can be 503374, i.e. the first field can be the in number section Two to the 7th bit digital.Above-mentioned first field can also be 5033745 etc., and the embodiment of the present invention is not to the first field Particular content is construed as limiting, as long as the number of the information of home location including can be identified for that above-mentioned number.
Second acquisition module 402, the quotient and the remainder for obtaining first field divided by parameter preset.
Determining module 403, for determining the first storage region from the memory space.
It is the quotient that the initial address of first storage region, which is physical block address, and offset address is the remainder, described the The byte length of one storage region is preset length.
Assuming that above-mentioned number is cell-phone number, the number section of the cell-phone number is 1503328, and the first field is 503328, this is default Parameter is 3/2, then the physical block address of the corresponding information of home location of the cell-phone number is 754992, offset address 0.
Third acquisition module 404, the information of home location for obtaining the number from first storage region.
Information of home location can be Chinese character title, phonetic title or the number of ownership place.
Information of home location acquisition device provided in an embodiment of the present invention, when the information of home location for requiring to look up a certain number When, the second acquisition module 402 can directly calculate the physical address of information of home location according to the first field and parameter preset, again Know that the byte length of the information of home location is preset length, so third acquisition module 404 can be straight from the first storage region Obtain the number information of home location, to save search number ownership place time.
It is understood that memory space is limited, if the Chinese character of ownership place or phonetic transcriptions of Chinese characters are stored directly in Many bytes may be occupied in first storage region, can be that each ownership place setting one is compiled to save memory space Number, which is stored in the first storage region, then obtains corresponding ownership place further according to the number.Above-mentioned ownership place letter Breath includes ownership place number information, which further includes:According to pre-set ownership place number information With the correspondence of ownership place, the corresponding ownership place of ownership place number information is obtained.
Assuming that all ownership place in the prior art probably have more than 400, can return successively to each since number 1 Possession is numbered, wherein 0 is expressed as sky ownership place, i.e., is not present without the ownership place namely the number.It is above-mentioned to ownership The method that ground is numbered is an example provided in an embodiment of the present invention, and how the embodiment of the present invention is to not to be ownership place The method being numbered is defined.
The byte length of the minimum memory unit of memory space can be 8, be 255 since 1 byte maximum preserves numerical value, And the number of all ownership place is 400 or so, so 9 bit are needed, so the minimum value of N/M can be 9/8, certainly N/M may be 3/2, and the embodiment of the present invention is not defined the occurrence of parameter preset.
Information of home location in above-mentioned information of home location storage method and device due to being stored in memory space, institute so as to In transplanting and multiplexing.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. For device or system class embodiment, since it is basically similar to the method embodiment, so description is fairly simple, it is related Place illustrates referring to the part of embodiment of the method.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory(RAM), memory, read-only deposit Reservoir(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of information of home location storage method, which is characterized in that including:
The first field is obtained from number, first field includes the number for the information of home location for identifying the number;
Obtain the quotient and the remainder of first field divided by parameter preset;
The information of home location of the number is stored to the first storage region of memory space, the starting of first storage region Address is that physical block address is the quotient, and offset address is the remainder, and the byte length of first storage region is default Length.
2. information of home location storage method according to claim 1, which is characterized in that first field is the number Number section or the number are phone number, and first field is the second in the number section to the 7th bit digital.
3. information of home location storage method according to claim 1 or claim 2, which is characterized in that the parameter preset is N/M, institute The factor of the byte length for the minimum memory unit that M is the memory space is stated, the N is the positive integer more than or equal to 1, described The method for obtaining the preset length includes:
The product of N/M and the byte length of the minimum memory unit of the memory space are calculated, the product is the default length Degree.
4. a kind of information of home location acquisition methods, which is characterized in that including:
The first field is obtained from number, first field includes the number for the information of home location for identifying the number;
Obtain the quotient and the remainder of first field divided by parameter preset;
The first storage region is determined from memory space, it is institute that the initial address of first storage region, which is physical block address, Quotient is stated, offset address is the remainder, and the byte length of first storage region is preset length;
The information of home location of the number is obtained from first storage region.
5. information of home location acquisition methods according to claim 4, which is characterized in that the information of home location includes ownership place Number information, the information of home location storage method further include:
According to the correspondence of pre-set ownership place number information and ownership place, obtains the ownership place number information and correspond to Ownership place.
6. a kind of information of home location storage device, which is characterized in that including:
First acquisition module, for obtaining the first field from number, first field includes identifying the ownership of the number The number of ground information;
Second acquisition module, the quotient and the remainder for obtaining first field divided by parameter preset;
Memory module, for storing the information of home location of the number to the first storage region of memory space, described first The initial address of storage region is that physical block address is the quotient, and offset address is the remainder, first storage region Byte length is preset length.
7. information of home location storage device according to claim 6, which is characterized in that first field is the number Number section or the number are phone number, and first field is the second in the number section to the 7th bit digital.
8. information of home location storage device described according to claim 6 or 7, which is characterized in that the parameter preset is N/M, institute The factor of the byte length for the minimum memory unit that M is the memory space is stated, the N is the positive integer more than or equal to 1, described Information of home location storage device further includes:
Computing module, the product for calculating N/M and the byte length of the minimum memory unit of the memory space, the product For the preset length.
9. a kind of information of home location acquisition device, which is characterized in that including:
First acquisition module, for obtaining the first field from number, first field includes identifying the ownership of the number The number of ground information;
Second acquisition module, the quotient and the remainder for obtaining first field divided by parameter preset;
Determining module, for determining that the first storage region, the initial address of first storage region be from memory space Physical block address is the quotient, and offset address is the remainder, and the byte length of first storage region is preset length;
Third acquisition module, the information of home location for obtaining the number from first storage region.
10. information of home location acquisition device according to claim 9, which is characterized in that further include:
4th acquisition module, for according to the correspondence of pre-set ownership place number information and ownership place, described in acquisition The corresponding ownership place of ownership place number information.
CN201310743043.4A 2013-12-27 2013-12-27 Information of home location storage, acquisition methods and device Active CN103744927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310743043.4A CN103744927B (en) 2013-12-27 2013-12-27 Information of home location storage, acquisition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310743043.4A CN103744927B (en) 2013-12-27 2013-12-27 Information of home location storage, acquisition methods and device

Publications (2)

Publication Number Publication Date
CN103744927A CN103744927A (en) 2014-04-23
CN103744927B true CN103744927B (en) 2018-08-07

Family

ID=50501945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310743043.4A Active CN103744927B (en) 2013-12-27 2013-12-27 Information of home location storage, acquisition methods and device

Country Status (1)

Country Link
CN (1) CN103744927B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977033A (en) * 2017-12-28 2019-07-05 北京顺智信科技有限公司 Store the method and device of telecom number
CN114546953A (en) * 2022-01-26 2022-05-27 银盛通信有限公司 Method for warehousing number resources of mobile resale system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293403A (en) * 2000-11-30 2001-05-02 谢建平 General scheme for assigning addresses to networked computers by decimal algorithm
CN101026644A (en) * 2006-02-22 2007-08-29 华为技术有限公司 Communication terminal and method for displaying mobile phone calling initiation place information
CN101068269A (en) * 2007-04-30 2007-11-07 广东国笔科技有限公司 Apparatus for dynamic displaying telephone number imputation place

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333820B2 (en) * 2001-07-17 2008-02-19 Networks In Motion, Inc. System and method for providing routing, mapping, and relative position information to users of a communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1293403A (en) * 2000-11-30 2001-05-02 谢建平 General scheme for assigning addresses to networked computers by decimal algorithm
CN101026644A (en) * 2006-02-22 2007-08-29 华为技术有限公司 Communication terminal and method for displaying mobile phone calling initiation place information
CN101068269A (en) * 2007-04-30 2007-11-07 广东国笔科技有限公司 Apparatus for dynamic displaying telephone number imputation place

Also Published As

Publication number Publication date
CN103744927A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN103186653B (en) Nonproductive poll method and apparatus, querying method and equipment and name inquiry system
US8364689B2 (en) Methods and apparatus for providing a location based search
CN103345469B (en) The storage of set of numbers, querying method and device thereof
CN105468642A (en) Data storage method and apparatus
CN103810244A (en) Distributed data storage system expansion method based on data distribution
CN104516950A (en) Inquiring method and device of interest points
CN101727502A (en) Data query method, data query device and data query system
CN103309864A (en) Method, device and system for displaying search result
CN103744927B (en) Information of home location storage, acquisition methods and device
CN104954329A (en) Method and apparatus for processing biological characteristic information
CN103354576B (en) The storage of mobile phone and cell-phone number attaching information thereof and lookup method
EP2396986A1 (en) Unique referencing scheme identifier for location
CN111460057B (en) POI (Point of interest) coordinate determining method, device and equipment
CN101902528A (en) Method for storing contact information, and system and mobile terminal thereof
CN105404437A (en) Information operation method and apparatus
CN102103600B (en) Map building method and map system
CN108462759B (en) Domain name resolution method and device
CN102542019A (en) Identification code storage method and identification code storage system as well as identification code indexing method and identification code indexing system
CN106407221A (en) Address data retrieval method and apparatus
CN104216872B (en) The method and device of rubbish chapters and sections in a kind of identification network novel
CN112541133A (en) Geographic position information query method, device, storage medium and equipment
CN103546522B (en) Determine the method and distributed memory system of storage server
CN102254037B (en) Menu interactive processing method applied to unstructured supplementary service data (USSD) system
CN101483841B (en) Method for fast retrieving telephone number related information
CN111045608B (en) Method, device and equipment for searching validity codes and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140423

Assignee: SHANGHAI DAHAN TRICOM DATA COMMUNICATION Co.,Ltd.

Assignor: SHANGHAI DAHAN TRICOM COMMUNICATION Co.,Ltd.

Contract record no.: X2024310000080

Denomination of invention: Method and device for storing and obtaining ownership information

Granted publication date: 20180807

License type: Common License

Record date: 20240724

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20140423

Assignee: Jiangsu Chengyue Technology Co.,Ltd.

Assignor: SHANGHAI DAHAN TRICOM COMMUNICATION Co.,Ltd.

Contract record no.: X2024310000147

Denomination of invention: Method and device for storing and obtaining ownership information

Granted publication date: 20180807

License type: Common License

Record date: 20240911