CN110489487B - Method and system for storing and flexibly calling application program data - Google Patents

Method and system for storing and flexibly calling application program data Download PDF

Info

Publication number
CN110489487B
CN110489487B CN201910758771.XA CN201910758771A CN110489487B CN 110489487 B CN110489487 B CN 110489487B CN 201910758771 A CN201910758771 A CN 201910758771A CN 110489487 B CN110489487 B CN 110489487B
Authority
CN
China
Prior art keywords
data
module
service module
enterprise
cloud
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.)
Active
Application number
CN201910758771.XA
Other languages
Chinese (zh)
Other versions
CN110489487A (en
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.)
Cloud Accounting Room Network Technology Co ltd
Original Assignee
Cloud Accounting Room Network 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 Cloud Accounting Room Network Technology Co ltd filed Critical Cloud Accounting Room Network Technology Co ltd
Priority to CN201910758771.XA priority Critical patent/CN110489487B/en
Publication of CN110489487A publication Critical patent/CN110489487A/en
Application granted granted Critical
Publication of CN110489487B publication Critical patent/CN110489487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a system for storing and flexibly calling application program data, which comprises application software, a data management service module and a cloud data storage service module, and specifically comprises the following steps: 1) Sending a request; 2) Judging the occupation condition; 3) A return address; 4) Downloading data; 5) Uploading data; 6) Unlocking; the application software is used for providing data for users, the data management service module is used for receiving requests sent by the application software and deciding whether to provide data downloading addresses for the application program, and the cloud data storage service module is used for storing enterprise data. The invention is convenient for multiple people to operate, and improves the user experience; the backup of the data is carried out, so that the local data is prevented from being damaged or lost, and the safety of enterprise data is improved; and at the same time, dirty data can be avoided.

Description

Method and system for storing and flexibly calling application program data
Technical Field
The present invention relates to the field of data storage and call, and in particular, to a method and system for storing and flexibly calling application program data.
Background
With the advent of the information age, tax administration and tax return have begun to be performed by application programs, however, currently, software provided by tax authorities, such as tax friends, can only run on a local computer, data is stored in the local computer, users can only view and use the data on the local computer, and the data stored in the local computer is inconvenient and has a risk of losing and damaging.
Moreover, at present, part of financial software can only manage one enterprise, is inconvenient for accounting to realize the management and tax return of a plurality of enterprises, and part of software can realize the management of a plurality of enterprises, however, can only carry out operations such as tax return and the like on a local computer, cannot be operated by a plurality of persons at the same time, and also easily causes dirty data.
Disclosure of Invention
The invention aims to solve the problems that application program data can only be stored in a local database, the viewing and the use are inconvenient, the risk of losing and damaging exists, multiple persons are not allowed to use the application program data simultaneously, and dirty data is easy to generate.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the method and the system for storing and flexibly calling the application program data comprise application software, a data management service module and a cloud data storage service module, and concretely comprise the following steps:
step S1: the application software sends a request to the data management service module to request the downloading of enterprise data;
step S2: the data management service module judges whether a person is using the enterprise data, if yes, the error reporting of the use of the person is returned, otherwise, the step S3 is executed;
step S3: the data management service module locks the enterprise data and returns a data downloading address;
step S4: the application software downloads the enterprise data from the cloud data storage service module to the local database through the data download address, and operates the enterprise data to update the enterprise data;
step S5: the application software uploads the updated enterprise data to the cloud data storage service module;
step S6: the data management service module unlocks the enterprise data.
Further, in step S2, when the data management service module determines that someone is using the enterprise data, further selecting whether to continue to request the data, if so, returning to execute step S1, and sending a request again to the data management service module by the application program; otherwise, the program is directly ended.
The system comprises application software, a data management service module and a cloud data storage service module, wherein the application software is used for providing enterprise data for users, the data management service module plays a role of a server and is used for receiving requests sent by the application software and deciding whether to provide data downloading addresses for the application program or not, and the cloud data storage service module is used for storing the enterprise data.
Preferably, the application program further comprises a local receiving module and a local sending module, the cloud data storage service module further comprises a cloud receiving module and a cloud sending module, the local receiving module is connected with the cloud sending module, and the cloud sending module sends the enterprise data to the local receiving module during downloading; the local sending module is connected to the cloud receiving module, and the local sending module sends enterprise data to the cloud receiving module during uploading.
Preferably, the data management service module further includes a request receiving module, a query module, a data lock module and an address return module, where the receiving end of the request receiving module is connected with the application program, the transmitting end of the request receiving module is connected with the receiving end of the query module, the transmitting end of the query module is respectively connected with the data lock module and the address return module, the request receiving module is used to receive a request sent by the application program and send specific content of the request to the query module, the query module is used to determine whether the requested enterprise data is occupied, if the request is occupied, the query module returns the request, if the enterprise data is free, the data lock module is used to lock the enterprise data in the cloud data storage service module, and prevent the request from being called by other people, and meanwhile, the address return module is used to send a storage URL address of the enterprise data to the application program.
Further, when the application program uploads the enterprise data to the cloud data storage service module and new historical data is generated in the cloud data storage service module, the data lock module unlocks the enterprise data. And when the cloud data storage service module or the application program is unlocked, the cloud data storage service module or the application program sends information to the data lock module.
Preferably, the application program comprises a plurality of application programs, and the application programs can be used on a plurality of computers simultaneously, and meanwhile, the data management service module executes corresponding locking operation to prevent dirty data.
Preferably, each enterprise data corresponds to an ID, and the login user name of the application program should be matched with the ID when the data is called, so that the downloading and the operation of the enterprise data can be realized.
Preferably, the enterprise data uploaded by the application program each time is named by an id+timestamp, thereby achieving the function of retaining the history data.
Compared with the prior art, the invention has the beneficial effects that:
1. the method can realize that a plurality of application programs on a plurality of computers can call enterprise data stored in the cloud data storage service module at the same time, is convenient for a plurality of people to operate, and improves user experience;
2. after the user finishes operating the enterprise data by the application program, the enterprise data is uploaded to a cloud data storage service module to backup the data, so that the local data is prevented from being damaged or lost, and the safety of the enterprise data is improved;
3. when someone occupies a certain enterprise data, the data management service module locks the enterprise data, and dirty data is avoided.
Drawings
FIG. 1 is a flow chart of the present invention;
fig. 2 is a schematic block diagram of the present invention.
Detailed Description
For a further understanding of the objects, construction, features, and functions of the invention, reference should be made to the following detailed description of the preferred embodiments.
Referring to fig. 1, a method and a system for storing and flexibly calling application program data include application software, a data management service module and a cloud data storage service module, and specifically include the following steps:
step S1: the application software sends a request to the data management service module to request the downloading of enterprise data;
step S2: the data management service module judges whether a person is using the enterprise data, if yes, the error reporting of the use of the person is returned, otherwise, the step S3 is executed;
step S3: the data management service module locks the enterprise data and returns a data downloading address;
step S4: the application software downloads the enterprise data from the cloud data storage service module to the local database through the data download address, and operates the enterprise data to update the enterprise data;
step S5: the application software uploads the updated enterprise data to the cloud data storage service module;
step S6: the data management service module unlocks the enterprise data.
Referring to fig. 1, in step S2, when the data management service module determines that someone is using the enterprise data, further selects whether to continue to request the data, if so, returns to step S1, and the application program resends the request to the data management service module; otherwise, the program is directly ended.
Referring to fig. 2, a system for storing and flexibly invoking application program data includes application software, a data management service module and a cloud data storage service module, wherein the application software is used for providing enterprise data for users, the data management service module plays a role of a server, is used for receiving a request sent by the application software and determining whether to provide a data download address for the application program, and the cloud data storage service module is used for storing the enterprise data.
The cloud data storage service module comprises a cloud receiving module and a cloud sending module, wherein the local receiving module is connected with the cloud sending module, and the cloud sending module sends enterprise data to the local receiving module during downloading; the local sending module is connected to the cloud receiving module, and the local sending module sends enterprise data to the cloud receiving module during uploading.
Specifically, the data management service module further includes a request receiving module, a query module, a data lock module and an address return module, wherein a receiving end of the request receiving module is connected with the application program, a transmitting end of the request receiving module is connected with a receiving end of the query module, a transmitting end of the query module is respectively connected with the data lock module and the address return module, the request receiving module is used for receiving a request sent by the application program and sending specific content of the request to the query module, the query module is used for judging whether enterprise data of the request is occupied or not, if the enterprise data is occupied, the request is returned, if the enterprise data is unoccupied, information is respectively sent to the data lock module and the address return module, the data lock module is used for locking the enterprise data in the cloud data storage service module, other people are prevented from calling the data, and meanwhile, the address return module is used for sending a storage URL address of the enterprise data to the application program.
In an embodiment, when the application program uploads the enterprise data to the cloud data storage service module and new history data is generated in the cloud data storage service module, the data lock module unlocks the enterprise data. And when the cloud data storage service module or the application program is unlocked, the cloud data storage service module or the application program sends information to the data lock module.
In one embodiment, the application program includes a plurality of applications that can be used simultaneously on a plurality of computers, and the data management service module performs a corresponding locking operation to prevent dirty data from being generated.
In one embodiment, each enterprise data corresponds to an ID, and the login user name of the application program should be matched with the ID when the data is called, so that the downloading and the operation of the enterprise data can be realized. Specifically, the enterprise data uploaded by the application program each time is named by an id+timestamp, thereby achieving the function of retaining the history data.
The invention has been described with respect to the above-described embodiments, however, the above-described embodiments are merely examples of practicing the invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. On the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (9)

1. The method for storing and flexibly calling the application program data comprises an application program, a data management service module and a cloud data storage service module, and is characterized by comprising the following specific steps:
step S1: the application program sends a request to the data management service module to request the downloading of enterprise data;
step S2: the data management service module judges whether a person is using the enterprise data, if yes, the error reporting of the use of the person is returned, otherwise, the step S3 is executed;
step S3: the data management service module locks the enterprise data and returns a data downloading address;
step S4: the application program downloads the enterprise data from the cloud data storage service module to the local database through the data download address, and operates the enterprise data to update the enterprise data;
step S5: the application program uploads the updated enterprise data to the cloud data storage service module;
step S6: the data management service module unlocks the enterprise data.
2. A method of application data storage and flexible invocation as defined in claim 1, wherein: in step S2, when the data management service module judges that someone is using the enterprise data, further selecting whether to continue to request the data, if so, returning to execute step S1, and sending a request again to the data management service module by the application program; otherwise, the program is directly ended.
3. A method of application data storage and flexible invocation as defined in claim 1, wherein: the application program comprises a plurality of application programs and can be used on a plurality of computers at the same time.
4. A method of application data storage and flexible invocation as defined in claim 1, wherein: each enterprise data corresponds to an ID, and the login user name of the application program is matched with the ID when the data is called, so that the downloading and the operation of the enterprise data can be realized.
5. A method of application data storage and flexible invocation as defined in claim 1, wherein: the enterprise data that the application uploads each time is named ID + timestamp.
6. A method of application data storage and flexible invocation as defined in claim 1, wherein: when the application program uploads enterprise data to the cloud data storage service module and new historical data is generated in the cloud data storage service module, the data management service module unlocks the enterprise data.
7. A system for applying the method for application data storage and flexible invocation of claim 1, characterized by: the cloud data storage service module is used for storing enterprise data;
the application program is used for sending a request to the data management service module to request the downloading of enterprise data; downloading the enterprise data from the cloud data storage service module to a local database through a data downloading address, and operating the enterprise data to update the enterprise data; uploading the updated enterprise data to a cloud data storage service module;
the data management service module is used for judging whether a person is using the enterprise data, and if the person is using the enterprise data, returning a fault report which is being used by the person;
the data management service module is used for locking enterprise data and returning a data downloading address; and unlocking the enterprise data.
8. The system of claim 7, wherein: the application program further comprises a local receiving module and a local sending module, the cloud data storage service module further comprises a cloud receiving module and a cloud sending module, the local receiving module is connected with the cloud sending module, and the cloud sending module sends enterprise data to the local receiving module during downloading; the local sending module is connected to the cloud receiving module, and the local sending module sends enterprise data to the cloud receiving module during uploading.
9. The system of claim 7, wherein: the data management service module comprises a request receiving module, a query module, a data lock module and an address return module, wherein a receiving end of the request receiving module is connected with the application program, a transmitting end of the request receiving module is connected with a receiving end of the query module, a transmitting end of the query module is respectively connected with the data lock module and the address return module, the request receiving module is used for receiving a request sent by the application program and sending specific content of the request to the query module, the query module is used for judging whether enterprise data of the request is occupied or not, if the enterprise data is occupied, the request is returned, if the enterprise data is unoccupied, information is respectively sent to the data lock module and the address return module, the data lock module is used for locking the enterprise data in the cloud data storage service module, and other people are prevented from calling the data, and meanwhile, the address return module is used for sending a storage URL address of the enterprise data to the application program.
CN201910758771.XA 2019-08-16 2019-08-16 Method and system for storing and flexibly calling application program data Active CN110489487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910758771.XA CN110489487B (en) 2019-08-16 2019-08-16 Method and system for storing and flexibly calling application program data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910758771.XA CN110489487B (en) 2019-08-16 2019-08-16 Method and system for storing and flexibly calling application program data

Publications (2)

Publication Number Publication Date
CN110489487A CN110489487A (en) 2019-11-22
CN110489487B true CN110489487B (en) 2023-06-09

Family

ID=68551412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910758771.XA Active CN110489487B (en) 2019-08-16 2019-08-16 Method and system for storing and flexibly calling application program data

Country Status (1)

Country Link
CN (1) CN110489487B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302920A (en) * 2015-11-23 2016-02-03 上海爱数信息技术股份有限公司 Optimal management method and system for cloud storage data
WO2017050141A1 (en) * 2015-09-24 2017-03-30 网宿科技股份有限公司 Distributed storage-based file delivery system and method
CN107423403A (en) * 2017-07-27 2017-12-01 郑州云海信息技术有限公司 A kind of fusion lock management method and system based on distributed file system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017050141A1 (en) * 2015-09-24 2017-03-30 网宿科技股份有限公司 Distributed storage-based file delivery system and method
CN105302920A (en) * 2015-11-23 2016-02-03 上海爱数信息技术股份有限公司 Optimal management method and system for cloud storage data
CN107423403A (en) * 2017-07-27 2017-12-01 郑州云海信息技术有限公司 A kind of fusion lock management method and system based on distributed file system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于P2P技术的混合云存储模型;周会祥等;《华中科技大学学报(自然科学版)》;20121215;全文 *

Also Published As

Publication number Publication date
CN110489487A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
US20240040006A1 (en) Provisioning multiple network resources
US20190034460A1 (en) Co-locating Microservice Persistence Containers within Tenant-Specific Database
US6415284B1 (en) Intelligent forms for improved automated workflow processing
CN106127368B (en) Data storage method for enterprise resource management system
US20060271935A1 (en) Assignment of clients to tasks in a distributed system
US8726014B2 (en) System and method for securely updating license files in an automated licensing system
US6430616B1 (en) Scalable system method for efficiently logging management information associated with a network
CN101083527A (en) User operation authority centralized management system and method
US7188111B2 (en) System and method for connectivity to structured query language database
CN112039970B (en) Distributed business lock service method, server, system and storage medium
US20020161615A1 (en) Workflow system
CN104135378A (en) Method of management control of Internet of Things gateways and management control entity for Internet of Things gateways
US8707318B2 (en) Partitioning system including a generic partitioning manager for partitioning resources
US10169259B2 (en) Pattern-based service bus architecture using activity-oriented services
CN110489487B (en) Method and system for storing and flexibly calling application program data
US8170530B2 (en) Managing wireless devices using access control
CN101478571A (en) Network video monitoring system and system user authentication method thereof
US20080022372A1 (en) User authority management system and method for managing users
US9830207B2 (en) Message communication system and operation method thereof
US11586632B2 (en) Dynamic transaction coalescing
CN110765463B (en) WebLogic-based safety baseline reinforcement method
JP3143919B2 (en) Communication parameter management method
JP2003330904A (en) Name service multiplexing method, name service multiplexing system and name service controlling program
CN117459296A (en) Application pushing method, platform and device
CN116471408A (en) Video transcoding card calling method, device, equipment and storage 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
CB02 Change of applicant information

Address after: 210000 10 / F, building D-1, Greenland window, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant after: Cloud accounting room network technology Co.,Ltd.

Address before: 210000 10 / F, building D-1, Greenland window, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant before: NANJING YUNZHANGFANG NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: Floor 5, Building H, Shuntian R&D Center, No. 21 Software Avenue, Yuhuatai District, Nanjing City, Jiangsu Province, 210000

Patentee after: Cloud accounting room network technology Co.,Ltd.

Address before: 210000 10 / F, building D-1, Greenland window, Yuhuatai District, Nanjing City, Jiangsu Province

Patentee before: Cloud accounting room network technology Co.,Ltd.

CP02 Change in the address of a patent holder