CN104378483B - The method that batch inserts number cell phone system - Google Patents

The method that batch inserts number cell phone system Download PDF

Info

Publication number
CN104378483B
CN104378483B CN201410709218.4A CN201410709218A CN104378483B CN 104378483 B CN104378483 B CN 104378483B CN 201410709218 A CN201410709218 A CN 201410709218A CN 104378483 B CN104378483 B CN 104378483B
Authority
CN
China
Prior art keywords
data field
destination number
container
cell phone
write
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
CN201410709218.4A
Other languages
Chinese (zh)
Other versions
CN104378483A (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 BESTONE INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI BESTONE INFORMATION TECHNOLOGY 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 BESTONE INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI BESTONE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201410709218.4A priority Critical patent/CN104378483B/en
Publication of CN104378483A publication Critical patent/CN104378483A/en
Application granted granted Critical
Publication of CN104378483B publication Critical patent/CN104378483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to cellphone information management domain, a kind of method that batch inserts number cell phone system, including step in detail below are disclosed:Read step and write step, are respectively used to realization and read destination number by the storage device of source system, and write the specific location of purpose system, in addition, also disclosing the device that a kind of batch inserts number cell phone system.It is an advantage of the current invention that the intelligent communication device such as the mobile phone that is particularly suitable for use in, the ability with mass disposal data, and execution efficiency can be positively improved, with preferable application value.

Description

The method that batch inserts number cell phone system
Technical field
The present invention relates to cellphone information management domain, more particularly to a kind of batch by number insert the method for cell phone system with And corresponding device.
Background technology
Phone number is a kind of commercial resource more commonly used, in order to effectively utilize the resource, it is necessary to will be above-mentioned Phone number carries out export export operation, and in the case where some numbers are more, the operation is more time-consuming, and operational efficiency is more low Under, it is impossible to suitable for practical application.
Secondly, existing number Store form neither one is sought unity of standard, and mobile phone user uses when storing number Storage mode it is more random, cause to need that derived destination number is extremely chaotic, existing method can not export number well. In addition, also resulting in the export form disunity that various numbers export software, the versatility of existing deriving method is made greatly to drop It is low, can only only one mobile phone for being applied to certain even certain specific model.
In view of this, it is necessary to the method that existing batch number imports cell phone system is improved, in order to improve Execution efficiency.
The content of the invention
The present invention in the prior art lack an execution efficiency height, the good batch number insertion method of versatility lack Point can preferably realize raising number insertion there is provided the method and device that a kind of batch inserts number cell phone system The execution efficiency of cell phone system, improves the purpose of the versatility of method.
To achieve the above object, the present invention can take following technical proposals:
A kind of method that batch inserts number cell phone system, including step in detail below:
Read step:The data field I for including destination number is read by the storage device of source system, the data word Section I is recorded in one has variable or regular length data field II by the ad-hoc location that points to the storage device In the storage region of orientation, the destination number is stored in the data field II with a confirmable order, institute State the data field that confirmable order is the position that can determine destination number by being included in the storage region The order that III or data field III set is determined;
Write step:Destination number is write to the ad-hoc location of purpose system, said write is by by the way that destination number is passed The built-in interface for passing purpose system is completed, and the ad-hoc location is provided by the built-in interface of purpose system, by purpose system What generation and the built-in interface matched on the storage device of system have can by the code pointed by the built-in interface or The mode for the storage region that person's code segment is read obtains the data segment for pointing to the ad-hoc location, and the destination number is replicated Into the storage region matched with the built-in interface to realize the transmission.
With in embodiments herein, in addition to step in detail below:In the read step, by calling source system Built-in interface complete read.
With in embodiments herein, the storage region is set up by the built-in interface of source system and writes data field I And indicate the data field III of the storage order of the data field I.
With in embodiments herein, in addition to step in detail below:
Analyzing step:By data field I after storage device is read, data field I parse to obtain destination number, The parsing is matched the continuous data segment of reading with preset data section by the section I of order read data words by turn Mode is completed, and the matching should at least include in the following manner:The continuous data segment bit by bit with the preset data section It is compared, it is when preset data section is identical or roughly the same with least a portion of the continuous data segment, then complete Into matching.
With in embodiments herein, in addition to step in detail below:
Package step:The destination number obtained in data field I is inserted in a container, and a destination number by After being separated in data field I, in identical or different data field I isolated next destination number it Preceding to complete this and insert, the container, which refers to include one, can be used to recording the sufficient length that has of the destination number Data segment.
With in embodiments herein, the package step also includes, the container also include with positioning and sort After the data field IV of function, but one new container of generation, the position of the container is written into having existed at least one In the data field IV of container.
With in embodiments herein, the container be Reusable Module.
With in embodiments herein, said write step also includes step in detail below:
By the destination number at least a portion container currently generated or all containers so that whole can be shared The mode of container writes the ad-hoc location of purpose system, and the mode of shared whole containers at least refers to by a container While destination number writes the ad-hoc location of purpose system, it is allowed to access all containers related to the destination number.
With in embodiments herein, said write step also includes step in detail below:Set up the application of at least one The example of the mode of shared whole containers, the example is above-mentioned by the specific of destination number write-in purpose system for performing Position;Meanwhile, fifty-fifty distribute destination number between the example.
A kind of batch inserts number the device of cell phone system, including read module and writing module;
The read module is used to read the data field I for including destination number by the storage device of source system, institute Stating data field I and being recorded in one has variable or regular length number by the ad-hoc location that points to the storage device In the storage region oriented according to field II, the destination number is stored on the data field with a confirmable order In II, the confirmable order is the number of the position that can determine destination number by being included in the storage region The order determined according to field III or data field III set;
Said write module is used for the ad-hoc location that destination number is write to purpose system, and said write is by by by target Number pass to purpose system built-in interface complete, the ad-hoc location by purpose system built-in interface provide, by On the storage device of purpose system generation with the built-in interface match have can be pointed by the built-in interface The mode for the storage region that code or code segment are read obtains the data segment for pointing to the ad-hoc location, the destination number It is copied in the storage region matched with the built-in interface to realize the transmission.
The present invention has following notable technique effect:
With preferable execution efficiency, the disposal ability especially for bulk data is stronger, and treatment effeciency is high, compared to existing There is batch number insertion method, execution efficiency is improved up to 50%, and versatility is good, can apply to various types of mobile phone System, improves and has expanded application field.
Brief description of the drawings
Fig. 1 inserts number for batch the substantially schematic flow sheet of the method for cell phone system.
Fig. 2 inserts number for batch the agent structure schematic diagram of the device of cell phone system.
Embodiment
With reference to embodiment, the present invention is described in further detail.
Embodiment 1
A kind of method that batch inserts number cell phone system, including step in detail below:
Read step 101:The data field I for including destination number is read by the storage device of source system, this implementation The example source system and goal systems can be the operating system for running on intelligent communication device, or with similar structures Operating system, certainly, other can support the operating system of the present embodiment to be used.The data field I is recorded In one by the depositing with variable or regular length data field II orientations for the ad-hoc location for pointing to the storage device In storage area domain, data field I can be the minimum memory unit in storage region, be provided with reducing the system expended during reading Source, it may for example comprise have the data segment continuously or discontinuously of destination number and other control codings, when destination number is with existing When some document forms are stored in the storage region, for example, being stored in storage in the form of conventional Excel forms The destination number in region, at this point it is possible to the alternative used is the application programming interface API provided with source system, The specified path of Excel file is directly read in the storage device of source system, and the data item of Excel files is read respectively Enter different data field I.Further, the destination number is stored on the data word with a confirmable order In section II, the confirmable order is can to determine the position of destination number by being included in the storage region The order that data field III or data field III set is determined, for example, the number for being indicated or being oriented by data field III According to field I, indicate that either orientation can directly be oriented using data formats such as pointers or using the side such as address search table Formula is positioned.
Write step 102:Destination number is write to the ad-hoc location of purpose system, said write is by by by destination number The built-in interface for passing to purpose system is completed, and the ad-hoc location is provided by the built-in interface of purpose system, by purpose On the storage device of system generation with the built-in interface match have can be by the code pointed by the built-in interface Or the mode of storage region that code segment is read obtains the data segment for pointing to the ad-hoc location, the destination number is answered Make in the storage region matched with the built-in interface to realize the transmission.
Also include step in detail below:In the read step 101, by calling the built-in interface of source system to complete to read Take.
The storage region is set up by the built-in interface of source system and is write data field I and indicate the data field The data field III of I storage order.
Also include step in detail below, analyzing step 103, the purpose of the step be by destination number in data field I Parse:
Analyzing step 103:By data field I after storage device is read, data field I parse to obtain target number Code, the parsing is matched the continuous data segment of reading with preset data section by the section I of order read data words by turn Mode complete, the matching should at least include in the following manner:The continuous data segment bit by bit with the preset data Section be compared, when the preset data section it is identical or roughly the same with least a portion of the continuous data segment, then Complete matching, it is described it is roughly the same refer to preset an approximate extents, for example, in the case of being compared with ANSI codes, If setting the approximate extents allowed as +/- 2, an ANSI code in the continuous data segment is at its in the range of +/- 2 Think the corresponding numerical digit of matching preset data section, it should be understood that the data segment being matched should be continuous, and its Order between numerical digit can not be changed.Further, the string of preset data section can be one section include specific character, The string being for example made up of 8 " 0 ", in addition to the foregoing response numerical digit for each character.In addition, one for parsing step Rapid 103 another available instantiation is that parsing Excel described above with JXL instruments class libraries asks about that, extracts Batch number in file, and destination number is parsed one by one, certainly, the step not fully corresponds to above-mentioned analyzing step 103, It is not so good as the technical scheme of the present embodiment record particularly in execution efficiency, reusability and code maintenance cost, it is above-mentioned Instantiation is only to readily appreciate and listed here.
Also include step in detail below:
Package step 104:The destination number obtained in data field I is inserted in a container, and in a target number After code is separated in data field I, in isolated next target number in identical or different data field I Complete this before code and insert, the container refer to include one can be used to recording the destination number there is long enough The data segment of degree.Different from existing many containers, package step 104 container used has and can quickly generated, reusability High the features such as.
The package step 104 also includes, and the container also includes the data field IV with positioning and ranking function, But generate after a new container, the position of the container is written into the data field IV of the container existed of at least one In.
The container is Reusable Module.
Said write step 102 also includes step in detail below:
By the destination number at least a portion container currently generated or all containers so that whole can be shared The mode of container writes the ad-hoc location of purpose system, and the mode of shared whole containers at least refers to by a container While destination number writes the ad-hoc location of purpose system, it is allowed to access all containers related to the destination number.For example, Using the container comprising destination number as target container, and will have other related containers collectively as shared with target container Container cell, when performing write step 102, it is allowed to when writing a destination number, accesses other appearances in shared container cell Device is shared to realize.In addition, it can include corresponding data segment locking and unlocking function use conflict to limit.
Said write step 102 also includes step in detail below:Set up the application shared whole containers of at least one Mode example, the example be used for perform it is above-mentioned by destination number write purpose system ad-hoc location;Meanwhile, described Destination number is fifty-fifty distributed between example.
In addition, the present embodiment also include a kind of batch by number insert cell phone system device, including read module 201 with And writing module 202;
The read module 201 is used to read the data field I for including destination number by the storage device of source system, It is variable or regular length that the data field I is recorded in having for an ad-hoc location by the sensing storage device In the storage region of data field II orientations, the destination number is stored on the data word with a confirmable order In section II, the confirmable order is can to determine the position of destination number by being included in the storage region The order that data field III or data field III set is determined;
Said write module 202 is used for the ad-hoc location that destination number is write to purpose system, and said write is by by inciting somebody to action The built-in interface that destination number passes to purpose system is completed, and the ad-hoc location is provided by the built-in interface of purpose system, is led to Having of crossing on the storage device of purpose system that generation and the built-in interface matches can be signified by the built-in interface To the mode of storage region that is read of code or code segment obtain and point to the data segment of the ad-hoc location, the target Number is copied in the storage region matched with the built-in interface to realize the transmission.
In a word, presently preferred embodiments of the present invention, all equalizations made according to scope of the present invention patent be the foregoing is only Change and modification, should all belong to the covering scope of patent of the present invention.

Claims (8)

1. a kind of method that batch inserts number cell phone system, it is characterised in that including step in detail below:
Read step (101):The data field I for including destination number is read by the storage device of source system, the data Field I is recorded in one has variable or regular length data field by the ad-hoc location that points to the storage device In the storage region of II orientations, the destination number is stored in the data field II with a confirmable order, The confirmable order is the data word of the position that can determine destination number by being included in the storage region The order that section III or data field III set is determined;
Write step (102):Destination number is write to the ad-hoc location of purpose system, said write is by by the way that destination number is passed The built-in interface for passing purpose system is completed, and the ad-hoc location is provided by the built-in interface of purpose system, by purpose system What generation and the built-in interface matched on the storage device of system have can by the code pointed by the built-in interface or The mode for the storage region that person's code segment is read obtains the data segment for pointing to the ad-hoc location, and the destination number is replicated Into the storage region matched with the built-in interface to realize the transmission;
Also include step in detail below:
Analyzing step (103):By data field I after storage device is read, data field I parse to obtain target number Code, the parsing is matched the continuous data segment of reading with preset data section by the section I of order read data words by turn Mode complete, the matching should at least include in the following manner:The continuous data segment bit by bit with the preset data Section is compared, and when preset data section is identical with least a portion of the continuous data segment, then completes matching.
2. the method that batch according to claim 1 inserts number cell phone system, it is characterised in that also including following tool Body step:In the read step (101), by calling the built-in interface of source system to complete to read.
3. the method that batch according to claim 2 inserts number cell phone system, it is characterised in that the storage region Set up by the built-in interface of source system and write data field I and indicate the data word of the storage order of the data field I Section III.
4. the method that batch according to claim 1 inserts number cell phone system, it is characterised in that also including following tool Body step:
Package step (104):The destination number obtained in data field I is inserted in a container, and in a destination number After being separated in data field I, in isolated next destination number in identical or different data field I This is completed before to insert, the container refer to include one can be used to recording the destination number there is sufficient length Data segment.
5. the method that batch according to claim 4 inserts number cell phone system, it is characterised in that the package step (104) also include, the container also includes the data field IV with positioning and ranking function, but one new container of generation Afterwards, the position of the container is written into the data field IV of the container existed of at least one.
6. the method that batch according to claim 4 inserts number cell phone system, it is characterised in that the container is can Reuse component.
7. the method that batch according to claim 1 inserts number cell phone system, it is characterised in that said write step (102) step in detail below is also included:
By the destination number at least a portion container currently generated or all containers so that whole containers can be shared Mode write the ad-hoc location of purpose system, the modes of shared whole containers at least refers to by the target in a container While number writes the ad-hoc location of purpose system, it is allowed to access all containers related to the destination number.
8. the method that batch according to claim 7 inserts number cell phone system, it is characterised in that said write step (102) step in detail below is also included:Set up the example of the mode of the application shared whole containers of at least one, the reality Example is used to perform the above-mentioned ad-hoc location that destination number is write to purpose system;Meanwhile, fifty-fifty distributed between the example Destination number.
CN201410709218.4A 2014-11-28 2014-11-28 The method that batch inserts number cell phone system Active CN104378483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410709218.4A CN104378483B (en) 2014-11-28 2014-11-28 The method that batch inserts number cell phone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410709218.4A CN104378483B (en) 2014-11-28 2014-11-28 The method that batch inserts number cell phone system

Publications (2)

Publication Number Publication Date
CN104378483A CN104378483A (en) 2015-02-25
CN104378483B true CN104378483B (en) 2017-09-22

Family

ID=52557128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410709218.4A Active CN104378483B (en) 2014-11-28 2014-11-28 The method that batch inserts number cell phone system

Country Status (1)

Country Link
CN (1) CN104378483B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889595A (en) * 2006-05-22 2007-01-03 松讯达中科电子(深圳)有限公司 Mobile terminal data information lead-in and lead-out method
CN101000635A (en) * 2007-01-10 2007-07-18 凤凰微电子(中国)有限公司 Mass storing and managing method of smart card

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931706B (en) * 2010-09-01 2014-04-16 惠州Tcl移动通信有限公司 Method and device for inputting backup data into mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889595A (en) * 2006-05-22 2007-01-03 松讯达中科电子(深圳)有限公司 Mobile terminal data information lead-in and lead-out method
CN101000635A (en) * 2007-01-10 2007-07-18 凤凰微电子(中国)有限公司 Mass storing and managing method of smart card

Also Published As

Publication number Publication date
CN104378483A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN107918612B (en) The implementation method and device of key assignments memory system data structure
CN110008136A (en) The method of management flash memory module and relevant flash controller and electronic device
CN102024046B (en) Data repeatability checking method and device as well as system
CN103559027A (en) Design method of separate-storage type key-value storage system
CN101983376A (en) Access device, information recording device, information recording system, file management method, and program
CN102253985B (en) File system data management method and system
CN108089821A (en) A kind of method of micro controller data storage management
US20140156913A1 (en) Data processing method, memory controller and memory storage apparatus
CN104951482B (en) A kind of method and device of the image file of operation Sparse formats
CN105095518A (en) Data conversion method and device
CN102541969B (en) File protection method and system based on file allocation table (FAT) file system, and memory
CN104240758B (en) Data memory device and its management method
CN102004787A (en) Method for combining multiple application scene forms based on office software plugins
CN103218300B (en) Data processing method, Memory Controller and memorizer memory devices
CN100357952C (en) Binary data access method
CN104378483B (en) The method that batch inserts number cell phone system
CN110288340B (en) Data set storage method based on Java intelligent contract
CN106126555B (en) A kind of file management method and file system
CN105786939A (en) Memory database optimization method and apparatus
CN103116652A (en) Index store management method based on zipper information
CN101593193A (en) A kind of management method of smart card document system
CN101382961A (en) Method for making update file and updating data
CN104021142B (en) The storage of tamper resistant systems web page files fingerprint and querying method
CN109426702A (en) IOS platform file reads guard method, storage medium, electronic equipment and system
KR101465426B1 (en) Extent mapping flash device

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