CN102314334A - Method for caching content input into application program by user and equipment - Google Patents

Method for caching content input into application program by user and equipment Download PDF

Info

Publication number
CN102314334A
CN102314334A CN2010102166959A CN201010216695A CN102314334A CN 102314334 A CN102314334 A CN 102314334A CN 2010102166959 A CN2010102166959 A CN 2010102166959A CN 201010216695 A CN201010216695 A CN 201010216695A CN 102314334 A CN102314334 A CN 102314334A
Authority
CN
China
Prior art keywords
cache
content
user
subscriber equipment
buffer memory
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
CN2010102166959A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN2010102166959A priority Critical patent/CN102314334A/en
Publication of CN102314334A publication Critical patent/CN102314334A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for caching the content input into an application program by a user and equipment. The method comprises the following steps of: according to a preset cache rule, writing the content input into the application program by the user into a cache database; according to a cache access request, reading the content corresponding to the cache access request from the cache database; and setting the cache rule, namely at least starting a cache function, stopping the cache function, pausing the cache function, and setting a cache validity period, a cache space and a cache triggering rule. The content input into the application program by the user is allowed to be cached, the input efficiency of the user is greatly improved, and the user experience is enhanced.

Description

A kind of method and apparatus that is used for the content of cache user application programs input
Technical field
The present invention relates to literal input field, relate in particular to a kind of method and apparatus that is used for the content of cache user application programs input.
Background technology
In the existing computer character input method; Though local dictionary and network lexicon also can be preserved the content that the user imports application program; But they are the contents of preserving user's input with the entry form; Can not preserve the full content that the user imports application program, comprise symbol,, carriage return, tab etc.When before the user hopes to call, importing the full content of certain application program in a period of time, be this demand that local dictionary or network lexicon all can't satisfy the user.
Summary of the invention
The purpose of this invention is to provide a kind of subscriber equipment and/or the network equipment and method thereof that is used for the content of cache user application programs input.
According to an aspect of the present invention, a kind of method that is used in the content of subscriber equipment end cache user application programs input is provided, this method may further comprise the steps:
According to preset buffer memory rule, the content that the user is inputed to application program writes cache database.
According to another aspect of the present invention, a kind of method that is used in the content of network equipment end auxiliary cache user application programs input is provided also, this method may further comprise the steps:
According to preset buffer memory rule, the content that the user is inputed to application program writes cache database.
According to an aspect of the present invention, a kind of subscriber equipment that is used for the content of cache user application programs input is provided, this subscriber equipment comprises:
First buffer storage is used to preserve the buffer memory rule according to preset, and the user who writes cache database inputs to the content of application program.
According to a further aspect in the invention, a kind of network equipment that is used for the content of auxiliary cache user application programs input is provided, this network equipment comprises:
Second buffer storage is used to preserve the buffer memory rule according to preset, and the user who writes cache database inputs to the content of application program.
In accordance with a further aspect of the present invention, a kind of system that is used for the content of cache user application programs input is provided, has comprised as aforementioned according to the subscriber equipment of one aspect of the invention and the network equipment according to a further aspect of the invention.
Compared with prior art, the present invention allows the content of cache user application programs input, has greatly improved user's input efficiency, and has strengthened user experience.
Description of drawings
Through reading the detailed description of doing with reference to following accompanying drawing that non-limiting example is done, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is the synoptic diagram of subscriber equipment of the content of cache user application programs input in accordance with a preferred embodiment of the present invention;
Fig. 2 is the synoptic diagram of the network equipment of the content of auxiliary cache user application programs input in accordance with a preferred embodiment of the present invention;
Fig. 3 is in accordance with a preferred embodiment of the present invention at the process flow diagram of the method for the content of subscriber equipment end cache user application programs input;
Fig. 4 is in accordance with a preferred embodiment of the present invention at the process flow diagram of the method for the content of network equipment end auxiliary cache user application programs input.
Same or analogous Reference numeral is represented same or analogous parts in the accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Fig. 1 illustrates the subscriber equipment 1 of the content of cache user application programs input in accordance with a preferred embodiment of the present invention.Wherein, subscriber equipment 1 can be any electronic product that can carry out man-machine interaction through keyboard, telepilot, touch pad or voice-operated device with the user, for example computing machine, smart mobile phone, PDA, game machine or IPTV etc.
Comprise first buffer storage 11, first reading device 12 and regular setting device 13 in the subscriber equipment 1.
Particularly, first buffer storage 11 is through any interactive device that can carry out man-machine interaction with the user, and according to preset buffer memory rule, the content that the user is inputed to application program writes cache database.This interactive device can be keyboard, telepilot, touch pad or voice-operated device etc.With the keyboard is example, and when the user knocked that button is imported in the keyboard, first buffer storage 11 write cache database with the content of user's input.
First reading device 12 reads the said content corresponding to said cache access request according to the cache access request from said cache database.For example, in the word document, imported one big section content before the user, this word document is not preserved, and existing to this section of cache database proposition visit requests for content, then first reading device 12 can read this section content from cache database.
Rule setting device 13 is used to be provided with the buffer memory rule.Particularly, the buffer memory rule can comprise or several in the following content: open caching function, close caching function, suspend caching function, set the buffer memory term of validity, set spatial cache and buffer memory triggering rule.Wherein, can pass through particular hot key, for example F1 sets and opens or close caching function, and F5 sets and suspends caching function; For buffer memory, be the perhaps preset certain storage field of the buffer memory term of validity preset certain storage time and be spatial cache; Can also be through setting particular hot key or monogram as the triggering rule that reads cache contents.Those skilled in the art will be understood that the buffer memory rule includes but not limited to foregoing.
Preferably, be to work circularly between first buffer storage 11, first reading device 12 and the regular setting device 13.Particularly, first buffer storage 11 is through any interactive device that can carry out man-machine interaction with the user, and according to preset buffer memory rule, the content that constantly user is inputed to application program writes cache database; First reading device 12 reads the said content corresponding to said cache access request according to the cache access request from said cache database; Rule setting device 13 is reset the buffer memory rule.For example, first buffer storage 11 is through keyboard, after the F1 key is opened caching function; One section content with regard to user's input writes cache database, and first reading device 12 reads out this section content according to user's access request; Rule setting device 13 is reset the F5 key for after suspending the caching function key; Press F5,11 of first buffer storages are carried out new buffer memory rule, and the content of suspending user's input writes cache database.
More preferably, also comprise encryption device 14 and identification authentication system 15 in the subscriber equipment 1.Encryption device 14 is used for according to preset buffer memory rule the user being inputed to the content-encrypt of application program and writing said cache database.Identification authentication system 15 is used for according to authentication, from said cache database, reads the said content corresponding to said cache access request.In order to protect user's privacy, encryption device 14 places after first buffer storage 11, writes cache database after the content that the user inputs to application program can also be encrypted.Same purpose is applied to identification authentication system 15.Identification authentication system 15 places after first reading device 12, and reading of cache database not only needed access request, also needs authentication.Said cache database is included in local cache storehouse and the network-caching storehouse in the network equipment in the local device.
Fig. 2 illustrates the network equipment 2 of the content of a preferred embodiment of the invention auxiliary cache user application programs input.This network can be internet, in-house network etc., below is the example explanation with the internet, and the network equipment 2 can be the webserver, minihose, mainframe etc.
Comprise second buffer storage 21 and first reading device 22 in the network equipment 2.Particularly, second buffer storage 21 is used to preserve the buffer memory rule according to preset, and the user who writes cache database inputs to the content of application program.Second reading device 22 is used for according to the cache access request, from said cache database, reads the said content corresponding to said cache access request.For example, preset buffer memory rule is registered user's logging in network server, and after registered user's login, the content of login user input application program can write the network-caching storehouse.When login user need propose access request, second reading device 22 promptly can read content corresponding from the network-caching storehouse.Can also the local cache storehouse be synchronized to the network-caching storehouse,, be input to the content of application program before can reading equally as registered user during in the login of other entry terminals.
Fig. 3 is the process flow diagram of method in accordance with a preferred embodiment of the present invention, wherein is illustrated in the method for the content of subscriber equipment end cache user application programs input.
Step S101, according to preset buffer memory rule, the content that the user is inputed to application program writes cache database.Particularly, subscriber equipment 1 is through any interactive device that can carry out man-machine interaction with the user, and according to preset buffer memory rule, the content that the user is inputed to application program writes cache database.Wherein, subscriber equipment 1 can be any electronic product that can carry out man-machine interaction through keyboard, telepilot, touch pad or voice-operated device with the user, for example computing machine, smart mobile phone, PDA, game machine or IPTV etc.; Interactive device can be keyboard, telepilot, touch pad or voice-operated device etc.With the keyboard is example, and when the user knocked that button is imported in the keyboard, subscriber equipment 1 write cache database with the content of user's input.
Step S103 according to the cache access request, reads the said content corresponding to said cache access request from said cache database.For example; In the word document, imported one big section content before the user; According to the cache access request, from said cache database, read corresponding to said cache access content, this word document is not preserved; Existing to this section of cache database proposition visit requests for content, then subscriber equipment 1 can read this section content from cache database.
Step S105 is provided with the buffer memory rule.Particularly, the buffer memory rule can comprise or several in the following content: open caching function, close caching function, suspend caching function, set the buffer memory term of validity, set spatial cache and buffer memory triggering rule.Wherein, can pass through particular hot key, for example F1 sets and opens or close caching function, and F5 sets and suspends caching function; For buffer memory, be the perhaps preset certain storage field of the buffer memory term of validity preset certain storage time and be spatial cache; Can also be through setting particular hot key or monogram as the triggering rule that reads cache contents.Those skilled in the art will be understood that the buffer memory rule includes but not limited to foregoing.
Step S101 is the process of a periodic duty to S105.Particularly, subscriber equipment 1 is through any interactive device that can carry out man-machine interaction with the user, and according to preset buffer memory rule, the content that constantly user is inputed to application program writes cache database; According to the cache access request, from said cache database, read said content again corresponding to said cache access request; Reset the buffer memory rule then.For example, subscriber equipment 1 is through keyboard, after the F1 key is opened caching function; One section content with regard to user's input writes cache database, and subscriber equipment 1 reads out this section content again according to user's access request; Reset the F5 key then for after suspending the caching function key; Press F5,1 of subscriber equipment is carried out new buffer memory rule, and the content of suspending user's input writes cache database.
Preferably; Also comprise step S102 in this method flow process; According to preset buffer memory rule; The user is inputed to the content-encrypt of application program and writes said cache database and step S104,, from said cache database, read said content corresponding to said cache access request according to authentication.In order to protect user's privacy, after the step S101, after can also encrypting, the content that the user inputs to application program writes cache database.Same purpose is applied to step S104.Reading of cache database not only needed access request, also need authentication.Said cache database is included in local cache storehouse and the network-caching storehouse in the network equipment in the local device.
Fig. 4 illustrates the method flow diagram of a preferred embodiment of the invention, wherein, is illustrated in the method for the content of network equipment end auxiliary cache user application programs input.This network can be internet, in-house network etc., below is the example explanation with the internet, and the network equipment 2 can be the webserver, minihose, mainframe etc.
Step S201, according to preset buffer memory rule, the content that the user is inputed to application program writes cache database.
Step S202 according to the cache access request, reads the said content corresponding to said cache contents request from said cache database.
For example, preset buffer memory rule is registered user's logging in network server, and after registered user's login, the content of login user input application program can write the network-caching storehouse.When login user need propose access request, the network equipment 2 promptly can read content corresponding from the network-caching storehouse.Can also the local cache storehouse be synchronized to the network-caching storehouse,, be input to the content of application program before can reading equally as registered user during in the login of other entry terminals.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and under the situation that does not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore; No matter from which point; All should regard embodiment as exemplary; And be nonrestrictive, scope of the present invention is limited accompanying claims rather than above-mentioned explanation, therefore is intended to the implication of the equivalents that drops on claim and all changes in the scope are included in the present invention.Should any Reference numeral in the claim be regarded as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " speech, and odd number is not got rid of plural number.A plurality of unit of stating in system's claim or device also can be realized through software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (23)

1. method that is used in the content of subscriber equipment end cache user application programs input, this method may further comprise the steps:
A is according to preset buffer memory rule, and the content that the user is inputed to application program writes cache database.
2. method according to claim 1, wherein, this method also comprises:
B reads the said content corresponding to said cache access request according to the cache access request from said cache database.
3. method according to claim 1 and 2, wherein, this method also comprises:
C is provided with the buffer memory rule.
4. according to each described method in the claim 1 to 3, wherein, said buffer memory rule comprises at least one in the following:
-unlatching caching function;
-close caching function;
-time-out caching function;
-setting buffer memory the term of validity;
-setting spatial cache;
-buffer memory triggering rule.
5. according to each described method in the claim 1 to 4, wherein, said step a also comprises:
-according to preset buffer memory rule, the user is inputed to the content-encrypt of application program and writes cache database.
6. according to each described method in the claim 1 to 5, wherein, said step b also comprises:
-according to the buffer memory authentication, from said cache database, read said content corresponding to said cache contents request.
7. according to each described method in the claim 1 to 6, wherein, said cache database also is included in the local cache storehouse in the said subscriber equipment.
8. method according to claim 7, wherein, said cache database also is included in the network-caching storehouse in the network equipment.
9. according to each described method in the claim 1 to 8, wherein, said subscriber equipment comprises: computing machine, smart mobile phone, PDA, game machine or IPTV etc.
10. method that is used in the content of network equipment end auxiliary cache user application programs input, this method may further comprise the steps:
A is according to preset buffer memory rule, and the content that the user is inputed to application program writes cache database.
11. method according to claim 10, wherein, this method also comprises:
B reads the said content corresponding to said cache contents request according to the cache access request from said cache database.
12. a subscriber equipment that is used for the content of cache user application programs input, this subscriber equipment comprises:
First buffer storage is used to preserve the buffer memory rule according to preset, and the user who writes cache database inputs to the content of application program.
13. subscriber equipment according to claim 12, wherein, said subscriber equipment also comprises:
First reading device is used for according to the cache access request, from said cache database, reads the said content corresponding to said cache access request.
14. according to claim 12 or 13 described subscriber equipmenies, wherein, said subscriber equipment also comprises:
The rule setting device is used to be provided with the buffer memory rule.
15. subscriber equipment according to claim 14, wherein, said buffer memory rule comprises at least one in the following:
-unlatching caching function;
-close caching function;
-time-out caching function;
-setting buffer memory the term of validity;
-setting spatial cache;
-buffer memory triggering rule.
16. according to each described subscriber equipment in the claim 12 to 15, wherein, said subscriber equipment also comprises:
Encryption device is used for according to preset buffer memory rule the user being inputed to the content-encrypt of application program and writing said cache database.
17. according to each described subscriber equipment in the claim 12 to 16, wherein, said subscriber equipment also comprises:
Identification authentication system is used for according to authentication, from said cache database, reads the said content corresponding to said cache access request.
18. according to each described subscriber equipment in the claim 12 to 17, wherein, said cache database also is included in the local cache storehouse in the said subscriber equipment.
19. subscriber equipment according to claim 18, wherein, said cache database also is included in the network-caching storehouse in the network equipment.
20. according to each described subscriber equipment in the claim 12 to 19, wherein, said subscriber equipment comprises: computing machine, smart mobile phone, PDA, game machine or IPTV etc.
21. a network equipment that is used for the content of auxiliary cache user application programs input, this network equipment comprises:
Second buffer storage is used to preserve the buffer memory rule according to preset, and the user who writes cache database inputs to the content of application program.
22. the network equipment according to claim 21, wherein, the said network equipment also comprises:
Second reading device is used for according to the cache access request, from said cache database, reads the said content corresponding to said cache access request.
23. a system that is used for the content of cache user application programs input comprises like each described subscriber equipment in the claim 12 to 20 reaching the network equipment like claim 21 or 22.
CN2010102166959A 2010-06-30 2010-06-30 Method for caching content input into application program by user and equipment Pending CN102314334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102166959A CN102314334A (en) 2010-06-30 2010-06-30 Method for caching content input into application program by user and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102166959A CN102314334A (en) 2010-06-30 2010-06-30 Method for caching content input into application program by user and equipment

Publications (1)

Publication Number Publication Date
CN102314334A true CN102314334A (en) 2012-01-11

Family

ID=45427535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102166959A Pending CN102314334A (en) 2010-06-30 2010-06-30 Method for caching content input into application program by user and equipment

Country Status (1)

Country Link
CN (1) CN102314334A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599721A (en) * 2016-12-13 2017-04-26 微梦创科网络科技(中国)有限公司 Cache-based data access method and apparatus
CN106802950A (en) * 2017-01-16 2017-06-06 郑州云海信息技术有限公司 A kind of method of distributed file system small documents write buffer optimization
CN109889656A (en) * 2018-12-29 2019-06-14 深圳豪客互联网有限公司 A kind of method for reading data, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1089375A (en) * 1992-12-31 1994-07-13 陈劲松 " frequent association environment " word input method
US20050027534A1 (en) * 2003-07-30 2005-02-03 Meurs Pim Van Phonetic and stroke input methods of Chinese characters and phrases
CN101030157A (en) * 2007-04-20 2007-09-05 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN101067766A (en) * 2006-12-22 2007-11-07 腾讯科技(深圳)有限公司 Method for cancelling character string in inputting method and word inputting system
CN101169789A (en) * 2007-11-30 2008-04-30 腾讯科技(深圳)有限公司 Word library updating device and method based on input method
US20080126314A1 (en) * 2006-11-27 2008-05-29 Sony Ericsson Mobile Communications Ab Word prediction
CN101334774A (en) * 2007-06-29 2008-12-31 北京搜狗科技发展有限公司 Character input method and input method system
CN101441524A (en) * 2008-11-26 2009-05-27 腾讯科技(深圳)有限公司 Method and apparatus for generating alternating content in input method
CN101515205A (en) * 2008-02-18 2009-08-26 普天信息技术研究院有限公司 Chinese dynamic associating input method
CN101739142A (en) * 2009-12-02 2010-06-16 腾讯科技(深圳)有限公司 Five-stroke input system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1089375A (en) * 1992-12-31 1994-07-13 陈劲松 " frequent association environment " word input method
US20050027534A1 (en) * 2003-07-30 2005-02-03 Meurs Pim Van Phonetic and stroke input methods of Chinese characters and phrases
US20080126314A1 (en) * 2006-11-27 2008-05-29 Sony Ericsson Mobile Communications Ab Word prediction
CN101067766A (en) * 2006-12-22 2007-11-07 腾讯科技(深圳)有限公司 Method for cancelling character string in inputting method and word inputting system
CN101030157A (en) * 2007-04-20 2007-09-05 北京搜狗科技发展有限公司 Method and system for updating user vocabulary synchronouslly
CN101334774A (en) * 2007-06-29 2008-12-31 北京搜狗科技发展有限公司 Character input method and input method system
CN101169789A (en) * 2007-11-30 2008-04-30 腾讯科技(深圳)有限公司 Word library updating device and method based on input method
CN101515205A (en) * 2008-02-18 2009-08-26 普天信息技术研究院有限公司 Chinese dynamic associating input method
CN101441524A (en) * 2008-11-26 2009-05-27 腾讯科技(深圳)有限公司 Method and apparatus for generating alternating content in input method
CN101739142A (en) * 2009-12-02 2010-06-16 腾讯科技(深圳)有限公司 Five-stroke input system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
SHAILY: "《Cookies 的读写》", 《CSDN 博客》 *
孟庆: "《打字也疯狂 搜狗云输入法开先河》", 《HTTP://CLOUD.IT168.COM/A2009/1113/808/000000808782.SHTML》 *
搜狐IT: "《搜狗云输入法给我们带来什么?》", 《HTTP://IT.SOHU.COM/20091102/N267901438.SHTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599721A (en) * 2016-12-13 2017-04-26 微梦创科网络科技(中国)有限公司 Cache-based data access method and apparatus
CN106802950A (en) * 2017-01-16 2017-06-06 郑州云海信息技术有限公司 A kind of method of distributed file system small documents write buffer optimization
CN109889656A (en) * 2018-12-29 2019-06-14 深圳豪客互联网有限公司 A kind of method for reading data, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109819284B (en) Short video recommendation method and device, computer equipment and storage medium
US9864482B2 (en) Method of navigating through digital content
US9607088B2 (en) Method and apparatus for detecting multimedia content change, and resource propagation system
CN108259318A (en) A kind of information issuing method and device
CN102314222A (en) Self-adaptive input method, equipment and system
CN104967908A (en) Video hot spot marking method and apparatus
JP2010522377A5 (en)
CN103491062A (en) Method and device for generating password
CN107391587A (en) Link is shared and access method, server, terminal and computer-readable storage medium
CN112468409A (en) Access control method, device, computer equipment and storage medium
CN104657359B (en) A kind of method that web page contents and style are recorded by network address
CN104092653A (en) Data processing method and system
CN102314334A (en) Method for caching content input into application program by user and equipment
CN101853349A (en) Digital product license management system
CN105653994A (en) Method for preventing memory password from leakage
CN103095663A (en) Information interactive method among non-login users and device
CN102902686A (en) Web page detection method and system
AU2010325337B2 (en) Method for protecting application and method for executing application using the same
CN104426834A (en) Webpage requesting method, client, server and system
CN102982011A (en) Method and device for identifying out-of-sequence texts
US20150304460A1 (en) Method and apparatus for assembling data, and resource propagation system
CN102982012A (en) Method and device used for obtaining target character strings in disorder text
CN115203391A (en) Information retrieval method and device, computer equipment and storage medium
Fu et al. Text split‐based steganography in OOXML format documents for covert communication
CN110781523B (en) Method and apparatus for processing information

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20120111