Method for cross-organization data docking in TMS (Transport Management System) industry

By developing browser plug-ins to monitor URL address changes and perform data field mapping, the problem of data incompatibility between the TMS system and external systems is solved, automatic data synchronization is achieved, data transmission efficiency and accuracy are improved, and data integration complexity is reduced.

CN118796513APending Publication Date: 2024-10-18YUKUAI CHUANGLING INTELLIGENT TECH (NANJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410972432.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The TMS system has poor compatibility with external order systems, resulting in data being unable to be automatically synchronized and requiring manual entry, which is inefficient and increases the risk of errors. Data integration is also complicated because the order and waybill data formats of third-party systems are diverse and the standards are not uniform.

Method used

Develop a browser plug-in that monitors URL address changes, automatically obtains data fields in the third-party order system and the current waybill system, and performs field mapping and adjustment through data structure templates to achieve data synchronization and support data exchange between different systems.

Benefits of technology

It effectively solves the incompatibility problem between the TMS system and the waybill system, improves the efficiency and accuracy of data transmission, reduces the complexity and cost of data integration, and simplifies data exchange between different systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
Patent Text Reader

Abstract

The invention provides a method for cross-organization data docking in the TMS industry. The method comprises the following steps that S1, a browser plug-in is started, and a URL address needing to be monitored is set; s2, if the URL address of the page changes, judging whether the URL address of the current page is the URL address which needs to be monitored; s3, acquiring a data field in a third-party order system, and synchronously importing the data field into the current waybill system to realize data synchronization; s4, logging in the current waybill system to realize data synchronization; by developing the browser plug-in, the problems that the TMS system and the waybill system are incompatible and data need to be input manually in the butt joint process are effectively solved, and the problems that manual data input is low in efficiency and prone to errors are solved by synchronizing the data; meanwhile, different data structures can be mapped by selecting a proper data structure template, so that the complexity of data integration is greatly reduced; and the problem of complex data integration in the prior art is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of browser plug-ins, and in particular to a method for cross-organization data docking in the TMS industry. Background Art

[0002] TMS (Transportation Management System) plays a vital role in logistics and supply chain management. The main functions of TMS include order management, waybill management, transportation planning and scheduling, transportation tracking and tracing, cost management, etc. With the growth of global trade and the rapid development of the e-commerce industry, enterprises have an increasing demand for efficient and reliable transportation management. Modern TMS generally integrates the following technologies: Cloud computing: Many TMS vendors offer cloud-based solutions that allow companies to access and manage transportation data anytime, anywhere, reducing reliance on internal IT resources. Big data analysis and artificial intelligence: Using big data and AI technology, TMS systems can optimize routes, reservation requirements, provide intelligent scheduling and dynamic pricing; Internet of Things (IOT): Through IOT devices, companies can track the location and status of goods, improve transparency and response speed; Mobile applications: Drivers and warehouse staff can update and access transportation information in real time through mobile applications, improving operational efficiency; Although TMS has made significant progress in technology, the following problems still exist in practical applications: Poor system compatibility: TMS and external order systems used by different companies are often incompatible, resulting in the inability to automatically synchronize data. Data must be entered manually, which is inefficient and increases the risk of errors. Complex data integration: The order and waybill data formats of third-party systems are diverse and the standards are not unified, which increases the complexity of data integration. Summary of the invention

[0003] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a method for cross-organizational data docking in the TMS industry.

[0004] To achieve the above object, the present invention adopts the following technical solutions: A method for cross-organizational data docking in the TMS industry, comprising the following steps: S1: Open the browser plug-in and set the URL address to be monitored; The user opens the browser and enables the browser plug-in, and sets the URL address to be monitored; The browser has strong compatibility, including Firefox, Google, 360, etc.; The URL address includes the URL address of the third-party order system and the URL address of the current waybill system.

[0005] S2: The page URL address changes, and it is determined whether the URL address of the current page is the URL address that needs to be monitored; The browser plug-in starts the monitoring function of page URL changes; After the user performs a related page operation on the browser page, the related page operation includes clicking a link, selecting a page from a bookmark, etc., the browser plug-in monitors the change of the page URL address, and determines whether the URL address of the current page is the URL address of the third-party order system set in step S1 or the URL address of the current waybill system; if not, the single URL address monitoring ends; If it is the URL address of a third-party order system, proceed to step S3; If it is the URL address of the current waybill system, go to step S4.

[0006] S3: Obtain the data fields in the third-party order system and import the data fields into the current waybill system to achieve data synchronization; If the page accesses a third-party order system, proceed as follows: S31: Determine whether the third-party order system login information is stored and whether the user has the data synchronization permission; Determine whether the browser plug-in has stored the third-party order system login information and has the synchronization data permission. If so, proceed to step S32. If the browser plug-in cannot find the stored third-party order system login information or the third-party order system login information exists but does not have the synchronization data permission, the browser plug-in prompts the user to log in or perform synchronization data permission verification. If there is no synchronization data permission, the account needs to be switched. S32: The browser plug-in obtains the data contained in the DOM node; If the browser plug-in contains the login information of the third-party order system and has the permission to synchronize data, the browser plug-in will inject a synchronization button into the third-party order system page; The user clicks the synchronization button, and the browser plug-in sends a request to the third-party order system and obtains the configuration information of the DOM node, which includes the node selector, data field, etc. The node selector specifies the DOM node from which data needs to be extracted; The data field is the specific data field that needs to be extracted from the DOM node; After the browser plug-in obtains the configuration information of the DOM node, it locates the DOM node that meets the conditions in the third-party order system through the node selector; for each DOM node that meets the conditions, the browser plug-in extracts the required data fields according to the configuration information; and recursively extracts all the obtained data fields through the Fibonacci sequence recursive formula; The data contained in the DOM node is stored in a third-party order system and has a separate page that can be flexibly configured; The data fields include logistics information, order information, transaction information, etc.; S33: Import the data fields into the current waybill system; The browser plug-in includes a set of default data structure templates, which are used to define the structure and fields of data; Through the data structure contained in the data structure template, including field name, data type, field order, etc., it is determined whether the data structure template meets the actual requirements of the current waybill system. If it meets the actual requirements, the API interface provided by the current waybill system is called to directly import the acquired data fields into the current waybill system; If it does not match, select a suitable data structure template in the current waybill system, and map the acquired data fields to the corresponding fields of the current waybill system through the field mapping relationship; Furthermore, when there are changes in individual fields or the field names of different systems are inconsistent, the fields are adjusted and the adjusted fields are mapped to the designated fields of the current waybill system; Import the data fields that have undergone field mapping and field adjustment into the current waybill system; The data fields can be viewed in the current waybill system.

[0007] S4: Log in to the current waybill system to synchronize data; If the page accesses the current waybill system, determine whether the user has logged in and the account has the permission to synchronize data. If yes, store the login information in the browser plug-in; If you are not logged in, you will be redirected to the login page and log in with an account that has the permission to synchronize data; After logging in, you can view the configurable field mapping templates, data nodes, etc., and perform data synchronization; The field mapping template defines the corresponding relationship between data fields in different systems; The data node refers to a specific data processing unit or node in the system.

[0008] Compared with the prior art, the present invention has the following beneficial effects: The present invention effectively solves the problem of incompatibility and manual data entry in the connection between the TMS system and the waybill system by developing a browser plug-in, and avoids the problem of low efficiency and easy error in manual data entry by synchronizing the data. At the same time, different data structures can be mapped by selecting appropriate data structure templates, greatly reducing the complexity of data integration; avoiding the problems of diverse waybill data formats, inconsistent standards, and complex data integration in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 The present invention is a flowchart of a method for cross-organization data docking in the TMS industry. DETAILED DESCRIPTION

[0010] In order to provide a further understanding of the purpose, structure, features, and functions of the present invention, the following detailed description is given in conjunction with the embodiments.

[0011] like Figure 1 As shown, a method for cross-organizational data docking in the TMS industry includes the following steps: S1: Open the browser plug-in and set the URL address to be monitored; The user opens the browser and enables the browser plug-in, and sets the URL address to be monitored; The browser has strong compatibility, including Firefox, Google, 360, etc.; The URL address includes the URL address of the third-party order system and the URL address of the current waybill system.

[0012] S2: The page URL address changes, and it is determined whether the URL address of the current page is the URL address that needs to be monitored; The browser plug-in starts the monitoring function of page URL changes; After the user performs a related page operation on the browser page, the related page operation includes clicking a link, selecting a page from a bookmark, etc., the browser plug-in monitors the change of the page URL address, and determines whether the URL address of the current page is the URL address of the third-party order system set in step S1 or the URL address of the current waybill system; if not, the single URL address monitoring ends; If it is the URL address of a third-party order system, proceed to step S3; If it is the URL address of the current waybill system, go to step S4.

[0013] S3: Obtain the data fields in the third-party order system and import the data fields into the current waybill system to achieve data synchronization; If the page accesses a third-party order system, proceed as follows: S31: Determine whether the third-party order system login information is stored and whether the user has the data synchronization permission; Determine whether the browser plug-in has stored the third-party order system login information and has the synchronization data permission. If so, proceed to step S32. If the browser plug-in cannot find the stored third-party order system login information or the third-party order system login information exists but does not have the synchronization data permission, the browser plug-in prompts the user to log in or perform synchronization data permission verification. If there is no synchronization data permission, the account needs to be switched. S32: The browser plug-in obtains the data contained in the DOM node; If the browser plug-in contains the login information of the third-party order system and has the permission to synchronize data, the browser plug-in will inject a synchronization button into the third-party order system page; The user clicks the synchronization button, and the browser plug-in sends a request to the third-party order system and obtains the configuration information of the DOM node, which includes the node selector, data field, etc. The node selector specifies the DOM node from which data needs to be extracted; The data field is the specific data field that needs to be extracted from the DOM node; After the browser plug-in obtains the configuration information of the DOM node, it locates the DOM node that meets the conditions in the third-party order system through the node selector; for each DOM node that meets the conditions, the browser plug-in extracts the required data fields according to the configuration information; and recursively extracts all the obtained data fields through the Fibonacci sequence recursive formula; The data contained in the DOM node is stored in a third-party order system and has a separate page that can be flexibly configured; The data fields include logistics information, order information, transaction information, etc.; S33: Import the data fields into the current waybill system; The browser plug-in includes a set of default data structure templates, which are used to define the structure and fields of data; Through the data structure contained in the data structure template, including field name, data type, field order, etc., it is determined whether the data structure template meets the actual requirements of the current waybill system. If it meets the actual requirements, the API interface provided by the current waybill system is called to directly import the acquired data fields into the current waybill system; If it does not match, select a suitable data structure template in the current waybill system, and map the acquired data fields to the corresponding fields of the current waybill system through the field mapping relationship; By selecting the appropriate data structure template, different data structures can be mapped, greatly reducing the complexity of data integration; Furthermore, when there are changes in individual fields or the field names of different systems are inconsistent, the fields are adjusted and the adjusted fields are mapped to the designated fields of the current waybill system; Flexible configuration can ensure that data can be correctly transferred and used between different systems; Import the data fields that have undergone field mapping and field adjustment into the current waybill system; The data fields can be viewed in the current waybill system.

[0014] S4: Log in to the current waybill system to synchronize data; If the page accesses the current waybill system, determine whether the user has logged in and the account has the permission to synchronize data. If yes, store the login information in the browser plug-in; If you are not logged in, you will be redirected to the login page and log in with an account that has the permission to synchronize data; After logging in, you can view the configurable field mapping templates, data nodes, etc., and perform data synchronization; The field mapping template defines the corresponding relationship between data fields in different systems; The data node refers to a specific data processing unit or node in the system; For different systems, users only need to simply configure the corresponding field mapping templates and data nodes to flexibly perform data synchronization, making data exchange between different systems simple and efficient.

[0015] The present invention improves the efficiency and accuracy of data transmission, significantly reduces the cost and technical complexity of system integration, and helps enterprises achieve more efficient transportation management.

[0016] The present invention has been described by the above-mentioned relevant embodiments, however, the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, changes and modifications made without departing from the spirit and scope of the present invention are all within the scope of patent protection of the present invention.

Claims

1. A method for cross-organizational data docking in the TMS industry, characterized by: The following steps are involved: S1: Open the browser plug-in and set the URL address to be monitored; The user opens the browser and enables the browser plug-in, and sets the URL address to be monitored; The URL address includes the URL address of the third-party order system and the URL address of the current waybill system; S2: The page URL address changes, and it is determined whether the URL address of the current page is the URL address that needs to be monitored; The browser plug-in starts the monitoring function of page URL changes; After the user performs relevant page operations on the browser page, the browser plug-in monitors the change of the page URL address and determines whether the URL address of the current page is the URL address of the third-party order system set in step S1 or the URL address of the current waybill system; if not, the single URL address monitoring ends; If it is the URL address of a third-party order system, proceed to step S3; If it is the URL address of the current waybill system, proceed to step S4; S3: Obtain the data fields in the third-party order system and import the data fields into the current waybill system to achieve data synchronization; If the page accesses a third-party order system, proceed as follows: S31: Determine whether the third-party order system login information is stored and whether the user has the data synchronization permission; S32: The browser plug-in obtains the data contained in the DOM node; S33: Import the data fields into the current waybill system; S4: Log in to the current waybill system to synchronize data.

2. A method for inter-organizational data docking in the TMS industry according to claim 1, characterized in that: In step S31, determine whether the browser plug-in has stored the third-party order system login information and has the permission to synchronize data. If so, proceed to step S32; if the browser plug-in cannot find the stored third-party order system login information or the third-party order system login information exists but does not have the permission to synchronize data, the browser plug-in prompts the user to log in or perform synchronization data permission verification. If there is no permission to synchronize data, the account needs to be switched.

3. The method for inter-organizational data docking in the TMS industry according to claim 1, characterized in that: In step S32, if the browser plug-in contains the login information of the third-party order system and has the permission to synchronize data, the browser plug-in will inject a synchronization button into the third-party order system page; The user clicks the synchronization button, and the browser plug-in sends a request to the third-party order system and obtains the configuration information of the DOM node. After obtaining the configuration information of the DOM node, the browser plug-in locates the qualified DOM node in the third-party order system through the node selector; for each qualified DOM node, the browser plug-in extracts the required data fields according to the configuration information; And recursively calculate all acquired data fields through the Fibonacci sequence recursive formula.

4. The method for inter-organizational data docking in the TMS industry according to claim 1, characterized in that: In step S33, the browser plug-in includes a set of default data structure templates, and the data structure templates are used to define the structure and fields of the data; Through the data structure contained in the data structure template, including field name, data type, and field order, it is determined whether the data structure template meets the actual requirements of the current waybill system. If it meets the actual requirements, the API interface provided by the current waybill system is called to directly import the acquired data fields into the current waybill system. If it does not match, select a suitable data structure template in the current waybill system, and map the acquired data fields to the corresponding fields of the current waybill system through the field mapping relationship; The data fields are imported into the current waybill system, and the data fields can be viewed in the current waybill system.

5. A method for inter-organizational data docking in the TMS industry as claimed in claim 4, characterized in that: When there are changes in individual fields or the field names of different systems are inconsistent, the fields are adjusted and the adjusted fields are mapped to the specified fields of the current waybill system.

6. The method for inter-organizational data docking in the TMS industry according to claim 1, characterized in that: In step S4, if the page accessed is the current waybill system, it is determined whether the user has logged in and the logged-in account has the permission to synchronize data. If yes, the login information is stored in the browser plug-in; If you are not logged in, you will be redirected to the login page and log in with an account that has the permission to synchronize data; After logging in, you can view the configurable field mapping templates, data nodes, and perform data synchronization; The field mapping template defines the corresponding relationship between data fields in different systems; The data node refers to a specific data processing unit or node in the system.