CN116862604A - Data processing method, device, electronic equipment and storage medium - Google Patents

Data processing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116862604A
CN116862604A CN202210299541.3A CN202210299541A CN116862604A CN 116862604 A CN116862604 A CN 116862604A CN 202210299541 A CN202210299541 A CN 202210299541A CN 116862604 A CN116862604 A CN 116862604A
Authority
CN
China
Prior art keywords
service
identifier
data
service data
state
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
CN202210299541.3A
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.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202210299541.3A priority Critical patent/CN116862604A/en
Publication of CN116862604A publication Critical patent/CN116862604A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data processing method, a data processing device, electronic equipment and a storage medium, and relates to the technical field of computers. One embodiment of the method comprises the following steps: receiving data to be processed sent by a service system, and acquiring a service identifier, an operation check value and service data which are included in the data to be processed; identifying an operation node corresponding to the service data based on the operation check value to determine a scene identifier and a function identifier corresponding to the service data; acquiring a service data display page based on the service identifier and the scene identifier to determine a state identifier of the operation node based on the function identifier, and updating the state identifier into a finished state; and establishing an association relation between the service data and the state mark so as to display the updated service data display page. The implementation mode can solve the problem that the whole logistics processing link of the order in each business system cannot be integrated integrally, so that the order cannot be maintained accurately and timely when the processing process of the order is problematic.

Description

Data processing method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method, a data processing device, an electronic device, and a storage medium.
Background
In the business processing of the fields of e-commerce and the like, after a user submits an order, the e-commerce system can sequentially process the order according to the logistics processing sequence of the order. Since the order processing may involve different processing stages, which are typically performed by different business systems, the overall logistics processing link of the order may involve multiple business systems. In the prior art, each service system usually only maintains own data, so that the whole logistics processing link of the order cannot be integrated integrally, and therefore, the order cannot be maintained accurately and timely when the processing process of the order is problematic.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a data processing method, apparatus, electronic device, and storage medium, which can solve the problem that an overall physical distribution processing link of an order in each service system cannot be integrated integrally, so that when a processing process of the order is problematic, maintenance cannot be performed accurately and timely.
To achieve the above object, according to one aspect of an embodiment of the present invention, there is provided a data processing method.
The data processing method of the embodiment of the invention comprises the following steps: receiving data to be processed sent by a service system, and acquiring a service identifier, an operation check value and service data which are included in the data to be processed; invoking a preset identification model, identifying an operation node corresponding to the service data based on the operation check value, and inquiring a functional node and a scene node to which the operation node belongs to determine a scene identifier and a functional identifier corresponding to the service data; acquiring a service data display page based on the service identifier and the scene identifier, so as to determine a state identifier of the operation node based on the function identifier, and updating the state identifier into a finished state; and establishing an association relation between the service data and the state mark so as to display an updated service data display page.
In one embodiment, updating the status identifier to a completed status includes:
and extracting a data processing result from the service data, and inquiring a corresponding completion state of the data processing result so as to update the state identifier into the corresponding completion state of the data processing result.
In yet another embodiment, receiving data to be processed sent by a service system, and obtaining a service identifier, an operation check value and service data included in the data to be processed includes:
receiving data to be processed generated by a service system based on a preset packaging tool;
and analyzing the data to be processed based on the packaging format of the packaging tool so as to acquire the service identification, the check value and the service data included in the data to be processed.
In yet another embodiment, updating the status identification to a completed status includes:
querying a corresponding operation node set based on the function identifier to determine adjacent upstream operation nodes of the operation nodes;
acquiring the state identification of the adjacent upstream operation node, and judging whether the state is a finished state or not;
if yes, updating the state identifier into a finished state; if not, sending abnormal prompt information of service processing, and updating the state identifier to be a finished state.
In yet another embodiment, after the sending the service processing exception prompt information, the method further includes:
querying a target service system corresponding to the adjacent upstream operation node to send a query request comprising the service identifier to the target service system;
and receiving service data sent by the target service system to update the state identification of the adjacent upstream operation node.
In yet another embodiment, acquiring a service data display page based on the service identification and the scene identification includes:
judging whether to generate a service data display page corresponding to the service identifier and the scene identifier;
if yes, acquiring a service data display page based on the service identifier and the scene identifier; if not, acquiring a service data display page template based on the scene identifier, initializing the service data display page template based on the service identifier, and generating the scene identifier and a service data display page corresponding to the service identifier.
In yet another embodiment, further comprising:
receiving input operation of a user on the data display page, and acquiring a state identifier in the input operation so as to inquire service data corresponding to the state identifier in the input operation and display the service data.
To achieve the above object, according to another aspect of an embodiment of the present invention, there is provided a data processing apparatus.
The data processing device of the embodiment of the invention comprises: the receiving unit is used for receiving data to be processed sent by the service system and acquiring service identification, an operation check value and service data which are included in the data to be processed; the determining unit is used for calling a preset identification model, identifying the operation node corresponding to the service data based on the operation check value, and inquiring the functional node and the scene node to which the operation node belongs to determine the scene identifier and the functional identifier corresponding to the service data; the updating unit is used for acquiring a service data display page based on the service identifier and the scene identifier so as to determine the state identifier of the operation node based on the function identifier and update the state identifier into a finished state; and the display unit is used for establishing the association relation between the service data and the state mark so as to display the updated service data display page.
In one embodiment, the updating unit is specifically configured to:
and extracting a data processing result from the service data, and inquiring a corresponding completion state of the data processing result so as to update the state identifier into the corresponding completion state of the data processing result.
In a further embodiment, the receiving unit is specifically configured to:
receiving data to be processed generated by a service system based on a preset packaging tool;
and analyzing the data to be processed based on the packaging format of the packaging tool so as to acquire the service identification, the check value and the service data included in the data to be processed.
In a further embodiment, the updating unit is specifically configured to:
querying a corresponding operation node set based on the function identifier to determine adjacent upstream operation nodes of the operation nodes;
acquiring the state identification of the adjacent upstream operation node, and judging whether the state is a finished state or not;
if yes, updating the state identifier into a finished state; if not, sending abnormal prompt information of service processing, and updating the state identifier to be a finished state.
In a further embodiment, the updating unit is specifically configured to:
querying a target service system corresponding to the adjacent upstream operation node to send a query request comprising the service identifier to the target service system;
and receiving service data sent by the target service system to update the state identification of the adjacent upstream operation node.
In a further embodiment, the updating unit is specifically configured to:
judging whether to generate a service data display page corresponding to the service identifier and the scene identifier;
if yes, acquiring a service data display page based on the service identifier and the scene identifier; if not, acquiring a service data display page template based on the scene identifier, initializing the service data display page template based on the service identifier, and generating the scene identifier and a service data display page corresponding to the service identifier.
In yet another embodiment, the display unit is further configured to receive an input operation of the data display page by a user, and obtain a status identifier in the input operation, so as to query service data corresponding to the status identifier in the input operation and display the service data.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device according to an embodiment of the present invention includes: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the data processing method provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, a computer-readable medium is provided.
A computer readable medium of an embodiment of the present invention stores a computer program thereon, which when executed by a processor implements the data processing method provided by the embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: in the embodiment of the invention, the operation division can be performed on the service processing process in advance, the functions and service scenes realized by each operation node are configured to establish the service data display page corresponding to each scene, the state identification of the operation node in the service data display page is used for representing the completion state of the operation in the service processing, so that each service system performs the service data after the service processing, the state identification of the operation node corresponding to the service data in the service data display page is updated to the completion state, and meanwhile, the association between the state identification and the service data is established, thereby realizing the integral integration of the processing links and the processing data of each service system in the service processing through the service data display page, realizing the integral integration of the service data in a plurality of service systems, and further realizing the timely and accurate maintenance of the processing data of the order in each service system in the processing scene of the order.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a scenario system for order data processing according to an embodiment of the present invention;
FIG. 2 is an interface schematic of a scene node configuration according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an interface of a functional node configuration according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a structure of data stored in a database according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a business data display page according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of one main flow of a data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of yet another main flow of a data processing method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of the main units of a data processing apparatus according to an embodiment of the present invention;
FIG. 9 is a diagram of yet another exemplary system architecture in which embodiments of the present invention may be applied;
FIG. 10 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present invention.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It is noted that embodiments of the application and features of the embodiments may be combined with each other without conflict. The technical scheme of the application obtains, stores, uses, processes and the like the data, which all meet the relevant regulations of national laws and regulations.
The embodiment of the application provides a data processing system which can be used for processing scenes of business data in each business system, in particular to scenes of business data processing in each business system for carrying out business processing on orders.
Because one service is sequentially processed by a plurality of service systems, and the service systems are independent of each other, so that service data cannot be integrated, the service data of the service systems can be collected through the data processing system in the embodiment of the application, so that the integral integration of the integral processing link of the service data is realized. Specifically, taking service processing as an order processing example, the order processing generally includes processing procedures of order generation, order sorting, order distribution and the like, and each procedure is completed by a corresponding service system. As shown in fig. 1, in a system schematic diagram of an order data processing scenario in an embodiment of the present application, each service system may transmit data to a data processing system through message middleware and smartlog.
In order to facilitate the identification of each service data, each scene node and each function node are preconfigured in the embodiment of the invention. The scene node may be used to represent a service processing scene corresponding to the service data, for example, an order processing scene, and fig. 2 is a schematic interface diagram of a scene node configuration, where the configuration may include information such as a scene identifier, a name, and the like. The function node may be used to represent functions implemented by the service system in processing service data, such as order generation, order sorting, and order distribution, and fig. 3 is a schematic interface diagram of a configuration of the function node, where the configuration may include information such as a function identifier, a name, and the like. Further, since the service processing in the service system may be divided into multiple steps, based on the specific operation of the service processing in each service system, in the embodiment of the present invention, the operation of each service processing in the service system may be split, the operation node corresponding to each operation may be configured, and the operation check value of each operation node, that is, the operation check value determines which operation the service data corresponds to, where the check name, type, and other information of each operation node may be configured. And meanwhile, the association relation among the scene nodes, the function nodes and the operation nodes is established based on the flow of each service processing, normally, one scene node can be associated with a plurality of functions, one function node can be associated with at least one operation node, data and the association relation corresponding to the scene nodes, the function nodes and the operation nodes can be stored in a data processing system through a database, as shown in fig. 4, a structural schematic diagram of the data is stored in the database in the data processing system, wherein the association relation between the scene nodes and the function nodes is stored in a first association relation table, and the association relation between the function nodes and the operation nodes is stored in a second association relation table.
In order to facilitate the data processing system to process the service data, in the embodiment of the present invention, each service system may package and output the service data through a preset package tool, and when the service data is packaged, the service system identifier, the service identifier (such as an order identifier), and the operation check value corresponding to the service data are also included in the package together with the service data, so that the data processing system can perform the memory processing on the received service data conveniently.
In an embodiment of the present invention, a data processing system may include a database, a server for data processing, and a front end for data presentation. The database may be used for storing service data sent by each service system, and a result of processing the service data, specifically, an ES cluster. The service end can process and operate and maintain the received service data, the front end can display the service data in the same scene as the data display page, so that the user can conveniently inquire, operate and maintain and the like. The service end can carry out arrangement integration and link monitoring of service processing through service data sent by each service system, and can carry out operation and maintenance exception handling when abnormal service processing is found, such as exception alarming and storage in a knowledge base, and meanwhile, the service end can also manage opinion feedback in service link monitoring, so that integral operation and maintenance of service processing are realized.
In order to facilitate the front end to display the service data, in the embodiment of the invention, a corresponding service data display page can be generated for each scene node, and the service data display page can be represented by the state identifier of the operation node corresponding to the function node included in the scene node, so as to represent the progress of service processing through different states of the state identifier, if the state identifier of the preset operation node is a completion state, it is represented that the service operation corresponding to the operation node is completed, and if the state identifier of the preset operation node is not a completion state, it is represented that the service operation corresponding to the operation node is not completed. In order to better display and monitor service data on the service data display page, in the embodiment of the invention, the status marks of the function nodes can be set, and corresponding function node links are established through the sequence of execution of the function nodes so as to embody the service processing links, and meanwhile, the status marks of the operation nodes included in each function node are established so as to embody the progress of service processing in the service system. Fig. 5 is a schematic diagram of a service data display page in an embodiment of the present invention, where a horizontal link represents a functional node link, and a vertical link corresponding to a status flag of each functional node represents an operation node link of an operation node included in the functional node.
It should be noted that, because the functional nodes and the operation nodes included in the same scene identifier are the same, when the scene Jing Biao identifiers are the same, the service data display page structures corresponding to the service identifiers are the same, but because the service processing progress corresponding to the service identifiers is different, the content of the service data display page corresponding to the service identifiers is not completely the same, so in the embodiment of the invention, a service data display page model can be set for each scene identifier, so that the service data display page of each service identifier is generated through the service data display page model.
An embodiment of the present invention provides a data processing method, which may be executed by a data processing system in a system architecture shown in fig. 1, as shown in fig. 6, and includes:
s601: and receiving the data to be processed sent by the service system, and acquiring the service identifier, the operation check value and the service data contained in the data to be processed.
The data to be processed can be generated after the service system performs service processing, and the service system can package the data such as the service identifier, the operation check value, the service data and the like through a preset packaging tool so as to obtain the data to be processed and send the data to the data processing system. After the data processing system receives the data to be processed generated by the service system based on the preset packaging tool, the data to be processed can be analyzed based on the packaging format of the packaging tool so as to acquire the service identification, the check value and the service data included in the data to be processed.
It should be noted that, in the embodiment of the present invention, the preset operation check value may be stored in the service system, so that the corresponding operation check value may be obtained when the service system encapsulates the data to be processed.
S602: and calling a preset identification model, identifying an operation node corresponding to the service data based on the operation check value, and inquiring a function node and a scene node to which the operation node belongs so as to determine a scene identifier and a function identifier corresponding to the service data.
The identification model is trained in advance, the functional node to which the operation node belongs can be determined through the association relation between the operation node and the functional node, the scene node to which the operation node belongs can be determined based on the association relation between the functional node and the scene node, and then the scene identifier and the function identifier corresponding to the service data can be determined.
Specifically, the identification model may query a data table storing the operation node data based on the operation check value obtained in step S601, so as to obtain the operation node corresponding to the service data.
S603: and acquiring a service data display page based on the service identifier and the scene identifier so as to determine the state identifier of the operation node based on the function identifier and update the state identifier into a finished state.
Each service identifier can generate a corresponding service data display page through a service data display page template corresponding to the scene identifier, and establish a corresponding relation among the service identifier, the scene identifier and the service data display page, so that the service data display page can be acquired based on the service identifier and the scene identifier in this step, a corresponding operation node link is positioned through the function identifier determined in step S602, then the state identifier of the operation node is determined based on the operation check value, and the state identifier is updated to be a finished state.
In some embodiments, the service processing generally includes a data processing result, and in embodiments of the present invention, different completion states may be configured based on the data processing result, so as to reflect the processing result of the service data in the service data display page. For example, if the data processing result is successful, a completion status of processing success may be configured; if the data processing result is failure, the completion status of the processing exception may be configured. So in this step, updating the status identifier to the completed status may be specifically performed as: and extracting a data processing result from the service data, and inquiring a completion state corresponding to the data processing result so as to update the state identifier to the completion state corresponding to the data processing result.
In still other embodiments, in order to avoid that the service data display page is not generated when the step is executed, it may be further determined whether to generate the service data display page corresponding to the service identifier before the step is executed; if yes, the service data display page can be directly acquired; if not, the service data display page template can be acquired based on the scene identifier, and then the service data display page template is initialized based on the service identifier, so that a service data display page corresponding to the scene identifier and the service identifier is generated.
In still other embodiments, since each operation node in the operation node link generally has a processing order, the status flags of each operation node in the operation node link in the service data display page generally need to be updated to the completion status sequentially according to the processing order, so updating the status flags to the completion status in this step may be specifically performed as: querying a corresponding operation node set based on the function identification to determine adjacent upstream operation nodes of the operation nodes; acquiring a state identifier of an adjacent upstream operation node, and judging whether the state is a finished state or not; if yes, acquiring a state identifier of the operation node; if not, sending abnormal prompt information of service processing to obtain state identification of operation node.
The adjacent upstream operation node indicates a node which is adjacent to the operation node and whose processing order is before the operation node, and since it is before the operation node, before the state flag of the updated operation node is the completed state, the state flag of the adjacent upstream operation node is also the completed state, so that this step can determine whether the state flag of the adjacent upstream operation node is the completed state. If yes, the adjacent upstream operation node is indicated to be processed, and the operation node state identification can be updated to be a completion state; if not, the adjacent upstream operation node is indicated to be processed, but the state mark of the adjacent upstream operation node is not updated in the service data display page, so that the operation node state mark can be updated to be a completed state, and service processing abnormality prompt information is sent to prompt that the state mark of the adjacent upstream operation node is not updated.
After receiving the abnormal prompt information of service processing, the data processing system can query the target service system corresponding to the adjacent upstream operation node to send a query request comprising the service identifier to the target service system, namely, obtain the service data corresponding to the adjacent upstream operation node from the target service system, and further update the state identifier of the adjacent upstream operation node through the method in the embodiment of the invention after receiving the service data sent by the target service system.
S604: and establishing an association relation between the service data and the state mark so as to display the updated service data display page.
In order to facilitate the user to view the service data, the service data display page may establish an association relationship between the service data and the status flag, so when the updated service data display page is displayed, the user may view the service data through an input operation, which may be specifically performed as follows: receiving input operation of a user on a data display page, and acquiring a state identifier in the input operation so as to inquire service data corresponding to the state identifier in the input operation and display the service data.
It should be noted that the input operation may be set based on the requirement, for example, may be a click operation. In the embodiment of the invention, if the state marks of the operation nodes in one operation node link are updated to be in a finished state in the service data display page, the state marks of the function nodes corresponding to the operation node link can be updated to be in the finished state.
In the embodiment of the invention, the operation division can be performed on the service processing process in advance, the functions and service scenes realized by each operation node are configured to establish the service data display page corresponding to each scene, the state identification of the operation node in the service data display page is used for representing the completion state of the operation in the service processing, so that each service system performs the service data after the service processing, the state identification of the operation node corresponding to the service data in the service data display page is updated to the completion state, and meanwhile, the association between the state identification and the service data is established, thereby realizing the integral integration of the processing links and the processing data of each service system in the service processing through the service data display page, realizing the integral integration of the service data in a plurality of service systems, and further realizing the timely and accurate maintenance of the processing data of the order in each service system in the processing scene of the order. In addition, the data processing system can also facilitate the abnormal investigation and the problem investigation of each node under the condition of realizing the visual data circulation, and can realize the data tracing, the tamper resistance and the like.
An embodiment of the present invention provides yet another data processing method, which may be executed by a data processing system, as shown in fig. 7, including:
s701: and receiving the data to be processed generated by the service system based on a preset packaging tool.
S702: and analyzing the data to be processed based on the packaging format of the packaging tool so as to acquire the service identifier, the operation check value and the service data included in the data to be processed.
S703: and identifying the operation node corresponding to the service data based on the operation check value, and inquiring the functional node and the scene node to which the operation node belongs so as to determine the scene identifier and the functional identifier corresponding to the service data.
S704: judging whether to generate a service data display page corresponding to the service identifier and the scene identifier, if so, executing step S705; if not, step S706 is performed.
S705: and acquiring a service data display page based on the service identifier and the scene identifier.
S706: and acquiring a service data display page template based on the scene identifier, and initializing the service data display page template based on the service identifier to generate a service data display page corresponding to the scene identifier and the service identifier.
S707: and determining the state identification of the operation node based on the function identification, extracting a data processing result from the service data, and inquiring the completion state corresponding to the data processing result so as to update the state identification into the completion state corresponding to the data processing result.
S708: and establishing an association relation between the service data and the state mark so as to display the updated service data display page.
It should be noted that the data processing principle in the embodiment of the present invention is the same as that shown in fig. 6, and will not be described herein.
In order to solve the problems existing in the prior art, an embodiment of the present invention provides a data processing apparatus 800, as shown in fig. 8, the apparatus 800 includes:
a receiving unit 801, configured to receive data to be processed sent by a service system, and obtain a service identifier, an operation check value, and service data included in the data to be processed;
a determining unit 802, configured to invoke a preset identification model, identify an operation node corresponding to the service data based on the operation check value, and query a functional node and a scene node to which the operation node belongs to determine a scene identifier and a functional identifier corresponding to the service data;
an updating unit 803, configured to obtain a service data display page based on the service identifier and the scene identifier, so as to determine a state identifier of the operation node based on the function identifier, and update the state identifier to a completed state;
and a display unit 804, configured to establish an association relationship between the service data and the status flag, so as to display an updated service data display page.
It should be understood that the manner of implementing the embodiment of the present invention is the same as that of implementing the embodiment shown in fig. 6, and will not be described herein.
In one embodiment, the updating unit 803 is specifically configured to:
and extracting a data processing result from the service data, and inquiring a corresponding completion state of the data processing result so as to update the state identifier into the corresponding completion state of the data processing result.
In yet another embodiment, the receiving unit 801 is specifically configured to:
receiving data to be processed generated by a service system based on a preset packaging tool;
and analyzing the data to be processed based on the packaging format of the packaging tool so as to acquire the service identification, the check value and the service data included in the data to be processed.
In yet another embodiment, the updating unit 803 is specifically configured to:
querying a corresponding operation node set based on the function identifier to determine adjacent upstream operation nodes of the operation nodes;
acquiring the state identification of the adjacent upstream operation node, and judging whether the state is a finished state or not;
if yes, updating the state identifier into a finished state; if not, sending abnormal prompt information of service processing, and updating the state identifier to be a finished state.
In yet another embodiment, the updating unit 803 is specifically configured to:
querying a target service system corresponding to the adjacent upstream operation node to send a query request comprising the service identifier to the target service system;
and receiving service data sent by the target service system to update the state identification of the adjacent upstream operation node.
In yet another embodiment, the updating unit 803 is specifically configured to:
judging whether to generate a service data display page corresponding to the service identifier and the scene identifier;
if yes, acquiring a service data display page based on the service identifier and the scene identifier; if not, acquiring a service data display page template based on the scene identifier, initializing the service data display page template based on the service identifier, and generating the scene identifier and a service data display page corresponding to the service identifier.
In yet another embodiment, the display unit 804 is further configured to receive an input operation of the data display page by a user, obtain a status identifier in the input operation, and query and display service data corresponding to the status identifier in the input operation.
It should be understood that the manner of implementing the embodiments of the present invention is the same as that of implementing the embodiments shown in fig. 6 or fig. 7, and will not be described herein.
In the embodiment of the invention, the operation division can be performed on the service processing process in advance, the functions and service scenes realized by each operation node are configured to establish the service data display page corresponding to each scene, the state identification of the operation node in the service data display page is used for representing the completion state of the operation in the service processing, so that each service system performs the service data after the service processing, the state identification of the operation node corresponding to the service data in the service data display page is updated to the completion state, and meanwhile, the association between the state identification and the service data is established, thereby realizing the integral integration of the processing links and the processing data of each service system in the service processing through the service data display page, realizing the integral integration of the service data in a plurality of service systems, and further realizing the timely and accurate maintenance of the processing data of the order in each service system in the processing scene of the order.
According to an embodiment of the present invention, an electronic device and a readable storage medium are also provided.
The electronic equipment of the embodiment of the invention comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the one processor, and the instructions are executed by the at least one processor, so that the at least one processor executes the data processing method provided by the embodiment of the invention.
FIG. 9 illustrates an exemplary system architecture 900 in which a data processing method or data processing apparatus of an embodiment of the present invention may be applied.
As shown in fig. 9, system architecture 900 may include terminal devices 901, 902, 903, a network 904, and a server 905. The network 904 is the medium used to provide communications links between the terminal devices 901, 902, 903 and the server 905. The network 904 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 905 over the network 904 using the terminal devices 901, 902, 903 to receive or send messages, etc. Various client applications may be installed on the terminal devices 901, 902, 903.
Terminal devices 901, 902, 903 may be, but are not limited to, smartphones, tablets, laptop and desktop computers, and the like.
The server 905 may be a server providing various services, and may perform processing such as analysis on received data such as a product information query request, and feed back a processing result (e.g., product information—merely an example) to the terminal device.
It should be noted that, the data processing method provided in the embodiment of the present invention is generally executed by the server 905, and accordingly, the data processing device is generally disposed in the server 905.
It should be understood that the number of terminal devices, networks and servers in fig. 9 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 10, there is illustrated a schematic diagram of a computer system 1000 suitable for use in implementing embodiments of the present invention. The computer system illustrated in fig. 10 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU) 1001, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output portion 1007 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc., and a speaker, etc.; a storage portion 1008 including a hard disk or the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The drive 1010 is also connected to the I/O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is installed as needed in the drive 1010, so that a computer program read out therefrom is installed as needed in the storage section 1008.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 1009, and/or installed from the removable medium 1011. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 1001.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes a receiving unit, a determining unit, an updating unit, and a display unit. The names of these units do not constitute a limitation on the unit itself in some cases, and for example, the receiving unit may also be described as a "unit of a data receiving function".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform the data processing method provided by the present invention.
As another aspect, the present invention also provides a computer program product, including a computer program, where the program when executed by a processor implements a data processing method provided by an embodiment of the present invention.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of data processing, comprising:
receiving data to be processed sent by a service system, and acquiring a service identifier, an operation check value and service data which are included in the data to be processed;
Invoking a preset identification model, identifying an operation node corresponding to the service data based on the operation check value, and inquiring a functional node and a scene node to which the operation node belongs to determine a scene identifier and a functional identifier corresponding to the service data;
acquiring a service data display page based on the service identifier and the scene identifier, so as to determine a state identifier of the operation node based on the function identifier, and updating the state identifier into a finished state;
and establishing an association relation between the service data and the state mark so as to display an updated service data display page.
2. The method of claim 1, wherein updating the status identifier to a completed status comprises:
and extracting a data processing result from the service data, and inquiring a corresponding completion state of the data processing result so as to update the state identifier into the corresponding completion state of the data processing result.
3. The method of claim 1, wherein receiving data to be processed sent by a service system, and obtaining a service identifier, an operation check value, and service data included in the data to be processed, comprises:
Receiving data to be processed generated by a service system based on a preset packaging tool;
and analyzing the data to be processed based on the packaging format of the packaging tool so as to acquire the service identification, the check value and the service data included in the data to be processed.
4. The method of claim 1, wherein updating the status identifier to a completed status comprises:
querying a corresponding operation node set based on the function identifier to determine adjacent upstream operation nodes of the operation nodes;
acquiring the state identification of the adjacent upstream operation node, and judging whether the state is a finished state or not;
if yes, updating the state identifier into a finished state; if not, sending abnormal prompt information of service processing, and updating the state identifier to be a finished state.
5. The method of claim 4, further comprising, after said sending the traffic handling exception prompt, the step of:
querying a target service system corresponding to the adjacent upstream operation node to send a query request comprising the service identifier to the target service system;
and receiving service data sent by the target service system to update the state identification of the adjacent upstream operation node.
6. The method of claim 1, wherein obtaining a service data display page based on the service identification and the scene identification comprises:
judging whether to generate a service data display page corresponding to the service identifier and the scene identifier;
if yes, acquiring a service data display page based on the service identifier and the scene identifier; if not, acquiring a service data display page template based on the scene identifier, initializing the service data display page template based on the service identifier, and generating the scene identifier and a service data display page corresponding to the service identifier.
7. The method as recited in claim 1, further comprising:
receiving input operation of a user on the data display page, and acquiring a state identifier in the input operation so as to inquire service data corresponding to the state identifier in the input operation and display the service data.
8. A data processing apparatus, comprising:
the receiving unit is used for receiving data to be processed sent by the service system and acquiring service identification, an operation check value and service data which are included in the data to be processed;
the determining unit is used for calling a preset identification model, identifying the operation node corresponding to the service data based on the operation check value, and inquiring the functional node and the scene node to which the operation node belongs to determine the scene identifier and the functional identifier corresponding to the service data;
The updating unit is used for acquiring a service data display page based on the service identifier and the scene identifier so as to determine the state identifier of the operation node based on the function identifier and update the state identifier into a finished state;
and the display unit is used for establishing the association relation between the service data and the state mark so as to display the updated service data display page.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-7.
CN202210299541.3A 2022-03-25 2022-03-25 Data processing method, device, electronic equipment and storage medium Pending CN116862604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210299541.3A CN116862604A (en) 2022-03-25 2022-03-25 Data processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210299541.3A CN116862604A (en) 2022-03-25 2022-03-25 Data processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116862604A true CN116862604A (en) 2023-10-10

Family

ID=88217770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210299541.3A Pending CN116862604A (en) 2022-03-25 2022-03-25 Data processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116862604A (en)

Similar Documents

Publication Publication Date Title
CN111460129B (en) Method, device, electronic equipment and storage medium for generating identification
CN110232091B (en) Method, system and apparatus for synchronizing data
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN108933695B (en) Method and apparatus for processing information
CN110851468A (en) Method and device for making simulation response to test request of client
CN111038906A (en) Order sorting method and device
CN110932918A (en) Log data acquisition method and device and storage medium
CN113626223A (en) Interface calling method and device
CN110737655B (en) Method and device for reporting data
CN114513552B (en) Data processing method, device, equipment and storage medium
CN111984234A (en) Method and device for processing work order
CN111309721A (en) Method and device for determining association relation of data table
CN116737662A (en) Method, device, electronic equipment and storage medium for processing business data
CN111522617A (en) Method and device for maintaining system and electronic equipment
CN111787041A (en) Method and apparatus for processing data
CN115454956A (en) Log generation method and device, electronic equipment and storage medium
CN116862604A (en) Data processing method, device, electronic equipment and storage medium
CN115658127A (en) Data processing method and device, electronic equipment and storage medium
CN113312900A (en) Data verification method and device
CN113420010A (en) Database management method and device, electronic equipment and storage medium
CN108696549B (en) Load balancing method, device and system
CN113760712A (en) Test evaluation method and device
CN113760695A (en) Method and device for positioning problem code
CN115309612B (en) Method and device for monitoring data
CN114253520B (en) Interface code generation method and device

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