CN112612981A - System and method for providing data access for client software - Google Patents

System and method for providing data access for client software Download PDF

Info

Publication number
CN112612981A
CN112612981A CN202110001693.6A CN202110001693A CN112612981A CN 112612981 A CN112612981 A CN 112612981A CN 202110001693 A CN202110001693 A CN 202110001693A CN 112612981 A CN112612981 A CN 112612981A
Authority
CN
China
Prior art keywords
data
archive
database
client
file
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
CN202110001693.6A
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.)
Nanjing Misiyou Information Technology Co ltd
Original Assignee
Nanjing Misiyou Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Misiyou Information Technology Co ltd filed Critical Nanjing Misiyou Information Technology Co ltd
Priority to CN202110001693.6A priority Critical patent/CN112612981A/en
Publication of CN112612981A publication Critical patent/CN112612981A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

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

Abstract

The invention provides a system and a method for providing data access for client software, comprising a main system, wherein the main system comprises a database and a client, the database comprises an archive and a storage, and the client comprises an entry window, a main processor, an auxiliary processor and a cache area; the method specifically comprises the following steps: a. inputting a file name in an input window of a client; b. searching the files in the archive library through the auxiliary processor, judging whether the files are existing files or not, and building corresponding files in the database and the archive library when the existing files are not searched; c. extracting the data corresponding to the file from the database and sending the data to a cache region; d. the main processor opens the data and writes the generated new data into the cache region until the client is closed, and then transmits the latest data back to the storage and updates the original data in a covering manner. The invention can access data under the condition of network interruption by storing the data in the main system.

Description

System and method for providing data access for client software
Technical Field
The invention relates to the technical field of software, in particular to a system and a method for providing data access for client software.
Background
Data backup and reading of data in storage equipment are inconvenient, for example, when data of a client is backed up, the data of the client needs to be firstly imported into a computer, and then the computer is connected with the storage equipment to import the data into the storage equipment; when data in the storage device needs to be read, the computer is also required to be connected with the storage device, and then the data in the storage device is read by the computer, so that the client cannot directly read the data of the storage device or directly back up the data to the storage device; automatic backup or reading of data cannot be realized, and therefore, a method and a system for accessing client software are needed, for example, the application numbers are: 201710828511.6, the present invention discloses a data access method and system, the method includes the following steps: s1, binding the ID of the storage device with the client account; the storage device and the client are respectively provided with a private cloud platform; and S2, the client logs in the private cloud platform by using the account, accesses the storage device by using the private cloud platform, and reads the data in the storage device or stores the data in the storage device after the data passes the verification. Although the invention realizes remote data reading and storage, the design must be established on the basis of possessing network connection, and can not be directly stored in the client, and has certain limitation in practical use.
Disclosure of Invention
It is an object of the present invention to provide a system and method for providing data access for client software to solve the above-mentioned problems in the background art.
In order to achieve the above object, the present invention provides a system and method for providing data access for client software, comprising a main system, wherein the main system comprises a database and a client, the database comprises an archive and a storage, and the client comprises an entry window, a main processor, an auxiliary processor and a cache region; the method specifically comprises the following steps:
a. inputting a file name in an input window of a client;
b. searching the files in the archive library through the auxiliary processor, judging whether the files are existing files or not, and building corresponding files in the database and the archive library when the existing files are not searched;
c. extracting the data corresponding to the file from the database and sending the data to a cache region;
d. the main processor opens the data and writes the generated new data into the cache region until the client is closed, and then transmits the latest data back to the storage and updates the original data in a covering manner.
Preferably, the files in the archive library correspond to the file data stored in the storage one to one.
Preferably, the step b specifically comprises the following steps:
(1) determining the byte number of the file name input in the input window, and calling document information with corresponding byte number in the archive by the auxiliary processor;
(2) judging whether the first bytes are consistent or not, and building a corresponding file in the database and the archive library when the first bytes are not searched;
(3) judging whether the second bytes are consistent or not, and when the same second bytes are not searched, establishing a corresponding file in the database and the file library;
(4) comparing each byte one by one until finding out the corresponding file in the archive; and when the corresponding file is not searched, newly building the corresponding file in the database and the archive.
Preferably, the auxiliary processor is operable to read data in the entry window and the archive and to write data in the archive and the storage.
Compared with the prior art, the invention has the beneficial effects that:
the data can be accessed under the condition of network disconnection by storing the data in the main system; furthermore, the method for searching the files in the file library by the auxiliary processor can reduce the flow of searching work and reduce the data quantity to be processed by the auxiliary processor by gradually reducing the searching range, thereby reducing the working pressure of the auxiliary processor; furthermore, the auxiliary processor is arranged, so that the working pressure of the main processor can be reduced.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a file access flow chart according to the present invention;
FIG. 3 is a file retrieval flow chart according to the present invention.
In the figure: A. a main system; 1. a database; 2. a client; 11. an archive; 12. a reservoir; 21. recording a window; 22. a main processor; 23. an auxiliary processor; 24. and a buffer area.
Detailed Description
In order to facilitate an understanding of the invention, the invention will now be described more fully hereinafter with reference to the accompanying drawings, in which several embodiments of the invention are shown, but which may be embodied in different forms and not limited to the embodiments described herein, but which are provided so as to provide a more thorough and complete disclosure of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, and the knowledge of the terms used herein in the specification of the present invention is for the purpose of describing particular embodiments and is not intended to limit the present invention, and the term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1-3, a system and method for providing data access for client 2 software includes a main system a, the main system a includes a database 1 and a client 2, the database 1 includes an archive 11 and a storage 12, the client 2 includes an entry window 21, a main processor 22, an auxiliary processor 23 and a cache area 24; the method specifically comprises the following steps:
a. inputting the file name in the input window 21 of the client 2;
b. searching the files in the archive 11 through the auxiliary processor 23, and determining whether the files are existing files, and creating corresponding files in the database 1 and the archive 11 when the existing files are not searched;
c. extracting the data corresponding to the file from the database 1 and sending the data to the cache region 24;
d. the host processor 22 opens this data and writes the new data generated into the buffer 24 until the client 2 is closed and then transfers the latest data back to the storage 12 and overwrites the updated data.
Please refer to fig. 3, wherein step b specifically includes the following steps:
(1) determining the byte number of the file name input in the input window 21, and calling document information with corresponding byte number in the file repository 11 through the auxiliary processor 23;
(2) judging whether the first byte is consistent or not, and when the first byte is not searched, establishing a corresponding file in the database 1 and the file library 11;
(3) judging whether the second bytes are consistent or not, and when the same second bytes are not searched, establishing corresponding archives in the database 1 and the archive 11;
(4) comparing each byte one by one until finding out the corresponding file in the archive 11; and when the corresponding archive is not retrieved, newly creating the corresponding archive in the database 1 and the archive 11.
Referring back to fig. 1, the files in the archive 11 correspond to the file data stored in the storage 12 one by one, and the auxiliary processor 23 can read the data in the entry window 21 and the archive 11 and write the data in the archive 11 and the storage 12.
The invention has been described by way of example, and it is to be understood that its specific implementation is not limited to the details of construction and arrangement shown, but is within the scope of the invention.

Claims (4)

1. A system and method for providing data access to client software, comprising a host system (a), characterized by: the main system (A) comprises a database (1) and a client (2), the database (1) comprises an archive (11) and a storage (12), and the client (2) comprises an entry window (21), a main processor (22), an auxiliary processor (23) and a buffer area (24); the method specifically comprises the following steps:
a. inputting a file name in an input window (21) of a client (2);
b. searching the files in the archive (11) through the auxiliary processor (23), judging whether the files are existing files or not, and building corresponding files in the database (1) and the archive (11) when the existing files are not searched;
c. extracting the data corresponding to the file from the database (1) and sending the data to a cache region (24);
d. the main processor (22) opens the data and writes the generated new data into the buffer area (24) until the client (2) is closed and then transfers the latest data back to the storage (12) and overwrites and updates the original data.
2. A system and method for providing data access for client software according to claim 1 wherein: and the archives in the archive library (11) correspond to the archive data stored in the storage (12) one by one.
3. A system and method for providing data access for client software according to claim 1 wherein: the step b specifically comprises the following steps:
(1) determining the byte number of the file name input in the input window (21), and calling document information with corresponding byte number in the file library (11) through the auxiliary processor (23);
(2) judging whether the first bytes are consistent or not, and when the first bytes are not searched, establishing corresponding archives in the database (1) and the archive (11);
(3) judging whether the second bytes are consistent or not, and when the same second bytes are not searched, establishing a corresponding file in the database (1) and the file library (11);
(4) comparing each byte one by one until finding out the corresponding file in the file library (11); and when the corresponding file is not searched, establishing the corresponding file in the database (1) and the file library (11).
4. A system and method for providing data access for client software according to claim 3 wherein: the auxiliary processor (23) can read the data in the entry window (21) and the archive (11) and can write the data in the archive (11) and the storage (12).
CN202110001693.6A 2021-01-04 2021-01-04 System and method for providing data access for client software Pending CN112612981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110001693.6A CN112612981A (en) 2021-01-04 2021-01-04 System and method for providing data access for client software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110001693.6A CN112612981A (en) 2021-01-04 2021-01-04 System and method for providing data access for client software

Publications (1)

Publication Number Publication Date
CN112612981A true CN112612981A (en) 2021-04-06

Family

ID=75253430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110001693.6A Pending CN112612981A (en) 2021-01-04 2021-01-04 System and method for providing data access for client software

Country Status (1)

Country Link
CN (1) CN112612981A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299949A (en) * 2010-06-23 2011-12-28 都玛斯股份有限公司 System and method of network data access management
CN103164467A (en) * 2011-12-15 2013-06-19 英顺源(上海)科技有限公司 System and method for accessing and mapping files

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102299949A (en) * 2010-06-23 2011-12-28 都玛斯股份有限公司 System and method of network data access management
CN103164467A (en) * 2011-12-15 2013-06-19 英顺源(上海)科技有限公司 System and method for accessing and mapping files

Similar Documents

Publication Publication Date Title
US10754835B2 (en) High-efficiency deduplication module of a database-management system
US8041698B2 (en) Method, system and program for archiving files
CN102629247B (en) Method, device and system for data processing
CN102880663B (en) The optimization of the file of part deduplication
US7134041B2 (en) Systems and methods for data backup over a network
US8495282B2 (en) Flash-aware storage optimized for mobile and embedded DBMS on NAND flash memory
US7836105B2 (en) Converting file-systems that organize and store data for computing systems
US10754733B2 (en) System and method for mainframe computers backup and restore
US9811577B2 (en) Asynchronous data replication using an external buffer table
US20070260592A1 (en) Hierarchical storage management of metadata
US20050187974A1 (en) Modularized extraction, transformation, and loading for a database
US20060004890A1 (en) Methods and systems for providing directory services for file systems
JP2004530216A (en) Integration of tablespaces of different block sizes
CN111949710B (en) Data storage method, device, server and storage medium
CN114357046A (en) Access method, device, system, server and storage medium of memory database
US8738669B1 (en) Method and apparatus for providing access to data objects within another data object
US10248673B2 (en) Allocating free space in a database
US20030220950A1 (en) Database controlling system
US11513701B2 (en) Storage management system and method
CN112612981A (en) System and method for providing data access for client software
US9690499B1 (en) Systems and methods for cloud-based data protection storage
US9015127B2 (en) File archiving system and method
CN112612648B (en) SQL Server database recovery method, terminal equipment and storage medium
CN116795296B (en) Data storage method, storage device and computer readable storage medium
CN116467379A (en) Dynamic loading method and device for data of database

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

Application publication date: 20210406

RJ01 Rejection of invention patent application after publication