CN114443721A - Data processing method and device, electronic equipment and storage medium - Google Patents
Data processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114443721A CN114443721A CN202210113981.5A CN202210113981A CN114443721A CN 114443721 A CN114443721 A CN 114443721A CN 202210113981 A CN202210113981 A CN 202210113981A CN 114443721 A CN114443721 A CN 114443721A
- Authority
- CN
- China
- Prior art keywords
- target
- data
- logic unit
- data information
- information
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24568—Data stream processing; Continuous queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Economics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Operations Research (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a data processing method, a data processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to the data flow direction viewing request, and acquiring a target data flow direction map corresponding to a target item from a target database; detecting data information stored in each logic unit in the target data flow direction map based on a preset data detection condition, and determining target data information matched with the preset data detection condition; determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting. The problem that the abnormal logic unit cannot be quickly positioned when the project is abnormal is solved, and the abnormal logic unit in the project can be quickly positioned so as to maintain or update the abnormal logic unit.
Description
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method and device, electronic equipment and a storage medium.
Background
In the operation process of the project service, the situation of data abnormality can be avoided, and if the data abnormality occurs, the problem of service interruption of the whole project service can be caused.
Each project service may include a plurality of logic units, and since the data flow direction corresponding to each project service cannot be checked in the process of the project service, it cannot be determined whether each logic unit has a problem, and thus when a problem occurs in the project service, the project service with the problem cannot be repaired in time, and normal operation of the project service is affected.
In order to ensure the normal operation of the project business, the abnormal problem existing in the project business needs to be quickly determined.
Disclosure of Invention
The invention provides a data processing method, a data processing device, electronic equipment and a storage medium, which are used for achieving the effect of quickly positioning an abnormal logic unit in a project.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
responding to the data flow direction viewing request, and acquiring a target data flow direction map corresponding to a target item from a target database; the data flow direction viewing request comprises an item identifier corresponding to a target item, and the target data flow direction graph comprises at least one logic unit associated with the target item, data flow direction information among the logic units and unit attribute information corresponding to the logic units;
detecting data information stored in each logic unit in the target data flow direction map based on a preset data detection condition, and determining target data information matched with the preset data detection condition;
determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus, including:
the target data flow direction map acquisition module is used for responding to the data flow direction viewing request and acquiring a target data flow direction map corresponding to a target project from a target database; the data flow direction viewing request comprises an item identifier corresponding to a target item, and the target data flow direction graph comprises at least one logic unit associated with the target item, data flow direction information among the logic units and unit attribute information corresponding to the logic units;
the target data information determining module is used for detecting data information stored in each logic unit in the target data flow direction map based on preset data detection conditions and determining target data information matched with the preset data detection conditions;
the target logic unit determining module is used for determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device to store one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method according to any one of the embodiments of the present invention.
In a fourth aspect, the embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used for executing the data processing method according to any one of the embodiments of the present invention.
According to the technical scheme, a data flow direction checking request is responded, a target data flow direction map corresponding to a target item is obtained from a target database, the target data flow direction map corresponding to the target item can be obtained from the target database according to an item identifier carried in the data flow direction checking request, and whether the data information to be detected meets a preset detection condition or not is determined according to data information stored in the target data flow direction map. The data information stored in each logic unit in the target data flow direction map is detected based on preset data detection conditions, target data information matched with the preset data detection conditions is determined, the to-be-analyzed data information sent to the current to-be-detected logic unit by the to-be-determined logic unit is analyzed, the to-be-detected data information can be obtained, then the to-be-detected data information matched with the to-be-compared data information corresponding to each logic unit pre-stored in the target data flow direction map can be determined based on the preset data detection conditions, the matched to-be-detected data information is used as the target data information, and the target logic unit is determined according to the target data information so as to perform data processing on the data information in the target logic unit. And determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit, and performing operations such as viewing, modifying, updating, adding, deleting and the like on abnormal logic units in the project or data information in the data units needing to be modified or updated. The problem that the abnormal logic unit cannot be quickly positioned when the project is abnormal is solved, and the abnormal logic unit in the project can be quickly positioned so as to maintain or update the abnormal logic unit.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It should be clear that the described figures are only views of some of the embodiments of the invention to be described, not all, and that for a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a data processing method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data processing apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth 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 of the structures related to the present invention are shown in the drawings, not all of the structures.
Before the technical solution is elaborated, an application scenario of the technical solution is introduced first to make the technical solution more clearly understood. In order to meet various service requirements, in the process of developing a project, logic units or project codes and the like corresponding to various functions need to be added, since the same service may need to be cooperatively processed by a plurality of workers, when the workers need to check or modify the logic units or the project codes of the project, for example, an exception occurs or the project codes need to be rewritten in the process of operating the project, because different workers are only responsible for developing part of the logic units or the project codes in the project, there may be a problem that the corresponding logic units or the project code regions cannot be quickly located, and further the relevant logic units or the project codes cannot be checked or modified.
Example one
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention, where the embodiment is applicable to a situation where an abnormal logical unit in a project is determined to maintain or update the abnormal logical unit, and the method may be executed by a data processing apparatus, where the apparatus may be implemented in a form of software and/or hardware, and the hardware may be an electronic device, such as a mobile terminal or a PC.
As shown in fig. 1, the method includes:
and S110, responding to the data flow direction viewing request, and acquiring a target data flow direction map corresponding to the target item from the target database.
In order to meet the service requirement, each item includes a plurality of logic units, the logic units may include data information such as item codes corresponding to each function, and a certain sequence exists between the logic units, that is, a data flow direction between the logic units needs to be preset, so that the data information in the item can be transmitted between the logic units according to the preset data flow direction. The data flow viewing request may be understood as a request for viewing a data flow between logical units in an item, and it should be noted that an item representation corresponding to a target item is included in the data flow viewing request. The target database may be understood as a database storing logical units corresponding to each item. A target item may be understood as an item to which a logical unit or modification in the item is to be viewed or modified. The target data flow graph may be understood as a graph generated based on data flow information of the target item, and includes at least one logical unit associated with the target item, data flow information between the logical units, and unit attribute information corresponding to the logical units in the target data flow graph.
In practical applications, a user may input information associated with a target item through an editing control in a display interface of a client to view data flow direction information of the target item, for example, an item identifier corresponding to the target item may be input in the display interface, and the input information is confirmed, a corresponding data flow direction view request may be generated based on trigger operation information of the user in the display interface, and then a server may search a target data flow direction graph matching the target item from a target database based on the information associated with the target item in the data flow direction view request.
Optionally, the obtaining a target data flow map corresponding to the target item from the target database in response to the data flow viewing request includes: when a data flow direction viewing request is received, acquiring a target data flow direction map corresponding to an item identifier from a target database based on the item identifier carried in the data flow direction request.
Specifically, in the process of developing the project, in order to facilitate checking or modifying the logic units in the project, a data flow map generated based on the data flow information between the logic units may be stored in the database, and corresponding identification information may be set for each logic unit, so as to obtain each logic unit based on the preset identification information. When the project system receives the data flow viewing request, a target data flow map associated with the target project is obtained from the target database based on the project identification in the data flow viewing request.
And S120, detecting data information stored in each logic unit in the target data flow direction map based on preset data detection conditions, and determining target data information matched with the preset data detection conditions.
The preset data detection condition may be understood as a preset condition for detecting data information in each logic unit of the target item. The target data information may be understood as data information that satisfies a preset data detection condition, that is, the target item may include a plurality of logic units or item codes corresponding to different functions, and in general, when an abnormality occurs in the target item, each logic unit of the target item needs to be checked or modified, at this time, it is necessary to first determine that the data information of the logic unit in which the abnormality occurs needs to be checked or modified, and it is not necessary to check or modify all the logic units. In order to determine the logic units with the abnormality, each logic unit needs to be preliminarily detected, and target data information corresponding to the abnormality information is determined.
Specifically, if the logical unit in the project needs to be checked or updated, the logical unit that needs to be checked or modified needs to be determined first, for example, when an exception occurs in a logical unit during the operation of the project, the logical unit that has the exception needs to be located at this time. In order to accurately position the logic unit with the abnormality, after the target data flow direction map corresponding to the target item is obtained, each logic unit which is stored in the target data flow direction map and is associated with the target item can be preliminarily detected based on a preset data detection condition, the logic unit with the abnormality is determined according to a detection result, and data information meeting the preset data detection condition is used as target data information.
Optionally, the detecting, based on a preset data detection condition, data information stored in each logic unit in the target data flow map, and determining target data information matched with the preset data detection condition includes: determining a current logic unit to be detected, and determining a logic unit to be determined associated with the current logic unit to be detected from the upper hierarchy of the current logic unit to be detected according to data flow direction information in the target data flow direction map; determining data information to be detected between the current logic unit to be detected and the logic unit to be determined; detecting the data information to be detected based on preset data detection conditions to obtain target data information; and the target data information meets the preset data detection condition.
The current logical unit to be detected can be understood as a logical unit which needs to perform data information detection. The data flow information may be understood as a transmission direction of the data information between the logic units, for example, the project may include a plurality of logic units, and a transmission sequence of the data information between the logic units is preset according to a project requirement, for example, the project includes 3 logic units, the data information is transmitted to the logic unit 2 through the logic unit 1, and then is transmitted to the logic unit 3 through the logic unit 2, and then the transmission sequence of the logic unit and the data information passing through in the data information transmission process is the data flow information. The logic unit to be determined may be at least one logic unit included in a previous level of the current logic unit to be determined, and it may be understood that there may be many logic units included in the project, and data information from multiple logic units may need to be received among the logic units, or the received data information needs to be sent to multiple logic units, and the logic unit that sends data information in the data transmission process may be used as a previous level of the logic unit that receives data information, and the logic unit of the previous level of the current logic unit to be determined is used as the logic unit to be determined. The data information to be detected can be understood as the data information sent by the logic unit to be determined to the current logic unit to be detected.
Specifically, in the preliminary detection, each logic unit in the project needs to be detected, and the logic unit to be detected or being detected is used as the current logic unit. And then determining at least one logic unit to be determined of the previous level of the logic unit to be detected according to data flow direction information prestored in the target data flow direction map, acquiring data information to be detected sent to the logic unit to be detected by each logic unit to be determined after the at least one logic unit to be determined is determined, detecting the acquired data information to be detected according to preset data detection conditions, and screening the data information to be detected matched with the preset data detection conditions from the plurality of data information to be detected as target data information.
S130, determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit.
The unit attribute information may be information corresponding to each logical unit, for example, may be a unit identifier corresponding to each logical unit. The target logical unit may be understood as a logical unit corresponding to the target data information, and the target data processing may be understood as a manner of performing data processing on the target logical unit, and may include at least one of viewing, modifying, updating, adding, and deleting.
Specifically, the target data information includes unit attribute information of the logical unit to which the target data information belongs, and after the target data information is determined according to the preset data detection condition, the target logical unit corresponding to the target data information may be determined according to the unit attribute information. After the target logical unit is determined, the data information in the target logical unit may be processed based on the target data processing manner, such as checking, modifying, updating, or deleting the program code in the target logical unit.
Optionally, the determining, according to the unit attribute information, a target logical unit corresponding to the target data information to perform target data processing on the target logical unit includes: determining a logic unit to be determined corresponding to the unit attribute information according to a preset corresponding relationship between the unit attribute information and each logic unit; and determining the logic unit to be determined corresponding to the target data information as a target logic unit so as to perform target data processing on the target logic unit.
In practical application, after the to-be-detected data information in the to-be-determined logic unit of the previous level is transmitted to the current to-be-detected logic unit, the received to-be-detected data information in the current to-be-detected logic unit is stored in the current to-be-detected logic unit, so that when each logic unit is detected, the abnormal logic unit is determined according to the to-be-detected data information, and the abnormal logic unit is positioned. It should be noted that the to-be-determined data sent by the to-be-determined logic unit to the current to-be-detected logic unit includes unit attribute information, such as a unit identifier, corresponding to the to-be-determined logic unit, and the to-be-determined logic unit corresponding to the to-be-detected data information can be determined according to the unit attribute information carried in the to-be-detected data information. After the target data information is determined, taking the logic unit to be determined corresponding to the unit attribute information carried in the target data information as a target logic unit so as to further process the data information in the target logic unit
According to the technical scheme, a data flow direction checking request is responded, a target data flow direction map corresponding to a target item is obtained from a target database, the target data flow direction map corresponding to the target item can be obtained from the target database according to an item identifier carried in the data flow direction checking request, and whether the data information to be detected meets a preset detection condition or not is determined according to data information stored in the target data flow direction map. The data information stored in each logic unit in the target data flow direction map is detected based on preset data detection conditions, target data information matched with the preset data detection conditions is determined, the to-be-analyzed data information sent to the current to-be-detected logic unit by the to-be-determined logic unit is analyzed, the to-be-detected data information can be obtained, then the to-be-detected data information matched with the to-be-compared data information corresponding to each logic unit pre-stored in the target data flow direction map can be determined based on the preset data detection conditions, the matched to-be-detected data information is used as the target data information, and the target logic unit is determined according to the target data information so as to perform data processing on the data information in the target logic unit. And determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit and perform operations such as checking, modifying, updating, adding, deleting and the like on the abnormal logic unit in the project or the data information in the data unit which needs to be modified or updated. The problem that the abnormal logic unit cannot be quickly positioned when the project is abnormal is solved, and the abnormal logic unit in the project can be quickly positioned so as to maintain or update the abnormal logic unit.
Example two
As an optional embodiment of the foregoing embodiment, fig. 2 is a schematic flow chart of a data processing method according to a second embodiment of the present invention, and optionally, the data information stored in each logic unit in the target data stream map is detected based on a preset data detection condition, and the target data information matched with the preset data detection condition is determined to be refined.
As shown in fig. 2, the method includes:
and S210, responding to the data flow direction viewing request, and acquiring a target data flow direction map corresponding to the target item from the target database.
S220, determining the current logic unit to be detected, and determining the logic unit to be determined associated with the current logic unit to be detected from the upper hierarchy of the current logic unit to be detected according to the data flow direction information in the target data flow direction map.
And S230, determining the data information to be detected between the current logic unit to be detected and the logic unit to be determined.
In practical application, in order to determine data information to be detected, optionally, the determining data information to be detected between the current logic unit to be detected and the logic unit to be determined includes: encrypting the data information sent by the logic unit to be determined to the current unit to be detected, and storing the obtained data information to be analyzed in a storage area of the current unit to be detected; and acquiring the data information to be analyzed, and analyzing the data information to be analyzed to obtain the data information to be detected.
The data information to be analyzed can be understood as data information obtained by encrypting the data information to be detected, and when the data information to be detected is encrypted, a plurality of encryption modes can be adopted, such as a hash encryption algorithm.
Specifically, in the course of developing a project, in order to prevent that a logic unit that needs to be processed cannot be quickly located when an abnormality occurs in the project or when data information in a certain logic unit in the project needs to be updated, the sent data information may be encrypted before the logic unit to be determined sends the data information to the current logic unit to be detected. When the data information to be analyzed stored in the current logic unit is detected, the data information to be analyzed is analyzed through the analysis function to obtain the data information to be detected, so that the logic unit to be processed can be determined according to the analyzed data information to be detected stored in the current logic unit to be detected in the subsequent process.
Optionally, the detecting the data information to be detected based on the preset data detection condition to obtain the target data information includes: comparing the data information to be detected with data information to be compared, which is pre-stored in the target data flow direction map, to obtain a data comparison result; and detecting the data comparison result based on a preset data detection condition, determining whether the data comparison result meets the preset data detection condition, and determining target data information according to the detection result.
In order to determine whether the data information to be detected received by the logic unit to be detected is correct data information, the data information for verifying the correctness of the data information to be detected is used as the data information to be compared. The data comparison result may be understood as a comparison result between the data information to be compared and the data information to be detected, for example, the data comparison result may be a determined value or a string of characters.
Specifically, data information to be compared is prestored in the target data flow direction map, where the data information to be compared is default data information between the current logic unit to be detected and the logic unit to be determined, that is, the data information to be compared is consistent with the data information sent by the logic unit to be determined. Therefore, after the data information to be detected is obtained, the data information to be detected and the data information to be compared can be compared and verified, and the correctness of the data information to be detected is determined according to the obtained data comparison result. If the data comparison result meets the preset data detection condition, the data information to be detected is correct data information, and accordingly, the current logic unit to be detected corresponding to the data information to be detected is not abnormal; if the data comparison result does not meet the preset data detection condition, it indicates that the data information to be detected is abnormal, and correspondingly, the current logic unit to be detected corresponding to the data information to be detected is an abnormal logic unit.
Optionally, the detecting the data comparison result based on a preset data detection condition, determining whether the data comparison result meets the preset data detection condition, and determining target data information according to the detection result includes: detecting the data comparison result based on a target function, and determining whether the data comparison result belongs to a preset numerical range interval; if the data comparison result belongs to the preset numerical range interval, determining that the data information to be detected is normal data information; and if the data comparison result exceeds the preset value range, determining that the data information to be detected is target data information.
Specifically, the objective function may be understood as a function for detecting a data comparison result, and may be used to determine whether the data information to be detected serves a preset data detection condition. The preset value range interval can be understood as a preset value range, if the data information to be detected is a determined value, if the data information to be detected is in the preset data range interval, the data information to be detected is normal data information; on the contrary, if the data information to be detected is not within the preset data range, the data information to be detected is abnormal data information, and the data information to be detected is used as target data information to perform data processing according to the data information in the target logic unit corresponding to the target data information.
S240, detecting the data information to be detected based on preset data detection conditions to obtain target data information.
And S250, determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit.
In a specific example, a plurality of logic units are included in a development process of a project, item codes of different functions can be corresponded to each logic unit, and business information corresponding to each function can be stored, for example, in a project for developing and purchasing a commodity, links such as browsing the commodity, placing an order, filling address information and payment can be included, each link can correspond to a corresponding logic unit, and taking the logic unit corresponding to the placing link as an example, data information related to the placing order, such as commodity information, price information, shop information and offer information of the placing order, and the like can be stored in the logic unit. However, in the running process of the project, an abnormal situation inevitably occurs, for example, after the user selects a commodity and places an order, the background server does not have corresponding order information, and the problem of repairing the abnormal problem in the project may be delayed due to the fact that the abnormal logic unit cannot be quickly positioned, so that the use experience of the customer is influenced. In order to quickly locate the logic unit with the abnormal condition so as to perform data processing on the data information contained in the abnormal logic unit, the technical scheme can be adopted.
When an abnormal condition occurs in an item or data information in a certain logic unit in the item needs to be checked, modified or updated, the data information and data flow of the item need to be checked first. The staff can input information associated with the items needing to be viewed in the display interface of the client, confirm the related information and generate corresponding data flow direction viewing requests based on the triggering operation of the staff in the display interface, wherein the data flow direction viewing requests comprise item identifications corresponding to the target items. After receiving the data flow direction viewing request, the server searches a target data flow direction map corresponding to the item identifier from a target database, and pre-stores data information associated with the target item in the target data flow direction map, such as at least one logic unit associated with the target item, data flow direction information between the logic units, unit attribute information corresponding to the logic units, and the like. And then, based on the data information pre-stored in each logic unit in the target data flow map, preliminarily detecting the data information to be detected stored in each logic unit according to a preset data detection condition, determining whether the data information to be detected in the current logic unit to be detected is matched with the preset data detection condition, and taking the data information to be detected matched with the preset data detection condition as the target data information.
It should be noted that, in the process of sending data information to a current logic unit to be detected by each logic unit to be determined in the previous hierarchy, transmitted data information is encrypted to obtain data information to be analyzed, when target data information is determined, the data information to be analyzed is first analyzed through an analysis function to obtain the data information to be detected, then the data information to be detected is compared with data information to be compared, which is pre-stored in a target data flow direction map, to obtain a data comparison result, whether the data comparison result is in a preset value interval is determined based on the target function, and further whether the data information to be detected meets a preset data detection condition can be determined. If the data information to be detected is a determined value, if the data information to be detected is within a preset data range, the data information to be detected is normal data information; on the contrary, if the data information to be detected is not within the preset data range, the data information to be detected is abnormal data information, and the data information to be detected is used as target data information, so as to perform data processing according to the data information in the target logic unit corresponding to the target data information, that is, the target data information can be obtained according to the detection result.
After the target data information is determined, based on the unit attribute information carried in the target data information and the corresponding relationship between the unit attribute information and each logic unit, a target logic unit corresponding to the target data information can be determined, and data processing is performed on the data information in the target logic unit according to service requirements, such as checking, modifying, updating, increasing, deleting and the like on the data information in the target logic unit.
According to the technical scheme of the embodiment, data information to be detected between the logic unit to be detected and the logic unit to be determined is determined, the data information received in the logic unit to be detected is encrypted data information to be analyzed, the data information to be detected can be obtained after analysis through an analysis function, then whether the data information to be detected is compared with data information to be compared and stored in advance is determined, a data comparison result is obtained, whether the data comparison result meets preset data detection conditions is determined based on a target function, target data information is determined according to the detection result, and further a target logic unit is determined according to unit attribute information carried in the target data information, so that target data processing is carried out on the data information in the target logic unit. The problem that the target logic unit cannot be quickly positioned when the project is abnormal or the data information in a certain logic unit needs to be updated or modified is solved, and the effect of quickly positioning the logic unit needing to be updated or modified is achieved.
EXAMPLE III
Fig. 3 is a data processing apparatus according to a third embodiment of the present invention, including: the target data flows to the map acquisition module 310, the target data information determination module 320, and the target logical unit determination module 330.
The target data flow direction map obtaining module 310 is configured to, in response to the data flow direction viewing request, obtain a target data flow direction map corresponding to the target item from a target database; the data flow direction viewing request comprises an item identifier corresponding to a target item, and the target data flow direction graph comprises at least one logic unit associated with the target item, data flow direction information among the logic units and unit attribute information corresponding to the logic units;
a target data information determining module 320, configured to detect, based on a preset data detection condition, data information stored in each logic unit in the target data flow direction map, and determine target data information matched with the preset data detection condition;
a target logic unit determining module 330, configured to determine a target logic unit corresponding to the target data information according to the unit attribute information, so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting.
According to the technical scheme, a data flow direction checking request is responded, a target data flow direction map corresponding to a target item is obtained from a target database, the target data flow direction map corresponding to the target item can be obtained from the target database according to an item identifier carried in the data flow direction checking request, and whether the data information to be detected meets a preset detection condition or not is determined according to data information stored in the target data flow direction map. The data information stored in each logic unit in the target data flow direction map is detected based on preset data detection conditions, target data information matched with the preset data detection conditions is determined, the to-be-analyzed data information sent to the current to-be-detected logic unit by the to-be-determined logic unit is analyzed, the to-be-detected data information can be obtained, then the to-be-detected data information matched with the to-be-compared data information corresponding to each logic unit pre-stored in the target data flow direction map can be determined based on the preset data detection conditions, the matched to-be-detected data information is used as the target data information, and the target logic unit is determined according to the target data information so as to perform data processing on the data information in the target logic unit. And determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit, and performing operations such as viewing, modifying, updating, adding, deleting and the like on abnormal logic units in the project or data information in the data units needing to be modified or updated. The problem that the abnormal logic unit cannot be quickly positioned when the project is abnormal is solved, and the abnormal logic unit in the project can be quickly positioned so as to maintain or update the abnormal logic unit.
On the basis of any optional technical solution in the embodiment of the present invention, optionally, the target data flow direction map obtaining module is configured to:
when a data flow direction viewing request is received, acquiring a target data flow direction map corresponding to an item identifier from a target database based on the item identifier carried in the data flow direction request.
On the basis of any optional technical solution in the embodiment of the present invention, optionally, the target data information determining module includes:
the logic unit to be determined determining submodule is used for determining a current logic unit to be detected and determining a logic unit to be determined which is associated with the current logic unit to be detected from the upper hierarchy of the current logic unit to be detected according to the data flow direction information in the target data flow direction map;
the to-be-detected data information determining submodule is used for determining to-be-detected data information between the current to-be-detected logic unit and the to-be-determined logic unit;
the target data information determining submodule is used for detecting the data information to be detected based on preset data detection conditions to obtain target data information; and the target data information meets the preset data detection condition.
On the basis of any optional technical scheme in the embodiment of the present invention, optionally, the to-be-detected data information determining sub-module includes:
the data information storage unit to be analyzed is used for encrypting the data information sent by the logic unit to be determined to the current unit to be detected and storing the obtained data information to be analyzed in the storage area of the current unit to be detected;
and the to-be-detected data information determining unit is used for acquiring the to-be-analyzed data information and analyzing the to-be-analyzed data information to obtain the to-be-detected data information.
On the basis of any optional technical solution in the embodiment of the present invention, optionally, the target data information determining sub-module includes:
the data comparison result determining unit is used for comparing the data information to be detected with the data information to be compared, which is pre-stored in the target data flow direction map, so as to obtain a data comparison result; the data information to be compared is default data information between the current logic unit to be detected and the logic unit to be determined;
and the target data information determining unit is used for detecting the data comparison result based on a preset data detection condition, determining whether the data comparison result meets the preset data detection condition or not, and determining target data information according to the detection result.
On the basis of any optional technical solution in the embodiment of the present invention, optionally, the target data information determining unit includes:
the data comparison result detection subunit is used for detecting the data comparison result based on a target function and determining whether the data comparison result belongs to a preset numerical range interval;
the normal data information determining subunit is configured to determine that the data information to be detected is normal data information if the data comparison result belongs to the preset value range interval;
and the target data information determining subunit is configured to determine that the to-be-detected data information is the target data information if the data comparison result exceeds the preset value range interval.
On the basis of any optional technical solution in the embodiment of the present invention, optionally, the target logic unit determining module includes:
the logic unit to be selected determining submodule is used for determining the logic unit to be selected corresponding to the unit attribute information according to the preset corresponding relation between the unit attribute information and each logic unit;
and the target data processing submodule is used for determining the logic unit to be selected corresponding to the target data information as a target logic unit so as to process target data on the target logic unit.
The data processing device provided by the embodiment of the invention can execute the data processing method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the apparatus 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 embodiment of the invention.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary electronic device 40 suitable for use in implementing embodiments of the present invention. The electronic device 40 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 4, electronic device 40 is embodied in the form of a general purpose computing device. The components of electronic device 40 may include, but are not limited to: one or more processors or processing units 401, a system memory 402, and a bus 403 that couples the various system components (including the system memory 402 and the processing unit 401).
The system memory 402 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)404 and/or cache memory 405. The electronic device 40 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 406 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 403 by one or more data media interfaces. Memory 402 may include at least one program item having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 408 having a set (at least one) of program modules 407 may be stored, for example, in memory 402, such program modules 407 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 407 generally perform the functions and/or methods of the described embodiments of the invention.
The electronic device 40 may also communicate with one or more external devices 409 (e.g., keyboard, pointing device, display 410, etc.), one or more devices that enable a user to interact with the electronic device 40, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 40 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interface 411. Also, the electronic device 40 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 412. As shown, the network adapter 412 communicates with the other modules of the electronic device 40 over the bus 403. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
The processing unit 401 executes various functional applications and data processing, for example, implementing a data processing method provided by an embodiment of the present invention, by executing a program stored in the system memory 402.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a data processing method, and the method includes:
responding to the data flow direction viewing request, and acquiring a target data flow direction map corresponding to a target item from a target database; the data flow direction viewing request comprises an item identifier corresponding to a target item, and the target data flow direction graph comprises at least one logic unit associated with the target item, data flow direction information among the logic units and unit attribute information corresponding to the logic units;
detecting data information stored in each logic unit in the target data flow direction map based on a preset data detection condition, and determining target data information matched with the preset data detection condition;
determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be 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 data processing method, comprising:
responding to the data flow direction viewing request, and acquiring a target data flow direction map corresponding to a target item from a target database; the data flow direction viewing request comprises an item identifier corresponding to a target item, and the target data flow direction graph comprises at least one logic unit associated with the target item, data flow direction information among the logic units and unit attribute information corresponding to the logic units;
based on preset data detection conditions, detecting data information stored in each logic unit in the target data flow direction map, and determining target data information matched with the preset data detection conditions;
determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting.
2. The method of claim 1, wherein obtaining a target data flow graph corresponding to a target item from a target database in response to a data flow view request comprises:
when a data flow direction viewing request is received, acquiring a target data flow direction map corresponding to an item identifier from a target database based on the item identifier carried in the data flow direction request.
3. The method according to claim 1, wherein the detecting data information stored in each logic unit in the target data flow map based on a preset data detection condition, and determining target data information matching the preset data detection condition comprises:
determining a current logic unit to be detected, and determining a logic unit to be determined associated with the current logic unit to be detected from the upper hierarchy of the current logic unit to be detected according to data flow direction information in the target data flow direction map;
determining data information to be detected between the current logic unit to be detected and the logic unit to be determined;
detecting the data information to be detected based on preset data detection conditions to obtain target data information; and the target data information meets the preset data detection condition.
4. The method according to claim 3, wherein the determining the data information to be detected between the current logical unit to be detected and the logical unit to be determined comprises:
encrypting the data information sent by the logic unit to be determined to the current unit to be detected, and storing the obtained data information to be analyzed in a storage area of the current unit to be detected;
and acquiring the data information to be analyzed, and analyzing the data information to be analyzed to obtain the data information to be detected.
5. The method according to claim 4, wherein the detecting the data information to be detected based on the preset data detection condition to obtain the target data information comprises:
comparing the data information to be detected with data information to be compared, which is pre-stored in the target data flow direction map, to obtain a data comparison result; the to-be-compared data information is default data information between the current to-be-detected logic unit and the to-be-determined logic unit;
and detecting the data comparison result based on a preset data detection condition, determining whether the data comparison result meets the preset data detection condition, and determining target data information according to the detection result.
6. The method of claim 5, wherein the detecting the data comparison result based on a preset data detection condition, determining whether the data comparison result satisfies the preset data detection condition, and determining the target data information according to the detection result comprises:
detecting the data comparison result based on a target function, and determining whether the data comparison result belongs to a preset numerical range interval;
if the data comparison result belongs to the preset numerical range interval, determining that the data information to be detected is normal data information;
and if the data comparison result exceeds the preset value range, determining that the data information to be detected is target data information.
7. The method according to claim 1, wherein the determining a target logical unit corresponding to the target data information according to the unit attribute information to perform target data processing on the target logical unit comprises:
determining a logic unit to be selected corresponding to the unit attribute information according to the preset corresponding relationship between the unit attribute information and each logic unit;
and determining a logic unit to be selected corresponding to the target data information as a target logic unit so as to perform target data processing on the target logic unit.
8. A data processing apparatus, comprising:
the target data flow direction map acquisition module is used for responding to the data flow direction viewing request and acquiring a target data flow direction map corresponding to a target project from a target database; the data flow direction viewing request comprises an item identifier corresponding to a target item, and the target data flow direction graph comprises at least one logic unit associated with the target item, data flow direction information among the logic units and unit attribute information corresponding to the logic units;
the target data information determining module is used for detecting data information stored in each logic unit in the target data flow direction map based on preset data detection conditions and determining target data information matched with the preset data detection conditions;
the target logic unit determining module is used for determining a target logic unit corresponding to the target data information according to the unit attribute information so as to perform target data processing on the target logic unit; wherein the target data processing comprises at least one processing mode of viewing, modifying, updating, adding and deleting.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a data processing method as claimed in any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing the data processing method of any one of claims 1 to 7 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210113981.5A CN114443721A (en) | 2022-01-30 | 2022-01-30 | Data processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210113981.5A CN114443721A (en) | 2022-01-30 | 2022-01-30 | Data processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114443721A true CN114443721A (en) | 2022-05-06 |
Family
ID=81371691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210113981.5A Pending CN114443721A (en) | 2022-01-30 | 2022-01-30 | Data processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114443721A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114721913A (en) * | 2022-05-12 | 2022-07-08 | 华控清交信息科技(北京)有限公司 | Method and device for generating dataflow graph |
-
2022
- 2022-01-30 CN CN202210113981.5A patent/CN114443721A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114721913A (en) * | 2022-05-12 | 2022-07-08 | 华控清交信息科技(北京)有限公司 | Method and device for generating dataflow graph |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111291339A (en) | Processing method, device and equipment of block chain data and storage medium | |
CN110311972B (en) | Detection method, device, equipment and medium for application software distribution | |
CN112363753A (en) | Data verification method and device, electronic equipment and storage medium | |
CN114205216B (en) | Root cause positioning method and device for micro service fault, electronic equipment and medium | |
CN110110527A (en) | A kind of discovery method of loophole component, discovery device, computer installation and storage medium | |
CN114253864A (en) | Service testing method and device, electronic equipment and storage medium | |
CN110688111A (en) | Configuration method, device, server and storage medium of business process | |
CN113535577B (en) | Application testing method and device based on knowledge graph, electronic equipment and medium | |
CN115080433A (en) | Testing method and device based on flow playback | |
CN110837635A (en) | Method, device, equipment and storage medium for equipment verification | |
CN114443721A (en) | Data processing method and device, electronic equipment and storage medium | |
CN115809466B (en) | Security requirement generation method and device based on STRIDE model, electronic equipment and medium | |
CN115086047B (en) | Interface authentication method and device, electronic equipment and storage medium | |
CN111639903A (en) | Review processing method for architecture change and related equipment | |
CN116071152A (en) | Data processing method and device, electronic equipment and storage medium | |
CN114637689A (en) | Application evaluation method, device, equipment and storage medium | |
CN115190008B (en) | Fault processing method, fault processing device, electronic equipment and storage medium | |
CN114996119B (en) | Fault diagnosis method, fault diagnosis device, electronic device and storage medium | |
CN116483726A (en) | Abnormality detection method, abnormality detection device, electronic apparatus, and storage medium | |
CN117176576A (en) | Network resource changing method, device, equipment and storage medium | |
CN115421779A (en) | Object storage method and device, electronic equipment and computer readable storage medium | |
CN114138564A (en) | Fault processing method, processing device, electronic equipment and readable storage medium | |
CN117852043A (en) | Determination method and device for abnormal device, electronic device and storage medium | |
CN118468265A (en) | Application version detection method and device | |
CN113590223A (en) | Starting method and device of engine editor, 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 |