CN117873446A - Worker link tracking method, device, equipment and medium - Google Patents

Worker link tracking method, device, equipment and medium Download PDF

Info

Publication number
CN117873446A
CN117873446A CN202311819608.2A CN202311819608A CN117873446A CN 117873446 A CN117873446 A CN 117873446A CN 202311819608 A CN202311819608 A CN 202311819608A CN 117873446 A CN117873446 A CN 117873446A
Authority
CN
China
Prior art keywords
work order
service node
information
link
service
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
CN202311819608.2A
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.)
Ud Network Co ltd
Original Assignee
Ud Network Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ud Network Co ltd filed Critical Ud Network Co ltd
Priority to CN202311819608.2A priority Critical patent/CN117873446A/en
Publication of CN117873446A publication Critical patent/CN117873446A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

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

Abstract

The invention discloses a worker single link tracking method, a worker single link tracking device, worker single link tracking equipment and a worker single link tracking medium, and belongs to the technical field of computers. The method comprises the steps of obtaining work order information and generating a work order tracking identifier; obtaining a work order service node according to the work order information and the work order tracking identification; intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node; burying points for the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence; and searching according to the work order tracking identification, obtaining and displaying the work order calling link and the specific calling information. The code coupling rows are reduced by inserting the tracking identification into the binary coding mode, and the system is lighter by writing all local logs into the elastic search, so that the data can be monitored in real time, and the circulation information of the work order can be monitored conveniently.

Description

Worker link tracking method, device, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for tracing an industrial single link.
Background
Currently existing link tracking technologies are typically journaling, distributed tracking, call chain tracking and distributed tracking systems. The log record can only track the occurred events, real-time monitoring is not possible, the distributed tracking requires additional hardware equipment and complex architecture design, a great amount of source codes are required for calling chain tracking, the implementation difficulty is high, and the distributed tracking system can meet the tracking requirement in complex scenes, but the implementation difficulty is higher, and professional technicians are required for designing and implementing.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for tracking an industrial single link, which aim to solve the problem that real-time monitoring and coupling cannot be achieved.
In order to achieve the above purpose, the present invention provides a work order link tracking method, which obtains work order information and generates a work order tracking identifier;
obtaining a work order service node according to the work order information and the work order tracking identification;
intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node;
burying points for the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence;
and searching according to the worksheet tracking identification, obtaining and displaying the worksheet operation link and the specific calling information.
Optionally, the intercepting the request sent by the work order service node obtains specific call information of the node, including:
sending a corresponding node request according to the service node;
setting a filter to intercept the request before the request reaches the server;
intercepting a doFilter method of a request using a filter to obtain an interceptor chain;
calling a requested getRequestURL method for the interceptor chain to acquire a requested URL;
and according to the URL, acquiring specific calling information of the request by calling a getParameterTypes method.
Optionally, the intercepting the request of the work order service node, acquiring and storing specific call information of the work order service node includes:
generating an initial service node request according to the work order information and the work order tracking identifier;
performing traversal operation on the work order service nodes, generating service node requests and corresponding specific call information when traversing one service node each time until detecting an end request, and establishing complete specific call information of each work order;
and according to the identification ID in the work order tracking identification, combining and storing the specific call information generated by the work orders into a database.
Optionally, the burying point processing is performed on the work order service node, and a corresponding service call link is generated and stored in sequence when each service node is entered, which includes:
generating link information of an initial service node according to the work order information and the work order tracking identification;
monitoring service nodes of the worksheets, generating corresponding service node identifiers when each service node is entered, adding the service node identifiers into the link information, updating the link information, and establishing complete calling links of the worksheets;
and merging and storing call links generated by a plurality of worksheets into a database according to the identification ID in the worksheet tracking identification.
Optionally, the monitoring the service node of the work order generates a corresponding service node identifier when entering one service node and adds the service node identifier to the link information, and updating the link information includes:
if the initial service node is successfully executed, entering a next service node according to the link information carried by the preset service node, and generating a service identifier corresponding to the next service node;
and adding the generated service identifier into the link information, updating the link information, carrying the updated link information to enter the next service node when the current service node is confirmed to be successfully executed, and the like until an end node is detected, and ending the link updating.
Optionally, the searching according to the worksheet tracking identifier, obtaining and displaying the worksheet service link and the specific call information, includes:
acquiring an identification ID in the work order tracking identification;
searching according to the identification ID to obtain a call link and specific call information of the corresponding work order;
and sending the searched call link and the specific call information to a work order display terminal so as to display a tracking result on a display interface of the work order display terminal.
Optionally, the service node at least comprises warehousing, cataloging, auditing, information supplementing and ex-warehouse, and the work order tracking identifier adopts a binary coding mode.
In addition, in order to achieve the above object, the present invention also provides an industrial chain path tracking device, which includes:
the acquisition module is used for acquiring the work order information and generating a work order tracking identifier;
the acquisition module is also used for acquiring a work order service node according to the work order information and the work order tracking identifier;
the filtering and intercepting module is used for intercepting the request of the work order service node, acquiring the specific calling information of the work order service node and storing the specific calling information;
the processing module is used for carrying out buried point processing on the work order service nodes, generating corresponding service calling links when each service node is entered, and storing the service calling links in sequence;
and the display module is used for searching according to the worksheet tracking identification, obtaining the worksheet calling link and the specific calling information and displaying the worksheet calling link and the specific calling information.
In addition, to achieve the above object, the present invention also provides an industrial single link tracking apparatus, including: the system comprises a memory, a processor and a worker link tracing program stored on the memory and capable of running on the processor, wherein the worker link tracing program is configured to realize the steps of the worker link tracing method.
In addition, in order to achieve the above object, the present invention further provides a storage medium, on which a worker link tracing program is stored, which implements the steps of the worker link tracing method when executed by a processor.
The method comprises the steps of obtaining work order information and generating a work order tracking identifier; obtaining a work order service node according to the work order information and the work order tracking identification; intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node; burying points for the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence; according to the work order tracking identification search, the work order calling link and specific calling information are obtained and displayed, code coupling lines are reduced by inserting the tracking identification in a binary coding mode, and the system is lighter by writing all local logs into an elastic search, so that data can be monitored in real time, and the circulation information of the work order can be monitored conveniently.
Drawings
FIG. 1 is a schematic diagram of a worker-link trace control device for a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of the worker-link tracing method of the present invention;
FIG. 3 is a schematic diagram of a data monitoring process according to an embodiment of the present invention;
FIG. 4 is a flowchart of a second embodiment of the worker-link tracing method of the present invention;
FIG. 5 is a flowchart of a third embodiment of the worker-link tracing method of the present invention;
fig. 6 is a block diagram of a first embodiment of the industrial chain tracing apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a worker-link tracing device in a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the worker-link tracing apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the structure shown in fig. 1 does not constitute a limitation of the worker-link tracking device, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
As shown in fig. 1, an operating system, a data storage module, a network communication module, a user interface module, and a worker link tracking device program may be included in the memory 1005 as one type of storage medium.
In the worker-link tracking device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the worker-link tracing device of the present invention may be disposed in the worker-link tracing device, and the worker-link tracing device invokes the worker-link tracing program stored in the memory 1005 through the processor 1001 and executes the worker-link tracing method provided by the embodiment of the present invention.
An embodiment of the present invention provides a worker-link tracing method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the worker-link tracing method.
In this embodiment, the worker-link tracing method includes:
step S10: and acquiring the work order information and generating a work order tracking identifier.
It should be noted that, the work order tracking identifier includes call information that needs to be provided by the producer and the consumer, and in this embodiment, the tracking identifier is specifically a call link ID, a call interface, call port information, and a work order processing result.
Step S20: and obtaining the work order service node according to the work order information and the work order tracking identification.
It should be understood that the service node at least includes warehousing, cataloging, auditing, information supplementing and ex-warehouse, where the work order tracking identifier adopts binary coding, in this embodiment, the work order service is work order article warehousing, article cataloging, auditing, article information supplementing and ex-warehouse, and the link information of a complete work order is that a call link is generated from the article warehousing service, and then the call link is updated through cataloging, auditing and information supplementing services until the article ex-warehouse service is identified, and the link information updating of a work order is finished, and at this time, the call link of a complete work order is built.
Step S30: intercepting the request of the work order service node, and acquiring and storing the specific calling information of the work order service node.
It should be appreciated that in Web development, a Filter is a common component that intercepts Web server requests for checking user authorization, logging information, decoding, filtering character codes, and the like. By configuring the filter and the requests to be intercepted, when the requests come, the method provided by the filter can uniformly process the requests or responses.
It can be understood that the intercepting the request sent by the work order service node, and acquiring the specific call information of the node include: sending a corresponding node request according to the service node; setting a filter to intercept the request before the request reaches the server; intercepting a doFilter method of a request using a filter to obtain an interceptor chain; calling a requested getRequestURL method for the interceptor chain to acquire a requested URL; and according to the URL, acquiring specific calling information of the request by calling a getParameterTypes method.
Specifically, in this embodiment, there is a dopilter method in the Filter interface, when a Filter is written and configured to intercept which Web request resource, the Web server will call the dopilter method of a Filter before calling the service method of the Web resource each time, and there is a filechain object in the dopilter method for transferring to the next Filter, and each time the dopilter method is called, an interceptor chain will be generated, the interceptor chain is called for the getrequest URL method of the service node request, the requested URL is obtained, and specific call information of the service node request is obtained by calling the getParameterTypes method of the service node request according to the URL. As shown in fig. 3, fig. 3 is a schematic diagram of a data monitoring flow, by calling a certain service function, the time consuming, abnormal parameters, calling times and TraceID of the function are recorded, and the TraceID is a calling link ID, which is the identification ID of each work order, and the work orders are distinguished by the TraceID. And recording request time consumption, parameter and return exception, call times and traceID according to the request dependency interface, recording request time consumption, parameter exception, call times and traceID through request cache, recording request time consumption, SQL exception, call times and traceID through a request database, and finally recording a file name log generation line number through a hierarchical log, an info log or an exception log.
Step S40: and carrying out embedded point processing on the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence.
It is to be understood that the data embedding is performed on the work order, such as article warehouse entry, article cataloging, auditing, article information supplementing and warehouse exit, the monitoring is performed according to the initial service node work order article warehouse entry, the service nodes of the work order are monitored, corresponding service node identifiers are generated when each service node is entered, and are added into the link information, so that the link information is updated.
It is understood that updating the link further includes: if the initial service node is successfully executed, entering a next service node according to the link information carried by the preset service node, and generating a service identifier corresponding to the next service node; and adding the generated service identifier into the link information, updating the link information, carrying the updated link information to enter the next service node when the current service node is confirmed to be successfully executed, and the like until an end node is detected, and ending the link updating.
Step S50: and searching according to the work order tracking identification, obtaining and displaying the work order calling link and the specific calling information.
It can be understood that the searching according to the worksheet tracking identifier, obtaining and displaying the worksheet service link and the specific call information, includes: acquiring an identification ID in the work order tracking identification; searching to obtain a call link and specific call information of the corresponding work order according to the identification ID; and sending the searched call link and the specific call information to a work order display terminal so as to display a tracking result on a display interface of the work order display terminal.
Specifically, in this embodiment, the ID in the work order tracking identifier is a call link ID, and the call link ID of each work order is different, so that the call link and specific call information obtained by searching according to the call link ID are unique, then searching according to the call link ID through an elastic search, obtaining the call link and specific call information corresponding to the call link ID, and then sending the call link and specific call information to the work order display terminal, and displaying the tracking result on the work order display interface.
The embodiment obtains the work order information and generates the work order tracking identification; obtaining a work order service node according to the work order information and the work order tracking identification; intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node; burying points for the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence; according to the work order tracking identification search, the work order calling link and specific calling information are obtained and displayed, code coupling lines are reduced by inserting the tracking identification in a binary coding mode, and the system is lighter by writing all local logs into an elastic search, so that data can be monitored in real time, and the circulation information of the work order can be monitored conveniently.
Referring to fig. 4, fig. 4 is a flowchart of a second embodiment of the worker-link tracing method according to the present invention.
Step S30 described in the first embodiment includes:
step S301: and generating an initial service node request according to the work order information and the work order tracking identification.
Specifically, in this embodiment, an initial service node request, that is, a warehouse entry request, may be obtained according to the work order information and the tracking identifier.
Step S302: and performing traversal operation on the work order service nodes, generating service node requests and corresponding specific call information when traversing one service node each time until detecting an end request, and establishing complete specific call information of each work order.
It should be understood that, in this embodiment, an initial service node request is monitored, if the initial service node request is executed successfully, the next service node is entered according to the specific call information carried by the preset service node, and a service identifier corresponding to the next service node is generated; and adding the generated service identifier into the specific call information, updating the specific call information, carrying the updated specific call information to enter the next service node when confirming that the current service node is successfully executed, and so on until the end node is detected, updating the specific call information, and establishing the complete specific call information of each work order.
Step S303: and according to the identification ID in the work order tracking identification, combining and storing the specific call information generated by the work orders into a database.
It can be understood that the call link ID of each work order is unique, and specific call information generated by a plurality of work orders is combined according to the call link ID of each work order and stored in the database. In this embodiment, the database is an elastic search, and the access of the Web application is accelerated by using the elastic search as a cache object.
In this embodiment, an initial service node request is generated according to the work order information and the work order tracking identifier; performing traversal operation on the work order service nodes, generating service node requests and corresponding specific call information when traversing one service node each time until detecting an end request, and establishing complete specific call information of each work order; and according to the identification ID in the work order tracking identification, the specific call information generated by a plurality of work orders is merged and stored in a database, and the database access request is responded more quickly by utilizing the elastic search storage data.
Referring to fig. 5, fig. 5 is a flowchart of a third embodiment of the worker-link tracing method according to the present invention.
Step S40 of the first embodiment includes:
step S401: and generating link information of the initial service node according to the work order information and the work order tracking identification.
In this embodiment, the link information of the initial service node, that is, the link information of the warehouse-in, may be obtained according to the work order information and the tracking identifier.
Step S402: and monitoring the service nodes of the worksheets, generating corresponding service node identifiers when each service node is accessed, adding the service node identifiers into the link information, updating the link information, and establishing complete calling links of the worksheets.
Specifically, in this embodiment, an initial service node is monitored, if the initial service node is executed successfully, the next service node is entered according to the link information carried by the preset service node, and a service identifier corresponding to the next service node is generated; and adding the generated service identifier into the link information, updating the link information, carrying the updated link information to enter the next service node when confirming that the current service node is successfully executed, and the like until the end node is detected, ending the updating of the link information, and establishing a complete call link of each work order.
Step S403: and merging and storing call links generated by a plurality of worksheets into a database according to the identification ID in the worksheet tracking identification.
It can be appreciated that the call link ID of each work order is unique, and the call links generated by the plurality of work orders are combined and saved to the database according to the call link ID of each work order. In this embodiment, the database is an elastic search, and the access of the Web application is accelerated by using the elastic search as a cache object.
In this embodiment, link information of an initial service node is generated according to the work order information and the work order tracking identifier; monitoring the execution node of the work order, generating a corresponding service node identifier when each service node is entered, adding the service node identifier into the link information, updating the link information, and establishing a complete call link of each work order; and merging and storing call links generated by a plurality of worksheets into a database according to the identification ID in the worksheet tracking identification, and responding to the database access request more quickly by utilizing the elastic search stored data.
Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of the industrial chain tracing apparatus according to the present invention.
As shown in fig. 6, the industrial chain tracing device provided in the embodiment of the present invention includes:
the acquiring module 10 is used for acquiring the work order information and generating a work order tracking identifier;
the obtaining module 10 is further configured to obtain a work order service node according to the work order information and the work order tracking identifier;
the filtering and intercepting module 20 is used for intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node;
the processing module 30 is configured to perform embedded point processing on the work order service nodes, generate corresponding service call links when each service node is entered, and store the service call links in sequence;
and the display module 40 is used for searching according to the worksheet tracking identification, obtaining the worksheet calling link and the specific calling information and displaying the worksheet calling link and the specific calling information.
The embodiment obtains the work order information and generates the work order tracking identification; obtaining a work order service node according to the work order information and the work order tracking identification; intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node; burying points for the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence; according to the work order tracking identification search, the work order calling link and specific calling information are obtained and displayed, code coupling lines are reduced by inserting the tracking identification in a binary coding mode, and the system is lighter by writing all local logs into an elastic search, so that data can be monitored in real time, and the circulation information of the work order can be monitored conveniently.
In an embodiment, the filtering and intercepting module 20 is further configured to send a corresponding node request according to the service node; setting a filter to intercept the request before the request reaches the server; intercepting a doFilter method of a request using a filter to obtain an interceptor chain; calling a requested getRequestURL method for the interceptor chain to acquire a requested URL; and according to the URL, acquiring specific calling information of the request by calling a getParameterTypes method.
In an embodiment, the filtering and intercepting module 20 is further configured to generate an initial service node request according to the work order information and the work order tracking identifier; performing traversal operation on the work order service nodes, generating service node requests and corresponding specific call information when traversing one service node each time until detecting an end request, and establishing complete specific call information of each work order; and according to the identification ID in the work order tracking identification, combining and storing the specific call information generated by the work orders into a database.
In an embodiment, the processing module 30 is further configured to generate link information of an initial service node according to the work order information and the work order tracking identifier; monitoring service nodes of the worksheets, generating corresponding service node identifiers when each service node is entered, adding the service node identifiers into the link information, updating the link information, and establishing complete calling links of the worksheets; and merging and storing call links generated by a plurality of worksheets into a database according to the identification ID in the worksheet tracking identification.
In an embodiment, the processing module 30 is further configured to enter a next service node according to the link information carried by the preset service node if the initial service node is executed successfully, and generate a service identifier corresponding to the next service node; and adding the generated service identifier into the link information, updating the link information, carrying the updated link information to enter the next service node when the current service node is confirmed to be successfully executed, and the like until an end node is detected, and ending the link updating.
In an embodiment, the display module 40 is further configured to obtain an identifier ID in the worksheet tracking identifier; searching to obtain a call link and specific call information of the corresponding work order according to the identification ID; and sending the searched call link and the specific call information to a work order display terminal so as to display a tracking result on a display interface of the work order display terminal.
In an embodiment, the obtaining module 10 is further configured to at least store, catalog, audit, information supplement, and delivery of the service node, where the work order tracking identifier is in a binary coding manner.
In addition, in order to achieve the above object, the present invention also proposes a worker-link tracing apparatus including: the system comprises a memory, a processor, and a worker link trace program stored on the memory and executable on the processor, the worker link trace program configured to implement the steps of the worker link trace method as described above.
The present industrial single link tracking device adopts all the technical solutions of all the embodiments, so that the present industrial single link tracking device has at least all the beneficial effects brought by the technical solutions of the embodiments, and is not described in detail herein.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a worker-link tracing program, and the worker-link tracing program realizes the steps of the worker-link tracing method when being executed by a processor.
Because the storage medium adopts all the technical schemes of all the embodiments, the storage medium has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details not described in detail in this embodiment may refer to the engineering mode control method provided in any embodiment of the present invention, which is not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A worker-link tracing method, comprising:
acquiring work order information and generating a work order tracking identifier;
obtaining a work order service node according to the work order information and the work order tracking identification;
intercepting the request of the work order service node, acquiring and storing the specific calling information of the work order service node;
burying points for the work order service nodes, generating corresponding service call links when each service node is entered, and storing the service call links in sequence;
and searching according to the work order tracking identification, obtaining and displaying the work order calling link and the specific calling information.
2. The method of claim 1, wherein intercepting the request sent by the worksheet service node, and obtaining specific call information of the node, comprises:
sending a corresponding node request according to the service node;
setting a filter to intercept the request before the request reaches the server;
intercepting a doFilter method of a request using a filter to obtain an interceptor chain;
calling a requested getRequestURL method for the interceptor chain to acquire a requested URL;
and according to the URL, acquiring specific calling information of the request by calling a getParameterTypes method.
3. The method of claim 2, wherein intercepting the request of the worksheet service node, acquiring and storing specific call information of the worksheet service node, comprises:
generating an initial service node request according to the work order information and the work order tracking identifier;
performing traversal operation on the work order service nodes, generating service node requests and corresponding specific call information when traversing one service node each time until detecting an end request, and establishing complete specific call information of each work order;
and according to the identification ID in the work order tracking identification, combining and storing the specific call information generated by the work orders into a database.
4. The method of claim 1, wherein the embedding the job ticket service nodes, each time a service node is entered, generates a corresponding service call link and stores it in sequence, includes:
generating link information of an initial service node according to the work order information and the work order tracking identification;
monitoring service nodes of the worksheets, generating corresponding service node identifiers when each service node is entered, adding the service node identifiers into the link information, updating the link information, and establishing complete calling links of the worksheets;
and merging and storing call links generated by a plurality of worksheets into a database according to the identification ID in the worksheet tracking identification.
5. The method of claim 4, wherein the monitoring the service nodes of the worksheet, each time a service node is entered, generates a corresponding service node identifier and adds the service node identifier to the link information, and updating the link information comprises:
if the initial service node is successfully executed, entering a next service node according to the link information carried by the preset service node, and generating a service identifier corresponding to the next service node;
and adding the generated service identifier into the link information, updating the link information, carrying the updated link information to enter the next service node when the current service node is confirmed to be successfully executed, and the like until an end node is detected, and ending the link updating.
6. The method of claim 1, wherein the searching according to the worksheet tracking identifier to obtain and display the worksheet link and specific call information comprises:
acquiring an identification ID in the work order tracking identification;
searching according to the identification ID to obtain a call link and specific call information of the corresponding work order;
and sending the searched call link and the specific call information to a work order display terminal so as to display a tracking result on a display interface of the work order display terminal.
7. The method of claim 1, wherein the service node comprises at least warehousing, cataloging, auditing, information supplementation, and ex-warehouse, and wherein the work order tracking identifier is provided by binary coding.
8. An industrial single link tracking device, the device comprising:
the acquisition module is used for acquiring the work order information and generating a work order tracking identifier;
the acquisition module is also used for acquiring a work order service node according to the work order information and the work order tracking identifier;
the filtering and intercepting module is used for intercepting the request of the work order service node, acquiring the specific calling information of the work order service node and storing the specific calling information;
the processing module is used for carrying out buried point processing on the work order service nodes, generating corresponding service calling links when each service node is entered, and storing the service calling links in sequence;
and the display module is used for searching according to the worksheet tracking identification, obtaining the worksheet calling link and the specific calling information and displaying the worksheet calling link and the specific calling information.
9. An industrial single link tracking device, the device comprising: a memory, a processor, and a worker link trace program stored on the memory and executable on the processor, the worker link trace program configured to implement the steps of the worker link trace method of any of claims 1 to 7.
10. A storage medium having stored thereon a worker link trace program which, when executed by a processor, implements the steps of the worker link trace method according to any one of claims 1 to 7.
CN202311819608.2A 2023-12-26 2023-12-26 Worker link tracking method, device, equipment and medium Pending CN117873446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311819608.2A CN117873446A (en) 2023-12-26 2023-12-26 Worker link tracking method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311819608.2A CN117873446A (en) 2023-12-26 2023-12-26 Worker link tracking method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117873446A true CN117873446A (en) 2024-04-12

Family

ID=90580481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311819608.2A Pending CN117873446A (en) 2023-12-26 2023-12-26 Worker link tracking method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117873446A (en)

Similar Documents

Publication Publication Date Title
US7912938B2 (en) Correlation of web service interactions in composite web services
CN101908015B (en) Device and method for creating test case based on components
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN112506894A (en) Service chain log processing method and device based on link tracking and computer equipment
CN103313289B (en) WAP system automation test macro and method
CN110162512B (en) Log retrieval method, device and storage medium
CN113326247B (en) Cloud data migration method and device and electronic equipment
CN105205144A (en) Method and system used for data diagnosis and optimization
CN112017007A (en) User behavior data processing method and device, computer equipment and storage medium
CN112288400A (en) Multi-system data interaction method and device, computer equipment and storage medium
CN201435074Y (en) Device for generating test case based on member
CN108650123B (en) Fault information recording method, device, equipment and storage medium
CN113836237A (en) Method and device for auditing data operation of database
CN113434588B (en) Data mining analysis method and device based on mobile communication ticket
CN111522881B (en) Service data processing method, device, server and storage medium
US20080033995A1 (en) Identifying events that correspond to a modified version of a process
CN117873446A (en) Worker link tracking method, device, equipment and medium
CN114443294B (en) Big data service component deployment method, system, terminal and storage medium
CN114610689B (en) Recording and analyzing method for request log in distributed environment
CN105681291A (en) Method and system for realizing unified authentication of multiple clients
CN113468218A (en) Method and device for monitoring and managing database slow SQL
CN113031960B (en) Code compiling method, device, server and storage medium
US11797279B2 (en) Systems and methods for dependency analysis
CN112905153B (en) Software parallel construction method and device for software defined satellite
CN113886245A (en) System acceptance method and device based on artificial intelligence, computer equipment and medium

Legal Events

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