CN105446666A - Full digital sequence storage method and system based on mobile terminal - Google Patents

Full digital sequence storage method and system based on mobile terminal Download PDF

Info

Publication number
CN105446666A
CN105446666A CN201510985776.8A CN201510985776A CN105446666A CN 105446666 A CN105446666 A CN 105446666A CN 201510985776 A CN201510985776 A CN 201510985776A CN 105446666 A CN105446666 A CN 105446666A
Authority
CN
China
Prior art keywords
sequence
binary
digital
digital sequence
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.)
Pending
Application number
CN201510985776.8A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510985776.8A priority Critical patent/CN105446666A/en
Publication of CN105446666A publication Critical patent/CN105446666A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a full digital sequence storage method and system based on a mobile terminal. The method comprises; respectively converting every number in the full digital sequence to be stored into binary data, successively arranging the converted binary numbers so as to form a binary sequence; in the formed binary sequence, storing the first digit in the binary sequence and the adjacent digits with the same digits. The invention provides the fast and reliable full digital sequence storage method and system based on the mobile terminal; the problem that the full digital sequence occupies much storage space is solved; therefore the storage space occupied in storing the full digital sequence is reduced, and the storage space is saved.

Description

A kind of digital sequence storage means based on mobile terminal and system
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of digital sequence storage means based on mobile terminal and system.
Background technology
Along with the development of mobile communication and improving constantly of people's living standard, the use of various mobile terminals as mobile phone is more and more universal, and mobile phone has become indispensable means of communication in people's life.
In prior art, the function of mobile phone gets more and more.
The sequence (digital sequence) of preserving numeral or being made up of numeral 0 ~ 9 often can be needed, as telephone number, as digital password etc. in mobile terminal; Storage for digital sequence often adopts the form directly stored, and therefore, particularly to longer digital sequence, needs to reduce the storage space for digital sequence.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, provides a kind of digital sequence storage means based on mobile terminal and system.Provide a kind of digital sequence storage means based on mobile terminal and system of fast and reliable, be intended to solve the problem that digital sequence takies more storage space, thus reduce the total sequence storage space shared when storing, reach the object of saving storage space.
The technical scheme that technical solution problem of the present invention adopts is as follows:
Based on a digital sequence storage means for mobile terminal, wherein, comprising:
A, convert the digits in digital sequence to be stored to binary data respectively, and the binary number of each conversion is arranged in order the binary sequence of formation;
B, in the binary sequence formed, with the first place in described binary sequence, and the identical figure place of adjacent bit stores.
The described digital sequence storage means based on mobile terminal, wherein, the digits in the digital sequence in described steps A is decimal representation, and span is the integer of 0 ~ 9.
The described digital sequence storage means based on mobile terminal, wherein, the digits in digital sequence to be stored is converted to binary data respectively in described steps A, also comprise: when converting the digits of digital for tens digit to be stored sequence to binary representation respectively, use tetrad represents, as less than four then to leading zero.
The described digital sequence storage means based on mobile terminal, wherein, described step B specifically comprises:
B1, to formed binary sequence in, with the first place in described binary sequence, be the first bank bit;
B2 and using the identical bits number of first place as the second bank bit;
B3 and by figure place identical for adjacent bit in the binary sequence of follow-up alternately change, as follow-up bank bit;
B4, each bank bit to be stored in order successively.
The described digital sequence storage means based on mobile terminal, wherein, described steps A also comprises:
A1, when digital sequence 10000 being stored, first convert the digits in digital sequence 10000 to binary data respectively; Converting binary sequence to is 00010000000000000000.
The described digital sequence storage means based on mobile terminal, wherein, described step B specifically also comprises:
When the binary sequence 00010000000000000000 of B21, digital sequence 10000 stores, first recording binary sequence first place is: 0;
B22 and as the second bank bit be using the identical bits number of first place: 3, wherein 3 represent 3 zero;
B23 and the identical figure place of adjacent bit carry out being stored as 1,16, intersect change: 1 represents 11, and 16 represent 16 zero according to scale-of-two;
B24, the most at last binary sequence 00010000000000000000 of digital sequence 10000 are expressed as 0,3,1,16, then store.
Based on a digital sequence storage system for mobile terminal, wherein, comprising:
System modular converter, for converting the digits in digital sequence to be stored to binary data respectively, and is arranged in order the binary sequence of formation by the binary number of each conversion;
Sequence memory module, in the binary sequence formed, with the first place in described binary sequence, and the identical figure place of adjacent bit stores.
The described digital sequence storage system based on mobile terminal, wherein, system modular converter comprises:
Converting unit, for converting the digits in digital sequence to be stored to binary data respectively;
Arrangement units, for being arranged in order the binary sequence of formation by the binary number of each conversion.
The described digital sequence storage system based on mobile terminal, wherein, sequence memory module comprises:
The first resolution unit, in the binary sequence formed, with the first place in described binary sequence, is the first bank bit;
Second resolution unit, for choosing using the identical bits number of first place as the second bank bit;
Follow-up bank bit resolution unit, for by figure place identical for adjacent bit in the binary sequence of follow-up alternately change, as follow-up bank bit;
Storage control unit, for storing successively in order each bank bit.
The described digital sequence storage system based on mobile terminal, wherein,
Digits in described digital sequence is decimal representation, and span is the integer of 0 ~ 9
Describedly convert the digits in digital sequence to be stored to binary data respectively, comprise: when converting the digits of digital for tens digit to be stored sequence to binary representation respectively, use tetrad represents, as less than four then to leading zero.
Beneficial effect: the digital sequence storage means based on mobile terminal provided by the present invention and system, by converting the binary sequence of binary representation to by the digits in digital sequence to be stored; With the first place in described binary sequence, and adjacent identical figure place stores.Thus reduce the total sequence storage space shared when storing, reach the object of saving storage space.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the preferred embodiment of the digital sequence storage means that the present invention is based on mobile terminal.
Fig. 2 is the functional schematic block diagram of the preferred embodiment of the digital sequence storage system that the present invention is based on mobile terminal.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The sequence (digital sequence) of preserving numeral or being made up of numeral 0 ~ 9 often can be needed in mobile terminal, as telephone number, as digital password etc., such as: number 10000, number 18906886626, password 666666 etc.; Storage for digital sequence often adopts the form directly stored, and therefore, particularly to longer digital sequence, needs to reduce the storage space for digital sequence.
Refer to Fig. 1, Fig. 1 is the process flow diagram of the preferred embodiment of the digital sequence storage means that the present invention is based on mobile terminal.A kind of digital sequence storage means based on mobile terminal shown in Fig. 1, comprising:
Step S100, convert the digits in digital sequence to be stored to binary data respectively, and the binary number of each conversion is arranged in order the binary sequence of formation.
In the embodiment of the present invention, the digits in described digital sequence is decimal representation, and span is the integer of 0 ~ 9.And the digits in digital sequence to be stored is converted respectively to binary data, comprise: when converting the digits of digital for tens digit to be stored sequence to binary representation respectively, use tetrad represents, as less than four then to leading zero.
Again for example, the decimal system 9 converts binary representation to be 1001 be four then without the need to leading zero, the decimal system 2 convert to binary representation be 10 because of less than four then to leading zero be 0010.In the step s 100, for digital sequence, decimal system every in sequence is converted to scale-of-two, is exemplified below:
When digital sequence 10000 being stored, first convert the digits in digital sequence 10000 to binary data respectively; Converting binary sequence to is 00010000000000000000.
Step S200, in the binary sequence formed, with the first place in described binary sequence, and the identical figure place of adjacent bit stores.
Adopt in the binary sequence formed in this step, with the first place in described binary sequence, it is the first bank bit, and using the identical bits number of first place as the second bank bit, and by figure place identical for adjacent bit in the binary sequence of follow-up alternately change, store successively in order as follow-up bank bit and then to each bank bit.
Such as, the binary sequence 00010000000000000000 of digital sequence 10000 is when storing, and first recording binary sequence first place is: 0; And using the identical bits number of first place as the second bank bit be: 3, wherein 3 represent 3 zero; And the identical figure place of adjacent bit carries out being stored as 1,16, intersect change according to scale-of-two: 1 represents 11, and 16 represent 16 zero; The binary sequence 00010000000000000000 of digital sequence 10000 is expressed as 0,3,1,16 the most at last, then stores.
Namely connect example, for system sequence 00010000000000000000, first record binary sequence first place 0, and the identical figure place of adjacent bit carries out being stored as 3,1,16, wherein 3 represent 3 zero, and 1 represents 11, and 16 represent 16 zero; Therefore, the digital sequence 10000 in illustrating the most at last is expressed as 0,3,1,16.
Again such as, system sequence 0001100 is changed storage and corresponds to: 0,3,2,2; Represent that 0 be the first respectively, 3 represent identical with first place 30 simultaneously, and then one 2 represents that what replace with 01 is 2, rearmost one 2 expression 20.
Therefore, the invention provides a kind of digital sequence storage means based on mobile terminal of fast and reliable, be intended to solve the problem that digital sequence takies more storage space, thus reduce the total sequence storage space shared when storing, reach the object of saving storage space.
Based on said method embodiment, present invention also offers a kind of digital sequence storage system based on mobile terminal, as shown in Figure 2, described system comprises:
System modular converter 210, for converting the digits in digital sequence to be stored to binary data respectively, and is arranged in order the binary sequence of formation by the binary number of each conversion; As detailed above.
Sequence memory module 220, in the binary sequence formed, with the first place in described binary sequence, and the identical figure place of adjacent bit stores; As detailed above.
Further, the described digital sequence storage system based on mobile terminal, wherein, system modular converter comprises:
Converting unit, for converting the digits in digital sequence to be stored to binary data respectively; As detailed above.
Arrangement units, for being arranged in order the binary sequence of formation by the binary number of each conversion; As detailed above.
The described digital sequence storage system based on mobile terminal, wherein, sequence memory module comprises:
The first resolution unit, in the binary sequence formed, with the first place in described binary sequence, is the first bank bit; As detailed above.
Second resolution unit, for choosing using the identical bits number of first place as the second bank bit; As detailed above.
Follow-up bank bit resolution unit, for by figure place identical for adjacent bit in the binary sequence of follow-up alternately change, as follow-up bank bit; As detailed above.
Storage control unit, for storing successively in order each bank bit; As detailed above.
The described digital sequence storage system based on mobile terminal, wherein,
Digits in described digital sequence is decimal representation, and span is the integer of 0 ~ 9
Describedly convert the digits in digital sequence to be stored to binary data respectively, comprise: when converting the digits of digital for tens digit to be stored sequence to binary representation respectively, use tetrad represents, as less than four then to leading zero; As detailed above.
Beneficial effect: the digital sequence storage means based on mobile terminal provided by the present invention and system, by converting the binary sequence of binary representation to by the digits in digital sequence to be stored; With the first place in described binary sequence, and adjacent identical figure place stores.Thus reduce the total sequence storage space shared when storing, reach the object of saving storage space.
Certainly, one of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, can carry out instruction related hardware (as processor by computer program, controller etc.) come, described program can be stored in the storage medium of an embodied on computer readable, and this program can comprise the flow process as above-mentioned each side method embodiment when performing.Wherein said storage medium can be storer, magnetic disc, CD etc.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection domain that all should belong to claims of the present invention.

Claims (10)

1., based on a digital sequence storage means for mobile terminal, it is characterized in that, comprising:
A, convert the digits in digital sequence to be stored to binary data respectively, and the binary number of each conversion is arranged in order the binary sequence of formation;
B, in the binary sequence formed, with the first place in described binary sequence, and the identical figure place of adjacent bit stores.
2. the digital sequence storage means based on mobile terminal according to claim 1, it is characterized in that, the digits in the digital sequence in described steps A is decimal representation, and span is the integer of 0 ~ 9.
3. the digital sequence storage means based on mobile terminal according to claim 2, it is characterized in that, the digits in digital sequence to be stored is converted to binary data respectively in described steps A, also comprise: when converting the digits of digital for tens digit to be stored sequence to binary representation respectively, use tetrad represents, as less than four then to leading zero.
4. the digital sequence storage means based on mobile terminal according to claim 1, it is characterized in that, described step B specifically comprises:
B1, to formed binary sequence in, with the first place in described binary sequence, be the first bank bit;
B2 and using the identical bits number of first place as the second bank bit;
B3 and by figure place identical for adjacent bit in the binary sequence of follow-up alternately change, as follow-up bank bit;
B4, each bank bit to be stored in order successively.
5. the digital sequence storage means based on mobile terminal according to claim 1, it is characterized in that, described steps A also comprises:
A1, when digital sequence 10000 being stored, first convert the digits in digital sequence 10000 to binary data respectively; Converting binary sequence to is 00010000000000000000.
6. the digital sequence storage means based on mobile terminal according to claim 5, it is characterized in that, described step B specifically also comprises:
When the binary sequence 00010000000000000000 of B21, digital sequence 10000 stores, first recording binary sequence first place is: 0;
B22 and as the second bank bit be using the identical bits number of first place: 3, wherein 3 represent 3 zero;
B23 and the identical figure place of adjacent bit carry out being stored as 1,16, intersect change: 1 represents 11, and 16 represent 16 zero according to scale-of-two;
B24, the most at last binary sequence 00010000000000000000 of digital sequence 10000 are expressed as 0,3,1,16, then store.
7., based on a digital sequence storage system for mobile terminal, it is characterized in that, comprising:
System modular converter, for converting the digits in digital sequence to be stored to binary data respectively, and is arranged in order the binary sequence of formation by the binary number of each conversion;
Sequence memory module, in the binary sequence formed, with the first place in described binary sequence, and the identical figure place of adjacent bit stores.
8. the digital sequence storage system based on mobile terminal according to claim 7, it is characterized in that, system modular converter comprises:
Converting unit, for converting the digits in digital sequence to be stored to binary data respectively;
Arrangement units, for being arranged in order the binary sequence of formation by the binary number of each conversion.
9. the digital sequence storage system based on mobile terminal according to claim 7, it is characterized in that, sequence memory module comprises:
The first resolution unit, in the binary sequence formed, with the first place in described binary sequence, is the first bank bit;
Second resolution unit, for choosing using the identical bits number of first place as the second bank bit;
Follow-up bank bit resolution unit, for by figure place identical for adjacent bit in the binary sequence of follow-up alternately change, as follow-up bank bit;
Storage control unit, for storing successively in order each bank bit.
10. the digital sequence storage system based on mobile terminal according to claim 7, is characterized in that,
Digits in described digital sequence is decimal representation, and span is the integer of 0 ~ 9;
Describedly convert the digits in digital sequence to be stored to binary data respectively, comprise: when converting the digits of digital for tens digit to be stored sequence to binary representation respectively, use tetrad represents, as less than four then to leading zero.
CN201510985776.8A 2015-12-25 2015-12-25 Full digital sequence storage method and system based on mobile terminal Pending CN105446666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510985776.8A CN105446666A (en) 2015-12-25 2015-12-25 Full digital sequence storage method and system based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510985776.8A CN105446666A (en) 2015-12-25 2015-12-25 Full digital sequence storage method and system based on mobile terminal

Publications (1)

Publication Number Publication Date
CN105446666A true CN105446666A (en) 2016-03-30

Family

ID=55556926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510985776.8A Pending CN105446666A (en) 2015-12-25 2015-12-25 Full digital sequence storage method and system based on mobile terminal

Country Status (1)

Country Link
CN (1) CN105446666A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721882A (en) * 2016-04-18 2016-06-29 上海泥娃通信科技有限公司 Separated coding and decoding method and system
CN107729027A (en) * 2017-10-12 2018-02-23 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage medium virtually handled based on file installation
CN109669974A (en) * 2018-12-27 2019-04-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal meteorological data preservation treatment method, mobile terminal and storage medium
CN112165380A (en) * 2019-04-24 2021-01-01 吕志强 Split type binary data encryption method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8799367B1 (en) * 2009-10-30 2014-08-05 Netapp, Inc. Using logical block addresses with generation numbers as data fingerprints for network deduplication

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8799367B1 (en) * 2009-10-30 2014-08-05 Netapp, Inc. Using logical block addresses with generation numbers as data fingerprints for network deduplication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵晓群: "《信息论基础及应用[M]》", 30 September 2015 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721882A (en) * 2016-04-18 2016-06-29 上海泥娃通信科技有限公司 Separated coding and decoding method and system
CN105721882B (en) * 2016-04-18 2021-01-05 上海泥娃通信科技有限公司 Method for separating coding and decoding
CN107729027A (en) * 2017-10-12 2018-02-23 惠州Tcl移动通信有限公司 A kind of method, mobile terminal and storage medium virtually handled based on file installation
CN107729027B (en) * 2017-10-12 2021-11-23 惠州Tcl移动通信有限公司 File installation virtual processing based method, mobile terminal and storage medium
CN109669974A (en) * 2018-12-27 2019-04-23 Tcl移动通信科技(宁波)有限公司 Mobile terminal meteorological data preservation treatment method, mobile terminal and storage medium
CN112165380A (en) * 2019-04-24 2021-01-01 吕志强 Split type binary data encryption method

Similar Documents

Publication Publication Date Title
CN105446666A (en) Full digital sequence storage method and system based on mobile terminal
CN106201645B (en) A data file conversion method
CN104579360B (en) A kind of method and apparatus of data processing
CN108205519A (en) The multiply-add arithmetic unit of matrix and method
CN109445820A (en) A kind of intelligence contract upgrade method, system, equipment and computer storage medium
CN104981977B (en) For the mismatch noise shaping of digital analog converter
CN105868194A (en) Methods and devices for text data compression and decompression
CN102023843A (en) Function calling method and device as well as smart card
US5619514A (en) In-place present state/next state registers
US9602129B2 (en) Compactly storing geodetic points
CN106598548A (en) Solution method and device for read-write conflict of storage unit
CN103647866A (en) Telephone number compression storage method and uncompressing method, and storage system
CN108053034A (en) Model parameter processing method, device, electronic equipment and storage medium
CN112232025B (en) Character string storage method and device and electronic equipment
CN101783165A (en) Semiconductor memory, semiconductor memory system and corresponding programming method
CN104409098A (en) Chip internal table item with double capacity and implementation method thereof
CN103034975A (en) Image processing method and device
CN102354304A (en) Data transmission method, data transmission device and SOC (system on chip)
CN116204461A (en) Data bit width conversion method and system
CN109542904A (en) Business data processing method, device, server and medium
CN113610223B (en) Multiplication circuit, convolution operation method, medium, system on chip and electronic device
CN108196790B (en) Data management method, storage device, and computer-readable storage medium
CN104424245A (en) Method and device for managing sharing relationship of data table
CN118212962B (en) EEPROM storage method, device and electronic equipment
CN114553740B (en) Method, system, readable storage medium and device for cross-network monitoring

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160330

RJ01 Rejection of invention patent application after publication