CN115858461A - Data management method, device, equipment and storage medium - Google Patents

Data management method, device, equipment and storage medium Download PDF

Info

Publication number
CN115858461A
CN115858461A CN202211461759.0A CN202211461759A CN115858461A CN 115858461 A CN115858461 A CN 115858461A CN 202211461759 A CN202211461759 A CN 202211461759A CN 115858461 A CN115858461 A CN 115858461A
Authority
CN
China
Prior art keywords
data
request
storage area
request information
matching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211461759.0A
Other languages
Chinese (zh)
Inventor
徐永千
陈强
何祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211461759.0A priority Critical patent/CN115858461A/en
Publication of CN115858461A publication Critical patent/CN115858461A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data management method, a device, equipment and a storage medium, wherein the method comprises the following steps: when data request information is received, determining whether matched data exists in a local storage area; if the data request information does not exist, the data request information is sent to the corresponding slave system, and a virtual file system partition for storing the multiplexing data of the external system is divided in a data storage area of the slave system; and receiving matching data searched from the virtual file system partition by the slave system according to the data request information. The invention enables a plurality of systems to access and operate the same storage area, realizes the multiplexing of different systems to the same storage area, solves the technical problem that part of tasks cannot be executed due to small storage space allocated for the systems in the intelligent equipment, and improves the user experience while reducing the hardware cost and the hardware volume.

Description

Data management method, device, equipment and storage medium
Technical Field
The present invention relates to the field of file system technologies, and in particular, to a data management method, apparatus, device, and storage medium.
Background
With the development of intelligent devices, the intelligent devices can support more and more intelligent applications, and the intelligent devices may need multiple software and hardware systems to work cooperatively in hardware design, and the intelligent devices carrying multiple software and hardware systems are limited by factors such as hardware cost and size in the hardware design process, and some systems have smaller storage space and more abundant storage space, and if a system with small storage space needs to load resources exceeding the hardware conditions of the system, the resource loading fails, and related tasks cannot be executed.
The above is only for the purpose of assisting understanding of the technical solution of the present invention, and does not represent an admission that the above is the prior art.
Disclosure of Invention
The invention mainly aims to provide a data management method, a data management device, data management equipment and a data management storage medium, and aims to solve the technical problem that part of tasks cannot be executed due to the fact that a storage space allocated for a system is small in the prior art.
In order to achieve the above object, the present invention provides a data management method, comprising the steps of:
when data request information is received, determining whether matching data exists in a local storage area;
if the data request information does not exist, the data request information is sent to a corresponding slave system, and a virtual file system partition used for storing external system multiplexing data is divided in a data storage area of the slave system;
and receiving the matching data searched by the slave system from the virtual file system partition according to the data request information.
Optionally, the sending the data request information to a corresponding slave system includes:
determining the request priority of each data request in the data request information;
and sequentially sending the data requests to corresponding slave systems according to the request priority.
Optionally, the determining the request priority of each data request in the data request information includes:
determining a request data type corresponding to each data request in the data request information;
and determining the request priority of each data request according to the request data type.
Optionally, before determining whether there is matching data in the local storage area when receiving the data request information, the method further includes:
determining a request frequency of the received data request;
and when the request frequency is greater than the preset frequency, acquiring matching data fed back by the slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area.
Optionally, the local storage area includes a local file system and a local cache;
when the request frequency is greater than the preset frequency, acquiring matching data fed back from a system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area, including:
when the request frequency is greater than a first preset frequency, acquiring matching data fed back by a slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in the local cache; and
and when the request frequency is greater than a second preset frequency, the matching data is transferred from the local cache to the local file system, wherein the second preset frequency is greater than the first preset frequency.
Optionally, the determining whether there is matching data in the local storage area when the data request information is received includes:
when data request information is received, judging whether the local file system has matched data or not;
if not, judging whether the local cache has matched data or not;
and when the matching data does not exist in the local cache, judging that the matching data does not exist in the local storage area.
In order to achieve the above object, the present invention provides a data management method, including:
when data request information sent by a main system is received, searching matched data in a virtual file system partition in a storage area according to the data request information;
determining the data priority of each matched data;
and sending the matched data to the main system according to the data priority.
In addition, to achieve the above object, the present invention also provides a data management apparatus, including:
the file system adaptation module is used for determining whether the local storage area has matching data or not when receiving the data request information;
the data communication module is used for sending the data request information to a corresponding slave system if the data request information does not exist, and a virtual file system partition used for storing multiplexing data of an external system is divided in a data storage area of the slave system;
the data communication module is further configured to receive matching data that is searched by the slave system from the virtual file system partition according to the data request information.
In addition, to achieve the above object, the present invention also provides a data management apparatus, including: a memory, a processor and a data management program stored on the memory and executable on the processor, the data management program being configured to implement the steps of the data management method as described above.
Furthermore, to achieve the above object, the present invention also proposes a storage medium having stored thereon a data management program which, when executed by a processor, implements the steps of the data management method as described above.
When receiving data request information, the invention determines whether the local storage area has matching data; if the data request information does not exist, the data request information is sent to a corresponding slave system, and a virtual file system partition used for storing external system multiplexing data is divided in a data storage area of the slave system; and receiving the matching data searched by the slave system from the virtual file system partition according to the data request information. According to the method and the device, when the local storage area does not have the matching data corresponding to the data request information, the data request information is sent to the corresponding slave system, and the slave system searches the matching data in the virtual file system partition in the data storage area according to the data request information, so that a plurality of systems can access and operate the same storage area, the multiplexing of different systems to the same storage area is realized, the technical problem that part of tasks cannot be executed due to the fact that the storage space allocated for the systems in the intelligent device is small is solved, the hardware cost and the hardware volume are reduced, and meanwhile the user experience is improved.
Drawings
Fig. 1 is a schematic structural diagram of a data management device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a data management method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a data management method according to a second embodiment of the present invention;
FIG. 4 is a flow chart illustrating the process of obtaining matching data from the slave system according to an embodiment of the data management method of the present invention;
FIG. 5 is a flowchart illustrating a data management method according to another embodiment of the present invention;
FIG. 6 is a block diagram of a first embodiment of a data management device according to the present invention;
FIG. 7 is a block diagram of a second embodiment of a data management device according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a data management device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the data management apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a high-speed Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the data management device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a data management program.
In the data management apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the data management apparatus of the present invention may be provided in a data management apparatus that calls a data management program stored in the memory 1005 through the processor 1001 and executes a data management method provided by an embodiment of the present invention.
An embodiment of the present invention provides a data management method, and referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the data management method according to the present invention.
In this embodiment, the data management method includes the following steps:
step S10: upon receiving the data request information, it is determined whether there is matching data in the local storage area.
It should be noted that the execution subject of the embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, a wearable device, or an electronic device, a data management device, a host system, etc. capable of implementing the above functions. The present embodiment and the following embodiments are exemplified below by taking the master system as an example.
It is understood that the data request information may be information requesting to invoke data, the data request information includes data requests, and the number of the data requests in the data request information is at least one; the local storage area may be a storage area allocated to the host system when the hardware is designed; the matching data may be data stored in the local storage area and matching the data request in the data request information, for example, if the data request in the data request information is a gyroscope data request, the matching data is gyroscope data, where the data request may also be a picture data request, an audio data request, and the like, and this embodiment is not limited herein.
In a specific implementation, when the host system receives the data request information, the data request included in the data request information is determined, and whether data matched with the data request is stored in a local storage area allocated to the host system is judged.
Step S20: and if the data request information does not exist, the data request information is sent to a corresponding slave system, and a virtual file system partition for storing the multiplexing data of the external system is divided in a data storage area of the slave system.
It is understood that the master system and the slave system may be determined according to the role in accessing and operating the same storage area, the number of the slave systems is at least one, the master system may request data from the virtual file system partition in the slave system data storage area, for example, there are 3 systems a, B and C, it is assumed that system a requests data from the data storage area of system B, and at this time, data a may be called the master system, system B may be called the slave system, and it is assumed that system B requests data from the data storage area of system C, and at this time, data B may be called the master system, and data C may be called the slave system; the data storage area can be a storage area allocated to the slave system during hardware design; the external system multiplexing data can be data which can be used by both the master system and the slave system; the virtual file system partition can be a storage partition which is divided in the data storage system and used for storing the virtual file system; because the operating state of the system is constantly changing, in order to adapt to different operating states of the system, the size of the virtual file system partition can be dynamically adjusted according to the operating state of the system, for example, the data size of the request data in the preset historical time length is determined, and the size of the virtual file system partition is adjusted according to the data size.
Step S30: and receiving the matching data searched by the slave system from the virtual file system partition according to the data request information.
It should be noted that, after receiving the data request in the data request information, the slave system searches for data matching the data request in the virtual file system partition according to the data request, and feeds back the searched data to the master system.
In a specific implementation, for example, the wearable device includes three systems, which are a system a, a system B, and a system C, where the system a is a master system, and the system B and the system C are slave systems of the system a, where a data storage area of the system B is divided into virtual file system partitions B1 for storing sensor data, a data storage area of the system C is divided into virtual file system partitions C1 for storing picture data, data request information received by the system a includes a picture data request and a sensor data request, the system a finds corresponding picture data and sensor data in a local storage area, sends the picture data request to the system C, sends the sensor data request to the system B, the system B finds sensor data in the virtual file system partition B1 after receiving the sensor data request, and feeds back the found sensor data to the system a, and the system C finds picture data in the virtual file system partition C1 after receiving the picture data request; the data is not limited to the picture data and the sensor data, and may also be audio data, video data, and the like, and the picture data and the sensor data may also be stored in the system B or the system C at the same time, and at this time, only the data needs to be requested from the system B or the system C, and the embodiment is not limited herein.
Further, in order to improve the request efficiency of important data, the sending the data request information to a corresponding slave system includes: determining the request priority of each data request in the data request information; and sequentially sending the data requests to corresponding slave systems according to the request priority.
It is understood that the request priority may be a priority of data corresponding to the data request, and a higher request priority indicates that the data corresponding to the data request is more important; a priority flag for the corresponding data may be added to the data request.
In specific implementation, when the master system receives the data request information, the master system analyzes each data request, determines a priority mark of each data request according to an analysis result, sends the data request with high priority to the slave system according to the priority mark, and then sends the data request with low priority to the slave system.
Further, in order to improve the request efficiency of important data, the determining the request priority of each data request in the data request information includes: determining a request data type corresponding to each data request in the data request information; and determining the request priority of each data request according to the request data type.
It is understood that the request data type may be a data type corresponding to the data request, and the request data type includes sensor data, picture data, audio data, and the like; corresponding priorities can be set for each request data type, the request data type has high priority, and the corresponding request has high priority.
In specific implementation, for example, multiple types of data are stored in a virtual file system partition of a system, the virtual file system partition is subdivided into different storage areas according to the data types, and the different types of data are stored in the corresponding areas; when the main system receives the data request information, determining a request data type corresponding to each data request in the data request information, and determining the priority of the corresponding data request according to the priority preset for the request data type; data with high real-time requirements may be set as high priority data and data with low real-time requirements may be set as low priority data, e.g. sensor data may be set as high priority data and picture data may be set as low priority data.
The embodiment determines whether the local storage area has matching data or not when receiving the data request information; if the data request information does not exist, the data request information is sent to a corresponding slave system, and a virtual file system partition used for storing external system multiplexing data is divided in a data storage area of the slave system; and receiving the matching data searched by the slave system from the virtual file system partition according to the data request information. In the embodiment, when the local storage area does not have the matching data corresponding to the data request information, the data request information is sent to the corresponding slave system, and the slave system searches the matching data in the virtual file system partition in the data storage area according to the data request information, so that a plurality of systems can access and operate the same storage area, the multiplexing of different systems to the same storage area is realized, the technical problem that part of tasks cannot be executed due to small storage space allocated for the systems in the intelligent equipment is solved, the hardware cost and the hardware volume are reduced, and the user experience is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a data management method according to a second embodiment of the present invention.
Based on the first embodiment, in this embodiment, before the step S10, the method further includes:
step S01: a request frequency of the received data requests is determined.
It can be understood that the request frequency may be the frequency of receiving the same data request within a preset time length; the main system can count the number of the received data requests and calculate the request frequency of each data request according to the counting result.
Step S02: and when the request frequency is greater than the preset frequency, acquiring matching data fed back by the slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area.
It is understood that the preset frequency may be a preset threshold frequency; if the request frequency is greater than the preset frequency, it is judged that the data request frequency corresponding to the data request is high, in order to improve the acquisition efficiency of the request data, when the data request frequency is high, matching data fed back from the system according to the data request are acquired in advance through a preset data transmission channel, the matching data are stored in a local storage area, when the main system receives the data request, the corresponding request data can be directly read from the local storage area, the request data do not need to be acquired from the slave system, the data transmission time is shortened, the data access path is more efficient, and the acquisition efficiency of the high-frequency request data is improved. The preset data transmission channel may be a channel established between the master system and the slave system and used for transmitting data, and the preset data transmission channel may be established based on UART, SPI, SHM, or other manners, which is not limited herein.
It should be understood that, when the request frequency is greater than the preset frequency, the obtaining of the matching data fed back from the system according to the data request through the preset data transmission channel in advance may be that when the request frequency is greater than the preset frequency, the corresponding data is determined to be high-frequency request data, and the main system obtains the matching data fed back from the system through the preset data transmission channel in advance.
In specific implementation, a main system obtains the number of received data requests, determines the request frequency of the data requests according to the number of the data requests, determines that corresponding data is high-frequency request data when the request frequency is greater than a preset frequency, obtains matching data fed back by a slave system according to the data requests through a preset data transmission channel in advance by the main system, stores the matching data in a local storage area, and can directly obtain the matching data from the local storage area when the main system receives the data requests corresponding to the high-frequency request data again.
Further, for some high-frequency request data, if the high-frequency request data are acquired from the slave system every time, the acquisition efficiency of the data is low due to the long access path, and in order to reduce the access path of the high-frequency request data and improve the data acquisition efficiency, the local storage area comprises a local file system and a local cache; the step S02 includes: when the request frequency is greater than a first preset frequency, acquiring matching data fed back by a slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in the local cache; and when the request frequency is greater than a second preset frequency, the matching data is transferred from the local cache to the local file system, wherein the second preset frequency is greater than the first preset frequency.
In specific implementation, the main system determines a request frequency of a data request, acquires matching data fed back by the slave system according to the data request through a preset data transmission channel in advance when the request frequency is greater than a first preset frequency, stores the matching data in a local cache, and forwards the matching data in the local cache to a local file system when the request frequency is greater than a second preset frequency.
Further, the matching data may be stored in a local file system or a local cache, and in order to reduce the data access path, the determining whether the matching data exists in the local storage area when the data request information is received includes: when data request information is received, judging whether the local file system has matched data or not; if not, judging whether the local cache has matching data or not; and when the matching data does not exist in the local cache, judging that the matching data does not exist in the local storage area.
The virtual file system in the main system includes a file system adaptation module, a data communication module, a priority management module and a cache management module, where the file system adaptation module receives data request information, determines whether matching data of each data request in the data request information is stored in a local file system, if not, continuously determines whether the matching data exists in a local cache, if no matching data exists in the local cache, the priority management module identifies a request priority of each data request, after the request priority is determined, the data communication module sequentially sends the data requests to the slave system according to the request priority from high to low, and acquires matching data found by the slave system according to the data requests, and during the operation of the system, the cache management module monitors the request frequency of each data request in real time, and when the request frequency is greater than a first preset frequency, acquires corresponding matching data from the slave system in advance through a preset data transmission channel, the acquired matching data are stored to the local file system first, and when the request frequency of the data request is greater than a second preset frequency, the matching data in the local cache are transferred to the local file system.
In specific implementation, referring to fig. 4, fig. 4 is a schematic flow diagram of acquiring matching data from a slave system, when a host system receives data request information, it is determined whether a local file system stores matching data corresponding to a data request in the data request information, and if the local file system stores the matching data, the matching data is read from the local file system; if not, judging whether the local cache stores the matching data corresponding to the data request, and if so, reading the matching data from the local cache; if the data request information does not exist, determining the request priority of each data request in the data request information, sending the data request to the slave system according to the request priority, searching matched data in the virtual file system partition according to the data request after the slave system receives the data request, identifying the data priority of the matched data by the slave system, and sending the matched data to the master system through a preset data transmission channel according to the data priority.
The present embodiment determines a request frequency of a received data request; and when the request frequency is greater than the preset frequency, acquiring matching data fed back by the slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area. According to the embodiment, when the request frequency of the data request is greater than the preset frequency, the matching data is requested from the slave system in advance, and the matching data is stored in the local storage area, so that when the master system receives the data request again, the matching data can be directly read from the local storage area, the data access path is reduced, and the acquisition efficiency of the high-frequency request data is improved.
An embodiment of the present invention further provides a data management method, and referring to fig. 5, fig. 5 is a flowchart illustrating another embodiment of the data management method according to the present invention.
In this embodiment, the data management method includes the following steps:
step S1: and when data request information sent by a main system is received, searching matched data in a virtual file system partition in a storage area according to the data request information.
It should be noted that the execution subject of the embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, a wearable device, or an electronic device, a data management device, a slave system, etc. capable of implementing the above functions. The present embodiment and the following embodiments will be described below by taking the slave system as an example.
It can be understood that the virtual file system in the slave system includes a file system adaptation module, a data communication module and a priority management module, the slave system obtains matching data corresponding to the data request through the file system adaptation module, the priority management module determines the priority of the matching data, and the data communication module sends the matching data to the master system.
Step S2: determining the data priority of each matched data;
and step S3: and sending the matched data to the main system according to the data priority.
In specific implementation, the slave system receives data request information sent by the master system through the data transmission system, searches for matched data in a virtual file system partition in a data storage area according to the data request information, determines the data priority of each matched data, sends the matched data with the priority greater than the preset priority to the master system through a high-priority data channel, and sends the matched data with the priority less than or equal to the preset priority to the master system through a low-priority data channel.
In this embodiment, when data request information sent by a host system is received, matching data is searched in a virtual file system partition in a storage area according to the data request information; determining the data priority of each matched data; and sending the matched data to the main system according to the data priority. According to the embodiment, the matching data is sent to the main system according to the priority of the matching data, so that the transmission efficiency of the high-priority data is improved.
Furthermore, an embodiment of the present invention further provides a storage medium, where the storage medium stores a data management program, and the data management program, when executed by a processor, implements the steps of the data management method as described above.
Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of the data management device of the present invention.
As shown in fig. 6, the data management apparatus according to the embodiment of the present invention includes:
the file system adapting module 10 is configured to determine whether matching data exists in the local storage area when receiving the data request information;
the data communication module 20 is configured to send the data request information to a corresponding slave system if the data request information does not exist, where a virtual file system partition for storing external system multiplexing data is divided in a data storage area of the slave system;
the data communication module 20 is further configured to receive matching data that is searched by the slave system from the virtual file system partition according to the data request information.
The embodiment determines whether the local storage area has matching data or not when receiving the data request information; if the data request information does not exist, the data request information is sent to a corresponding slave system, and a virtual file system partition used for storing external system multiplexing data is divided in a data storage area of the slave system; and receiving the matching data searched by the slave system from the virtual file system partition according to the data request information. In the embodiment, when the local storage area does not have the matching data corresponding to the data request information, the data request information is sent to the corresponding slave system, and the slave system searches the matching data in the virtual file system partition in the data storage area according to the data request information, so that a plurality of systems can access and operate the same storage area, the multiplexing of different systems to the same storage area is realized, the technical problem that part of tasks cannot be executed due to small storage space allocated for the systems in the intelligent equipment is solved, the hardware cost and the hardware volume are reduced, and the user experience is improved.
Referring to fig. 7, a second embodiment of the data management device of the present invention is proposed based on the above first embodiment of the data management device of the present invention.
In this embodiment, the data management apparatus further includes a priority management module 30, where the priority management module 30 is configured to determine a request priority of each data request in the data request information; and sequentially sending the data requests to corresponding slave systems according to the request priority.
The priority management module 30 is further configured to determine a request data type corresponding to each data request in the data request information; and determining the request priority of each data request according to the request data type.
The data management device further comprises a cache management module 40, wherein the cache management module 40 is configured to determine a request frequency of the received data request; and when the request frequency is greater than a preset frequency, acquiring matching data fed back from a system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area.
The cache management module 40 is further configured to, when the request frequency is greater than a first preset frequency, obtain matching data fed back by a slave system according to the data request in advance through a preset data transmission channel, and store the matching data in the local cache; when the request frequency is greater than a second preset frequency, the matching data is transferred from the local cache to the local file system, and the second preset frequency is greater than the first preset frequency; the local storage area includes a local file system and a local cache.
The file system adapting module 10 is further configured to determine whether there is matching data in the local file system when receiving the data request information; if not, judging whether the local cache has matched data or not; and when the matching data does not exist in the local cache, judging that the matching data does not exist in the local storage area.
Other embodiments or specific implementation manners of the data management apparatus of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for managing data, the method comprising:
when data request information is received, determining whether matching data exists in a local storage area;
if the data request information does not exist, the data request information is sent to a corresponding slave system, and a virtual file system partition used for storing external system multiplexing data is divided in a data storage area of the slave system;
and receiving the matching data searched by the slave system from the virtual file system partition according to the data request information.
2. The method of claim 1, wherein said sending the data request message to a corresponding slave system comprises:
determining the request priority of each data request in the data request information;
and sequentially sending the data requests to corresponding slave systems according to the request priority.
3. The method of claim 2, wherein said determining a request priority for each data request in said data request information comprises:
determining a request data type corresponding to each data request in the data request information;
and determining the request priority of each data request according to the request data type.
4. The method of claim 1, wherein prior to determining whether there is matching data in the local storage area upon receiving the data request message, further comprising:
determining a request frequency of the received data request;
and when the request frequency is greater than the preset frequency, acquiring matching data fed back by the slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area.
5. The method of claim 4, wherein the local storage area comprises a local file system and a local cache;
when the request frequency is greater than the preset frequency, acquiring matching data fed back from a system according to the data request in advance through a preset data transmission channel, and storing the matching data in a local storage area, including:
when the request frequency is greater than a first preset frequency, acquiring matching data fed back by a slave system according to the data request in advance through a preset data transmission channel, and storing the matching data in the local cache; and
and when the request frequency is greater than a second preset frequency, the matching data is transferred from the local cache to the local file system, wherein the second preset frequency is greater than the first preset frequency.
6. The method of claim 5, wherein determining whether there is matching data in the local storage area upon receiving the data request message comprises:
when data request information is received, judging whether the local file system has matched data or not;
if not, judging whether the local cache has matching data or not;
and when the matching data does not exist in the local cache, judging that the matching data does not exist in the local storage area.
7. A method for managing data, the method comprising:
when data request information sent by a main system is received, searching matched data in a virtual file system partition in a storage area according to the data request information;
determining the data priority of each matched data;
and sending the matched data to the main system according to the data priority.
8. A data management apparatus, characterized in that the apparatus comprises:
the file system adaptation module is used for determining whether the local storage area has matching data or not when receiving the data request information;
the data communication module is used for sending the data request information to a corresponding slave system if the data request information does not exist, and a virtual file system partition used for storing multiplexing data of an external system is divided in a data storage area of the slave system;
the data communication module is further configured to receive matching data that is searched by the slave system from the virtual file system partition according to the data request information.
9. A data management apparatus, characterized in that the apparatus comprises: a memory, a processor and a data management program stored on the memory and executable on the processor, the data management program being configured to implement the steps of the data management method of any one of claims 1 to 6 or claim 7.
10. A storage medium having stored thereon a data management program which, when executed by a processor, implements the steps of the data management method of any one of claims 1 to 6 or claim 7.
CN202211461759.0A 2022-11-21 2022-11-21 Data management method, device, equipment and storage medium Pending CN115858461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211461759.0A CN115858461A (en) 2022-11-21 2022-11-21 Data management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211461759.0A CN115858461A (en) 2022-11-21 2022-11-21 Data management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115858461A true CN115858461A (en) 2023-03-28

Family

ID=85664670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211461759.0A Pending CN115858461A (en) 2022-11-21 2022-11-21 Data management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115858461A (en)

Similar Documents

Publication Publication Date Title
CN108881396B (en) Network data loading method, device, equipment and computer storage medium
CN111221638B (en) Concurrent task scheduling processing method, device, equipment and medium
US8387056B2 (en) Method for dynamically enabling the expansion of a computer operating system
CN107818023B (en) Thread-based message processing method, intelligent device and storage medium
CN110888658B (en) Method and device for dynamically changing function modules in application program and storage medium
CN116599917B (en) Network port determining method, device, equipment and storage medium
CN111885184A (en) Method and device for processing hot spot access keywords in high concurrency scene
CN115237589A (en) SR-IOV-based virtualization method, device and equipment
CN114155026A (en) Resource allocation method, device, server and storage medium
CN116795647A (en) Method, device, equipment and medium for managing and scheduling heterogeneous resources of database
CN115017186A (en) Task processing method, device, equipment and medium
CN114265713B (en) RDMA event management method, RDMA event management device, RDMA event management computer equipment and storage medium
CN114036031B (en) Scheduling system and method for resource service application in enterprise digital middleboxes
CN111813541B (en) Task scheduling method, device, medium and equipment
CN109819674B (en) Computer storage medium, embedded scheduling method and system
CN117724852A (en) Cloud computer computing resource allocation method and device
CN111475230B (en) Application function configuration method and device and electronic equipment
CN111736761A (en) Data distribution method, device, storage system and computer readable storage medium
CN117093149A (en) Memory management method, device, medium and electronic equipment
CN108616576B (en) Method and device for scheduling application server
CN115858461A (en) Data management method, device, equipment and storage medium
CN113032153B (en) Dynamic capacity expansion method, system and device for container service resources and storage medium
CN115185667A (en) Visual application acceleration method and device, electronic equipment and storage medium
CN115629853A (en) Task scheduling method and device
CN110633141A (en) Memory management method and device of application program, terminal equipment and 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