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

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

Info

Publication number
CN114201679A
CN114201679A CN202111514883.4A CN202111514883A CN114201679A CN 114201679 A CN114201679 A CN 114201679A CN 202111514883 A CN202111514883 A CN 202111514883A CN 114201679 A CN114201679 A CN 114201679A
Authority
CN
China
Prior art keywords
role information
user
information
data
users
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
CN202111514883.4A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202111514883.4A priority Critical patent/CN114201679A/en
Priority to CN202210201630.XA priority patent/CN114428913A/en
Publication of CN114201679A publication Critical patent/CN114201679A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • G06F16/24558Binary matching operations
    • 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a data management method, a data management device, data management equipment and a storage medium. The method comprises the following steps: when receiving a query request sent by a user, determining the role information of the current user; determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users; and inquiring in the target data file according to the inquiry request to obtain an inquiry result. According to the technical scheme provided by the embodiment of the invention, the data files corresponding to the role information of all users are stored in the target database to form customized data management based on the roles of the users, so that the corresponding data files can be conveniently inquired according to the role information of the current user, the inquiry efficiency is improved, and the data storage space is saved.

Description

Data management method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data management, in particular to a data management method, a data management device, data management equipment and a storage medium.
Background
With the increasing financial services, a business operation usually accompanies data changes of a plurality of modules of the background system. According to the requirements of the financial industry, the inquiry of various dimensions of related transactions needs to be provided so as to support the development of marketing activities and evaluation of business departments. The financial marketing system is mainly characterized in that the financial marketing system has many report transactions and large data volume, and in the conventional report query, a full data file can be generated, so that the complex conditions such as multi-table joint check are involved, the query speed of a server is low, the working efficiency is seriously influenced, and the data storage space is wasted.
Disclosure of Invention
Embodiments of the present invention provide a data management method, apparatus, device, and storage medium, which form customized data management based on user roles by storing data files corresponding to role information of all users in a target database, so as to facilitate querying of corresponding data files according to role information of a current user, improve querying efficiency, and save data storage space.
In a first aspect, an embodiment of the present invention provides a data management method, where the method includes:
when receiving a query request sent by a user, determining the role information of the current user;
determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users;
and inquiring in the target data file according to the inquiry request to obtain an inquiry result.
In a second aspect, an embodiment of the present invention further provides a data management apparatus, where the apparatus includes:
the role information determining module is used for determining the role information of the current user when receiving a query request sent by the user;
the target data file determining module is used for determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users;
and the query result obtaining module is used for querying in the target data file according to the query request to obtain a query result.
In a third aspect, an embodiment of the present invention further provides a computer device, including: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the data management method as described in the first aspect above.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the data management method according to the first aspect.
The embodiment of the invention discloses a data management method, a data management device, data management equipment and a storage medium. The method comprises the following steps: when receiving a query request sent by a user, determining the role information of the current user; determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users; and inquiring in the target data file according to the inquiry request to obtain an inquiry result. According to the technical scheme provided by the embodiment of the invention, the data files corresponding to the role information of all users are stored in the target database to form customized data management based on the roles of the users, so that the corresponding data files can be conveniently inquired according to the role information of the current user, the inquiry efficiency is improved, and the data storage space is saved.
Drawings
Fig. 1 is a schematic flowchart of a data management method according to an embodiment of the present invention;
fig. 2 is a block diagram of a data management apparatus according to a second embodiment of the present invention;
fig. 3 is a block diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The terms "first" and "second," and the like in the description and claims of embodiments of the invention and in the drawings, are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
Example one
Fig. 1 is a schematic flow chart of a data management method according to an embodiment of the present invention, where the present embodiment is applicable to a data query situation of multi-table joint inspection, and the method may be executed by a data management device, where the device may be composed of hardware and/or software and may be generally integrated in a computer device, and the method specifically includes the following steps:
s110, when receiving an inquiry request sent by a user, determining the role information of the current user.
For the financial marketing system, a user needs to query data generated and stored by the system regularly or irregularly according to actual conditions to obtain user demand data. The system is characterized in that the report type transaction is multiple, the data volume is large, and complex conditions such as multi-table joint check can be involved in the conventional report query. Because different users have different requirements and different data to be queried, in order to acquire the data to be queried, the prior art often needs to traverse the whole data. According to the embodiment of the invention, the query requirements of the user are statistically analyzed from the habit of the user, and the personalized data file of the user is customized according to the requirement instead of blindly generating the full data file.
The role information of the user can be specifically understood as the post information of the user, different user post information has different data query right items, and simultaneously, different user post information has different data to be queried. Exemplarily, a first-level branch executive role can inquire the deposit balance of a mechanism in charge every day and also can inquire the detailed report of large fluctuation; the operation and maintenance personnel need to inquire the system operation data information and the like, and the operation and maintenance personnel have the authority of inquiring the system operation data information but do not have the authority of inquiring the deposit balance and the like.
In this embodiment, when a user performs data query, role information of the user needs to be determined first, and data files corresponding to the role information of the user are directly queried, so that data required by the user is quickly queried. Specifically, when a user queries data, the user initiates a data query request by operating on the system; when receiving a query request sent by a user, the request information may carry identification information of the current user, account information and a password corresponding to the current user, and the like; the corresponding role information of the current user can be found according to the account information of the current user, for example, when an inquiry request is received, the account information of the current user is determined, and if the account information is 'zhangzhi', the role information can be determined to be 'bank length' according to the account information. When data is inquired subsequently, the data file corresponding to the 'bank leader' can be inquired according to the role information of the data file, and therefore required data is inquired.
And S120, determining a target data file associated with the role information by combining a pre-stored target database based on the role information.
And the target database stores data files corresponding to the role information of all users. Users with different role information may need different data, which may result in different user query habits. Searching query habits of foreground users, such as what roles generally use what query conditions; based on data analysis, user portrayal is conducted on the query habits of users, and based on the role information of the users, user portrayals respectively containing different role information can be formed according to the requirements of the user portrayal and the defined report condition use frequency. And generating a customized queried data file corresponding to the role information of the user based on the distributed system infrastructure.
In this embodiment, each role information corresponds to one large data file, different role information corresponds to different data files, and the data files corresponding to different role information can be stored in the target database. By the method, the query requirements of the user can be statistically analyzed from the habit of the user, the personalized data files of the user can be customized according to the requirements instead of blindly generating the full data files, the query efficiency of the user is improved, and the batch time and the storage space of the server files are saved.
Specifically, after receiving a query request from a user and determining role information of the current user, a data file corresponding to the role information can be queried in a target database according to the role information for the next step of querying data by the user.
S130, inquiring in the target data file according to the inquiry request to obtain an inquiry result.
Specifically, according to the data query request, query is performed in the target data file to obtain a query result, and the query efficiency of the user is improved.
The embodiment of the invention discloses a data management method. The method comprises the following steps: when receiving a query request sent by a user, determining the role information of the current user; determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users; and inquiring in the target data file according to the inquiry request to obtain an inquiry result. According to the technical scheme provided by the embodiment of the invention, the data files corresponding to the role information of all users are stored in the target database to form customized data management based on the roles of the users, so that the corresponding data files can be conveniently inquired according to the role information of the current user, the inquiry efficiency is improved, and the data storage space is saved.
As an optional embodiment of the present invention, on the basis of the above embodiment, when receiving a query request sent by a user, the step of determining the role information of the current user may be specifically expressed as:
and S111, when receiving a query request sent by a user, determining account information of the current user.
In this embodiment, the system data resource is open to a user with system use authority, and when receiving an inquiry request sent by the user, the account information of the user accessing the system data resource needs to be confirmed to confirm the role information of the user. Specifically, the inquiry request sent by the user carries the account information and the password of the user, so that the account information of the current user can be determined based on the account information carried by the inquiry request.
And S112, determining the role information of the current user according to the account information.
It can be clear that a plurality of roles, such as an auditor, an administrator, a department manager, a logging operator, a system maintainer, a product developer, a product trader, and the like, can be divided under each business system, and the setting can be specifically performed according to actual conditions. Different roles correspond to different authority operations, such as auditing, managing, entry authority and the like, or have the same authority, such as downloading, viewing, deleting, creating, uploading, modifying and the like, and are specifically set according to actual conditions. Here, by determining the role information of the current user, the query habit corresponding to the role information, that is, the frequently queried data file corresponding to the role information, is determined.
Specifically, according to the account information of the current user, role information corresponding to the account information can be queried from the system. For example, when the account information of the current user is determined to be "a certain person", the role corresponding to "a certain person" can be found out to be a common employee from the correspondence table of the account information and the role information stored in the system.
As an optional embodiment of the present invention, on the basis of the above embodiment, the method further includes: and generating a target database based on the historical query information and the set use frequency of all the users.
In this embodiment, the historical query information of all users may be query information of all users obtained based on the system within a set time period, that is, query habits of different users are determined through the historical query information, and the query habits are used as basic data and are further analyzed, so that a multi-dimensional user portrait is established from aspects of role information, use frequency, transaction scenes, association relations and the like of the users; after the user portrait is generated, batch processing is carried out on the user portrait to realize customization of user data requirements; and meanwhile, loading the generated data file into a database for a subsequent user to inquire data.
It should be noted that some data in the system, such as reports, etc., need to be checked periodically, some data need to be checked by a user corresponding to certain role information according to a set frequency, and the set frequency may be daily, weekly, monthly, etc., and may be set according to actual situations. For example, a report that requires a general staff member to check or use every week may be set to be stored in the target database at a set frequency of every week. Similarly, the report should be stored corresponding to the corresponding role, i.e. the role of a common staff member.
Optionally, the step of generating the target database based on the historical query information of all users and the set use frequency may be specifically expressed as:
a1) based on historical query information for all users, a multi-dimensional user representation is created that includes role information.
The process of establishing the multi-dimensional user portrait abstracts each concrete information of the user into labels, and concreties the user image by using the labels, thereby providing targeted service for the user.
Specifically, historical query information of all users is acquired, and a multi-dimensional user portrait is established from the aspects of role information, use frequency, transaction scenes, incidence relations and the like of the users. To create a more specific user profile, the resulting data is rendered more comprehensive, with effective user tags refined, integrated, and more detailed user information depicted.
Optionally, based on historical query information of all users, a multi-dimensional user representation including role information is established, including:
a11) and acquiring historical query information within a time length set by all users.
In particular, historical query information for all users may be gathered based on javascript (js). Search habits of foreground users, such as what roles generally use what search conditions. JS, a lightweight, interpreted or just-in-time compiled programming language with function precedence. It is based on prototype programming, multi-modal dynamic scripting languages, and supports object-oriented, imperative, and declarative styles.
For example, the primary branch executive role will query the mechanism deposit balance in jurisdiction every day, and will also query the report details of the large change. And collecting the use habits of different roles through the JS foreground, wherein the habits are used as basic data for further analysis.
a12) And classifying the historical query information according to the set attribute tags, and establishing a multi-dimensional user portrait comprising role information.
The set attribute tag may be role information, use frequency, transaction scenario, association relationship, and the like of the user. Specifically, the acquired historical query information of all users is classified according to the set attribute tags, and the related dimension data corresponding to the role information can be described on the basis of the role information of the users, so that the multi-dimensional user portrait comprising the role information is established.
b1) And generating a target database according to the multi-dimensional user portrait and the set use frequency.
Specifically, data files corresponding to role information of all users are respectively determined based on a distributed system infrastructure according to the user portrait and the set use frequency, and the data files are loaded into a target database and used for later inquiry of the users.
Optionally, generating a target database according to the user portrait and the set use frequency includes:
b11) and respectively determining data files corresponding to the role information of all users based on a distributed system infrastructure according to the user portrait and the set use frequency.
In this embodiment, data corresponding to role information of all users may be processed based on a Distributed System infrastructure (Hadoop Distributed File System) to form an index data File. One role information corresponds to one data file, and different role information corresponds to different data files respectively. Among them, Hadoop is a distributed system infrastructure developed by the Apache foundation. A user can develop a distributed program without knowing the distributed underlying details. The power of the cluster is fully utilized for operation and storage. Hadoop implements a Distributed File System (HDFS), where one component is the HDFS. HDFS is highly fault tolerant and designed for deployment on inexpensive hardware, and it provides high throughput access to application data, suitable for applications with very large data sets. The most central designs of the Hadoop framework are HDFS and MapReduce. The HDFS provides storage for massive data, and the MapReduce provides calculation for the massive data.
The user representation includes multi-dimensional data corresponding to the role information. Specifically, on one hand, based on the user portrait, the Hadoop is called up for batch processing to generate data files for user customized query, and it is clear that each data file contains multi-dimensional data related to the user portrait corresponding to one character information; in another aspect, the use frequency is set according to the defined report forms, and the corresponding report forms are processed in batch according to the set use frequency to generate the data files. The set use frequency can be set according to the actual use condition of the report, for example, if the report a needs to be checked by the bank length every month, the set use frequency can be set to be "monthly", and the role that the report a can be checked correspondingly is "bank length". It can be clear that, in order not to affect the system to perform normal business operation, the time for performing batch processing may be the time for selecting the system not to perform business operation, such as performing batch processing at night for data query by the user the next day, or performing batch processing on the holiday, which is not limited herein.
b12) And loading the data file into the target database.
Wherein, the target database can be an Oracle database. The database is a relational database management system of the oracle corporation, and is a product which is always in the leading position in the field of databases. The Oracle database system is a popular relational database management system in the world at present, has good system portability, convenient use and strong function, and is suitable for various large, medium and small microcomputer environments. The method is a high-efficiency and high-reliability database scheme suitable for high throughput.
Specifically, the personalized customized data file corresponding to the user role information is stored in the target database, the full data file is not required to be generated and stored blindly, and the storage space of the data file is saved.
As an optional embodiment of the present invention, on the basis of the foregoing embodiment, after querying in the target data file according to the data query request and obtaining a query result, the method further includes:
and updating the multi-dimensional user portrait according to the role information of the current user and the query request.
Specifically, when the current user completes data query, the role information of the current user, the query request and the queried information can be used as new historical query information for updating the multi-dimensional user portrait, so that the multi-dimensional user portrait can describe the user more accurately, and the accuracy of the multi-dimensional user portrait is ensured.
The optional embodiment of the invention embodies the step of determining the role information of the current user when receiving the query request sent by the user, thereby realizing the determination of the role information corresponding to the user; in addition, the generation step of the pre-stored target database is embodied, the query requirement of the user is statistically analyzed from the habit of the user, the personalized data file of the user is customized according to the requirement instead of blindly generating the full data file, the query efficiency of the user is improved, and the batch time and the storage space of the server file are saved; meanwhile, aiming at the generated new user query information, the multi-dimensional user portrait is updated, so that the formed user portrait is more accurately described.
Example two
Fig. 2 is a block diagram of a data management apparatus according to a second embodiment of the present invention, which is applicable to a data query situation of multi-table joint check, and the apparatus may be composed of hardware and/or software and may be generally integrated in a computer device. As shown in fig. 2, the apparatus may specifically include: a role information determination module 21, a target data file determination module 22 and a query result obtaining module 23.
A role information determining module 21, configured to determine role information of a current user when receiving an inquiry request sent by a user;
the target data file determining module 22 is configured to determine, based on the role information, a target data file associated with the role information in combination with a pre-stored target database, where the target database stores data files corresponding to the role information of all users;
and the query result obtaining module 23 is configured to perform query in the target data file according to the query request to obtain a query result.
Optionally, the role information determining module 21 is specifically configured to:
when receiving a query request sent by a user, determining account information of the current user;
and determining the role information of the current user according to the account information.
Optionally, the apparatus further comprises a target database generation module,
a target database generation module: and the target database is generated based on the historical query information and the set use frequency of all the users.
Optionally, the target database generation module includes:
the multi-dimensional user portrait establishing unit is used for establishing a multi-dimensional user portrait comprising role information based on historical query information of all users;
and the target database generating unit is used for generating a target database according to the multi-dimensional user portrait and the set use frequency.
Optionally, the multi-dimensional user portrait creation unit is specifically configured to:
acquiring historical query information within a set time length of all users;
and classifying the historical query information according to the set attribute tags, and establishing a multi-dimensional user portrait comprising role information.
Optionally, the target database generating unit is specifically configured to:
respectively determining data files corresponding to the role information of all users based on a distributed system infrastructure according to the user portrait and the set use frequency;
and loading the data file into the target database.
Optionally, the apparatus further comprises a multi-dimensional user representation update module,
and the multi-dimensional user portrait updating module is used for updating the multi-dimensional user portrait according to the role information of the current user and the query request.
The device can execute the data management method provided by all the embodiments of the invention, and has the corresponding functional modules and beneficial effects for executing the method. For details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention.
EXAMPLE III
Fig. 3 is a block diagram of a computer device according to a third embodiment of the present invention, as shown in fig. 3, the computer device includes a processor 31, a memory 32, an input device 33, and an output device 34; the number of the processors 31 in the computer device may be one or more, and one processor 31 is taken as an example in fig. 3; the processor 31, the memory 32, the input device 33 and the output device 34 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 3.
The memory 32 is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the data management method in the embodiment of the present invention (for example, the role information determination module 21, the target data file determination module 22, and the query result obtaining module 23 in the data management apparatus). The processor 31 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 32, that is, implements the data management method described above.
The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 32 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 32 may further include memory located remotely from the processor 31, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 33 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the computer apparatus. The output device 34 may include a display device such as a display screen.
Example four
A fourth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a data management method, including:
when receiving a query request sent by a user, determining the role information of the current user;
determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users;
and inquiring in the target data file according to the inquiry request to obtain an inquiry result.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the data management method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the data management apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for managing data, comprising:
when receiving a query request sent by a user, determining the role information of the current user;
determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users;
and inquiring in the target data file according to the inquiry request to obtain an inquiry result.
2. The method of claim 1, wherein determining the role information of the current user when receiving the query request sent by the user comprises:
when receiving a query request sent by a user, determining account information of the current user;
and determining the role information of the current user according to the account information.
3. The method of claim 1, further comprising:
and generating the target database based on the historical query information and the set use frequency of all the users.
4. The method of claim 3, wherein the generating the target database based on historical query information and set frequency of use of all users comprises:
establishing a multi-dimensional user portrait comprising role information based on historical query information of all users;
and generating the target database according to the multi-dimensional user portrait and the set use frequency.
5. The method of claim 4, wherein the building a multi-dimensional user representation including role information based on historical query information of all users comprises:
acquiring the historical query information within the set time length of all users;
and classifying the historical query information according to set attribute labels, and establishing a multi-dimensional user portrait comprising role information.
6. The method of claim 4, wherein generating the target database based on the user representation and a set frequency of use comprises:
respectively determining data files corresponding to the role information of all the users based on a distributed system infrastructure according to the user portrait and the set use frequency;
and loading the data file into the target database.
7. The method according to claim 5, wherein after the querying is performed in the target data file according to the data query request and the query result is obtained, the method further comprises:
and updating the multi-dimensional user portrait according to the role information of the current user and the query request.
8. A data management apparatus, comprising:
the role information determining module is used for determining the role information of the current user when receiving a query request sent by the user;
the target data file determining module is used for determining a target data file associated with the role information by combining a pre-stored target database based on the role information, wherein the target database stores data files corresponding to the role information of all users;
and the query result obtaining module is used for querying in the target data file according to the query request to obtain a query result.
9. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a data management method as recited in any of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the data management method of any of claims 1-7 when executed by a computer processor.
CN202111514883.4A 2021-12-13 2021-12-13 Data management method, device, equipment and storage medium Pending CN114201679A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111514883.4A CN114201679A (en) 2021-12-13 2021-12-13 Data management method, device, equipment and storage medium
CN202210201630.XA CN114428913A (en) 2021-12-13 2022-03-03 Data management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111514883.4A CN114201679A (en) 2021-12-13 2021-12-13 Data management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114201679A true CN114201679A (en) 2022-03-18

Family

ID=80652793

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111514883.4A Pending CN114201679A (en) 2021-12-13 2021-12-13 Data management method, device, equipment and storage medium
CN202210201630.XA Pending CN114428913A (en) 2021-12-13 2022-03-03 Data management method, device, equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202210201630.XA Pending CN114428913A (en) 2021-12-13 2022-03-03 Data management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (2) CN114201679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510735A (en) * 2022-04-01 2022-05-17 国网浙江省电力有限公司 Role management-based intelligent shared financial management method and platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510735A (en) * 2022-04-01 2022-05-17 国网浙江省电力有限公司 Role management-based intelligent shared financial management method and platform
CN114510735B (en) * 2022-04-01 2022-07-19 国网浙江省电力有限公司 Role management-based intelligent shared financial management method and platform

Also Published As

Publication number Publication date
CN114428913A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
US10740711B2 (en) Optimization of a workflow employing software services
CN112000849A (en) Unified label library management method, device, equipment and storage medium
WO2020048058A1 (en) Fund knowledge inference method and system, computer device, and storage medium
CN111046237B (en) User behavior data processing method and device, electronic equipment and readable medium
CN109324905B (en) Database operation method and device, electronic equipment and storage medium
US20130117327A1 (en) Using geographical location to determine element and area information to provide to a computing device
KR102180267B1 (en) System for providing online to offline based fashion production matching service connecting client to contractor in clothing industry
CN111934899A (en) Configuration method and device of user information of Internet of things and computer equipment
CN115344888A (en) Data access method and device, electronic equipment and storage medium
CN112434982A (en) Task processing method, device and system, storage medium and electronic equipment
US11062224B2 (en) Prediction using fusion of heterogeneous unstructured data
CN114428913A (en) Data management method, device, equipment and storage medium
CN114185941A (en) Report data query method and device, electronic equipment and storage medium
JP6349469B1 (en) Company group management method and system
CN112102099A (en) Policy data processing method and device, electronic equipment and storage medium
KR20130089890A (en) Management system and method for knowledge information of industrial technology
CN112231381A (en) Spatial data information collaboration platform based on WEBGIS and construction method thereof
CN112580065A (en) Data query method and device
CN115017185A (en) Data processing method, device and storage medium
US20140012632A1 (en) Extension of business scenarios
CN114298565A (en) Big data software recommendation method based on downloaded file
KR102140376B1 (en) Financial planning system and method for newly married couple
US20200167326A1 (en) System and method for acting on potentially incomplete data
CN113190562A (en) Report generation method and device and electronic equipment
US10810640B1 (en) Automated time tracking of events in a calendar and use of the same to generate invoices

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20220318

WD01 Invention patent application deemed withdrawn after publication