CN117827878A - Method and system for automatically generating logistics track evidence material - Google Patents
Method and system for automatically generating logistics track evidence material Download PDFInfo
- Publication number
- CN117827878A CN117827878A CN202311874025.XA CN202311874025A CN117827878A CN 117827878 A CN117827878 A CN 117827878A CN 202311874025 A CN202311874025 A CN 202311874025A CN 117827878 A CN117827878 A CN 117827878A
- Authority
- CN
- China
- Prior art keywords
- logistics
- logistics track
- track
- screenshot
- evidence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 claims description 8
- 238000004321 preservation Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 abstract description 6
- 238000009877 rendering Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of logistics, in particular to a method and a system for automatically generating a logistics track evidence material, wherein the method comprises the following steps: s1, a service server sets a task screen interface of a timing task triggering puppeteer system; s2, the puppeterer system informs a logistics track display page to generate a logistics track according to logistics track data by collecting logistics information in advance, including logistics track data and logistics list numbers, performs logistics track screenshot, and stores the logistics track screenshot and the logistics list numbers in a database in an associated mode; and S3, when the service server receives the access information of the client, the service server analyzes the access information to obtain a logistics list number, and the logistics list number enters a logistics track evidence tab, and the logistics track evidence tab pulls a corresponding logistics track screenshot in the database according to the logistics list number and displays the logistics track evidence tab on the logistics track evidence tab. The invention aims to solve the problems of slow query response and unsmooth page interaction in the prior art.
Description
Technical Field
The invention relates to the technical field of logistics, in particular to a method and a system for automatically generating logistics track evidence materials.
Background
In the logistics industry, track evidence materials are important vouchers for proving the logistics transportation process. However, the current technical means for obtaining logistics track evidence materials, such as third party platform inquiry screenshot and map track display by a docking interface, have the problems of slow inquiry response, unsmooth page interaction and the like. This is mainly due to the need to repeatedly invoke the third party interface and dynamically process the massive track data, resulting in heavy computation and rendering pressures on the server and browser side.
Disclosure of Invention
The invention aims to provide a method for automatically generating logistics track evidence materials, which is used for quickly and smoothly acquiring and presenting the logistics track evidence materials by acquiring material track data in advance to generate static logistics track screenshot and establishing a correlation index.
Another object of the present invention is to provide a system for automatically generating material for logistics track, which adopts a method for automatically generating material for logistics track as described above.
To achieve the purpose, the invention adopts the following technical scheme:
a method for automatically generating a material for logistics track evidence comprises the following steps:
s1, a service server sets a task screen interface of a timing task triggering puppeteer system;
s2, the puppeterer system informs a logistics track display page to generate a logistics track according to logistics track data by collecting logistics information in advance, including logistics track data and logistics list numbers, performs logistics track screenshot, and stores the logistics track screenshot and the logistics list numbers in a database in an associated mode;
and S3, when the service server receives the access information of the client, the service server analyzes the access information to obtain a logistics list number, and the logistics list number enters a logistics track evidence tab, and the logistics track evidence tab pulls a corresponding logistics track screenshot in the database according to the logistics list number and displays the logistics track evidence tab on the logistics track evidence tab.
Preferably, the method further comprises the following steps:
s4, when the service server receives the client access information, the service server analyzes the access information to obtain a logistics list number, and enters a logistics track evidence tab, if the logistics track evidence tab is not pulled into a screenshot in a database according to the logistics list number, a takeScreen interface of a puppetee system is called, a logistics track display page is notified to generate a logistics track according to logistics track data, and logistics track screenshot is carried out, and then the logistics track screenshot is displayed on the logistics track evidence tab.
Preferably, in S2, the notifying logistics track displaying page generates a logistics track according to the logistics track data, and performs a logistics track screenshot, which specifically includes:
s21, acquiring logistics track data according to a logistics single number, drawing a logistics track on a vacation map on a logistics track display page, and maximizing and displaying the logistics track, namely finishing the whole logistics track on the logistics track display page at a glance, displaying a small map on the upper left corner, using a unit coordinate point for goods on the small map, and drawing an electronic fence of 2 kilometers by taking the unit coordinate point as the center;
s22, after the logistics track is drawn, controlling the headless Chrome to carry out logistics track screenshot in a programmed mode.
The system for automatically generating the material for the logistics track evidence adopts the method for automatically generating the material for the logistics track evidence, which is applied to a business server and a puppeter system;
the business server side comprises:
the timing module is used for setting a timing task to trigger a takeScreen interface of the puppeteer system by the service server;
and the display module is used for analyzing the access information to obtain a logistics list number when the service server receives the access information of the client, entering a logistics track evidence tab, pulling a corresponding logistics track screenshot in the database according to the logistics list number by the logistics track evidence tab, and displaying the logistics track evidence tab on the logistics track evidence tab.
The puppeter system includes:
the generation and preservation module is used for informing the logistics track display page to generate a logistics track according to logistics track data by collecting logistics information including logistics track data and logistics list numbers in advance, carrying out logistics track screenshot, and storing the logistics track screenshot and the logistics list numbers in a database in an associated mode.
Preferably, the service server further includes:
and the calling module is used for analyzing the access information to obtain a logistics list number when the service server receives the client access information, entering a logistics track evidence tab, calling a takeScreen interface of the puppetee system if the logistics track evidence tab is not pulled into a screenshot in a database according to the logistics list number, informing a logistics track display page to generate a logistics track according to logistics track data, carrying out logistics track screenshot, and displaying the logistics track screenshot on the logistics track evidence tab.
Preferably, the puppeter system further includes:
the drawing module is used for obtaining logistics track data according to a logistics single number, drawing a logistics track on a flight map on a logistics track display page, and maximizing and displaying the logistics track, namely finishing the whole logistics track on the logistics track display page at a glance, displaying a small map on the upper left corner, using a unit coordinate point for goods on the small map, and drawing an electronic fence of 2 kilometers by taking the unit coordinate point as the center;
and the screenshot module is used for controlling the headless Chrome to perform logistics track screenshot in a programmed mode after the logistics track is drawn.
One of the above technical solutions has the following beneficial effects:
(1) The service server sets a takeScreen interface of the timed task triggering puppeterer system, and stores the logistics track screenshot and logistics list number association in the database in advance, so that the problem that when a subsequent service server receives client access information, a third party interface is required to be frequently called and mass data is required to be dynamically processed, the resource consumption of dynamic interface calling and rendering is saved, an association index of key information such as the logistics list number is established, and the static logistics track screenshot in the database can be directly called when a logistics track ticket at the front end is displayed, thereby realizing the function of quick retrieval and positioning.
(2) The logistics track display page is specially set for the puppeteer system, has no entry in the service server, and can be opened only by triggering a takeScreen interface of the puppeteer system. The puppeterer system is ready and waits for the instruction after opening the logistics track display page, so that when the logistics track evidence tab is not pulled into the screenshot in the database according to the logistics list number, the logistics track display page can be interacted rapidly, page interaction is smoother, and user experience is better.
Drawings
FIG. 1 is a flow chart of the present invention in a method for automatic generation of material for logistic track evidence;
FIG. 2 is a schematic diagram of the present invention in a system for automated generation of material for logistic trajectory verification.
Detailed Description
The technical scheme of the invention is further described below by the specific embodiments with reference to the accompanying drawings.
As shown in fig. 1, a method for automatically generating a material for logistics track evidence comprises the following steps:
s1, a service server sets a task screen interface of a timing task triggering puppeteer system;
s2, the puppeterer system informs a logistics track display page to generate a logistics track according to logistics track data by collecting logistics information in advance, including logistics track data and logistics list numbers, performs logistics track screenshot, and stores the logistics track screenshot and the logistics list numbers in a database in an associated mode;
and S3, when the service server receives the access information of the client, the service server analyzes the access information to obtain a logistics list number, and the logistics list number enters a logistics track evidence tab, and the logistics track evidence tab pulls a corresponding logistics track screenshot in the database according to the logistics list number and displays the logistics track evidence tab on the logistics track evidence tab.
The invention aims to solve the problem of slow inquiry response in the prior art, a task screen port of a puppeterer system is triggered by a service server, and a logistics track screenshot and a logistics list number are stored in a database in advance in an associated mode, so that the problem that when a subsequent service server receives client access information, a third party interface is required to be frequently called and mass data is required to be dynamically processed, resource consumption of dynamic interface call and rendering is saved, an associated index of key information such as the logistics list number is established, and a static logistics track screenshot in the database can be directly called when a logistics track evidence page label at the front end is displayed, and the function of quick retrieval and positioning is realized.
In conclusion, the invention provides a design idea combining offline processing and real-time query, and is an important way for optimizing and perfecting the acquisition of logistics track evidence materials. The method not only improves the query efficiency, but also optimizes the user experience.
Further illustratively, the method further comprises the steps of:
s4, when the service server receives the client access information, the service server analyzes the access information to obtain a logistics list number, and enters a logistics track evidence tab, if the logistics track evidence tab is not pulled into a screenshot in a database according to the logistics list number, a takeScreen interface of a puppetee system is called, a logistics track display page is notified to generate a logistics track according to logistics track data, and logistics track screenshot is carried out, and then the logistics track screenshot is displayed on the logistics track evidence tab.
The invention aims to solve the problem of unsmooth page interaction in the prior art, and is a logistics track display page specially set for a puppeteer system, wherein the logistics track display page is not provided with an entry in a service server and can be opened only by triggering a takeScreen interface of the puppeteer system. The puppeterer system is ready and waits for the instruction after opening the logistics track display page, so that when the logistics track evidence tab is not pulled into the screenshot in the database according to the logistics list number, the logistics track display page can be interacted rapidly, page interaction is smoother, and user experience is better.
Further describing, in S2, the notifying logistics track displaying page generates a logistics track according to the logistics track data, and performs a logistics track screenshot, which specifically includes:
s21, acquiring logistics track data according to a logistics single number, drawing a logistics track on a vacation map on a logistics track display page, and maximizing and displaying the logistics track, namely finishing the whole logistics track on the logistics track display page at a glance, displaying a small map on the upper left corner, using a unit coordinate point for goods on the small map, and drawing an electronic fence of 2 kilometers by taking the unit coordinate point as the center;
s22, after the logistics track is drawn, controlling the headless Chrome to carry out logistics track screenshot in a programmed mode.
Specifically, the puppeterer system controls the non-interface headless Chrome browser to realize webpage automation, controls the headless Chrome browser to carry out operations such as track information pulling, screenshot and the like in a programmed mode, and realizes quick and smooth acquisition and presentation of logistics track evidence materials.
As shown in fig. 2, a system for automatically generating material for logistics track is applied to a business server and a puppeter system by adopting the method for automatically generating material for logistics track as described above;
the business server side comprises:
the timing module is used for setting a timing task to trigger a takeScreen interface of the puppeteer system by the service server;
and the display module is used for analyzing the access information to obtain a logistics list number when the service server receives the access information of the client, entering a logistics track evidence tab, pulling a corresponding logistics track screenshot in the database according to the logistics list number by the logistics track evidence tab, and displaying the logistics track evidence tab on the logistics track evidence tab.
The puppeter system includes:
the generation and preservation module is used for informing the logistics track display page to generate a logistics track according to logistics track data by collecting logistics information including logistics track data and logistics list numbers in advance, carrying out logistics track screenshot, and storing the logistics track screenshot and the logistics list numbers in a database in an associated mode.
Further described, the business server further includes:
and the calling module is used for analyzing the access information to obtain a logistics list number when the service server receives the client access information, entering a logistics track evidence tab, calling a takeScreen interface of the puppetee system if the logistics track evidence tab is not pulled into a screenshot in a database according to the logistics list number, informing a logistics track display page to generate a logistics track according to logistics track data, carrying out logistics track screenshot, and displaying the logistics track screenshot on the logistics track evidence tab.
Still further described, the puppeterer system further includes:
the drawing module is used for obtaining logistics track data according to a logistics single number, drawing a logistics track on a flight map on a logistics track display page, and maximizing and displaying the logistics track, namely finishing the whole logistics track on the logistics track display page at a glance, displaying a small map on the upper left corner, using a unit coordinate point for goods on the small map, and drawing an electronic fence of 2 kilometers by taking the unit coordinate point as the center;
and the screenshot module is used for controlling the headless Chrome to perform logistics track screenshot in a programmed mode after the logistics track is drawn.
The invention further aims to provide a system for automatically generating logistics track evidence materials, which aims to solve the problems of slow inquiry response and unsmooth page interaction in the prior art.
The technical principle of the present invention is described above in connection with the specific embodiments. The description is made for the purpose of illustrating the general principles of the invention and should not be taken in any way as limiting the scope of the invention. Other embodiments of the invention will occur to those skilled in the art from consideration of this specification without the exercise of inventive faculty, and such equivalent modifications and alternatives are intended to be included within the scope of the invention as defined in the claims.
Claims (6)
1. The method for automatically generating the logistics track evidence material is characterized by comprising the following steps of:
s1, a service server sets a task screen interface of a timing task triggering puppeteer system;
s2, the puppeterer system informs a logistics track display page to generate a logistics track according to logistics track data by collecting logistics information in advance, including logistics track data and logistics list numbers, performs logistics track screenshot, and stores the logistics track screenshot and the logistics list numbers in a database in an associated mode;
and S3, when the service server receives the access information of the client, the service server analyzes the access information to obtain a logistics list number, and the logistics list number enters a logistics track evidence tab, and the logistics track evidence tab pulls a corresponding logistics track screenshot in the database according to the logistics list number and displays the logistics track evidence tab on the logistics track evidence tab.
2. The method for automated generation of material for logistic track certification according to claim 1, further comprising the steps of:
s4, when the service server receives the client access information, the service server analyzes the access information to obtain a logistics list number, and enters a logistics track evidence tab, if the logistics track evidence tab is not pulled into a screenshot in a database according to the logistics list number, a takeScreen interface of a puppetee system is called, a logistics track display page is notified to generate a logistics track according to logistics track data, and logistics track screenshot is carried out, and then the logistics track screenshot is displayed on the logistics track evidence tab.
3. The method for automatically generating a material for logistics track evidence according to claim 1, wherein in S2, the notifying logistics track display page generates a logistics track according to logistics track data and performs logistics track screenshot, specifically including:
s21, acquiring logistics track data according to a logistics single number, drawing a logistics track on a vacation map on a logistics track display page, and maximizing and displaying the logistics track, namely finishing the whole logistics track on the logistics track display page at a glance, displaying a small map on the upper left corner, using a unit coordinate point for goods on the small map, and drawing an electronic fence of 2 kilometers by taking the unit coordinate point as the center;
s22, after the logistics track is drawn, controlling the headless Chrome to carry out logistics track screenshot in a programmed mode.
4. A system for automatically generating material for logistics track evidence, which is characterized in that a method for automatically generating material for logistics track evidence according to any one of claims 1-3 is adopted and is applied to a business server and a puppeter system;
the business server side comprises:
the timing module is used for setting a timing task to trigger a takeScreen interface of the puppeteer system by the service server;
the display module is used for analyzing the access information to obtain a logistics list number when the service server receives the access information of the client, entering a logistics track evidence tab, pulling a corresponding logistics track screenshot in the database according to the logistics list number by the logistics track evidence tab, and displaying the logistics track evidence tab on the logistics track evidence tab;
the puppeter system includes:
the generation and preservation module is used for informing the logistics track display page to generate a logistics track according to logistics track data by collecting logistics information including logistics track data and logistics list numbers in advance, carrying out logistics track screenshot, and storing the logistics track screenshot and the logistics list numbers in a database in an associated mode.
5. The system for automatically generating material for logistics track as set forth in claim 1, wherein the business server further comprises:
and the calling module is used for analyzing the access information to obtain a logistics list number when the service server receives the client access information, entering a logistics track evidence tab, calling a takeScreen interface of the puppetee system if the logistics track evidence tab is not pulled into a screenshot in a database according to the logistics list number, informing a logistics track display page to generate a logistics track according to logistics track data, carrying out logistics track screenshot, and displaying the logistics track screenshot on the logistics track evidence tab.
6. The system for automated generation of material for logistics trail certification of claim 1, wherein the puppeter system further comprises:
the drawing module is used for obtaining logistics track data according to a logistics single number, drawing a logistics track on a flight map on a logistics track display page, and maximizing and displaying the logistics track, namely finishing the whole logistics track on the logistics track display page at a glance, displaying a small map on the upper left corner, using a unit coordinate point for goods on the small map, and drawing an electronic fence of 2 kilometers by taking the unit coordinate point as the center;
and the screenshot module is used for controlling the headless Chrome to perform logistics track screenshot in a programmed mode after the logistics track is drawn.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311874025.XA CN117827878A (en) | 2023-12-29 | 2023-12-29 | Method and system for automatically generating logistics track evidence material |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311874025.XA CN117827878A (en) | 2023-12-29 | 2023-12-29 | Method and system for automatically generating logistics track evidence material |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117827878A true CN117827878A (en) | 2024-04-05 |
Family
ID=90522410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311874025.XA Pending CN117827878A (en) | 2023-12-29 | 2023-12-29 | Method and system for automatically generating logistics track evidence material |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117827878A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832428A (en) * | 2017-11-14 | 2018-03-23 | 北京知行锐景科技有限公司 | Webpage method for monitoring state and system based on Website page |
CN111309768A (en) * | 2020-02-20 | 2020-06-19 | 上海东普信息科技有限公司 | Information retrieval method, device, equipment and storage medium |
CN112579960A (en) * | 2020-12-24 | 2021-03-30 | 杭州趣链科技有限公司 | Webpage evidence obtaining method, webpage evidence obtaining device and server |
CN113382083A (en) * | 2021-06-30 | 2021-09-10 | 建信金融科技有限责任公司 | Webpage screenshot method and device |
CN113779091A (en) * | 2021-09-15 | 2021-12-10 | 贵阳货车帮科技有限公司 | Information query method and device, electronic equipment and readable storage medium |
CN115293699A (en) * | 2022-08-09 | 2022-11-04 | 深圳市谐诚科技网络有限公司 | Logistics data query method and related device |
-
2023
- 2023-12-29 CN CN202311874025.XA patent/CN117827878A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832428A (en) * | 2017-11-14 | 2018-03-23 | 北京知行锐景科技有限公司 | Webpage method for monitoring state and system based on Website page |
CN111309768A (en) * | 2020-02-20 | 2020-06-19 | 上海东普信息科技有限公司 | Information retrieval method, device, equipment and storage medium |
CN112579960A (en) * | 2020-12-24 | 2021-03-30 | 杭州趣链科技有限公司 | Webpage evidence obtaining method, webpage evidence obtaining device and server |
CN113382083A (en) * | 2021-06-30 | 2021-09-10 | 建信金融科技有限责任公司 | Webpage screenshot method and device |
CN113779091A (en) * | 2021-09-15 | 2021-12-10 | 贵阳货车帮科技有限公司 | Information query method and device, electronic equipment and readable storage medium |
CN115293699A (en) * | 2022-08-09 | 2022-11-04 | 深圳市谐诚科技网络有限公司 | Logistics data query method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11823677B2 (en) | Interaction with a portion of a content item through a virtual assistant | |
CN111367445A (en) | Image annotation method and device | |
US20140245140A1 (en) | Virtual Assistant Transfer between Smart Devices | |
WO2018089279A1 (en) | Mobile data insight platforms for data analysis | |
US11164004B2 (en) | Keyframe scheduling method and apparatus, electronic device, program and medium | |
EP3539020A1 (en) | Insight objects as portable user application objects | |
WO2018089255A1 (en) | Dynamic insight objects for user application data | |
WO2018089241A1 (en) | Application usage signal inference and repository | |
US20080244399A1 (en) | Contextual support center | |
CN117520514A (en) | Question-answering task processing method, device, equipment and readable storage medium | |
CN114548092A (en) | Customer service session scheduling method and device, equipment, medium and product thereof | |
CN117827878A (en) | Method and system for automatically generating logistics track evidence material | |
CN113233069A (en) | Intelligent warehousing ex-warehouse control method and device, electronic equipment and storage medium | |
CN110716774B (en) | Data driving method, system and storage medium for brain of financial business data | |
CN116975254A (en) | Visual data presentation method, visual data presentation device and storage medium | |
CN109101588A (en) | A kind of electronic commerce data inquiry system | |
CN114860901A (en) | Knowledge graph construction method based on ancient book information and question and answer system | |
CN112365343B (en) | Banking service system and method based on mobile robot | |
CN109345204A (en) | Cooperative mission control method, system and storage medium | |
CN113438325B (en) | Meteorological visualization system based on client storage | |
Duan | Application development exploration and practice based on LangChain+ ChatGLM+ Rasa | |
CN113486245B (en) | Part-time job recommendation engine recall method combining big data offline calculation and real-time monitoring | |
CN117891908B (en) | Auxiliary proposition examination question retrieval method and system based on artificial intelligent recognition | |
CN112989770B (en) | Form generation method, device and system, electronic equipment and storage medium | |
US20230042838A1 (en) | Method for data processing, device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |