A logs report management method for application programming interface

TWI934229BActive Publication Date: 2026-08-01THINKPOWER INFORMATION CORP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
THINKPOWER INFORMATION CORP
Filing Date
2024-06-18
Publication Date
2026-08-01

AI Technical Summary

Technical Problem

In distributed network architectures, identifying connection information of users across multiple nodes is cumbersome and time-consuming due to their vast and distributed nature, necessitating a more efficient management system for data retrieval.

Method used

A link reporting management method for application interfaces that integrates connection information from multiple nodes, allowing administrators to access user data efficiently by inputting time segments, and includes features like link tracing, decoding, and automatic anomaly detection.

Benefits of technology

Enhances management convenience by providing direct access to connection information and reducing query time, while automatically detecting and notifying administrators of anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure TWG2TB001903570_001
    Figure TWG2TB001903570_001
  • Figure TWG2TB001903570_002
    Figure TWG2TB001903570_002
  • Figure TWG2TB001903570_003
    Figure TWG2TB001903570_003
Patent Text Reader

Abstract

This invention discloses a link reporting management method for application interfaces. First, a web node server receives multiple connection information generated when at least one user connects to the web node server, and a collection device collects this information. Next, an information collection and processing device receives and manages the connection information collected by each collection device. Then, a management terminal receives time segment information input by a manager and transmits it to the information collection and processing device. Finally, an information collection terminal processing unit determines whether there is connection information corresponding to the time segment. If so, it provides the connection information for the corresponding time segment to the management terminal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This invention relates to a link report management method for application interfaces, and particularly to a related application field of distributed network nodes for network servers. [Previous Technology]

[0002] A network node is a distributed architecture of network and protocol layers. It can usually be used as a network topology between users and servers. Because of the distributed network nodes, the instantaneous load can be avoided, ensuring the stability of the network between the user and the server. At the same time, the multi-node design makes it more difficult for malicious attacks to directly reach the main server. In addition, multiple nodes can also increase the stability of the website and accommodate more users.

[0003] However, when a data anomaly occurs during data transmission, the administrator must investigate the cause of the fault in the vast and distributed network nodes. In this process, due to the large number of nodes, it is not only troublesome but also very time-consuming to query each node one by one, as the data is quite large. The administrator needs to find the connection information of a single user at a specific time in the data.

[0004] Therefore, how to construct a system that allows managers to directly search for the connection information of each user at a specific time in all data, thereby increasing the convenience of management and avoiding the waste of time, will be the key issues and focus of this case. [Summary of the Invention]

[0005] One objective of this invention is to provide a link report management method for application interface (API) that can integrate the connection information of each node to increase the convenience of management.

[0006] Another object of the present invention is to provide a link report management method for application interface (API) that can increase the efficiency of record data reading and avoid wasting query time.

[0007] This invention provides a link reporting management method for an application programming interface (API). The method is applied to a link reporting management system and allows an administrator to manage multiple connection records from multiple users. Each connection record has a corresponding time segment. The link reporting management system includes multiple web node servers, at least one user terminal operating device, an information collection and processing device, an administrator terminal operating device, and at least one collection device. The web node servers are electrically connected to the collection devices. Each user terminal operating device includes a user terminal control unit and a user terminal connection unit, which are signal-connected to the web node servers. The information collection and processing device includes an information collection terminal connection unit and an information collection terminal processing unit, which are signal-connected to the collection devices. The administrator terminal operating device includes an administrator terminal connection unit and an administrator terminal control unit, which are signal-connected to the processing terminal connection unit. The link reporting management method includes the following steps: a) The web node server receives connection information generated when each user connects to the web node server through the user terminal control unit, and the collection device collects the connection information; b) The information collection terminal connection unit is connected to the web node server, and the information collection terminal processing unit receives and manages the connection information collected by the collection device; c) The administrator terminal control unit receives a time segment information input by the administrator and transmits it to the information collection processing device; d) The information collection terminal processing unit determines whether there is connection information corresponding to the time segment, and if so, provides each connection information corresponding to the time segment to the administrator terminal operation device.

[0008] In the link reporting management method described above, the connection information has multiple Hypertext Transfer Protocol status codes corresponding to the connection status of each connection state of the web page node server, wherein step d) includes a step d') whereby the information collection end processing unit provides the Hypertext Transfer Protocol status code corresponding to the time segment to the management end operation device.

[0009] In the link reporting management method described above, the connection information has multiple Hypertext Transfer Protocol status codes corresponding to the connection states of the web node servers, wherein step b) includes the following steps: b1) the information collection end processing unit determines whether the Hypertext Transfer Protocol status code returned by the web node server is an error; and b2) if it is, the Hypertext Transfer Protocol status code corresponding to the web node server is stored and reported to the management end operation device.

[0010] In the link reporting management method described above, the connection information includes at least one master program instruction, and each program instruction includes at least one slave program instruction. The master program instruction and the slave program instruction each have a start time information, an end time information, and a total range time information: d1) The information collection terminal processing unit determines whether the time segment information has a master program instruction and a slave program instruction corresponding to the time segment; d2) If yes, the link tracking bar module displays the start time information, the end time information, and the total range time information of each master program instruction and slave program instruction corresponding to the time segment and provides them to the manager terminal operation device.

[0011] In the link report management method described above, the information collection terminal processing unit includes a link tracking bar module, wherein the main program instruction and the slave program instruction each have a time range, wherein step d2) includes a step d21) the information collection terminal processing unit sorts the slave program instructions according to the start time information and end time information of each of the corresponding main program instructions within the time range of the main program instruction and displays them in the link tracking bar module to provide them to the manager terminal operation device.

[0012] In the link report management method described above, the information collection terminal processing unit 32 includes a link tracking bar module, wherein step d21) includes a step d21') the information collection terminal processing unit generates a corresponding time bar graph based on the start time information and end time information of each of the main program instructions and the slave program instructions, and presents it in the link tracking bar module to provide it to the manager terminal operation device.

[0013] In the link report management method described above, the information collection terminal processing unit includes multiple link tracking bar modules, and step d) further includes a step d3) after step d2), wherein the link tracking bar modules respectively display the main program instruction and the slave program instruction corresponding to the time segment and provide them to the manager terminal operation device.

[0014] In the link report management method described above, the main program instruction and / or the slave program instruction each include an information encoding, and the information collection terminal processing unit further includes a decoding module and a recognition text display bar module. The step d) further includes a step d4) after step d3), in which the information collection terminal processing unit determines whether the main program instruction and / or the slave program instruction has the encoded information. If so, the decoding module decodes the information encoding information into recognition text, and the recognition text is displayed by the recognition text display bar module and provided to the manager terminal operation device.

[0015] The link report management method described above, wherein the web node server includes multiple connection ports, wherein the link report management method further includes a collection device 5 in step f) prior to step a) being signal-connected to one of the connection ports, wherein the connected connection port is an 80 connection port.

[0016] The present invention provides a link reporting management method for application interface (API), which involves setting up a collection unit on a web node server to collect multiple connection information of users, and then receiving and managing the information collection and processing device. In this way, the administrator only needs to input time segment information through the administrator terminal operation device to directly provide the connection information of each connection segment to the administrator terminal operation device, which increases the convenience of management, effectively avoids the waste of time caused by querying, and achieves all the above objectives.

Implementation Method

[0018] A first preferred embodiment of the link report management method with link tracing of the present invention, as shown in FIG1, is applied to a link report management system and is used by an administrator to manage multiple connection information of multiple users, wherein the connection information has a corresponding time segment. The link report management system includes multiple web node servers 1, at least one user terminal operation device 2, an information collection and processing device 3, an administrator terminal operation device 4, and multiple collection devices 5. The web node servers 1 are respectively signal-connected to the collection devices 5. The user terminal operation device 2 includes a user terminal control unit 21 and a user terminal connection unit 22. The user terminal connection unit 22 is signal-connected to the web node servers 1. The information collection and processing device 3 includes an information collection terminal connection unit 31 and an information collection terminal processing unit 32. The processing terminal connection unit 31 is signal-connected to the collection device 5. The administrator terminal operation device 4 includes an administrator terminal connection unit 41 and an administrator terminal control unit 42. The administrator terminal connection unit 41 is signal-connected to the processing terminal connection unit 31.

[0019] Referring also to Figure 2, which is a flowchart of the link report management method of this embodiment, initially as in step S01, the web node server 1 receives the connection information generated when each user connects to the web node server 1 through the user terminal control unit 21, and the collection device (collector) 5 collects the connection information. Then, as in step S02, the information collection end connection unit 31 is connected to the web node server 1, and the information collection end processing unit 32 receives and manages the connection information collected by the collection device (collector) 5. Next, as in step S03, the administrator receives a time segment information input by the administrator through the administrator terminal control unit 42 and transmits it to the information collection and processing device 3. Then, as in step S04, the information collection terminal processing unit 32 determines whether there is corresponding connection information for the time segment. If not, as in step S05, a prompt indicating that there is no corresponding information is displayed. If yes, as in step S06, each connection information corresponding to the time segment is provided to the administrator terminal operation device 4, and all connection information corresponding to the time segment is displayed.

[0020] In this example, the multiple connection information entries each have multiple HTTP status codes corresponding to the connection status of the web page node server 1 (HTTP status codes: 1XX Message Response, 2XX Success Response, 3XX Redirection, 4XX Client Error, 5XX Server Error). Therefore, as shown in Figure 3, step S06 can be further described as step S06', whereby the information collection processing unit 32 provides the HTTP status code corresponding to the time segment to the management terminal operation device 4 so that the manager can confirm the current connection status of each web page node server 1.

[0021] On the other hand, step S02 may be followed by step S021, whereby the information collection processing unit 32 determines whether the Hypertext Transfer Protocol status codes returned by the webpage node server are errors (e.g., HTTP status code: 4XX client error or 5XX server error). If not, proceed to step S03; if yes, store the corresponding Hypertext Transfer Protocol status code of the webpage node server 1 and notify the administrator's terminal operation device 4. In this way, when the webpage node server 1 experiences a connection error, it can directly notify the administrator for troubleshooting.

[0022] A second preferred embodiment of the link reporting management method with link tracing of the present invention, referring together with Figures 1 and 4, in this example, the information collection terminal processing unit 32 includes a plurality of link tracing bar modules 321, an instruction code display bar module 322, a decoding module 323 and a recognition text display bar module 324. The connection information includes at least one master program instruction (order), and the program instruction includes at least one slave program instruction (repository, pay, auth). Moreover, the master program instruction (order) and / or the slave program instruction (repository, pay, auth) each include an information encoding (base64).

[0023] Referring also to Figure 5, the main program instruction (order) and the slave program instruction (repository, pay, auth) each have a start time information 301, an end time information 302, and a total time range information 303. Referring also to Figure 6, step S06 includes the following steps. Initially, as in step S061, the information collection terminal processing unit 32 determines whether the time segment information has the corresponding main program instruction (order) and slave program instruction (repository, pay, auth). If not, then as in step S062, no data is displayed. If yes, then as in step S063, the link tracing module 321 displays the start time information 301, the end time information 302, and the total time range information 303 of the corresponding main program instruction and slave program instruction (repository, pay, auth) for the time segment and provides them to the management terminal operation device 4.

[0024] In addition, in this example, the main program instruction (order) and the slave program instruction (repository, pay, auth) each have a time range, as shown in Figure 7. Step S063 includes the following steps. First, as in step S0631, the information collection processing unit 32 sorts the start time information 301 and end time information 302 of each slave program instruction (repository, pay, auth) within the time range of the corresponding main program instruction (order) and displays them in the link tracing bar module 320 to provide to the manager's terminal operation device 4. Then, as in step S0632, the information collection processing unit 32 generates a corresponding time bar chart based on the start time information 301 and end time information 302 of each main program instruction (order) and slave program instruction (repository, pay, auth) and presents it in the link tracing bar module 320 to provide to the manager's terminal operation device 4.

[0025] When the administrator needs to further query the code content of the main program instruction (order) and the slave program instruction (repository, pay, auth), as shown in step S064 of Figure 6, and referring to Figures 8A and 8B, the link tracing module 321 displays the main program instruction (order) and the slave program instruction (repository, pay, auth) corresponding to the time segment and provides them to the administrator's terminal operating device 4. Then, as in step S065, the information collection terminal processing unit 32 determines whether the main program instruction (order) and / or the slave program instruction (repository, pay, auth) have the encoded information (base64). If not, as in step S066, no data is displayed. If yes, as in step S067, the decoding module 323 decodes the information encoded information (base64) into a recognition text, and then the recognition text display module 324 displays the recognition text and provides it to the administrator's terminal operating device 4. In this embodiment, the information is encoded using a base 64 and decoded by the decoding module 323 to obtain the result shown in Figure 8B: {“result”: “Order received: item=Strawberry Daifuku, num=3, price=166, total=948”}.

[0026] A third preferred embodiment of the link reporting management method with link tracing of the present invention is shown in Figures 10 and 11. In this embodiment, the web server 1 includes a plurality of connection ports 10, and a step S101 is included before step S01. The processing end connection unit 31 is signal connected to one of the connection ports, wherein the connected connection port is an HTTP port 80. Since the HTTP port 80 is used for unencrypted web communication, the collector 5 can directly collect the connection information completely through the HTTP port 80.

[0027] The present invention provides a link reporting management method for application programming interfaces (APIs). This method involves setting up a collection unit on a web node server to collect multiple connection information from users. This information is then received and managed by an information collection and processing device. In this way, the administrator only needs to input time segment information through the administrator's terminal operating device to directly display the connection information for the corresponding time segment to the administrator's terminal operating device, increasing management convenience and effectively avoiding wasted time due to queries. Furthermore, this invention also has an automatic process for automatically determining whether connection abnormalities have occurred, which can directly notify the administrator when an abnormality occurs, thereby strengthening automated management and achieving all the above objectives.

[0028] Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some modifications and refinements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims. [Simplified Explanation of the Diagram]

[0017] Figure 1 is a system block diagram of a first preferred embodiment of the link report management method with link tracing of the present invention; Figure 2 is a flowchart of the management method of the link report management system of Figure 1; Figure 3 is another flowchart of the management method of the link report management system of Figure 1; Figure 4 is a system block diagram of a second preferred embodiment of the link report management method with link tracing of the present invention, illustrating other modules included in the information collection terminal processing unit; Figure 5 is a schematic diagram of the link tracing bar module of Figure 4; Figure 6 is a flowchart of the management method of the link report management system of Figure 4; Figure 7 is another flowchart of the management method of the link report management system of Figure 6; Figures 8A and 8B are schematic diagrams of the instruction code display bar module of Figure 4; Figure 9 is a system block diagram of a third preferred embodiment of the control method of the gate control device with connection probability allocation of the present invention, illustrating that the collection device is signal-connected to port 80; and Figure 10 is a flowchart of the management method of the link report management system of Figure 9.

Claims

1. A link report management method for an application interface, the method being applied to a link report management system for an administrator to manage multiple connection information records of multiple users, wherein each connection information record has a corresponding time segment, wherein the link report management system includes multiple web node servers, at least one user terminal operating device, an information collection and processing device, an administrator terminal operating device, and multiple collection devices, wherein the web node servers are telecommunicationly connected to the collection devices, each user terminal operating device includes a user terminal control unit and a user terminal connection unit, the user terminal connection unit being signal-connected to the web node servers, the information collection and processing device includes an information collection terminal connection unit and an information collection terminal processing unit, the processing terminal connection unit being signal-connected to the collection devices, and the administrator terminal operating device includes an administrator terminal connection unit and an administrator terminal control unit, the administrator terminal connection unit being signal-connected to the processing terminal connection unit, wherein the link report management method includes the following steps: a) The web node servers receive connection information generated when each user connects to the web node server through the user terminal control unit, and the collection device collects the connection information; b) The information collection terminal connection unit is connected to the web node servers, and the information collection terminal processing unit receives and manages the connection information collected by the collection device; c) The administrator terminal control unit receives a time segment information input by the administrator and transmits it to the information collection processing device; d) The information collection terminal processing unit determines whether the time segment information corresponds to the connection information of that time segment, and if so, provides the connection information corresponding to that time segment to the administrator terminal operation device.

2. The link reporting management method as described in claim 1, wherein the connection information has multiple Hypertext Transfer Protocol status codes corresponding to the connection status of the web page node servers, wherein step d) includes a step d') the information collection end processing unit provides the Hypertext Transfer Protocol status codes corresponding to the time segment to the management end operating device.

3. The link reporting management method as described in claim 1, wherein the connection information has multiple Hypertext Transfer Protocol status codes corresponding to the connection states of the web node servers, wherein step b) includes the following steps: b1) the information collection end processing unit determines whether the Hypertext Transfer Protocol status codes returned by the web node servers are errors; and b2) if yes, stores the Hypertext Transfer Protocol status code corresponding to the web node server and notifies the management end operation device.

4. The link reporting management method as described in claim 1, wherein the connection information includes at least one master program instruction, and each of the program instructions includes at least one slave program instruction, the master program instructions and the slave program instructions each having a start time information, an end time information, and total time range information, wherein step d) includes the following steps: d1) The information collection end processing unit determines whether the time segment information has the master program instructions and the slave program instructions corresponding to the time segment; d2) If yes, the link tracking bar module displays the start time information, the end time information, and the total time range information of each of the master program instructions and the slave program instructions corresponding to the time segment and provides them to the management end operating device.

5. The link report management method as described in claim 4, wherein the information collection end processing unit includes a link tracking bar module, wherein the main program instructions and the slave program instructions each have a time range, wherein step d2) includes a step d21) the information collection end processing unit sorts the slave program instructions according to the start time information and end time information of each of the slave program instructions within the time range of the corresponding main program instructions and displays them in the link tracking bar module to provide to the manager end operation device.

6. The link report management method as described in claim 4, wherein the information collection end processing unit includes a link tracking bar module, wherein step d2) includes a step d21') the information collection end processing unit generates a corresponding time bar graph based on the start time information and end time information of the main program instructions and the slave program instructions and displays it in the link tracking bar module to provide it to the manager's end operation device.

7. The link reporting management method as described in claim 4, wherein the information collection terminal processing unit includes multiple link tracking bar modules, wherein step d) further includes a step d3) following step d2), wherein the link tracking bar modules respectively display the main program instructions and the slave program instructions corresponding to the time segment and provide them to the manager terminal operating device.

8. The link report management method as described in claim 7, wherein the main program instructions and / or the slave program instructions each include an information encoding, wherein the information collection end processing unit further includes a decoding module and a recognition text display bar module, wherein step d) further includes a step d4) after step d3) whereby the information collection end processing unit determines whether the main program instructions and / or the slave program instructions have the encoded information, and if so, the decoding module decodes the information encoding information into recognition text, and the recognition text is then displayed by the recognition text display bar module and provided to the management end operation device.

9. The link reporting management method as described in claim 1, wherein the web node server includes a plurality of connection ports, and the link reporting management method further includes a step f) prior to step a), wherein the collecting device is signal-connected to one of the connection ports, wherein the connected connection port is an 80 connection port.