CN108021541A - A kind of method and its system for reducing text stored memory - Google Patents

A kind of method and its system for reducing text stored memory Download PDF

Info

Publication number
CN108021541A
CN108021541A CN201711379559.XA CN201711379559A CN108021541A CN 108021541 A CN108021541 A CN 108021541A CN 201711379559 A CN201711379559 A CN 201711379559A CN 108021541 A CN108021541 A CN 108021541A
Authority
CN
China
Prior art keywords
text
information
words
memory
cpu
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
CN201711379559.XA
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.)
Anhui Changtai Information Security Service Co Ltd
Original Assignee
Anhui Changtai Information Security Service 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 Anhui Changtai Information Security Service Co Ltd filed Critical Anhui Changtai Information Security Service Co Ltd
Priority to CN201711379559.XA priority Critical patent/CN108021541A/en
Publication of CN108021541A publication Critical patent/CN108021541A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • G06F40/129Handling non-Latin characters, e.g. kana-to-kanji conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of method and its system for reducing text stored memory, it is related to technical field of information storage.The present invention includes CPU and is achieved by the steps of:Step 1, creates new text and determines store path and establish storage address;Step 2, the identical words of query text;Step 3, query text annex is built according to identical words;Step 4, according to identical words substitute character;Step 5, backs up and stores, CPU is connected by data cable and data cable with memory module;Memory modules memory contains text message and text attachment information and text backup information;CPU calls retrieval module to carry out words retrieval to text message;Wherein, text storage information carries out words by Document Editing module and text attachment information and replaces editor;File backup information is text attachment information.The present invention reduces memory space shared by text by being replaced to excessive same word in text into line character.

Description

A kind of method and its system for reducing text stored memory
Technical field
The invention belongs to technical field of information storage, more particularly to a kind of method for reducing text stored memory and its System.
Background technology
Information storage is according to certain form and to be stored sequentially in the information after processing and sorting sequence specific A kind of information activities in carrier.Its purpose is to rapidly, accurately be identified easy to information manager and information user, Positioning and retrieval information, when being stored to information, people's door is intended to store substantial amounts of letter by less memory space Breath, is handled with the compression that this occurs to information, but compressed information inconvenience is checked, only information is preserved, and Some compressions will cause information to lose frame, destroy the integrality of information.
The content of the invention
It is an object of the invention to provide a kind of method and its system for reducing text stored memory, by establishing text Accessory information, in storage to other texts in the identical words/group of institute substituted into line character, text is reduced in storage with this Taken up space.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of method for reducing text stored memory, is included the following steps:Step 1, creates new text simultaneously Determine store path and establish storage address;Step 2, the identical words of query text;Step 3, is looked into according to identical words structure Ask text attachment;Step 4, according to identical words substitute character;Step 5, backs up and stores.
Preferably, in the step 2, inquiry word words and phrases/group shared by number of characters for 5 characters and more than.
Preferably, in the step 3, matching character is automatically generated according to identical words.
Preferably, in the step 3, query text annex is applicable in the Auto-matching later stage and establishes document, and according to step First, Step 2: step 4 and step 5 carry out successively.
One kind reduces text stored memory system, further includes CPU:The CPU passes through data cable and data cable and storage mould Block is connected;The memory modules memory contains text message and text attachment information and text backup information;The CPU tune Words retrieval is carried out to text message with retrieval module;Wherein, the text storage information passes through Document Editing module and text Accessory information carries out words and replaces editor;The file backup information is text attachment information.
Preferably, function pair text attachment information is encrypted in the CPU call functions encrypting module.
The invention has the advantages that:
The present invention is simple and practical, by establishing text attachment, to be repeated several times in other texts word group in fact using character into Row is replaced, and reduces memory space shared by storage text with this, and text attachment uses other texts, in use Text attachment is backed up, prevents file from losing, text attachment is encrypted by encrypting module, so to text into The certain encryption of row.
Certainly, implement any of the products of the present invention and do not necessarily require achieving all the advantages described above at the same time.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, used required for being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is that the text of the present invention reduces the method flow diagram of memory;
The text that Fig. 2 is the present invention reduces memory control system figure.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, belongs to the scope of protection of the invention.
Refering to Figure 1, the present invention is a kind of method for reducing text stored memory, include the following steps:
Step 1, creates new text and determines store path and establish storage address;
Step 2, the identical words of query text;
Step 3, query text annex is built according to identical words;
Step 4, according to identical words substitute character;
Step 5, backs up and stores.
In step 2, inquiry word words and phrases/group shared by number of characters for 5 characters and more than, in step 3, according to identical Words automatically generates matching character, and query text annex is applicable in the Auto-matching later stage and establishes document, and according to Step 1: step 2nd, step 4 and step 5 carry out successively.
As shown in Fig. 2, a kind of reduce text stored memory system, CPU is further included:CPU by data cable and data cable with Memory module is connected;Memory modules memory contains text message and text attachment information and text backup information;CPU is called Retrieve module and words retrieval is carried out to text message;
Store path and storage address are established when being stored in text message in memory modules, CPU calls retrieval afterwards Module retrieves same word group/section of text message in memory module, simultaneously and newly-built text attachment information;
Wherein, text storage information carries out words by Document Editing module and text attachment information and replaces editor;File Backup information is text attachment information.Function pair text attachment information is encrypted in CPU call function encrypting modules.
It is worth noting that, in said system embodiment, included unit is simply drawn according to function logic Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit is specific Title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in the various embodiments described above method Suddenly it is that relevant hardware can be instructed to complete by program, corresponding program can be stored in one and computer-readable deposit In storage media, the storage medium, such as ROM/RAM, disk or CD.
Present invention disclosed above preferred embodiment is only intended to help and illustrates the present invention.Preferred embodiment is not detailed All details are described to the greatest extent, are not limited the invention to the specific embodiments described.Obviously, according in this specification Hold, can make many modifications and variations.This specification is chosen and specifically describes these embodiments, is in order to preferably explain this The principle and practical application of invention, so that skilled artisan can be best understood by and utilize the present invention.This hair It is bright to be limited only by the claims and their full scope and equivalents.

Claims (6)

  1. A kind of 1. method for reducing text stored memory, it is characterised in that include the following steps:
    Step 1, creates new text and determines store path and establish storage address;
    Step 2, the identical words of query text;
    Step 3, query text annex is built according to identical words;
    Step 4, according to identical words substitute character;
    Step 5, backs up and stores.
  2. A kind of 2. method for reducing text stored memory according to claim 1, it is characterised in that in the step 2, Inquire about word words and phrases/group shared by number of characters for 5 characters and more than.
  3. A kind of 3. method for reducing text stored memory according to claim 1, it is characterised in that in the step 3, Matching character is automatically generated according to identical words.
  4. A kind of 4. method for reducing text stored memory according to claim 1, it is characterised in that in the step 3, Query text annex is applicable in the Auto-matching later stage and establishes document, and according to Step 1: Step 2: step 4 and step 5 successively into OK.
  5. 5. any one as described in claim 1-4 reduces text stored memory system, CPU is further included, it is characterised in that institute CPU is stated by data cable and data cable with memory module to be connected;The memory modules memory contains text message and text attachment Information and text backup information;
    The CPU calls retrieval module to carry out words retrieval to text message;
    Wherein, the text storage information carries out words by Document Editing module and text attachment information and replaces editor;
    The file backup information is text attachment information.
  6. A kind of 6. reduction text stored memory system according to claim 5, it is characterised in that the CPU call functions Function pair text attachment information is encrypted in encrypting module.
CN201711379559.XA 2017-12-15 2017-12-15 A kind of method and its system for reducing text stored memory Pending CN108021541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711379559.XA CN108021541A (en) 2017-12-15 2017-12-15 A kind of method and its system for reducing text stored memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711379559.XA CN108021541A (en) 2017-12-15 2017-12-15 A kind of method and its system for reducing text stored memory

Publications (1)

Publication Number Publication Date
CN108021541A true CN108021541A (en) 2018-05-11

Family

ID=62074145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711379559.XA Pending CN108021541A (en) 2017-12-15 2017-12-15 A kind of method and its system for reducing text stored memory

Country Status (1)

Country Link
CN (1) CN108021541A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271180A1 (en) * 2008-04-24 2009-10-29 International Business Machines Corporation Dictionary for textual data compression and decompression
CN101783788A (en) * 2009-01-21 2010-07-21 联想(北京)有限公司 File compression method, file compression device, file decompression method, file decompression device, compressed file searching method and compressed file searching device
CN102780685A (en) * 2011-05-12 2012-11-14 国际商业机器公司 Method and system for compressing and encrypting data
US20120296983A1 (en) * 2011-05-17 2012-11-22 Microsoft Corporation Managing compression dictionaries
US20130103982A1 (en) * 2011-10-25 2013-04-25 International Business Machines Corporation Log file compression
CN105893337A (en) * 2015-01-04 2016-08-24 伊姆西公司 Method and equipment for text compression and decompression
CN105938469A (en) * 2016-02-15 2016-09-14 大连海事大学 Code storage method, data storage structure of texts and method for compressed storage of texts and statistics output
CN106202172A (en) * 2016-06-24 2016-12-07 中国农业银行股份有限公司 Text compression methods and device
CN107135003A (en) * 2017-04-19 2017-09-05 西安电子科技大学 Text compression methods are realized based on Gzip hardware

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271180A1 (en) * 2008-04-24 2009-10-29 International Business Machines Corporation Dictionary for textual data compression and decompression
CN101783788A (en) * 2009-01-21 2010-07-21 联想(北京)有限公司 File compression method, file compression device, file decompression method, file decompression device, compressed file searching method and compressed file searching device
CN102780685A (en) * 2011-05-12 2012-11-14 国际商业机器公司 Method and system for compressing and encrypting data
US20120296983A1 (en) * 2011-05-17 2012-11-22 Microsoft Corporation Managing compression dictionaries
US20130103982A1 (en) * 2011-10-25 2013-04-25 International Business Machines Corporation Log file compression
CN105893337A (en) * 2015-01-04 2016-08-24 伊姆西公司 Method and equipment for text compression and decompression
CN105938469A (en) * 2016-02-15 2016-09-14 大连海事大学 Code storage method, data storage structure of texts and method for compressed storage of texts and statistics output
CN106202172A (en) * 2016-06-24 2016-12-07 中国农业银行股份有限公司 Text compression methods and device
CN107135003A (en) * 2017-04-19 2017-09-05 西安电子科技大学 Text compression methods are realized based on Gzip hardware

Similar Documents

Publication Publication Date Title
CN108449405A (en) Event-prompting method, device, computer equipment and storage medium
GB2423850B (en) System and method for performing integrated storage operations
US20160080303A1 (en) Determining topic relevance of an email thread
CN101483620B (en) Session reservation method and system in instant communication tool
CA2544717A1 (en) Storing, sending and receiving text message threads on a wireless communication device
US9451423B2 (en) Method and apparatus for recording information during a call
CN109493043A (en) The blocking method, apparatus of transaction record, electronic equipment and storage medium
TWI729709B (en) Data preprocessing method, ciphertext data acquisition method, device and electronic equipment
CN106844558A (en) Intelligent question and answer method and system
CN108121793A (en) A kind of DB Backup dispositions method and device
CN112767113A (en) Account checking data processing method, device and system based on block chain
CN106973008A (en) A kind of selectivity recalls the implementation method of mail
CN103905661B (en) The method and Cloud Server of information forwarding
CN108021541A (en) A kind of method and its system for reducing text stored memory
CN106125956A (en) A kind of information-pushing method based on input method and system
US10110628B2 (en) Phishing source tool
US9654941B2 (en) Method and apparatus for managing interruptions from different modes of communication
CN106528340A (en) Rapid processing method and system for mobile network user signaling data
CN108241513A (en) Data processing method and device
US10789425B2 (en) Generating a response to a natural language command based on a concatenated graph
CN107801166A (en) Packet shows the method and system of short message, and smart mobile phone
CN104572420A (en) Information processing method and system
CN108614900A (en) A kind of data method for quickly retrieving and system
CN110661786B (en) User data system based on chain relation
CN107479989A (en) Broadcast message recording method, Android device and computer-readable recording medium

Legal Events

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

Application publication date: 20180511