CN106407020A - Database processing method of mobile terminal and mobile terminal thereof - Google Patents

Database processing method of mobile terminal and mobile terminal thereof Download PDF

Info

Publication number
CN106407020A
CN106407020A CN201611034008.5A CN201611034008A CN106407020A CN 106407020 A CN106407020 A CN 106407020A CN 201611034008 A CN201611034008 A CN 201611034008A CN 106407020 A CN106407020 A CN 106407020A
Authority
CN
China
Prior art keywords
lock
file
write
read
write operation
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
CN201611034008.5A
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201611034008.5A priority Critical patent/CN106407020A/en
Publication of CN106407020A publication Critical patent/CN106407020A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/524Deadlock detection or avoidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/217Database tuning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

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

Abstract

The embodiment of the invention provides a database processing method of a mobile terminal. The database processing method comprises the following steps: acquiring a file waiting to be written in a database; writing threading to add a write file lock, carrying out write operation on a preset line number of the file; reading the threading to apply for read operation, informing the write file lock, and carrying out waiting; writing the threading to complete the write operation, releasing the write file lock, reading the threading to inform that the write file lock is released, and carrying out read operation. The time for single write operation is little compared with the time for overall write operation, the time waiting for the read operation is reduced, and the problem that the interface is waited for a long period of time is reduced.

Description

A kind of data base processing method of mobile terminal and its mobile terminal
Technical field
The present invention relates to technical field, more particularly to a kind of data base processing method of mobile terminal and its shifting of communication Dynamic terminal.
Background technology
With the development of communication science and technology, the intelligent terminal such as mobile phone, wrist-watch is in the work of people, study, daily exchange Utilization rate also more and more higher etc. each side.
The many applications running on intelligent terminal can use database(As SQLite)To store the data of user operation, Especially social networking application, such as JICQ, note application etc., need to write a database in background thread, and with When need in main thread in UI(User Interface, user interface)Display data, then main thread can generate sub-line journey, should Same database is read in sub-line journey.
Although the object of the object of read operation and write operation is not same table, the data place such as SQLite The lock using is file lock, for same database, does not allow to execute other read operations or write operation while write operation.
In many cases, certain operation triggering one thread carries out write operation, and meanwhile, another operation triggers another thread and enters Row read operation.
If this thread long period is in write operation, another thread long period is in the state of wait, due to reading Time is longer, easily the efficiency of other operations of impact, the problems such as being likely to result in interface and be in wait for a long time.
For example, note is applied, when there being unread short messages, enter message list interface every time, will be in database The field whether being seen with regard to unread short messages is designated as seeing(Write operation)But, user it would also be desirable to be able to immediately in row All notes are checked in table(Read operation)If, the overlong time of the mark of field, lead to fail short message reading for a long time, will Cause message list interface to delay to load data, affect Consumer's Experience.
At present some schemes will be concurrent with read operation for write operation, but, these schemes often increase deadlock probability and Consumption to internal memory, can cause to apply out of service after deadlock, in order to solve Deadlock, can increase more complicated toward contact Logic control, complexity is high, in addition, for some smaller intelligent terminals of internal memory itself, increasing the consumption of internal memory often Drag the operation smoothness degree of slow whole operation system, cause the operation interim card of operating system.
Content of the invention
In view of the above problems, in order to the write operation overlong time solving above-mentioned database leads to read operation execution time long Problem, the embodiment of the present invention proposes a kind of data base processing method of mobile terminal and its mobile terminal.
In order to solve the above problems, the embodiment of the invention discloses a kind of data base processing method of mobile terminal, including:
Obtain the file of database to be written;
Write thread and add written document lock, the default line number of described file is carried out row write operation;
Read thread application read operation, know and have written document to lock, waited;
Write thread and complete described row write operation, release written document lock;
Read thread and know written document lock release, carry out read operation.
The embodiment of the present invention also discloses a kind of mobile terminal simultaneously, including:
File acquisition module, for obtaining the file of database to be written;
Write operation module, is used for writing thread and adds written document lock, the default line number of described file is carried out row write operation;
Read operation module, for reading thread application read operation, knows and has written document to lock, waited;
Write operation module, is additionally operable to complete described row write operation, release written document lock;
Read operation module, is additionally operable to reading thread and knows written document lock release, carry out read operation.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention regards write operation as file for write operation to be carried out, and piecemeal writes data Storehouse, the data of each section is relatively independent, by file partially write operation write into Databasce, with write partial data Afterwards, can lock releasing document temporarily, for reading thread, read operation be carried out to database, read data in time and shown Show etc. and to process it is achieved that the timely utilization of database resource, because the time of read operation is generally Millisecond, very of short duration it is ensured that The normal execution of overall write operation, can't substantially increase the time of overall write operation, on the one hand, the time of single write operation The time of relatively overall write operation will be lacked, and decrease the time of read operation wait, improve the efficiency of operation, reduce interface long-time The problems such as be in wait;On the other hand, because write operation and read operation are execution of connecting, will not be concurrent with read operation because of write operation And the deadlock probability causing and the consumption to internal memory.
Brief description
Fig. 1 is a kind of flow chart of steps of the processing method embodiment of database of the present invention;
Fig. 2 is the flow chart of steps of the data base processing method of the mobile terminal of another kind of embodiment of the present invention;
Fig. 3 A is a kind of database manipulation flow chart of the embodiment of the present invention;
Fig. 3 B is the equivalent process figure of the database manipulation flow chart of Fig. 3 A;
Fig. 4 is a kind of structured flowchart of mobile terminal apparatus embodiment of the present invention.
Specific embodiment
Understandable for enabling the above objects, features and advantages of the present invention to become apparent from, below in conjunction with the accompanying drawings and specifically real The present invention is further detailed explanation to apply mode.
With reference to Fig. 1, show a kind of flow chart of steps of the processing method embodiment of database of the present invention, specifically permissible Comprise the steps:
Step 101, obtains the file of database to be written.
Step 102, writes thread and adds written document lock, the default line number of described file is carried out row write operation.
Step 103, reads thread application read operation, knows and has written document to lock, is waited.
Step 104, writes thread and completes described row write operation, release written document lock.
Step 105, reads thread and knows written document lock release, carry out read operation.
In implementing, the embodiment of the present invention can apply in various intelligent terminals, for example, computer, mobile phone, PDA (Personal Digital Assistant, personal digital assistant), laptop computer, palm PC etc., the present invention is real Apply example this is not any limitation as.
This intelligent terminal can support Windows, Android(Android), the operating system such as IOS, WindowsPhone, lead to Often can configuration database in an operating system, such as SQLite database.
This database when carrying out write operation, read operation, lock by configuration file, forbids carrying out other write operations simultaneously, reads behaviour Make.
With reference to Fig. 2, show the flow chart of steps of another embodiment of the present invention, specifically may include steps of:
Step 201, obtains the file of database to be written.
Step 202, writes thread and adds written document lock, the default line number of described file is carried out row write operation.
Step 203, reads thread application read operation, knows and has written document to lock, is waited.
Step 204, writes thread and completes described row write operation, release written document lock.
Step 205, reads thread and knows written document lock release, plus read file lock, read operation, release read file lock, display data.
Step 206, writes thread and adds written document lock, described file is left part and chooses the row that default line number carries out next time Write operation.
In embodiments of the present invention, write into journey before carrying out write operation, can lock to SQLite database application documents, SQLite database is locked, provides interface fcntl () to realize in POSIX standard.
SQLite database has a lock file(lock file), in the presence of lock file, it has been considered as this database Through being locked, other process should not access.When lock does not exist, write into journey and just can create a lock file, then access phase The data answered.
Can ensure that a certain moment only one of which process has this lock it is ensured that a certain moment only one of which process accesses literary composition Part, for same partial content, the file lock mutual exclusion of the file lock of read operation and write operation.
In embodiments of the present invention, if the file lock application success of write operation, can decide whether file is complete Portion's data write into Databasce, if whole write into Databasce, terminates write operation, without whole write into Databasces, then Continue the data not write write into Databasce.
If the file lock application failure of write operation, other processes may be had to carry out write operation, read operation, now permissible Wait, until the file lock application success of write operation.
Data in file is generally measured with row, can regard by the data in file line by line write operation as Write into Databasce, the write of each row of data is relatively independent.
In this example, total line number of file the line number in real-time statistics written data storehouse can be precalculated, also It is to have write line number.
If having write line number to be less than total line number of file then it represents that file also has in the non-write into Databasce of partial data, such as Fruit has been write line number and has been equal to total line number of file then it represents that in the total data written data storehouse of file.
In the implementing of the present embodiment, can judge whether to be stored with specified storage region and write for record The variable of line number;If so, then extract the value of variable, obtain and write line number;If it is not, then arranging variable in specified storage region, And initial value is set, initial value is usually arranged as 0.
In implementing, write operation can be by the partial data write into Databasce of write into Databasce non-in file each time In.
In order to ensure the normal storage of this document, typically according to the data order write into Databasce of file, that is, this The data of write operation write into Databasce is generally connected with the data of last write operation write into Databasce.
Certainly, if can ensure that the accuracy of the data of write into Databasce it is also possible to incite somebody to action by modes such as mark positions In file write data storehouse, the embodiment of the present invention is not any limitation as to this.
In an example of the embodiment of the present invention, can write data in database according to the row order of data, often Write operation can write the data of certain default line number.
When writing each row of data, start to write from first trip data, meanwhile, record current line number, such as record is deposited in specified The value in storage area domain, and judge whether the data that this write operation writes reaches the value of default line number, if reached, terminate this Write operation, if do not reached, continues to write a line.
Wherein, if the value of default line number is a numerical value set in advance, can be by writing line number to default row The mode that the value of number takes the remainder judges whether this write operation reaches the value of default line number, when that is, remainder is 0, reaches default row Number, otherwise, does not reach default line number.
Certainly, the value of this default line number can also be according to the resource utilization of intelligent terminal, the data volume of file, random choosing Take, the factor such as probability selection is configured, such as resource utilization is higher, and the probability of read operation is higher, default line number setting is got over Low, so can ensure that the execution of read operation.
If this write operation completes, you can to discharge the file lock of the write operation of database, then dormancy(sleep)One The section time, such as 1ms is so that read operation can be carried out during this period.
The embodiment of the present invention regards write operation as file for write operation to be carried out, and piecemeal writes number According to storehouse, the data of each section is relatively independent, file is passed through write operation write into Databasce at least twice, with write section After divided data, can lock releasing document temporarily, so that other threads carry out read operation to database, read data in time And carry out the process such as showing it is achieved that the time division multiplex of database resource, because the time of read operation is generally Millisecond, very short Temporarily it is ensured that the normal execution of overall write operation, can't substantially increase the time of overall write operation, on the one hand, mono-recordable is grasped The time of the relatively overall write operation time made will be lacked, and decrease the time of read operation wait, improve the efficiency of operation, reduce boundary The problems such as face is in wait for a long time;On the other hand, because write operation and read operation are execution of connecting, decrease because write operation with Read operation is concurrent and causes deadlock probability and the consumption to internal memory.
As shown in Figure 3A, in the database manipulation mechanism of the embodiment of the present invention, on the one hand, write thread when starting, In one total write operation, it is divided at least two points of write operations, in each point of write operation, add written document lock to this database, this When time be start to write time point, if plus written document lock successfully, execution write operation, by partial data write into Databasce In, if write operation completes, release written document lock, the time now is write time point for end, so repeats a point write operation, Finally total data is write data.
On the other hand, when starting, to database application read operation, the time now is application read time point to process of reading, If application read time point is later than and starting to write time point, writes time point early than end, the feelings that is, database is in plus written document is locked Under condition, waited, process to be written is finished after release written document lock in certain point of write operation, to database plus reading file Lock, the time now is to start read time point, if add reading file lock success, executing read operation, if read operation completes, releasing Put reading file lock, the time now is to terminate read time point, and shows the data of reading, when this starts read time point with terminating to read Between put and be all later than a last minute write operation and terminate to write time point, early than divide next time write operation start write time point.
Although write operation is connected respectively with read operation in two threads carrying out, made by interim releasing document lock Obtain and carry out read operation during write operation, database can quickly carry out the reaction of read operation, as shown in Figure 3 B, database Read-write flow process can be equivalent to carry out parallel write operation, read operation, display data.
In the present embodiment, note is applied, when there being unread short messages, every time enter message list interface, will be The field whether being seen with regard to unread short messages in SQLite database is designated as seeing(Write operation)But, user is also uncommon Prestige can check all notes immediately in lists(Read operation), because write operation enters row write to default line number, ensure that word The time of the mark of section, after the completion of the write operation to default line number, read operation began to from SQLite number in certain scope According to short message reading in storehouse it is ensured that it is in the range of the regular hour that message list interface loads data, after read operation completes Write operation is further continued for carrying out, and for magnanimity note, ensure that user opens note and just can show note data quickly, Quick display be ensure that on the time, improve Consumer's Experience.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of action group Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, the involved action not necessarily present invention is implemented Example is necessary.
With reference to Fig. 4, show a kind of structured flowchart of mobile terminal embodiment of the present invention, specifically can include following mould Block:
File acquisition module 401, for obtaining the file of database to be written;
Write operation module 402, is used for writing thread and adds written document lock, the default line number of described file is carried out row write operation.
Read operation module 403, for reading thread application read operation, knows and has written document to lock, waited.
Write operation module 402, is additionally operable to complete described row write operation, release written document lock.
Read operation module 403, is additionally operable to reading thread and knows written document lock release, carry out read operation.
In one embodiment of the invention,
Read operation module 403, specifically also includes:Know written document lock release for reading thread, plus read file lock, read operation;Release Put reading file lock;Display data.
Write operation module 402 also includes:For adding written document lock, line number is preset in remaining for described file part selection and carries out Row write operation next time.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is all described by the way of going forward one by one, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar partly mutually referring to.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present invention can be provided as method, device or calculate Machine program product.Therefore, the embodiment of the present invention can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the embodiment of the present invention can using one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of program code The form of the computer program implemented.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program The flow chart of product and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or block diagram In each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or square frame combination.These can be provided Computer program instructions set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to produce a machine so that holding by the processor of computer or other programmable data processing terminal equipments The instruction of row produces for realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame The device of the function of specifying.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing terminal equipments So that the instruction being stored in this computer-readable memory produces bag in the computer-readable memory working in a specific way Include the manufacture of command device, this command device is realized in one flow process of flow chart or multiple flow process and/or one side of block diagram The function of specifying in frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing terminal equipments so that Series of operation steps is executed on computer or other programmable terminal equipments to produce computer implemented process, thus On computer or other programmable terminal equipments, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process And/or the step of the function of specifying in one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to Including preferred embodiment and fall into being had altered and changing of range of embodiment of the invention.
Last in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant meaning Covering comprising of nonexcludability, so that include a series of process of key elements, method, article or terminal device not only wrapping Include those key elements, but also include other key elements being not expressly set out, or also include for this process, method, article Or the intrinsic key element of terminal device.In the absence of more restrictions, by wanting that sentence "including a ..." limits It is not excluded that also there is other identical element in process, method, article or the terminal device including described key element in element.
Above to a kind of data base processing method of mobile terminal provided by the present invention and its mobile terminal, carry out in detail Thin introduce, specific case used herein is set forth to the principle of the present invention and embodiment, the saying of above example Bright it is only intended to help and understands the method for the present invention and its core concept;Simultaneously for one of ordinary skill in the art, foundation The thought of the present invention, all will change in specific embodiments and applications, and in sum, this specification content is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of data base processing method of mobile terminal is it is characterised in that include:
Obtain the file of database to be written;
Write thread and add written document lock, the default line number of described file is carried out row write operation;
Read thread application read operation, know and have written document to lock, waited;
Write thread and complete described row write operation, release written document lock;
Read thread and know written document lock release, carry out read operation.
2. method according to claim 1 knows written document lock release it is characterised in that reading thread, carries out read operation, tool Body includes:
Read thread and know written document lock release, plus read file lock, read operation;
Release read file lock;
Display data.
3. method according to claim 2 is it is characterised in that also include:
Write thread and add written document lock, described file is left part and chooses the row write operation that default line number carries out next time.
4. method according to claim 1 it is characterised in that
Described default line number is a self-defining constant.
5. method according to claim 1 it is characterised in that
Described database is SQLite database.
6. a kind of mobile terminal is it is characterised in that include:
File acquisition module, for obtaining the file of database to be written;
Write operation module, is used for writing thread and adds written document lock, the default line number of described file is carried out row write operation;
Read operation module, for reading thread application read operation, knows and has written document to lock, waited;
Write operation module, is additionally operable to complete described row write operation, release written document lock;
Read operation module, is additionally operable to reading thread and knows written document lock release, carry out read operation.
7. device according to claim 6, it is characterised in that described read operation module, also includes:
Know written document lock release for reading thread, plus read file lock, read operation;Release read file lock;Display data.
8. device according to claim 7 is it is characterised in that described write operation module also includes:
For plus written document lock, described file is left part and chooses the row write operation that default line number carries out next time.
9. device according to claim 6 is it is characterised in that described default line number is a self-defining constant.
10. device according to claim 6 is it is characterised in that described database is SQLite database.
CN201611034008.5A 2016-11-23 2016-11-23 Database processing method of mobile terminal and mobile terminal thereof Pending CN106407020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611034008.5A CN106407020A (en) 2016-11-23 2016-11-23 Database processing method of mobile terminal and mobile terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611034008.5A CN106407020A (en) 2016-11-23 2016-11-23 Database processing method of mobile terminal and mobile terminal thereof

Publications (1)

Publication Number Publication Date
CN106407020A true CN106407020A (en) 2017-02-15

Family

ID=58082441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611034008.5A Pending CN106407020A (en) 2016-11-23 2016-11-23 Database processing method of mobile terminal and mobile terminal thereof

Country Status (1)

Country Link
CN (1) CN106407020A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959900A (en) * 2017-03-22 2017-07-18 飞天诚信科技股份有限公司 It is a kind of to prevent the method and device of multithreading deadlock
CN109033359A (en) * 2018-07-26 2018-12-18 北京天地和兴科技有限公司 A kind of method of multi-process secure access sqlite
CN110716947A (en) * 2019-10-24 2020-01-21 网易(杭州)网络有限公司 Data access method and device, computer equipment and storage medium
CN112579307A (en) * 2020-12-10 2021-03-30 腾讯科技(深圳)有限公司 Physical lock resource allocation detection method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054041A (en) * 2010-12-30 2011-05-11 用友软件股份有限公司 Method and system for upgrading metadata
CN102184256A (en) * 2011-06-02 2011-09-14 北京邮电大学 Clustering method and system aiming at massive similar short texts
CN103020151A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Large data quantity batch processing system and large data quantity batch processing method
CN104866577A (en) * 2015-05-26 2015-08-26 深圳市六度人和科技有限公司 Data processing method and apparatus based on embedded database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054041A (en) * 2010-12-30 2011-05-11 用友软件股份有限公司 Method and system for upgrading metadata
CN102184256A (en) * 2011-06-02 2011-09-14 北京邮电大学 Clustering method and system aiming at massive similar short texts
CN103020151A (en) * 2012-11-22 2013-04-03 用友软件股份有限公司 Large data quantity batch processing system and large data quantity batch processing method
CN104866577A (en) * 2015-05-26 2015-08-26 深圳市六度人和科技有限公司 Data processing method and apparatus based on embedded database

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙勇毅: "嵌入式数据库SQLite中锁机制研究及改进", 《煤炭技术》 *
宋金玉: "基于SQLite的嵌入式数据库封锁机制的研究及改进", 《NDBC2010第27届中国数据库学术会议》 *
马林: "基于SQLite的个人通信录管理系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959900A (en) * 2017-03-22 2017-07-18 飞天诚信科技股份有限公司 It is a kind of to prevent the method and device of multithreading deadlock
CN109033359A (en) * 2018-07-26 2018-12-18 北京天地和兴科技有限公司 A kind of method of multi-process secure access sqlite
CN110716947A (en) * 2019-10-24 2020-01-21 网易(杭州)网络有限公司 Data access method and device, computer equipment and storage medium
CN112579307A (en) * 2020-12-10 2021-03-30 腾讯科技(深圳)有限公司 Physical lock resource allocation detection method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN106407020A (en) Database processing method of mobile terminal and mobile terminal thereof
CN105095287B (en) LSM data ordering by merging method and apparatus
CN106569891B (en) Method and device for scheduling and executing tasks in storage system
JP4859595B2 (en) Storage system, data relocation method thereof, and data relocation program
KR101665611B1 (en) Computer system and method of memory management
CN103049396B (en) The method of writing with a brush dipped in Chinese ink of data and device
CN111400016B (en) Method and equipment for calling application program interface function
CN108509327A (en) A kind of log-output method, device, terminal device and storage medium
CN111966511B (en) Message queue data read-write processing method and device
CN110096507A (en) A kind of page complexity table rendering method, system, terminal and medium
CN105045632A (en) Method and device for implementing lock free queue in multi-core environment
US20190369919A1 (en) Task management method and host for electronic storage device
CN111026768A (en) Data synchronization method and device capable of realizing rapid loading of data
CN103593257A (en) Data backup method and device
CN111291022B (en) Data storage system based on block chain
CN107220275B (en) Database handles processing method, device and computer equipment
CN115794446B (en) Message processing method and device, electronic equipment and storage medium
CN106407019A (en) Database processing method of mobile terminal and mobile terminal thereof
CN109460193B (en) IO processing method, device and terminal in storage system
CN106682082A (en) Writing method and device of database
CN103809947A (en) Automatic release method and system for development requirement
US20180115495A1 (en) Coordinating Accesses of Shared Resources by Clients in a Computing Device
CN112068948B (en) Data hashing method, readable storage medium and electronic device
CN114661624A (en) Method, system, equipment and storage medium for efficiently acquiring and storing data
CN111261206B (en) Read-write method and device, electronic equipment and readable storage medium

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: 20170215