Logistics full-link API (Application Program Interface) calling system and method thereof
By designing a logistics full-link API interface calling system, the problems of API interface calling permissions and incomplete data in the existing system are solved, the integration of full-link data access and full-platform calling of API interfaces are realized, and the efficiency and maintainability of data circulation are improved.
Patent Information
- Application Number
- CN202411625485.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-03-07
AI Technical Summary
The API interface calls of the existing logistics management system have problems such as permission restrictions and incomplete data, which makes it difficult for end users to obtain the required data, and the coordination of upstream and downstream systems is low, resulting in poor data circulation.
Design a logistics full-link API interface calling system, including multiple logistics management systems, data summary platform, data processing center and monitoring module. The data summary platform manages API interface information and API chains, and the data processing center obtains API call permissions through user tokens to achieve full-link data access.
It realizes data access integration of different management systems, facilitates developers to make full-platform calls to API interfaces, reduces the difficulty of system changes, and improves the efficiency and maintainability of data circulation.
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of logistics, and specifically relates to a logistics full-link API interface calling system and method. Background Art
[0002] The whole process of international cargo circulation involves multiple units, including manufacturers, merchants, warehousing, logistics (land, sea and air transport) and customs, etc. Each unit will have its own management system, including: shipping information system, air transport information system, land transport information system, order system, etc.; and each management system may interact with other management systems. Each management system has been in place for a long time, and it is difficult to change the system. In addition, the definition of data in each management system is not unified, which greatly hinders the aggregation and output of data to form the monitoring of the logistics chain. The current common practice is that each management system provides a data interface API, allowing external systems to obtain legal data; but this still has a big problem: many management systems will call other management systems, and obtaining data is usually not solved by calling an API interface, but may call a group of API interfaces (that is, API interface chain) to solve it. There are also strict restrictions on the authority to call APIs. This means that even though system A has authorized the end user to call a certain API to obtain data, this data is not what the end user needs. The end user also needs to call the API of system B to retrieve the returned data. System B only authorizes system A, but does not directly authorize the end user, nor does it provide the end user with complete call instructions, which makes the end user only sigh at the data. At this time, the best approach is for system A to encapsulate the end user's needs and release a new API. The end user directly calls the new API and directly obtains data from it. This processing method is actually impossible to achieve because it requires the cooperation of various upstream and downstream systems, and the needs are diverse. The workload of various upstream and downstream systems is very large, and the corresponding degree of cooperation will decrease. How to solve the above problems is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The object of the present invention is to provide a logistics full-link API interface calling system and method thereof that can solve the above-mentioned problems.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] A logistics full-link API interface calling system, comprising:
[0006] Multiple logistics management systems for managing various aspects of logistics; the logistics management systems all include an API interface for accessing the logistics management systems from the outside;
[0007] The data aggregation platform includes a management system library for storing basic information of the logistics management system and the order system; an API basic library for managing information of all API interfaces of the logistics management system and the order system; and an API chain library for managing API chains, wherein the API chains include all API interfaces required to be called to obtain designated data from the logistics management system and the order system, the order of mutual calling, and the calling rules of each API interface;
[0008] The data processing center is used to receive query requests initiated by users and obtain data specified by end users from the data aggregation platform.
[0009] Preferably, the data processing center receives a query request initiated by a user and gives each request a user token for obtaining permission to call the API interface.
[0010] Preferably, the data aggregation platform provides a maintenance interface for the logistics management system and the order system to maintain their data in the API basic library and the API chain library.
[0011] Preferably, a monitoring module is also included to monitor the on-off status of the API interface of each of the logistics management systems.
[0012] The present invention also provides a method for visualizing information tracking of the entire link of international logistics, comprising the following steps:
[0013] S1. The user initiates a query request through the data processing center and provides the order system ID and order ID;
[0014] S2. The data processing center provides a user token to the query request, obtains the API chain from the API chain library, and calls the API interface based on the API chain to obtain data, each API interface receives a user token and provides query permissions;
[0015] S3. The data processing center displays the map and the logistics status of the order on the map through a large digital screen.
[0016] The beneficial effects of the present invention are: integrating the access methods of different management systems to achieve data access for the entire logistics chain; facilitating the developers of the logistics management system to implement full-platform API interface calls with minor modifications; and handing over the most complex API chains to the logistics management systems that understand the business best for maintenance, thus making it possible to achieve data circulation for the entire chain. DETAILED DESCRIPTION
[0017] The technical solution of the present invention is further described in detail below in conjunction with specific implementation methods.
[0018] The present invention provides a logistics full-link API interface calling system, which includes:
[0019] Multiple logistics management systems for managing various aspects of logistics; the logistics management systems all include an API interface for accessing the logistics management systems from the outside;
[0020] The data aggregation platform includes a management system library for storing basic information of the logistics management system and the order system; an API basic library for managing information of all API interfaces of the logistics management system and the order system; and an API chain library for managing API chains, wherein the API chains include all API interfaces required to be called to obtain designated data from the logistics management system and the order system, the order of mutual calling, and the calling rules of each API interface;
[0021] The data processing center is used to receive query requests initiated by users and obtain data specified by end users from the data aggregation platform.
[0022] Furthermore, the data processing center receives query requests initiated by users and gives each request a user token to obtain permission to call the API interface.
[0023] Furthermore, the data aggregation platform provides a maintenance interface for the logistics management system and the order system to maintain their data in the API basic library and the API chain library.
[0024] Furthermore, it also includes a monitoring module for monitoring the on-off status of the API interface of each of the logistics management systems.
[0025] The present invention also provides a method for visualizing information tracking of the entire link of international logistics, comprising the following steps:
[0026] S1. The user initiates a query request through the data processing center and provides the order system ID and order ID;
[0027] S2. The data processing center provides a user token to the query request, obtains the API chain from the API chain library, and calls the API interface based on the API chain to obtain data, each API interface receives a user token and provides query permissions;
[0028] S3. The data processing center displays the map and the logistics status of the order on the map through a large digital screen.
[0029] The present invention realizes data access of the entire logistics chain by integrating the access methods of different management systems; it is convenient for developers of logistics management systems to make minor changes to realize full-platform calls of API interfaces; the most complex API chains are handed over to the logistics management systems that understand the business best for maintenance, which makes it possible to realize data circulation of the entire chain.
[0030] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and range of equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0031] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. A logistics full-link API interface calling system, which includes: Multiple logistics management systems to manage all aspects of logistics; The logistics management system includes an API interface for accessing the logistics management system from the outside; The data aggregation platform includes a management system library for storing basic information of the logistics management system and order system; Including API basic library, which is used to manage the API interface information of all the logistics management system and order system; It also includes an API chain library for managing the API chain, wherein the API chain includes all API interfaces required to be called to obtain specified data from the logistics management system and the order system, the order of mutual calls, and the calling rules of each API interface; The data processing center is used to receive query requests initiated by users and obtain data specified by end users from the data aggregation platform.
2. The full-link logistics API interface calling system according to claim 1 is characterized by: The data processing center receives the query request initiated by the user and gives each request a user token to obtain the authority to call the API interface.
3. The full-link logistics API interface calling system according to claim 2 is characterized by: The data aggregation platform provides a maintenance interface for the logistics management system and order system to maintain their data in the API basic library and API chain library.
4. The full-link logistics API interface calling system according to claim 3 is characterized by: It also includes a monitoring module for monitoring the on / off status of the API interface of each logistics management system.
5. A method for visualizing information tracking of the entire international logistics chain, characterized by: The following steps are involved: S1. The user initiates a query request through the data processing center and provides the order system ID and order ID; S2. The data processing center provides the user token to the query request, obtains the API chain from the API chain library, and calls the API interface based on the API chain to obtain data. Each API interface receives the user token and provides query permissions; S3. The data processing center displays the map and the logistics status of the order on the map through a large digital screen.