Data acquisition system and method for logistics TMS system

By designing an automated data acquisition system in the logistics TMS system, using equipment identification and peripheral locking modules, the problems of traditional data acquisition efficiency and tampering risks are solved, and efficient and accurate data acquisition is achieved.

CN119228294APending Publication Date: 2024-12-31贵州诚睿信数智科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411192562.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The traditional logistics TMS system data collection method is inefficient and has low accuracy, and there is a risk of data tampering.

Method used

A data acquisition system including device identification module, acquisition and acquisition module, peripheral locking module and data acquisition module was designed. By connecting to the acquisition device on the terminal, verifying the authenticity of the device, locking the peripheral input, and automatically collecting and uploading data. , ensure the authenticity and integrity of the data.

Benefits of technology

It improves the efficiency and accuracy of data collection, avoids data tampering, realizes automatic collection, and reduces manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119228294A_ABST
    Figure CN119228294A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data management, in particular to a data acquisition system for a logistics TMS system. Comprising an acquisition device and an acquisition system, and the acquisition system comprises a device identification module, an acquisition module, a peripheral locking module and a data acquisition module; the equipment identification module is used for identifying the equipment information of the acquisition equipment accessed to the target terminal, and performing verification and identification according to the equipment information; the acquisition and acquisition module is used for acquiring acquisition information of the target data after the verification is passed, and the acquisition information comprises a data category; the peripheral locking module is used for locking a peripheral input instruction, except for the acquisition equipment, of the target terminal after the acquisition information is acquired; and the data acquisition module enters the TMS and is used for generating an acquisition instruction according to the acquisition information, re-acquiring the target data from the TMS and uploading the target data to a specified storage position. The data acquisition efficiency can be improved, and the data authenticity is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data management, and in particular to a data acquisition system for a logistics TMS system. Background Art

[0002] Transportation Management System (TMS) is an operating software under the supply chain grouping, which can improve the management capabilities of logistics, including managing shipping units, specifying intra-enterprise, domestic and international shipping plans, managing transportation models, benchmarks and costs, maintaining transportation data, generating bills of lading, optimizing transportation plans, selecting carriers and service methods, bidding and tendering, auditing and paying freight bills, handling cargo damage claims, arranging labor and venues, managing documents and managing third-party logistics, unified scheduling management platform, vehicle management, spare parts management, fuel consumption management, cost settlement, personnel management, resource management, financial accounting, vehicle tracking, business statistics and other functions. For enterprises, TMS systems can cope with the increasingly complex and competitive logistics and transportation environment and enhance competitiveness and market share.

[0003] Since the TMS system integrates multiple functions and system platforms, it involves a large amount of data and multiple types of data. At the same time, business data also comes from different platforms. Therefore, data management is relatively complicated. The traditional approach requires personnel to manually collect data from the TMS system. However, the method of manual collection is inefficient and has low accuracy. At the same time, the entire collection process is operated by humans, and there is a possibility that people will maliciously tamper with the collected data, resulting in a decrease in data authenticity. Summary of the invention

[0004] The technical problem solved by the present invention is to provide a data collection system and method for a logistics TMS system, which can improve data collection efficiency and ensure data authenticity.

[0005] The basic solution provided by the present invention includes a collection device and a collection system in the collection device, wherein the collection device includes a device identification module, a collection acquisition module, a peripheral locking module and a data collection module; The device identification module is used to identify the device information of the acquisition device connected to the target terminal and perform verification and identification based on the device information; The acquisition module is used to acquire the acquisition information of the target data after the verification is passed, and the acquisition information includes the data category; The peripheral locking module is used to lock the input instructions of the peripherals connected to the target terminal except the collection device after obtaining the collection information; The data collection module is used to collect target data from the TMS system according to the collected information, and upload the target data to a designated storage location.

[0006] The principle and advantage of the present invention are: when collecting data, by connecting the collection device to the terminal, after the collection device is connected to the target terminal, the authenticity of the collection device is verified. When the verification is passed, other peripheral devices except the collection device, such as the input execution of the mouse and keyboard, are directly locked, and the user can no longer continue to operate the target terminal through other peripherals. After that, the data module collects the target data from the TMS system according to the target data to be collected, and uploads it to the specified storage, which can be directly stored on the target terminal or uploaded to the cloud for storage.

[0007] Compared with the existing technology, it has the following advantages: 1. The required data is automatically collected through the collection system, without the need for manual collection. During the collection, only the collection information of the target data needs to be manually input, and the remaining steps are automatically completed by the system, thereby improving the efficiency of data collection and the accuracy of the collected data.

[0008] 2. After the acquisition device is inserted into the target terminal to complete the verification process, the input of other peripherals will be cut off. During the data acquisition process, all operations are completed by the acquisition device and the acquisition system. Personnel cannot operate the target terminal, thus preventing data from being tampered with during the data acquisition process.

[0009] Furthermore, the semantic recognition module is further used to identify the operation keys with similar text semantics based on the text on the operation keys, mark the operation keys with similar text semantics as the first key group, and mark other operation keys as the second key group; The button selection module is also used to identify the correlation between the target data collection information and the first button group when there are operation buttons with similar text semantics and when selecting the target operation button. According to preset conditions, when the correlation does not meet the preset conditions, the operation button is selected from the second button group; when the preset conditions are met, the operation button is selected from the first button group.

[0010] Further, the data acquisition module includes an interface recognition module, an instruction generation module and an instruction execution module; The interface recognition module is used to perform interface recognition on the current operation interface of the TMS system after entering the TMS system, and to identify whether the target data exists in the current operation interface. If not, all operation buttons in the current operation interface are identified to select the target operation button; The instruction generation module is used to generate an operation instruction according to the interface recognition result. When the target data is not recognized in the current operation interface, a target operation key operation instruction is generated. When the target data is recognized in the current operation interface, a collection instruction is generated; The instruction execution module is used to click the target button to enter the corresponding interface after receiving the operation instruction of the target operation button, and is also used to extract the target data when receiving the collection instruction.

[0011] After entering the TMS system, the operation interface of the TMS system is identified to identify whether the target data to be collected exists in the current operation interface. If there is no data, the operation buttons in the operation interface are identified, and the target operation buttons that will contain the target data in the next interface are screened out through the operation buttons. If the target data is identified in the current interface, an operation instruction for collecting the target data is generated, and the target data is collected. If the target data is not identified, an instruction to click the target operation button is generated according to the identified target operation button to enter the next interface. For example, select the previous page, the next page, or click a button link. That is, after entering the TMS system, the interface where the target data is located is automatically retrieved by interface identification, and then the target data is collected. In this solution, the interface identification method is used to identify the location of the target data. The traditional data collection method is to preset the path for data storage. When collecting, the script file is executed according to the pre-stored path to collect the target data. In this way, the script file needs to be modified when the TMS platform updates the interface or changes the path. In the method of this solution, a fixed path is not set, but the location of the target data is determined according to the recognition method of the operation interface. Even if the interface changes and the path changes, the location of the target data can still be found.

[0012] Furthermore, the interface recognition module includes a semantic recognition module and a key selection module; A semantic recognition module is used to recognize the text on the operation button, perform semantic recognition on the text on the operation button, and the correlation between the semantics of the operation button text and the target data collection information; The button selection module is used to select the button with the strongest correlation as the target operation button according to the correlation between the semantics of the operation button text and the target data.

[0013] In the TMS system, in addition to the basic processing buttons, there are also button entrances for various functional modules, such as order management, dispatch management, transportation management, in-transit monitoring, site management, etc. At the same time, there are many small functional modules under each large functional module. For example, under transportation management, there are also transportation information management, vehicle management, vehicle status management, vehicle tracking query, etc. At the same time, since there are basically texts on the entrances of each functional button, through the semantic analysis of the text, it is possible to determine which functional module is where the target data is located, and then enter the operation interface of the corresponding functional module.

[0014] Further, the interface identification module also includes an association identification module; The association recognition module is used to identify the association between the semantics of the operation buttons and the collected information in the current interface, and the strength of the association between the operation buttons and the collected information in the previous operation interface; The instruction generation module is also used to generate a return instruction if the semantics of the operation buttons and the collected information in the current operation interface are related to the previous operation interface; The instruction execution module is also used to return to the previous operation interface when a return instruction is received; The button selection module is also used to select the nth operation button in the correlation strength sorting as the target operation button according to the number of times the current operation interface is entered, where n is the number of times the current operation interface is entered.

[0015] When performing semantic recognition, there may be situations where the semantics are similar or semantic recognition errors occur, resulting in the identified target operation button entering the next operation interface, and the content of the operation interface is irrelevant to the target data. Therefore, after entering the next operation interface, identify whether the semantics of the operation button in the current operation interface and the correlation of the collected information are stronger than those of the previous operation interface. If not, there is a recognition error and it is necessary to return to the previous operation interface. At the same time, when selecting the target operation button, according to the number of times the current operation interface is entered, select the operation button whose sequence corresponds to the number of times the current operation interface is entered in the correlation strength sorting. For example, when the number of times the current operation interface is entered is one, it means that it is the first time to enter the current operation interface, and the operation button with the first sequence in the correlation strength sorting is selected as the target operation button. If the number of times the current operation interface is entered is two, it is because after entering the next operation interface, it returns because the correlation is lower than the current interface. At this time, the operation button with the second sequence in the correlation strength sorting is selected as the target operation button, and so on.

[0016] Furthermore, the data acquisition module includes a local storage module and a cloud storage module; A local storage module, which is preset with a local storage path of the target terminal and is used to store the collected target data locally in the target terminal according to the local storage path; The cloud storage module has a preset cloud address and is used to upload the collected target data to the cloud storage.

[0017] There are two storage methods: local storage and cloud storage. You can choose to store it locally on the acquisition terminal or in the cloud according to the target data usage requirements.

[0018] Furthermore, it also includes an operation record module and a record query module; An operation recording module is used to record the operation key sequence after the target data is collected, and store the operation key sequence in association with the collected information; A record query module is used to identify whether there is an operation key sequence stored in association with the collected information after receiving the collected information; The instruction generation module is also used to generate continuous operation instructions according to the recorded operation key sequence.

[0019] When the target data is found through interface recognition and data collection is completed, the sequence of operation keys identified during the interface recognition process is recorded. When the same collection information is obtained later, operation instructions can be generated according to the recorded sequence of operation keys without the need to perform interface recognition again.

[0020] Furthermore, the operation recording module is also used to record the operation interface layout screenshots and store the operation interface layout screenshots in association; The interface recognition module, when there is an operation key sequence stored in association with the collected information, identifies whether each operation interface is consistent with the operation interface layout screenshot stored in association with the collected information. Figure 1 To; The instruction execution module is also used to terminate the continuous operation instruction when the operation interface executed by the continuous operation instruction is inconsistent with the operation interface layout screenshot stored in the management.

[0021] At the same time, the screenshots of each operation interface layout in this recognition process are recorded. When the same acquisition instruction is obtained later, according to the recorded operation button sequence, it is identified whether the operation interface entered through the motor operation button is consistent with the corresponding operation interface layout screenshot. Figure 1 When an inconsistency is identified, the continuous operation instructions will be terminated and the interface recognition will continue. When the platform is upgraded and adjusted, resulting in changes in the page and layout, the storage location of the target data can still be automatically identified.

[0022] Furthermore, the interface recognition module also includes a quantity recognition module and a quantity judgment module; A quantity recognition module is used to recognize the number m of operation buttons in the current operation interface; The quantity judgment module is used to judge whether the number of entries n of the current operation interface reaches the preset proportion m. If it does not reach it, continue to select the nth operation button as the target button. When it reaches it, re-acquire the collection information of the target data.

[0023] Since the target data collection information is obtained through user input in this application, the user input is highly subjective, and even if the data is the same, different people may have different descriptions, so there may be ambiguity in the user input collection information. When there is ambiguity, it may not be possible to locate the correct target operation button through semantic analysis.

[0024] By identifying the number of buttons m of the current operation interface, if the number of times n of entering the operation interface reaches the preset proportion, for example, the number of buttons m identified as being semantically associated with the target data is 6, and the preset proportion is 50%, then the threshold proportion is reached when n is 3 for the third entry. Since the next operation interface is entered multiple times, or because the semantic relevance of the next operation interface is lower than that of the current operation interface, it will be determined that the input collection information is ambiguous, and relevant data cannot be found based on the collection information, so it is retrieved again.

[0025] The present invention also discloses a data collection method for a logistics TMS system, the method comprising the following steps: The following steps are involved: S100: Identify the device information of the collection device connected to the target terminal, and perform verification and identification according to the device information; S200: After the verification is passed, acquisition information of the target data is obtained, where the acquisition information includes data categories; S300: After acquiring the collection information, locking the input instructions of the peripherals except the collection device connected to the target terminal; S400: Generate a collection instruction according to the collection information, collect the target data from the TMS system, and upload the target data to a designated storage location.

[0026] Further, the S400 includes the following steps: S410: After entering the TMS system, the current operation interface of the TMS system is identified to identify whether the target data exists in the current operation interface. If not, all operation buttons in the current operation interface are identified to select the target operation button; S410 includes the following steps: S411: Identify the text on the operation button, perform semantic recognition on the text on the operation button, and identify the relevance between the semantics of the text on the operation button and the target data collection information; S412: According to the relevance between the semantics of the operation button text and the target data, select the operation button with the strongest relevance as the target operation button; S413: Identify the correlation between the semantics of the operation buttons and the collected information in the current interface, and determine the correlation strength between the semantics of the operation buttons and the collected information in the previous operation interface; S414: when the semantics of the operation buttons and the collected information in the current operation interface are less relevant than those in the previous operation interface, a return instruction is generated to return to the previous operation interface; S415: When selecting a target operation key according to the relevance based on the number of times the current operation interface is entered, the nth operation key in the relevance strength ranking is selected as the target operation key, where n is the number of times the current operation interface is entered; S420: Generate an operation instruction according to the interface recognition result. When the target data is not recognized in the current operation interface, generate a target operation key operation instruction. When the target data is recognized in the current operation interface, generate a collection instruction. S430: After receiving the operation instruction of the target operation button, click the target button to enter the corresponding interface, and also extract the target data when receiving the collection instruction.

[0027] Further, the method further comprises the following steps: S510: After the target data is collected, the operation button sequence and the operation interface layout screenshot are recorded, and the operation button sequence and the operation interface layout screenshot are associated with the collected information and stored; S520: After receiving the collected information, identifying whether there is an operation key sequence stored in association with the collected information; S530: Generate continuous operation instructions according to the recorded operation key sequence; S540: Identify whether each operation interface is associated with the stored operation interface layout screenshot Figure 1 To; S550: When the operation interface executed by the continuous operation instruction is inconsistent with the operation interface layout screenshot stored in the management, the continuous operation instruction is terminated. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 The present invention is a logic block diagram of a data acquisition system embodiment for a logistics TMS system. DETAILED DESCRIPTION

[0029] The following is further described in detail through specific implementation methods: The embodiment is basically as shown in the attached Figure 1 As shown: A data collection system for a logistics TMS system includes a collection device and a collection system. The collection system includes a device identification module, a collection acquisition module, a peripheral locking module and a data collection module. The data collection module includes an interface recognition module, an instruction generation module, an instruction execution module, a local storage module, a cloud storage module, a record query module and an operation record module. The interface recognition module includes a semantic recognition module, a key selection module and an association recognition module.

[0030] The acquisition device is used to access the target terminal. In this embodiment, the acquisition device uses a USB interface to access the target terminal. The acquisition system is installed on the target terminal. Only when the acquisition device is connected to the target terminal can the acquisition system run.

[0031] The device identification module is used to identify the device information of the collection device counted into the target terminal, and perform verification and identification based on the device information. The verification and identification here is to verify the collection device and the user of the collection device. For device verification, this embodiment adopts asymmetric encryption for verification. The collection device is configured with a preset asymmetric encryption private key, and the terminal collection system is configured with a public key to verify whether the collection device is an authorized device. In addition, the personnel information of the personnel is pre-stored in the collection device. When the target terminal is connected, the personnel information is extracted. Determine the user of the device. It is convenient to determine which person extracted the data.

[0032] The acquisition module is used to acquire the acquisition information of the target data after verification, and the acquisition information includes the data category. Specifically, the target data is the data that needs to be collected, and the user inputs the data category that needs to be collected, such as order data, delivery data, basic data, route data, etc.

[0033] The peripheral locking module is used to lock the input commands of peripherals other than the acquisition device connected to the target terminal after acquiring the acquisition information. By cutting off the input commands of peripheral devices such as the mouse and keyboard, the user can no longer operate the target terminal after the data acquisition starts, thus preventing the user from tampering with the target data during the acquisition process.

[0034] The data acquisition module includes an interface recognition module, an instruction generation module and an instruction execution module; The interface recognition module is used to perform interface recognition on the current operation interface of the TMS system after entering the TMS system, and to identify whether the target data exists in the current operation interface. If not, all operation buttons in the current operation interface are identified to select the target operation button; The instruction generation module is used to generate an operation instruction according to the interface recognition result. When the target data is not recognized in the current operation interface, a target operation key operation instruction is generated. When the target data is recognized in the current operation interface, a collection instruction is generated; The instruction execution module is used to click the target button to enter the corresponding interface after receiving the operation instruction of the target operation button, and is also used to extract the target data when receiving the collection instruction.

[0035] After entering the TMS system, the operation interface of the TMS system is identified to identify whether the target data to be collected exists in the current operation interface. If there is no data, the operation buttons in the operation interface are identified, and the target operation buttons that will contain the target data in the next interface are screened out through the operation buttons. If the target data is identified in the current interface, an operation instruction for collecting the target data is generated, and the target data is collected. If the target data is not identified, an instruction to click the target operation button is generated according to the identified target operation button to enter the next interface. For example, select the previous page, the next page, or click a button link. That is, after entering the TMS system, the interface where the target data is located is automatically retrieved by interface identification, and then the target data is collected. In this solution, the interface identification method is used to identify the location of the target data. The traditional data collection method is to preset the path for data storage. When collecting, the script file is executed according to the pre-stored path to collect the target data. In this way, the script file needs to be modified when the TMS platform updates the interface or changes the path. In the method of this solution, a fixed path is not set, but the location of the target data is determined according to the recognition method of the operation interface. Even if the interface changes and the path changes, the location of the target data can still be found.

[0036] The interface recognition module includes a semantic recognition module and a key selection module; A semantic recognition module is used to recognize the text on the operation button, perform semantic recognition on the text on the operation button, and the correlation between the semantics of the operation button text and the target data collection information; The button selection module is used to select the button with the strongest correlation as the target operation button according to the correlation between the semantics of the operation button text and the target data.

[0037] In the TMS system, in addition to the basic buttons, there are also button entrances for various functional modules, such as order management, dispatch management, transportation management, in-transit monitoring, site management, etc. At the same time, there are many small functional modules under each large functional module. For example, under transportation management, there are also transportation information management, vehicle management, vehicle status management, vehicle tracking query, etc. At the same time, since there are basically texts on the entrances of each functional button, through the semantic analysis of the text, it is possible to determine which functional module is where the target data is located, and then enter the operation interface of the corresponding functional module.

[0038] The interface recognition module also includes an association recognition module; The association recognition module is used to identify the association between the semantics of the operation buttons and the collected information in the current interface, and the strength of the association between the operation buttons and the collected information in the previous operation interface; The instruction generation module is also used to generate a return instruction if the semantics of the operation buttons and the collected information in the current operation interface are related to the previous operation interface; The instruction execution module is also used to return to the previous operation interface when a return instruction is received; The button selection module is also used to select the nth operation button in the correlation strength sorting as the target operation button according to the number of times the current operation interface is entered, where n is the number of times the current operation interface is entered.

[0039] When performing semantic recognition, there may be situations where the semantics are similar or semantic recognition errors occur, resulting in the identified target operation button entering the next operation interface, and the content of the operation interface is irrelevant to the target data. Therefore, after entering the next operation interface, identify whether the semantics of the operation button in the current operation interface and the correlation of the collected information are stronger than those of the previous operation interface. If not, there is a recognition error and it is necessary to return to the previous operation interface. At the same time, when selecting the target operation button, according to the number of times the current operation interface is entered, select the operation button whose sequence corresponds to the number of times the current operation interface is entered in the correlation strength sorting. For example, when the number of times the current operation interface is entered is one, it means that it is the first time to enter the current operation interface, and the operation button with the first sequence in the correlation strength sorting is selected as the target operation button. If the number of times the current operation interface is entered is two, it is because after entering the next operation interface, it returns because the correlation is lower than the current interface. At this time, the operation button with the second sequence in the correlation strength sorting is selected as the target operation button, and so on.

[0040] The data acquisition module includes a local storage module and a cloud storage module; A local storage module, which is preset with a local storage path of the target terminal and is used to store the collected target data locally in the target terminal according to the local storage path; The cloud storage module has a preset cloud address and is used to upload the collected target data to the cloud storage.

[0041] There are two storage methods: local storage and cloud storage. You can choose to store it locally on the acquisition terminal or in the cloud according to the target data usage requirements.

[0042] It also includes an operation record module and a record query module; An operation recording module is used to record the operation key sequence after the target data is collected, and store the operation key sequence in association with the collected information; A record query module is used to identify whether there is an operation key sequence stored in association with the collected information after receiving the collected information; The instruction generation module is also used to generate continuous operation instructions according to the recorded operation key sequence.

[0043] When the target data is found through interface recognition and data collection is completed, the sequence of operation keys identified during the interface recognition process is recorded. When the same collection information is obtained later, operation instructions can be generated according to the recorded sequence of operation keys without the need to perform interface recognition again.

[0044] The operation recording module is further used to record the operation interface layout screenshots and store the operation interface layout screenshots in association; The interface recognition module, when there is an operation key sequence stored in association with the collected information, identifies whether each operation interface is consistent with the operation interface layout screenshot stored in association with the collected information. Figure 1 To; The instruction execution module is also used to terminate the continuous operation instruction when the operation interface executed by the continuous operation instruction is inconsistent with the operation interface layout screenshot stored in the management.

[0045] At the same time, the screenshots of each operation interface layout in this recognition process are recorded. When the same acquisition instruction is obtained later, according to the recorded operation button sequence, it is identified whether the operation interface entered through the motor operation button is consistent with the corresponding operation interface layout screenshot. Figure 1 When an inconsistency is identified, the continuous operation instructions will be terminated and the interface recognition will continue. When the platform is upgraded and adjusted, resulting in changes in the page and layout, the storage location of the target data can still be automatically identified.

[0046] The interface recognition module also includes a quantity recognition module and a quantity judgment module; A quantity recognition module is used to recognize the number m of operation buttons in the current operation interface; The quantity judgment module is used to judge whether the number of entries n of the current operation interface reaches the preset proportion m. If it does not reach it, continue to select the nth operation button as the target button. When it reaches it, re-acquire the collection information of the target data.

[0047] Since the target data collection information is obtained through user input in this application, the user input is highly subjective, and even if the data is the same, different people may have different descriptions, so there may be ambiguity in the user input collection information. When there is ambiguity, it may not be possible to locate the correct target operation button through semantic analysis.

[0048] By identifying the number of buttons m of the current operation interface, if the number of times n of entering the operation interface reaches the preset proportion, for example, the number of buttons m identified as being semantically associated with the target data is 6, and the preset proportion is 50%, then the threshold proportion is reached when n is 3 for the third entry. Since the next operation interface is entered multiple times, or because the semantic relevance of the next operation interface is lower than that of the current operation interface, it will be determined that the input collection information is ambiguous, and relevant data cannot be found based on the collection information, so it is retrieved again.

[0049] The present invention also discloses a data collection method for a logistics TMS system, the method comprising the following steps: The following steps are involved: S100: Identify the device information of the collection device connected to the target terminal, and perform verification and identification according to the device information; S200: After the verification is passed, acquisition information of the target data is obtained, where the acquisition information includes data categories; S300: After acquiring the collection information, locking the input instructions of the peripherals except the collection device connected to the target terminal; S400: Generate a collection instruction according to the collection information, collect the target data from the TMS system, and upload the target data to a designated storage location.

[0050] The S400 includes the following steps: S410: After entering the TMS system, the current operation interface of the TMS system is identified to identify whether the target data exists in the current operation interface. If not, all operation buttons in the current operation interface are identified to select the target operation button; S410 includes the following steps: S411: Identify the text on the operation button, perform semantic recognition on the text on the operation button, and identify the relevance between the semantics of the text on the operation button and the target data collection information; S412: According to the relevance between the semantics of the operation button text and the target data, select the operation button with the strongest relevance as the target operation button; S413: Identify the correlation between the semantics of the operation buttons and the collected information in the current interface, and determine the correlation strength between the semantics of the operation buttons and the collected information in the previous operation interface; S414: when the semantics of the operation buttons and the collected information in the current operation interface are less relevant than those in the previous operation interface, a return instruction is generated to return to the previous operation interface; S415: When selecting a target operation key according to the relevance based on the number of times the current operation interface is entered, the nth operation key in the relevance strength ranking is selected as the target operation key, where n is the number of times the current operation interface is entered; S420: Generate an operation instruction according to the interface recognition result. When the target data is not recognized in the current operation interface, generate a target operation key operation instruction. When the target data is recognized in the current operation interface, generate a collection instruction. S430: After receiving the operation instruction of the target operation button, click the target button to enter the corresponding interface, and also extract the target data when receiving the collection instruction.

[0051] The following steps are also included: S510: After the target data is collected, the operation button sequence and the operation interface layout screenshot are recorded, and the operation button sequence and the operation interface layout screenshot are associated with the collected information and stored; S520: After receiving the collected information, identifying whether there is an operation key sequence stored in association with the collected information; S530: Generate continuous operation instructions according to the recorded operation key sequence; S540: Identify whether each operation interface is associated with the stored operation interface layout screenshot Figure 1 To; S550: When the operation interface executed by the continuous operation instruction is inconsistent with the operation interface layout screenshot stored in the management, the continuous operation instruction is terminated.

[0052] Embodiment 2 The difference between this embodiment and the first embodiment is that in this embodiment, the semantic recognition module is further used to identify the operation keys with similar text semantics based on the text on the operation keys, and mark the operation keys with similar text semantics as the first key group, and mark other operation keys as the second key group; The button selection module is also used to identify the correlation between the target data collection information and the first button group when there are operation buttons with similar text semantics and when selecting the target operation button. According to preset conditions, when the correlation does not meet the preset conditions, the operation button is selected from the second button group; when the preset conditions are met, the operation button is selected from the first button group.

[0053] The above are only embodiments of the present invention. Common knowledge such as the known specific structures and characteristics in the scheme is not described in detail here. Ordinary technicians in the relevant field know all the common technical knowledge in the technical field to which the invention belongs before the application date or priority date, can obtain all the existing technologies in the field, and have the ability to apply conventional experimental means before that date. Ordinary technicians in the relevant field can improve and implement this scheme in combination with their own abilities under the enlightenment given by this application. Some typical known structures or known methods should not become obstacles for ordinary technicians in the relevant field to implement this application. It should be pointed out that for those skilled in the art, without departing from the structure of the present invention, several deformations and improvements can be made, which should also be regarded as the scope of protection of the present invention, and these will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.

Claims

1. A data collection system for a logistics TMS system, characterized by: It includes a collection device and a collection system, wherein the collection system includes a device identification module, a collection acquisition module, a peripheral locking module and a data collection module; The device identification module is used to identify the device information of the acquisition device connected to the target terminal and perform verification and identification based on the device information; The acquisition module is used to acquire the acquisition information of the target data after the verification is passed, and the acquisition information includes the data category; The peripheral locking module is used to lock the input instructions of the peripherals connected to the target terminal except the collection device after obtaining the collection information; The data collection module enters the TMS system and is used to generate collection instructions based on the collected information, collect the target data from the TMS system, and upload the target data to the designated storage location; The data acquisition module includes an interface recognition module, an instruction generation module and an instruction execution module; The interface recognition module is used to perform interface recognition on the current operation interface of the TMS system after entering the TMS system, and to identify whether the target data exists in the current operation interface. If not, all operation buttons in the current operation interface are recognized, and the target operation buttons are selected therefrom; The instruction generation module is used to generate an operation instruction according to the interface recognition result. When the target data is not recognized in the current operation interface, an operation instruction for the target operation key is generated. When the target data is recognized in the current operation interface, a collection instruction is generated. The instruction execution module is used to click the target button to enter the corresponding interface after receiving the operation instruction of the target operation button, and is also used to extract the target data when receiving the collection instruction; The interface recognition module includes a semantic recognition module and a key selection module; A semantic recognition module is used to recognize the text on the operation button, perform semantic recognition on the text on the operation button, and the correlation between the semantics of the operation button text and the target data collection information; A button selection module is used to select the most relevant button as the target operation button according to the relevance between the semantics of the operation button text and the target data; The interface recognition module also includes an association recognition module; The association recognition module is used to identify the association between the semantics of the operation buttons and the collected information in the current interface, and to determine the strength of the association between the semantics of the operation buttons and the collected information in the previous operation interface; The instruction generation module is also used to generate a return instruction when the semantics of the operation buttons and the collected information in the current operation interface are weakly related to the previous operation interface; The instruction execution module is also used to return to the previous operation interface when a return instruction is received; The button selection module is further used to select the nth operation button in the correlation strength sorting as the target operation button according to the number of times the current operation interface is entered, where n is the number of times the current operation interface is entered; The interface recognition module also includes a quantity recognition module and a quantity judgment module; A quantity recognition module is used to recognize the number m of operation buttons in the current operation interface; The quantity judgment module is used to judge whether the number of entries n of the current operation interface reaches the preset proportion m. If it does not reach it, continue to select the nth operation button as the target button. When it reaches it, re-acquire the collection information of the target data.

2. The data acquisition system for a logistics TMS system according to claim 1 is characterized by: The semantic recognition module is further used to identify the operation keys with similar text semantics based on the text on the operation keys, mark the operation keys with similar text semantics as the first key group, and mark other operation keys as the second key group; The button selection module is also used to identify the correlation between the target data collection information and the first button group when there are operation buttons with similar text semantics and when selecting the target operation button. According to preset conditions, when the correlation does not meet the preset conditions, the operation button is selected from the second button group; when the preset conditions are met, the operation button is selected from the first button group.

3. The data acquisition system for a logistics TMS system according to claim 1 is characterized in that: The data acquisition module includes a local storage module and a cloud storage module; A local storage module, which is preset with a local storage path of the target terminal and is used to store the collected target data locally in the target terminal according to the local storage path; The cloud storage module has a preset cloud address and is used to upload the collected target data to the cloud storage.

4. The data acquisition system for a logistics TMS system according to claim 1, characterized in that: The data collection module also includes an operation record module and a record query module; An operation recording module is used to record the operation key sequence after the target data is collected, and store the operation key sequence in association with the collected information; A record query module is used to identify whether there is an operation key sequence stored in association with the collected information after receiving the collected information; The instruction generation module is also used to generate continuous operation instructions according to the recorded operation key sequence.

5. The data acquisition system for a logistics TMS system according to claim 4 is characterized in that: The operation recording module is further used to record the operation interface layout screenshots and store the operation interface layout screenshots in association; An interface recognition module, when there is an operation key sequence stored in association with the collected information, identifies whether each operation interface is consistent with the associated stored operation interface layout screenshot; The instruction execution module is also used to terminate the continuous operation instruction when the operation interface executed by the continuous operation instruction is inconsistent with the operation interface layout screenshot stored in the management.

6. A data collection method for a logistics TMS system, characterized by: The following steps are involved: S100: Identify the device information of the collection device connected to the target terminal, and perform verification and identification according to the device information; S200: After the verification is passed, acquisition information of the target data is obtained, where the acquisition information includes data categories; S300: After acquiring the collection information, locking the input instructions of the peripherals except the collection device connected to the target terminal; S400: Generate a collection instruction according to the collection information, collect the target data from the TMS system, and upload the target data to a designated storage location; S400 includes the following steps: S410: After entering the TMS system, the current operation interface of the TMS system is identified to identify whether the target data exists in the current operation interface. If not, all operation buttons in the current operation interface are identified to select the target operation button; S410 includes the following steps: S411: Identify the text on the operation button, perform semantic recognition on the text on the operation button, and identify the relevance between the semantics of the text on the operation button and the target data collection information; S412: According to the relevance between the semantics of the operation button text and the target data, select the operation button with the strongest relevance as the target operation button; S413: Identify the correlation between the semantics of the operation buttons and the collected information in the current interface, and determine the correlation strength between the semantics of the operation buttons and the collected information in the previous operation interface; S414: when the semantics of the operation buttons and the collected information in the current operation interface are less relevant than those in the previous operation interface, a return instruction is generated to return to the previous operation interface; S415: When selecting a target operation key according to the relevance based on the number of times the current operation interface is entered, the nth operation key in the relevance strength ranking is selected as the target operation key, where n is the number of times the current operation interface is entered; S420: Generate an operation instruction according to the interface recognition result. When the target data is not recognized in the current operation interface, generate a target operation key operation instruction. When the target data is recognized in the current operation interface, generate a collection instruction. S430: After receiving the operation instruction of the target operation button, click the target button to enter the corresponding interface, and also extract the target data when receiving the collection instruction.

7. The data collection method for a logistics TMS system according to claim 6 is characterized by: The following steps are also included: S510: After the target data is collected, the operation button sequence and the operation interface layout screenshot are recorded, and the operation button sequence and the operation interface layout screenshot are associated with the collected information and stored; S520: After receiving the collected information, identifying whether there is an operation key sequence stored in association with the collected information; S530: Generate continuous operation instructions according to the recorded operation key sequence; S540: Identify whether each operation interface is consistent with the associated stored operation interface layout screenshot; S550: When the operation interface executed by the continuous operation instruction is inconsistent with the operation interface layout screenshot stored in the management, the continuous operation instruction is terminated.