CN113641719A - Data processing method, data processing device, computer and storage medium - Google Patents

Data processing method, data processing device, computer and storage medium Download PDF

Info

Publication number
CN113641719A
CN113641719A CN202110930936.4A CN202110930936A CN113641719A CN 113641719 A CN113641719 A CN 113641719A CN 202110930936 A CN202110930936 A CN 202110930936A CN 113641719 A CN113641719 A CN 113641719A
Authority
CN
China
Prior art keywords
data
target data
processed
user
rule
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
CN202110930936.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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110930936.4A priority Critical patent/CN113641719A/en
Publication of CN113641719A publication Critical patent/CN113641719A/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • 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/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • 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/248Presentation of query results
    • 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/25Integrating or interfacing systems involving database management systems
    • G06F16/254Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses
    • 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

Landscapes

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

Abstract

The method extracts target data from a database by responding to display operation input by a user, processes the target data according to a preset screening rule to obtain data to be displayed, and displays the data to be displayed according to a preset service style. According to the technical scheme, the target data are processed through different screening rules, the data extracted from the database are displayed according to the user requirements when the data complexity is too high, and the problems that technical personnel are required to carry out repeated redundancy development and the efficiency is low in the prior art are solved.

Description

Data processing method, data processing device, computer and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method and apparatus, a computer, and a storage medium.
Background
Storage and display of data in the conventional sense, it can be considered that the database provides a customizable function in a general sense, such as a relational database management system, a database for distributed file storage, and the like, and has functions of storing data and displaying data.
In the existing database, when the database acquires data from the device corresponding to the database or the third-party device, the acquired data is stored according to the default data structure in the database, and when the data is displayed on the device, the data is displayed according to the default rule of the database.
In practical application, when the complexity of data is too high, the prior art cannot easily solve the problem of displaying the data extracted from the database, needs repeated redundant development of technicians, and has low efficiency.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, a computer and a storage medium, which are used for solving the problem that the related requirements of data display extracted from a database are frequently and repeatedly developed redundantly in the prior art.
In a first aspect, an embodiment of the present application provides a data processing method applied to a computer, including:
responding to a display operation input by a user, and extracting target data from a database, wherein the target data is to-be-processed data stored in the database according to a preset storage rule;
processing the target data according to a preset screening rule to obtain data to be displayed, wherein the preset screening rule comprises at least one of the following rules: filtering as required, aggregating as required, and sequencing as required;
displaying the data to be displayed according to the preset service style, wherein the preset service style comprises: tables, graphs.
In a possible design of the first aspect, before the extracting, in response to the display operation of the user, the target data from the database according to the preset filtering rule to obtain the data to be displayed, the method further includes:
acquiring data to be processed;
and storing the data to be processed into the database according to a preset storage rule to obtain the target data, wherein the preset storage rule is a data format rule or/and a data field rule defined by a user or set according to a service requirement.
In this possible design, the acquiring the data to be processed includes any one of the following:
calling an Application Program Interface (API) to acquire the data to be processed from third-party equipment;
acquiring the data to be processed from third-party equipment by utilizing a HOOK HOOK script configured with user requirements or timing tasks;
responding to the input operation of a user, and acquiring the data to be processed input by the user;
and acquiring the data to be processed acquired through an application program.
In another possible design of the first aspect, after the storing the data to be processed into the database according to a preset storage rule to obtain the target data, the method further includes:
responding to a data processing request of a user, and processing the target data in a HOOK mode, wherein the processing comprises at least one of the following steps: adding information to the target data, deleting information from the target data, and changing information of the target data.
In this possible design, the target data includes: user information corresponding to the target data;
correspondingly, after the target data is processed in the HOOK manner, the method further includes:
and pushing a processing result of the target data according to the user information.
In a second aspect, an embodiment of the present application provides a data processing apparatus, which is applied to a computer, and includes: the system comprises an extraction module, a processing module and a display module;
the extraction module is used for extracting target data from a database in response to display operation input by a user, wherein the target data is to-be-processed data stored in the database according to preset storage rules;
the processing module is configured to process the target data according to a preset screening rule to obtain data to be displayed, where the preset screening rule includes at least one of the following: filtering as required, aggregating as required, and sequencing as required;
the display module is configured to display the data to be displayed according to the preset service style, where the preset service style includes: tables, graphs.
In a possible design of the second aspect, before the responding to the display operation of the user, extracting the target data from the database according to a preset filtering rule, and obtaining the data to be displayed, the apparatus further includes: an acquisition module;
the acquisition module is used for acquiring data to be processed;
the processing module is further configured to store the data to be processed in the database according to a preset storage rule to obtain the target data, where the preset storage rule is a data format rule defined by a user or set according to a business requirement, or/and a data field rule.
In this possible design, the obtaining module is specifically configured to be any one of:
calling an API (application programming interface), and acquiring the data to be processed from third-party equipment;
acquiring the data to be processed from third-party equipment by using a HOOK script configured with user requirements or timing tasks;
responding to the input operation of a user, and acquiring the data to be processed input by the user;
and acquiring the data to be processed acquired through an application program.
In another possible design of the second aspect, after the to-be-processed data is stored in a database according to a preset storage rule to obtain the target data, the processing module is further configured to:
responding to a data processing request of a user, and processing the target data in a HOOK mode, wherein the processing comprises at least one of the following steps: adding information to the target data, deleting information from the target data, and changing information of the target data.
In this possible design, the target data includes: user information corresponding to the target data;
correspondingly, after the target data is processed in the HOOK manner, the apparatus further includes: a sending module;
and the sending module is used for pushing the processing result of the target data according to the user information.
In a third aspect, an embodiment of the present application provides a computer device, including: a processor, a memory;
the memory stores computer-executable instructions;
the processor executes the computer executable instructions to cause the computer apparatus to perform the data processing method as described in the first aspect and various possible designs above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the data processing method as described in the first aspect and various possible designs.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program, which when executed by a processor, is configured to implement the data processing method as described in the first aspect and various possible designs.
According to the data processing method, the data processing device, the computer and the storage medium, target data are extracted from a database by responding to display operation input by a user, then the target data are processed according to preset screening rules to obtain data to be displayed, and then the data to be displayed are displayed according to preset business styles. According to the technical scheme, the target data are processed through different screening rules, the data extracted from the database are displayed according to the user requirements when the data complexity is too high, and the problems that technical personnel are required to carry out repeated redundancy development and the efficiency is low in the prior art are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flowchart of a first embodiment of a data processing method according to an embodiment of the present application;
FIG. 2 is a first schematic diagram illustrating the diversity of data provided by an embodiment of the present application;
FIG. 3 is a second schematic diagram illustrating the diversity of data provided by the present application;
fig. 4 is a schematic flowchart of a second data processing method according to an embodiment of the present application;
FIG. 5 is a block diagram of a data platform according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a matching module provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Before introducing the embodiments of the present application, the technical background related to the present application is explained first:
the storage and display of data can be realized through a database, that is, a customizable function in a general sense is provided in the prior art, such as a relational database management system (My Structured Query Language, MySQL), a database of distributed file storage (Mongobb) and other platforms, and the database has functions of storing data and displaying data.
In the prior art, the platforms cannot make excessive customization on data interaction and complex service processing, so that the platforms cannot be competent for complex service processing. For example, the prior art cannot realize that a user concept exists when the user needs to display, namely, stored electronic mail information can be automatically converted into Chinese names for convenient reading; for another example, if it is desired to perform the paging process according to a certain keyword, such as a category, the existing database is often insufficient.
Furthermore, the bottleneck of the existing database in processing complex services is that it lacks HOOK operation, such as modifying the field a, and then hope to synchronously modify the field B; or in some scenes (completed), all the modification operations of the user are rejected; more generally, it is desirable that the user, after modifying the content, supports quick notification to a specific group of people (fixed certain people/specific people of in-line data), and that the content of the notification is also desired to be personalized and customized according to the requirements of the project group. These operations are difficult to implement for the existing database, resulting in a large amount of redundant development required for each business and waste of human resources.
With respect to data presentation, the traditional database itself is more frustrating, and therefore, many platforms are currently introduced to implement database-to-presentation tools, such as the metadata base metabase of the open source tool, and the open source data visualization tool grafana developed in Go language. These platforms are still unable to perform the related functions described further above.
In order to solve the technical problems, the technical conception process of the inventor is as follows: the inventor finds that the existing database is subjected to data acquisition and data extraction display in a system default mode, and when data is operated in the database, the system cannot update and receive the operation, if a HOOK mode is used in the data acquisition, data storage and data extraction display processes, and data in the database is modified, added and deleted, the HOOK mode can be used, and the modified information is sent to related personnel, so that the existing problems can be solved.
The technical solution of the present application will be described in detail by specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a first embodiment of a data processing method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
and 11, responding to the display operation input by the user, and extracting target data from the database.
The target data is to-be-processed data stored in a database according to a preset storage rule;
in this step, the user needs to count or query the corresponding data to be displayed from the database according to the service requirement, and the data to be displayed is screened from the target data stored in the database, at this time, the target data is extracted, and the following processing is performed.
Alternatively, the user may be a business person, a person associated with the database, a general user, or the like.
And step 12, processing the target data according to a preset screening rule to obtain data to be displayed.
Wherein, the preset screening rule comprises at least one of the following rules: filtering as needed, aggregating as needed, and sequencing as needed.
Alternatively, taking the database mongodb as an example, in this embodiment, the target data may be processed by using the aggregation syntax of the whole set of mongo.
Specifically, in the preset screening rule, the filtering is performed according to the service requirement of the user as required, for example, a number belonging to the place a needs to be found in the target data; aggregating as needed, for example, in the target data, the user needs to find out the number beginning with 137, and at this time, find out the related information of 137 in the field of each target data; sorting on demand, for example, the user needs to find the numbers beginning with 137, 163 and then sort the number of the two numbers in order of from most to least.
And step 13, displaying the data to be displayed according to the preset service style.
Wherein, presetting the service style comprises: tables, graphs.
In this step, the preset service style is a service style set by the user according to the service requirement, and for example, the preset service style may be presented in a conventional graphic form in the prior art, or may be combined with the service requirement to generate a required display style.
Alternatively, the table may be a page, filter, etc.; the graph may be a bar graph, line graph, pie graph, or the like.
The data to be displayed is obtained in the steps, and the number of the two numbers can be displayed through the height of the histogram by taking the number of 137 and 163 as an example; the number of the two numbers can also be shown by the inclination of the line graph; the size of the two numbers can also be shown by the area ratio of the pie chart.
Optionally, fig. 2 is a first schematic diagram illustrating diversity of data provided in the embodiment of the present application. As shown in fig. 2, under the preset storage rule, according to the service requirement, the user can freely define, such as modifying an entry, including: basic information, button controls, advanced settings.
The basic information may include: the system comprises internal keys, names, default values, categories, authorities, display modes and the like, and the basic information is mainly used for revising the type diversity of data display.
Wherein the categories may include: long text, date, user(s), selection box, form number, etc.
In addition, the interface further comprises: reset, cancel, apply, and confirm buttons.
Optionally, on the basis of the schematic diagram, fig. 3 is a schematic diagram two illustrating diversity of data provided in the embodiment of the present application. As shown in fig. 3, the modification entry includes: advanced settings.
The advanced settings may include: header size control, header style selection, default configuration of units, etc., which is primarily used to revise the color flexibility of the data presentation.
Wherein, the header size control can be used for the user to select the minimum width and the number of displayed characters; header style selection may allow the user to select an alignment scheme (e.g., centered, medium), font size, font color, and cell background color; the default configuration of each cell may be used by the user to select the parity row individual configuration.
In addition, the interface further comprises: form style preview, reset, cancel, apply, confirm, etc. buttons.
It should be understood that the functions in the above interfaces can be added according to actual needs, and the above are only examples.
According to the data processing method provided by the embodiment of the application, the target data are extracted from the database by responding to the display operation input by the user, then the target data are processed according to the preset screening rule to obtain the data to be displayed, and then the data to be displayed are displayed according to the preset service style. According to the technical scheme, the target data are processed through different screening rules, the data extracted from the database are displayed according to the user requirements when the data complexity is too high, and the problems that technical personnel are required to carry out repeated redundancy development and the efficiency is low in the prior art are solved.
On the basis of the foregoing embodiments, fig. 4 is a schematic flowchart of a second data processing method embodiment provided in the present application. As shown in fig. 4, before the step 11, the method may further include the steps of:
and step 41, acquiring data to be processed.
In this step, the data to be processed is characterization data obtained by the database from an interactive interface of the device corresponding to the database or a third-party device, and the source of the characterization data is diversified.
Optionally, this step may be specifically implemented as follows:
1, calling an Application Programming Interface (API) to acquire data to be processed from third-party equipment;
in this way, the developer is embedded in the service code through an API, and the data is generated through interface reporting, for example, the developer generates a link in the background, where the link carries a parameter for acquiring the data to be processed, and after the user accesses the link, the background can acquire the corresponding data to be processed.
2, acquiring data to be processed from third-party equipment by utilizing a HOOK HOOK script configured with user requirements or timing tasks;
in this way, a background developer writes a HOOK script, for example, for setting acquisition from a certain website and acquisition at a certain time, where the HOOK script may be set correspondingly according to user requirements or set according to business requirements.
3, responding to the input operation of the user, and acquiring the data to be processed input by the user;
in this way, the user may input corresponding data, that is, data to be processed, in the interactive interface of the computer device, for example, the interactive interface may be provided with a form for acquiring data, and the form is correspondingly filled by the user.
And 4, acquiring to-be-processed data acquired through the application program.
In this way, a message can be sent to a specific robot account by acquiring data of an application program, for example, chat software WeChat, and the robot automatically collects data, that is, data to be processed.
And 42, storing the data to be processed into a database according to a preset storage rule to obtain target data.
The preset storage rule is a data format rule defined by a user or set according to business requirements, or/and a data field rule.
In this step, in order to store the diversified rules to be processed in the database, the data to be processed may be stored from two dimensions of data format or/and data field.
Optionally, the data format or/and data field of the storage mode may be defined by the user, for example, integer, floating point, character string, long character string (and character string difference is that the long character string is a text box when displayed at the front end, and the character string can only be input in a single line), date, user, boolean value, picture, link, etc.; and may be set according to business requirements, such as item creation time, item creator, item status, item subject, item content, etc. And storing the data to be processed, namely the target data, according to the preset storage rule.
After this step, the method further comprises: and responding to a data processing request of a user, and processing the target data by using a HOOK mode.
Wherein the processing comprises at least one of: adding information to the target data, deleting information from the target data, and changing information of the target data.
Optionally, when the user needs to change the target data stored in the database, the target data is analyzed, for example, the target data is serialized, then fields after serialization are replaced and/or deleted and/or required fields are added in a HOOK manner, and finally, deserialization and storage are performed, so as to implement revision of the target data.
In addition, when the target data includes user information corresponding to the target data, the processing result of the target data can be pushed according to the user information.
Optionally, the user information may be information of associated people corresponding to an entry stored in the database, for example, a stored value of a certain field is a person in charge, may be information of related people of an entry object item stored in the database, or may be related information of a specific group or people added manually.
The related information may be email, short message, telephone, etc. of the user.
And further, reporting the processing of the target data in the database in an email mode, a short message mode and a telephone mode.
According to the data processing method provided by the embodiment of the application, the target data is obtained by acquiring the data to be processed and then storing the data to be processed into the database according to the preset storage rule. The technical scheme provides a foundation for the convenience of subsequent display of complex data from the diversity of the data source to be processed and the generation diversity of the target data.
The following is an example of function integration of the data processing method provided in the embodiment of the present application, and the technical effects are as described above, which are not described herein again.
Optionally, an embodiment of the present application provides a data platform, which is used to implement the functions of the foregoing embodiments, and may be a management tool of a database, and fig. 5 is a schematic block diagram of the data platform provided in the embodiment of the present application. As shown in fig. 5, the module schematic includes: a data storage module 51, a matching module 52, a processing type module 53, a HOOK execution module 54, a notification module 55, an original data presentation module 56, an aggregation module 57, and an aggregation chart presentation module 58.
Wherein, the data storage module 51 includes: interface operation, interface reporting, timed task and application program acquisition; the matching module 52 includes: matching filtering, acquiring parameter transmission data and retrieving and filtering data; the process type module 53 includes: adding target data, deleting target data and changing target data; the hook execution module 54 includes: searching/creating a container, serializing data, executing processing operation, deserializing and checking for storage; the notification module 55 includes: target data recombination, formatting filling, user notification filtering and information issuing; the raw data presentation module 56 includes: displaying a table; the aggregation module 57 includes: fields (_ id field, field, and sort field); the aggregate chart presentation module 58 includes: visualization chart Echarts display and desktop Table display.
In a possible implementation, the processing operation on the target data in the database may be implemented through an interface operation in the data storage module 51, in three exemplary operation types, the target data is taken out from the database by using HOOK, serialized, deserialized after specific processing is performed, and re-input to the database after verification, after the target data is changed, the notification module 55 notifies the user, the acquisition and storage of the data to be processed may be implemented through interface reporting, timing tasks, acquisition application programs, and the like in the data storage module 51, and in the matching module 52, the target data is filtered to obtain the data to be displayed, and for these data, the data may be directly displayed through a Table, or may be displayed through an aggregation module in Table or Echarts.
Optionally, fig. 6 is a schematic diagram of a matching module provided in the embodiment of the present application. As shown in fig. 6, the interface of the matching module includes: validation, pass-through (fixed/external), logical operations (yes/no), name, keywords, operators, matching rules.
Wherein, the matching rule includes: matching verification, aggregation dimension, sorting rule and index extraction.
Specifically, the matching check includes: information (start time and end time), an operator (less), an operation value (smothfirst), an operation (edit and delete), and the like; the polymerization dimensions include: information and operations; the index refinement comprises the following steps: information, operators, and operations; the ordering rule comprises: information, sequence, and operations.
Optionally, in the code editing of the timed task, as an example, the code may be as follows:
Figure BDA0003211242520000101
Figure BDA0003211242520000111
on the basis of the above method embodiment, fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. As shown in fig. 7, the data processing apparatus applied to a computer includes: an extraction module 71, a processing module 72 and a presentation module 73;
the extraction module 71 is configured to extract target data from the database in response to a display operation input by a user, where the target data is to-be-processed data stored in the database according to a preset storage rule;
the processing module 72 is configured to process the target data according to a preset screening rule to obtain data to be displayed, where the preset screening rule includes at least one of the following: filtering as required, aggregating as required, and sequencing as required;
the display module 73 is configured to display the data to be displayed according to a preset service style, where the preset service style includes: tables, graphs.
In one possible design of the embodiment of the present application, before responding to a display operation of a user and extracting target data from a database according to a preset screening rule to obtain data to be displayed, the apparatus further includes: an acquisition module 74;
an obtaining module 74, configured to obtain data to be processed;
the processing module 72 is further configured to store the data to be processed in the database according to a preset storage rule to obtain the target data, where the preset storage rule is a data format rule or/and a data field rule defined by a user or set according to a service requirement.
In this possible design, the obtaining module 74 is specifically configured to be used for any one of the following:
calling an API (application programming interface), and acquiring data to be processed from third-party equipment;
acquiring data to be processed from third-party equipment by using a HOOK script configured with user requirements or timing tasks;
responding to the input operation of a user, and acquiring to-be-processed data input by the user;
and acquiring to-be-processed data acquired through an application program.
In another possible design of the embodiment of the present application, after the data to be processed is stored in the database according to the preset storage rule to obtain the target data, the processing module 72 is further configured to:
responding to a data processing request of a user, processing target data by using a HOOK mode, wherein the processing comprises at least one of the following steps: adding information to the target data, deleting information from the target data, and changing information of the target data.
In this possible design, the target data includes: user information corresponding to the target data;
correspondingly, after the target data is processed by using the HOOK mode, the device further comprises: a sending module 75;
the sending module 75 is configured to push a processing result of the target data according to the user information.
The data processing method and device provided in the embodiment of the application can be used in the technical solutions corresponding to the data processing methods in the embodiments, and the implementation principles and technical effects are similar, and are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 8, the computer apparatus may include: a processor 81, a memory 82, and computer program instructions stored on the memory 82 and operable on the processor 81.
Processor 81 executes computer-executable instructions stored by memory 82 to cause processor 80 to perform the schemes in the embodiments described above. The processor 81 may be a general-purpose processor including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Optionally, the computer device further includes: the display 83 and the transceiver 84 are implemented in hardware, where the display 83 corresponds to the presentation module 73 in the above embodiment, and the transceiver 84 corresponds to the acquisition module 74 and the sending module 75 in the above embodiment.
The memory 82, the display 83 and the transceiver 84 are connected to the processor 81 via a system bus and communicate with each other, the memory 82 being used for storing computer program instructions.
The system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The computer device provided in the embodiment of the present application may be configured to execute the technical solution corresponding to the data processing method in the foregoing embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the application also provides a chip for running the instructions, and the chip is used for executing the technical scheme of the data processing method in the embodiment.
An embodiment of the present application further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on a computer device, the computer device is enabled to execute the technical solution of the data processing method in the foregoing embodiment.
The embodiment of the present application further provides a computer program product, which includes a computer program, and the computer program is used for executing the technical solution of the data processing method in the foregoing embodiment when being executed by a processor.
The computer-readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer device.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A data processing method is applied to a computer device and comprises the following steps:
responding to a display operation input by a user, and extracting target data from a database, wherein the target data is to-be-processed data stored in the database according to a preset storage rule;
processing the target data according to a preset screening rule to obtain data to be displayed, wherein the preset screening rule comprises at least one of the following rules: filtering as required, aggregating as required, and sequencing as required;
displaying the data to be displayed according to the preset service style, wherein the preset service style comprises: tables, graphs.
2. The method according to claim 1, wherein before the step of extracting the target data from the database according to a preset screening rule in response to the user's presentation operation to obtain the data to be presented, the method further comprises:
acquiring data to be processed;
and storing the data to be processed into the database according to the preset storage rule to obtain the target data, wherein the preset storage rule is a data format rule or/and a data field rule defined by a user or set according to business requirements.
3. The method of claim 2, wherein the obtaining the data to be processed comprises any one of:
calling an Application Programming Interface (API) to acquire the data to be processed from third-party equipment;
acquiring the data to be processed from third-party equipment by utilizing a HOOK HOOK script configured with user requirements or timing tasks;
responding to the input operation of a user, and acquiring the data to be processed input by the user;
and acquiring the data to be processed acquired through an application program.
4. The method according to claim 2 or 3, wherein after the storing the data to be processed into the database according to the preset storage rule to obtain the target data, the method further comprises:
responding to a data processing request of a user, and processing the target data in a HOOK mode, wherein the processing comprises at least one of the following steps: adding information to the target data, deleting information from the target data, and changing information of the target data.
5. The method of claim 4, wherein the target data comprises: user information corresponding to the target data;
correspondingly, after the target data is processed in the HOOK manner, the method further includes:
and pushing a processing result of the target data according to the user information.
6. A data processing apparatus applied to a computer, comprising: the system comprises an extraction module, a processing module and a display module;
the extraction module is used for extracting target data from a database in response to display operation input by a user, wherein the target data is to-be-processed data stored in the database according to preset storage rules;
the processing module is configured to process the target data according to a preset screening rule to obtain data to be displayed, where the preset screening rule includes at least one of the following: filtering as required, aggregating as required, and sequencing as required;
the display module is configured to display the data to be displayed according to the preset service style, where the preset service style includes: tables, graphs.
7. The apparatus according to claim 6, wherein before the presentation operation in response to the user, the apparatus further comprises, before extracting the target data from the database according to a preset filtering rule to obtain the data to be presented: an acquisition module;
the acquisition module is used for acquiring data to be processed;
the processing module is further configured to store the data to be processed in the database according to the preset storage rule to obtain the target data, where the preset storage rule is a data format rule defined by a user or set according to a business requirement, or/and a data field rule.
8. A computer device, comprising: processor, memory and computer program instructions stored on the memory and executable on the processor, characterized in that the processor implements the data processing method according to any of the preceding claims 1 to 5 when executing the computer program instructions.
9. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the data processing method of any one of claims 1 to 5.
10. A computer program product comprising a computer program for implementing a data processing method according to any one of claims 1 to 5 when executed by a processor.
CN202110930936.4A 2021-08-13 2021-08-13 Data processing method, data processing device, computer and storage medium Pending CN113641719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110930936.4A CN113641719A (en) 2021-08-13 2021-08-13 Data processing method, data processing device, computer and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110930936.4A CN113641719A (en) 2021-08-13 2021-08-13 Data processing method, data processing device, computer and storage medium

Publications (1)

Publication Number Publication Date
CN113641719A true CN113641719A (en) 2021-11-12

Family

ID=78421543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110930936.4A Pending CN113641719A (en) 2021-08-13 2021-08-13 Data processing method, data processing device, computer and storage medium

Country Status (1)

Country Link
CN (1) CN113641719A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115952200A (en) * 2023-01-17 2023-04-11 安芯网盾(北京)科技有限公司 Multi-source heterogeneous data aggregation query method and device based on MPP (maximum power point tracking) architecture
CN116185782A (en) * 2023-04-23 2023-05-30 智者四海(北京)技术有限公司 Service monitoring method and device for social software

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115952200A (en) * 2023-01-17 2023-04-11 安芯网盾(北京)科技有限公司 Multi-source heterogeneous data aggregation query method and device based on MPP (maximum power point tracking) architecture
CN116185782A (en) * 2023-04-23 2023-05-30 智者四海(北京)技术有限公司 Service monitoring method and device for social software

Similar Documents

Publication Publication Date Title
CN109614424B (en) Page layout generation method, device, computing equipment and medium
CN105511873B (en) User interface control display method and device
CN109408764B (en) Page area dividing method, device, computing equipment and medium
CN114035773B (en) Configuration-based low-code form development method, system and device
CN106599039B (en) Statistical representation method supporting free combination nesting of relational database data
CN113641719A (en) Data processing method, data processing device, computer and storage medium
CN107330014B (en) Data table creating method and device
CN115712413A (en) Low code development method, device, equipment and storage medium
CN110427188A (en) It is single to survey configuration method, device, equipment and the storage medium for asserting program
CN108268615B (en) Data processing method, device and system
CN113268496A (en) Client list screening method and device
CN109948133B (en) Data form realization method based on Layu
CN116483344A (en) Code generation method and device, terminal equipment and computer readable storage medium
CN116069330A (en) Middle and background template construction method, device and storage medium
JP6948492B2 (en) Information management device and file management method
CN115617338A (en) Method and device for quickly generating service page and readable storage medium
WO2018038065A1 (en) Information management device and file management method
CN113254455A (en) Dynamic configuration method and device of database, computer equipment and storage medium
CN111797125A (en) Report creating method and device, electronic equipment and computer readable storage medium
CN111598707A (en) Page generation method and electronic equipment
CN112256708B (en) Method, device, terminal and storage medium for acquiring and storing text content
CN109670154B (en) Base table configuration method, equipment, storage medium and device
CN115438113A (en) Parameter management method and device, electronic equipment and storage medium
CN116956851A (en) Form generation method and device, electronic equipment and storage medium
CN117435759A (en) Material management method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination