CN114036171B - Application data management method, device, computer equipment and storage medium - Google Patents

Application data management method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114036171B
CN114036171B CN202111426724.9A CN202111426724A CN114036171B CN 114036171 B CN114036171 B CN 114036171B CN 202111426724 A CN202111426724 A CN 202111426724A CN 114036171 B CN114036171 B CN 114036171B
Authority
CN
China
Prior art keywords
data
application
tag
modified
modification
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
CN202111426724.9A
Other languages
Chinese (zh)
Other versions
CN114036171A (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.)
Qichacha Technology Co ltd
Original Assignee
Qichacha 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 Qichacha Technology Co ltd filed Critical Qichacha Technology Co ltd
Priority to CN202111426724.9A priority Critical patent/CN114036171B/en
Publication of CN114036171A publication Critical patent/CN114036171A/en
Application granted granted Critical
Publication of CN114036171B publication Critical patent/CN114036171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/23Updating
    • 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/23Updating
    • G06F16/2358Change logging, detection, and notification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to an application data management method, an application data management device, computer equipment and a storage medium. The method comprises the following steps: receiving a data modification instruction sent by a server of a target application; the data modification instruction comprises a data tag and a data modification mode; and determining the application data to be modified corresponding to the target application according to the data tag, and modifying the application data to be modified according to the data modification mode. The method can identify the application data based on the data tag and dynamically manage the application data, so that the application data in the local terminal can be dynamically adapted to the running requirement of the application, and the problem that the application cannot run normally due to the irrecoverability of the application data is avoided to a certain extent.

Description

Application data management method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to an application data management method, apparatus, computer device, and storage medium.
Background
When the terminal runs the application, data (hereinafter referred to as application data) generated in the running process of the application is stored locally in the terminal, so that the application can be tested based on the application data stored locally in the terminal, for example, the running state of the application is detected, or the performance of the application is detected.
However, once the application data is stored, the terminal cannot change the application data any more, which may affect the normal operation of the application. For example, when the amount of application data is too large, failing to make changes to the application data may cause performance degradation of the application; when application data is at a low security level, failure to make changes to the application data may pose a potential security risk.
Disclosure of Invention
The application data management method, device, computer equipment and storage medium can realize dynamic management of application data of an application and ensure normal operation of the application.
In a first aspect, the present application provides an application data management method. The method comprises the following steps:
receiving a data modification instruction sent by a server of a target application; the data modification instruction comprises a data tag and a data modification mode;
and determining the application data to be modified corresponding to the target application according to the data tag, and modifying the application data to be modified according to the data modification mode.
In one embodiment, before receiving the data modification instruction sent by the server of the target application, the application data management method further includes: generating application data of the target application and a data tag of the application data; storing application data of the target application, and generating data record information according to a storage address of the application data and a data tag of the application data; and sending the data label of the application data to the server.
In one embodiment, determining, according to the data tag, application data to be modified corresponding to the target application includes: and inquiring the data record information according to the data label, and determining the data stored in the storage address corresponding to the data label in the data record information as the application data to be modified.
In one embodiment, the data tag is used to uniquely identify the target application, or the data tag is used to uniquely identify a set of application data of the target application, or the data tag is used to identify the target application and the application data of the target application.
In one embodiment, the data modification means includes one or more of the following: modify storage, modify security level, modify data type, modify data volume, and modify encryption.
In one embodiment, the application data management method further includes: when the application data of the target application is updated, the tag of the application data of the target application is updated.
In a second aspect, the present application further provides an application data management method. The method comprises the following steps:
determining a data tag and a data modification mode of application data to be modified of a target application;
transmitting a data modification instruction to an operation terminal of a target application; the data modification instruction includes a data tag and a data modification manner.
In one embodiment, determining a data tag and a data modification manner of application data to be modified of a target application includes: receiving a user setting instruction through an application data configuration interface; and determining the data tag and the data modification mode according to the user setting instruction.
In one embodiment, the application data configuration interface includes a data tag configuration item and a data modification mode configuration item; the user setting instruction is used for representing the data tag input by the user through the data tag configuration item and the data modification mode input by the user through the data modification mode configuration item.
In one embodiment, determining a data tag and a data modification manner of application data to be modified of a target application includes: detecting the state of the target application; and determining a data tag and a data modification mode of the application data to be modified of the target application based on the detection result.
In a third aspect, the present application further provides an application data management apparatus. The device comprises:
the receiving module is used for receiving a data modification instruction sent by a server of the target application; the data modification instruction comprises a data tag and a data modification mode;
and the modification module is used for determining the application data to be modified corresponding to the target application according to the data tag and modifying the application data to be modified according to the data modification mode.
In a fourth aspect, the present application further provides an application data management apparatus. The device comprises:
the determining module is used for determining a data tag and a data modification mode of the application data to be modified of the target application;
the sending module is used for sending a data modification instruction to the running terminal of the target application; the data modification instruction includes a data tag and a data modification manner.
In a fifth aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program, and a processor implementing the steps of the method of the first aspect or any one of the possible implementation manners of the first aspect, and implementing the steps of the method of the second aspect and any one of the possible implementation manners of the second aspect when the processor executes the computer program.
In a sixth aspect, the present application also provides a computer-readable storage medium. A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of the first aspect or any one of the possible implementations of the first aspect, and the steps of the method of the second aspect and any one of the possible implementations of the second aspect.
In a seventh aspect, the present application also provides a computer program product. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of the first aspect or any one of the possible implementations of the first aspect, and the steps of the method of the second aspect and any one of the possible implementations of the second aspect.
The application data management method, the device, the computer equipment and the storage medium can determine a data tag and a data modification mode of application data to be modified by a server of a target application and send a data modification instruction containing the data tag and the data modification mode of the application data to be modified to an operation terminal of the target application. The running terminal of the target application can receive the data modification instruction sent by the server and modify the application data to be modified according to the data modification instruction. If the application data needs to be modified in the running process of the application, the application data can be identified based on the data tag by adopting the method provided by the application, and the application data is dynamically managed, for example, the application data is dynamically modified, deleted and the like. The application data of the local terminal can be dynamically adapted to the running requirement of the application, and the problem that the application cannot run normally due to the fact that the application data cannot be modified is avoided to a certain extent.
Drawings
FIG. 1 is an application environment diagram of an application data management method in one embodiment;
FIG. 2 is a flow diagram of an application data management method in one embodiment;
FIG. 3 is a schematic diagram of a data tag for application data in one embodiment;
FIG. 4 is another flow diagram of an application data management method in one embodiment;
FIG. 5 is another flow diagram of an application data management method in one embodiment;
FIG. 6 is a diagram of an application data configuration interface for an application data management method in one embodiment;
FIG. 7 is a block diagram of an application data management device in one embodiment;
FIG. 8 is a block diagram of an application data management device in one embodiment;
FIG. 9 is an internal block diagram of a computer device in one embodiment;
FIG. 10 is another internal block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The application data management method provided by the embodiment of the application data management method can be applied to an application environment shown in fig. 1. Referring to fig. 1, the application environment includes a terminal 10 and a server 20. The server 20 may provide a background implementation of a plurality of applications that the terminal 10 may install. The terminal 10 may interact with the server 20 during the running of the application. The terminal 10 and the server 20 may communicate with each other by wired or wireless means, which is not limited in this application.
The terminal 10 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, portable wearable devices, etc., and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, etc. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 20 may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
At present, once application data is stored, the terminal cannot change the application data any more, and normal operation of the application may be affected.
Based on the above, the application data management method can dynamically manage the application data stored in the terminal so as to ensure the normal operation of the application. Fig. 2 is a flowchart of an application data management method according to an embodiment of the present application, and is described by taking the application of the method to the terminal 10 in fig. 1 as an example, and includes the following steps:
step 201, receiving a data modification instruction sent by a server of a target application; the data modification instruction comprises a data tag and a data modification mode;
the data tag is used for uniquely identifying the target application, or the data tag is used for uniquely identifying a set of application data of the target application, or the data tag is used for identifying the target application and the application data of the target application.
According to the embodiment of the application data modification method and device, the application data of the target application can be modified according to the data modification instruction sent by the server of the target application.
The data modification instruction is used for instructing the terminal 10 to modify application data of the target application, and the data modification mode is used for representing specific modification content of the application data.
Wherein the data tag is used to uniquely characterize an application, or any set of application data in the terminal 10. As shown in fig. 3, when an application only has a set of application data, the data tag may uniquely characterize an application. For example, as in the a-mode in fig. 3, the data tag of the different application data may be A, B, C or the like. When there are multiple sets of application data in an application, the data tag may uniquely characterize a set of application data of an application, for example, as in the B-mode in fig. 3, the data tag of different application data of different applications may be A1, A2, A3, B1, B2, B3, etc. The data tag may also uniquely characterize any set of application data in the terminal 10, e.g. as in the c-mode of fig. 3, the data tag of different application data may be 1, 2, 3, 4, 5, etc. In addition, the content of the data tag may include information such as storage time, latest access time, modification time, storage mode, security level, data type, data size, encryption mode, and the like of the application data represented by the data tag.
In a specific implementation, the terminal 10 may receive a data modification instruction sent by a server of a target application, then parse the received data modification instruction, and determine a data tag and a data modification mode of application data to be modified according to a parsing result.
Step 202, determining application data to be modified corresponding to the target application according to the data tag, and modifying the application data to be modified according to a data modification mode.
In a specific implementation, since one data tag may uniquely represent one application data, the terminal 10 may determine, according to a one-to-one correspondence between the data tag and the application data, the application data to be modified corresponding to the data tag in the data modification instruction sent by the server. And according to the data modification mode in the data modification instruction sent by the server, the application data to be modified is correspondingly modified.
The application data management method provided by the application data management method can receive the data modification instruction sent by the server of the target application, determine the application data to be modified according to the data tag in the data modification instruction, and modify the application data to be modified according to the data modification mode in the data modification instruction. If application data needs to be modified in the running process of the application, the application data can be identified based on the data tag by adopting the method provided by the embodiment of the application, and the application data is dynamically managed, for example, the application data is dynamically modified, deleted and the like. The application data of the local terminal can be dynamically adapted to the running requirement of the application, and the problem that the application cannot run normally due to the fact that the application data cannot be modified is avoided to a certain extent.
In this embodiment of the present application, before receiving the data modification instruction sent by the server of the target application, the terminal 10 may also establish a mapping relationship between the storage address of the application data and the data tag, and send the data tag to the server of the target application. The specific steps are shown in fig. 4:
step 401, generating application data of a target application and a data tag of the application data;
according to the method and the device for generating the application data, the application data of the target application can be generated, and meanwhile, the data tag of the application data is generated, so that dynamic management of the application data of the target application can be conducted through the data tag.
In particular implementations, the terminal 10 may store locally application data generated by the target application at runtime. The terminal 10 may generate a data tag of application data of a target application while saving the application data. For example, the terminal 10 may record and integrate information such as a specific time (i.e., storage time) when the application data is stored, a latest read time (i.e., latest access time) of the application data, a specific time (i.e., modification time) when the application data is modified each time, a storage manner, a security level, a data type, a data size, an encryption manner, and the like of the application data, and integrate the information into a data tag that can uniquely characterize the application data.
Step 402, storing application data of a target application, and generating data record information according to a storage address of the application data and a data tag of the application data;
the embodiment of the application data storage method and the application data storage device can establish the mapping relation between the storage address and the data label of the application data of the target application, so that the application data of the target application can be quickly searched when the application data of the target application needs to be dynamically managed.
In a specific implementation, the terminal 10 may record a storage address of the application data when storing the application data of the target application, then establish a mapping relationship between the recorded storage address and the generated data tag of the application data, and store the mapping relationship in the data record information.
The data record information may include, among other things, a mapping relationship between data tags and storage addresses of application data of all applications running on the terminal 10.
Step 403, sending a data tag of the application data to the server.
In a specific implementation, after the terminal 10 generates the data tag of the application data of the target application, the data tag of the application data may be sent to the server of the target application, and the data tag of the application data may be stored in the server.
The method provided by the embodiment of the application data can generate the data label of the application data and establish the mapping relation between the data label and the storage address of the application data when the terminal stores the application data of the target application. The data tag of the application data of the target application may also be transmitted to the server for storage after the data tag is generated. Therefore, when the terminal needs to modify the application data of the target application, the application data to be modified can be located in time, and the convenience of the terminal for dynamically managing the application data stored locally is improved.
The foregoing embodiments describe a scheme for determining application data to be modified based on a data tag. In another embodiment of the present application, the application data to be modified may be determined by the above generated data record information. For example, the foregoing "determining, according to the data tag, application data to be modified corresponding to the target application" specifically includes:
and inquiring the data record information according to the data label, and determining the data stored in the storage address corresponding to the data label in the data record information as the application data to be modified.
In a specific implementation, the terminal may query in the data record information according to the data tag of the application data to be modified in the data modification instruction, and query the mapping relationship corresponding to the data tag. And then determining a storage address of the application data corresponding to the data tag according to the mapping relation, wherein the data stored in the storage address is the application data to be modified.
According to the method provided by the embodiment of the application data to be modified, when the application data to be modified is determined, the data record information is queried based on the data tag of the application data to be modified, and the application data in the storage address corresponding to the data tag is determined to be the application data to be modified. Therefore, the embodiment of the application data to be modified corresponding to the data tag in the received data modification instruction can be rapidly determined through the data record information, and the convenience of the terminal for dynamically managing the application data stored locally is improved.
The foregoing embodiments describe that the data modification instruction further includes a data modification manner, and in another embodiment of the present application, the data modification manner may further include one or more modification manners. The method specifically comprises the following steps:
modify storage, modify security level, modify data type, modify data volume, and modify encryption.
In a specific implementation, after receiving the data modification instruction sent by the server, the terminal 10 may modify the application data of the target application according to the data modification manner in the data modification instruction. For example, if the data modification manner in the data modification instruction includes modifying the security level, the terminal 10 modifies the security level of the application data corresponding to the data tag in the modification instruction according to the data modification instruction; if the data modification mode in the data modification instruction includes modifying the data type and modifying the encryption mode, the terminal 10 modifies the data type and the encryption mode of the application data corresponding to the data tag in the modification instruction according to the data modification instruction.
In one possible implementation, each data modification may include specific data modification content. For example, if the data modification manner in the data modification instruction includes modifying the security level, and the specific data modification content for modifying the security level is to raise the security level by 1 level, the terminal 10 raises the security level of the application data corresponding to the data tag in the modification instruction by one level according to the data modification instruction; if the data modification mode in the data modification instruction includes modifying the data type and modifying the encryption mode, the specific data modification content of the modifying data type is modifying the data type into array data, and the specific data modification content of the modifying encryption mode is modifying the encryption mode into symmetric encryption, the terminal 10 modifies the data type of the application data corresponding to the data tag in the modifying instruction into array data according to the data modification instruction, and the encryption mode is modified into symmetric encryption.
In the method provided by the embodiment of the application, the data modification modes in the data modification instruction sent by the server and received by the terminal may include one or more data modification modes. For example, one or more of five data modification modes, i.e., modification of storage mode, modification of security level, modification of data type, modification of data amount, and modification of encryption mode. Therefore, the embodiment of the application can modify one or more data modification modes on the application data of the target application at the same time, so that the convenience of application data management is improved.
The application data management method disclosed by the embodiment of the application data management method can also update the data labels stored in the server in real time. The method specifically comprises the following steps:
when the application data of the target application is updated, the tag of the application data of the target application is updated.
The specific content of the application data may change when the target application is running. For example, when a document stored in the terminal 10 is opened again and document reading is performed, the latest access time corresponding to the document is changed; when content editing is performed again on a certain document stored in the terminal 10, the modification time corresponding to the document is changed. Thus, the data tag of the application data may change with the operation of the target application.
In a possible implementation manner, when the application data of the target application is changed, the terminal 10 may re-record all the data tags of the changed application data, for example, the storage time, the latest access time, the modification time, the storage mode, the security level, the data type, the data size, the encryption mode, and other data tags of the changed application data, and send the data tags to the server, so that the server can replace the data tags of the application data, and further update the data tags of the application data of the target application.
In a possible implementation manner, when the application data of the target application changes, the terminal 10 may record only the changed data tag, for example, the data tag of the latest access time, the modification time, and the like of the changed application data, and send the data tag to the server, so that the server replaces part of the data tags in all the data tags of the application data, thereby updating the data tag of the application data of the target application.
In the method provided by the embodiment of the present application, when the application data of the target application is changed, and thus the data tag of the application data is changed, the terminal 10 may record the changed data tag, and send the changed data tag to the server, so that the server updates the corresponding data tag. Therefore, the embodiment of the application can realize the real-time updating of the data tag, so that the terminal can inquire the application data corresponding to the data tag based on the accurate data tag, and the accuracy of the terminal in data management is ensured.
Fig. 5 is a flowchart of an application data management method according to an embodiment of the present application, and is illustrated by taking the application of the method to the server 20 in fig. 1 as an example, and includes the following steps:
Step 501, determining a data tag and a data modification mode of application data to be modified of a target application;
in order to realize dynamic management of application data of a target application, the embodiment of the application data to be modified and specific modification contents are first determined, namely, a data tag and a data modification mode of the application data to be modified are first determined.
In a specific implementation, the server may receive an instruction input by a person to determine a data tag and a data modification manner of the application data to be modified, or may automatically determine the data tag and the data modification manner of the application data to be modified, which is not limited in this application.
Step 502, sending a data modification instruction to an operation terminal of a target application; the data modification instruction includes a data tag and a data modification manner.
In a specific implementation, after determining the data tag and the data modification mode of the application data to be modified, the server may send a data modification instruction containing the data tag and the data modification mode of the application data to be modified to the terminal 10, so as to instruct the terminal 10 to perform corresponding modification on the application data to be modified in the data modification instruction.
The application data management method provided in the embodiment of the present application may determine a data tag and a data modification manner of application data to be modified, and send a data modification instruction including the data tag and the data modification manner of the application data to be modified to the terminal 10, so as to instruct the terminal 10 to modify the application data to be modified. If application data needs to be modified in the running process of the application, the method provided by the embodiment of the application can dynamically manage the application data based on the data tag, for example, dynamically modify, delete the application data, and the like. And the application data of the local terminal can be dynamically adapted to the running requirement of the application, so that the problem that the application cannot run normally due to the irreproducibility of the application data is avoided to a certain extent.
The foregoing embodiments describe a scheme in which a server determines a data tag and a data modification manner of application data to be modified of a target application. In another embodiment of the present application, the data tag and the data modification manner of the application data to be modified of the target application may be manually determined. For example, the foregoing "determining the data tag and the data modification manner of the application data to be modified of the target application" specifically includes:
receiving a user setting instruction through an application data configuration interface; and determining the data tag and the data modification mode according to the user setting instruction.
The application data configuration interface may be an interface on another host or terminal supported by the server 20. The embodiments of the present application are not limited in this regard.
In one possible implementation, a user (which may be an application developer) may input a data tag and a data modification manner on the application data configuration interface, and may select a data tag and a data modification manner on the application data configuration interface. The terminal or host to which the application data configuration interface belongs may send a user setting instruction including the manually entered or selected data tag and the data modification mode to the server 20. After receiving the user setting instruction, the server 20 parses it to determine the data tag and the data modification mode of the application data to be modified.
In the method provided by the embodiment of the application, the server 20 may receive the user setting instruction sent by the terminal or the host to which the application data configuration interface belongs, analyze the user modification instruction, and determine the data tag and the data modification mode of the application data to be modified according to the analysis result. Therefore, the embodiment of the application data to be modified can be manually and flexibly determined, namely, when the data tag and the data modification mode of the application data to be modified of the target application are determined, the manual judgment can be added, and the proper data modification mode is selected according to the application data of the target application, so that the normal operation of the target application is ensured.
The foregoing embodiments describe a scheme for manually determining a data tag and a data modification manner of application data to be modified in an application data configuration interface. In another embodiment of the present application, the target application developer may determine the data tag and the data modification mode of the application data to be modified through the data tag configuration item and the data modification mode configuration item on the application data configuration interface. The method specifically comprises the following steps:
the application data configuration interface comprises a data tag configuration item and a data modification mode configuration item; the user setting instruction is used for representing the data tag input by the user through the data tag configuration item and the data modification mode input by the user through the data modification mode configuration item.
As shown in fig. 6, the application data configuration interface may include not only a data tag configuration item capable of inputting or selecting a data tag, but also a data modification mode configuration item capable of modifying the specific content of the data tag.
In one possible implementation manner, a user may input a data tag of application data to be modified in a data tag configuration item on the application data configuration interface, and may also select the data tag from a data tag list in the data tag configuration item. After the data tag is selected, the data modification mode list sub-window in the data modification mode configuration item jumps to the data modification mode list corresponding to the selected data tag. Then, the user can query the data modification mode needing to be modified in the data modification mode list, and then input specific modification content in a text box corresponding to the data modification mode needing to be modified. After the application data configuration interface is finished, the terminal or host to which the application data configuration interface belongs may send a user setting instruction to the server 20, where the user setting instruction may include the manually input or selected data tag and the data modification mode (including specific modification content). After receiving the user setting instruction, the server analyzes the user setting instruction, and determines the manually input or selected data tag and the data modification mode according to the analysis result.
For example, when the security level of the application data with the data tag A1 needs to be modified to 2 levels, A1 may be input in a search box on the application data configuration interface, or the application data A1 may be selected in a data tag list on the application data configuration interface. And then find the "modification security level" in the data modification mode list sub-window of the jumped application data A1, and input "2" in the text box corresponding to the "modification security level", namely, the modification of the security level of the application data A1 is completed.
In the method provided by the embodiment of the application data configuration interface, the user can input the modification content of the application data to be modified in the application data configuration interface so as to complete modification of the application data to be modified of the target application. Therefore, the embodiment of the application can artificially and flexibly modify the application data to be modified of the target application on the application data configuration interface, so that the dynamic change of the application data to be modified of the target application is realized, and the normal operation of the target application is ensured.
The foregoing embodiments describe a scheme in which a server determines a data tag and a data modification manner of application data to be modified of a target application. In another embodiment of the present application, the data tag and the data modification manner of the application data to be modified of the target application may be automatically determined by the server. For example, the foregoing "determining the data tag and the data modification manner of the application data to be modified of the target application" specifically includes:
Detecting the state of the target application; and determining a data tag and a data modification mode of the application data to be modified of the target application based on the detection result.
In a specific implementation, the server 20 may detect the state of the target application at fixed intervals, detect the running state of the target application, and determine, based on the detection result, the data tag and the data modification mode of the application data to be modified of the target application according to a preset rule.
For example, if the server 20 detects that the page response is slower in the running process of the target application, the server 20 may traverse the data labels of the application data of all the target applications, determine the application data with an excessive data volume as the application data to be modified, determine the data labels of the application data with an excessive data volume as the data labels of the application data to be modified, and determine "delete the application data" or "split the application data into two equal parts" as the data modification method of the application data to be modified.
In the method provided by the embodiment of the present application, the server 20 may perform state detection on the target application, and determine, based on the detection result, a data tag and a data modification manner of application data to be modified of the target application according to a preset rule. Therefore, the method provided by the embodiment of the application data modification method can automatically determine the data tag and the data modification mode of the application data to be modified according to the state detection result of the target application, so that the automatic management of the target application is realized, and the modification efficiency of the application data of the target application is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an application data management device for realizing the application data management method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more application data management devices provided below may refer to the limitation of the application data management method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 7, there is provided an application data management apparatus including: a receiving module and a modifying module, wherein:
a receiving module 701, configured to receive a data modification instruction sent by a server of a target application; the data modification instruction comprises a data tag and a data modification mode;
and the modifying module 702 is configured to determine application data to be modified corresponding to the target application according to the data tag, and modify the application data to be modified according to the data modification mode.
In one embodiment, before receiving the data modification instruction sent by the server of the target application, the application data management method further includes: generating application data of the target application and a data tag of the application data; storing application data of the target application, and generating data record information according to a storage address of the application data and a data tag of the application data; and sending the data label of the application data to the server.
In one embodiment, determining, according to the data tag, application data to be modified corresponding to the target application includes: and inquiring the data record information according to the data label, and determining the data stored in the storage address corresponding to the data label in the data record information as the application data to be modified.
In one embodiment, the data tag is used to uniquely identify the target application, or the data tag is used to uniquely identify a set of application data of the target application, or the data tag is used to identify the target application and the application data of the target application.
In one embodiment, the data modification means includes one or more of the following: modify storage, modify security level, modify data type, modify data volume, and modify encryption.
In one embodiment, the application data management method further includes: when the application data of the target application is updated, the tag of the application data of the target application is updated.
The respective modules in the above-described application data management apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Based on the same inventive concept, the embodiment of the application also provides an application data management device for realizing the application data management method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of one or more application data management devices provided below may refer to the limitation of the application data management method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 8, there is provided an application data management apparatus including: a determining module and a transmitting module, wherein:
a determining module 801, configured to determine a data tag and a data modification manner of application data to be modified of a target application;
a sending module 802, configured to send a data modification instruction to an operating terminal of the target application; the data modification instruction includes the data tag and the data modification mode.
In one embodiment, the determining module 801 is specifically configured to receive a user setting instruction through an application data configuration interface; and determining the data tag and the data modification mode according to the user setting instruction.
In one embodiment, the application data configuration interface includes a data tag configuration item and a data modification mode configuration item; the user setting instruction is used for representing the data tag input by the user through the data tag configuration item and the data modification mode input by the user through the data modification mode configuration item.
In one embodiment, the determining module 801 is specifically configured to perform state detection on the target application; and determining a data tag and a data modification mode of the application data to be modified of the target application based on the detection result.
In one embodiment, a computer device is provided, which may be a server, the internal code of which, when executed, is adapted to carry out the steps performed by the server 20 described above. The internal structure thereof can be shown in fig. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing some data related to the application data management method described in the embodiments of the present application, for example, the data tag, the data modification manner and the like described above. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an application data management method.
In one embodiment, a computer device is provided, which may be a terminal, the internal code of which, when executed, is adapted to carry out the steps performed by the terminal 10 described above. The internal structure thereof can be shown in fig. 10. The computer device includes a processor, a memory, and a communication interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an application data management method.
It will be appreciated by those skilled in the art that the structures shown in fig. 9 and 10 are merely block diagrams of partial structures associated with the aspects of the present application and are not intended to limit the computer device to which the aspects of the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (13)

1. An application data management method, applied to a terminal, where the terminal cannot modify application data, the method includes:
receiving a data modification instruction sent by a server of a target application; the data modification instruction comprises a data tag and a data modification mode; the data modification mode comprises one or more of the following:
Modifying the storage mode, modifying the security level, modifying the data type, modifying the data amount and modifying the encryption mode;
determining application data to be modified corresponding to the target application according to the data tag, and modifying the application data to be modified according to the data modification mode;
the determining the application data to be modified corresponding to the target application according to the data tag includes:
and inquiring data record information according to the data tag, and determining that the data stored in the storage address corresponding to the data tag in the data record information is the application data to be modified.
2. The method of claim 1, wherein prior to receiving the data modification instruction sent by the server of the target application, the method further comprises:
generating application data of the target application and a data tag of the application data;
storing application data of the target application, and generating data record information according to a storage address of the application data and a data tag of the application data;
and sending the data tag of the application data to the server.
3. The method of claim 1, wherein the data tag is used to uniquely identify the target application, or wherein the data tag is used to uniquely identify a set of application data for the target application, or wherein the data tag is used to identify the target application and the application data for the target application.
4. The method according to claim 1, wherein the method further comprises:
and when the application data of the target application is updated, updating the label of the application data of the target application.
5. An application data management method, applied to a server, and in the case that a terminal cannot modify application data, the method includes:
determining a data tag and a data modification mode of application data to be modified of a target application; the data modification mode comprises one or more of the following:
modifying the storage mode, modifying the security level, modifying the data type, modifying the data amount and modifying the encryption mode;
transmitting a data modification instruction to an operation terminal of the target application; the data modification instruction comprises the data tag and the data modification mode, so that the terminal determines application data to be modified corresponding to the target application according to the data tag, and modifies the application data to be modified according to the data modification mode; the determining the application data to be modified corresponding to the target application according to the data tag includes: and inquiring data record information according to the data tag, and determining that the data stored in the storage address corresponding to the data tag in the data record information is the application data to be modified.
6. The method according to claim 5, wherein determining the data tag and the data modification manner of the application data to be modified of the target application includes:
receiving a user setting instruction through an application data configuration interface;
and determining the data tag and the data modification mode according to the user setting instruction.
7. The method of claim 6, wherein the application data configuration interface includes a data tag configuration item and a data modification mode configuration item;
the user setting instruction is used for representing the data tag input by the user through the data tag configuration item and the data modification mode input by the user through the data modification mode configuration item.
8. The method according to claim 5, wherein determining the data tag and the data modification manner of the application data to be modified of the target application includes:
detecting the state of the target application;
and determining a data tag and a data modification mode of the application data to be modified of the target application based on the detection result.
9. An application data management apparatus, applied to a terminal, in a case where the terminal cannot modify application data, comprising:
The receiving module is used for receiving a data modification instruction sent by a server of the target application; the data modification instruction comprises a data tag and a data modification mode; the data modification mode comprises one or more of the following:
modifying the storage mode, modifying the security level, modifying the data type, modifying the data amount and modifying the encryption mode;
the modification module is used for determining application data to be modified corresponding to the target application according to the data tag and modifying the application data to be modified according to the data modification mode;
the modification module is further configured to query data record information according to the data tag, and determine that data stored in a storage address corresponding to the data tag in the data record information is the application data to be modified.
10. An application data management apparatus, applied to a server, in a case where a terminal cannot modify application data, comprising:
the determining module is used for determining a data tag and a data modification mode of the application data to be modified of the target application; the data modification mode comprises one or more of the following:
modifying the storage mode, modifying the security level, modifying the data type, modifying the data amount and modifying the encryption mode;
The sending module is used for sending a data modification instruction to the running terminal of the target application; the data modification instruction comprises the data tag and the data modification mode, so that the terminal determines application data to be modified corresponding to the target application according to the data tag, and modifies the application data to be modified according to the data modification mode; the determining the application data to be modified corresponding to the target application according to the data tag includes: and inquiring data record information according to the data tag, and determining that the data stored in the storage address corresponding to the data tag in the data record information is the application data to be modified.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 8.
13. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method of any one of claims 1 to 8.
CN202111426724.9A 2021-11-27 2021-11-27 Application data management method, device, computer equipment and storage medium Active CN114036171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111426724.9A CN114036171B (en) 2021-11-27 2021-11-27 Application data management method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111426724.9A CN114036171B (en) 2021-11-27 2021-11-27 Application data management method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114036171A CN114036171A (en) 2022-02-11
CN114036171B true CN114036171B (en) 2024-04-12

Family

ID=80145820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111426724.9A Active CN114036171B (en) 2021-11-27 2021-11-27 Application data management method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114036171B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955358A (en) * 2012-09-18 2014-07-30 马维尔国际贸易有限公司 Modifiable contextual help content provided in-line within an application
CN104636375A (en) * 2013-11-12 2015-05-20 中兴通讯股份有限公司 Method and device for automatically backing up application data and restoring application data according to needs
CN106293667A (en) * 2015-05-27 2017-01-04 阿里巴巴集团控股有限公司 A kind of application modification detection method and device
CN106790131A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of parameter modification method, device and distributed platform
CN108549555A (en) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 Processing method, embedded system device and the storage medium of customized software
CN108595968A (en) * 2018-04-20 2018-09-28 北京数字认证股份有限公司 A kind of data guard method, device and equipment
US10747510B1 (en) * 2019-06-04 2020-08-18 Apptimize Llc Application runtime modification
CN112115115A (en) * 2020-09-28 2020-12-22 企查查科技有限公司 File moving method and device based on data warehouse and storage medium
CN112152804A (en) * 2020-09-16 2020-12-29 北京奇艺世纪科技有限公司 Method, device and system for dynamically configuring private key for cloud server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9342618B2 (en) * 2012-06-04 2016-05-17 Sap Se Web application compositon and modification editor
US11403263B2 (en) * 2019-06-05 2022-08-02 Netflix, Inc. Techniques for file versioning to protect against file corruption

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955358A (en) * 2012-09-18 2014-07-30 马维尔国际贸易有限公司 Modifiable contextual help content provided in-line within an application
CN104636375A (en) * 2013-11-12 2015-05-20 中兴通讯股份有限公司 Method and device for automatically backing up application data and restoring application data according to needs
CN106293667A (en) * 2015-05-27 2017-01-04 阿里巴巴集团控股有限公司 A kind of application modification detection method and device
CN106790131A (en) * 2016-12-27 2017-05-31 中国建设银行股份有限公司 A kind of parameter modification method, device and distributed platform
CN108549555A (en) * 2018-04-10 2018-09-18 Tcl通力电子(惠州)有限公司 Processing method, embedded system device and the storage medium of customized software
CN108595968A (en) * 2018-04-20 2018-09-28 北京数字认证股份有限公司 A kind of data guard method, device and equipment
US10747510B1 (en) * 2019-06-04 2020-08-18 Apptimize Llc Application runtime modification
CN112152804A (en) * 2020-09-16 2020-12-29 北京奇艺世纪科技有限公司 Method, device and system for dynamically configuring private key for cloud server
CN112115115A (en) * 2020-09-28 2020-12-22 企查查科技有限公司 File moving method and device based on data warehouse and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A small cache of large ranges: Hardware methods for efficiently searching, storing, and updating big dataflow tags;Mohit Tiwari等;《2008 41st IEEE/ACM International Symposium on Microarchitecture》;20090202;第94-105页 *
面向移动终端的环绕智能中间件关键技术研究;罗建超;《中国博士学位论文全文数据库信息科技辑》;20160315(第3期);第I139-44页 *

Also Published As

Publication number Publication date
CN114036171A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN111984659B (en) Data updating method, device, computer equipment and storage medium
US20120159515A1 (en) Sharing object representations
CN113918437A (en) User behavior data analysis method and device, computer equipment and storage medium
CN110442636B (en) Data reading and writing method and device and data reading and writing equipment
CN114238085A (en) Interface testing method and device, computer equipment and storage medium
US10439897B1 (en) Method and apparatus for enabling customized control to applications and users using smart tags
CN114036171B (en) Application data management method, device, computer equipment and storage medium
US8725966B2 (en) Generation and update of storage groups constructed from storage devices distributed in storage subsystems
CN116488986A (en) Event-driven message touch method, system and device and storage medium
CN115858471A (en) Service data change recording method, device, computer equipment and medium
CN113435948B (en) E-commerce platform data monitoring method and system
CN112783866B (en) Data reading method, device, computer equipment and storage medium
CN116127154A (en) Knowledge tag recommendation method and device, electronic equipment and storage medium
CN112181407B (en) Service realization processing method, device, system, electronic equipment and storage medium
US8977814B1 (en) Information lifecycle management for binding content
CN114528045B (en) Plug-in operation method, device, computer equipment and storage medium
CN114661249B (en) Data storage method and device, computer equipment and storage medium
CN117370078B (en) Database backup management method, device, computer equipment and storage medium
CN110019034A (en) Formfile loading method and device
CN116880927A (en) Rule management method, device, computer equipment and storage medium
CN116894044A (en) Data management method, device, computer equipment and storage medium
CN116483870A (en) Data processing method, device, computer equipment and storage medium
CN118409956A (en) Performance test method, apparatus, computer device, storage medium, and program product
CN117407411A (en) Execution method and device of database statement
CN117032729A (en) Configuration information modification method, device, computer 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

Country or region after: China

Address after: No. 8 Huizhi Street, Suzhou Industrial Park, Suzhou Area, China (Jiangsu) Pilot Free Trade Zone, Suzhou City, Jiangsu Province, 215000

Applicant after: Qichacha Technology Co.,Ltd.

Address before: Room 503, 5 / F, C1 building, 88 Dongchang Road, Suzhou Industrial Park, 215000, Jiangsu Province

Applicant before: Qicha Technology Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant