Automatic ticket prefabricating method, device, equipment and medium
By adopting the automatic prefabricated ticket method in the railway freight operation industry, using virtual fee deductions and virtual ticket numbers, the shortage of ticket makers and high labor intensity at night duty has been solved, and automatic prefabricated tickets and departures at night have been realized, and transportation efficiency has been improved.
Patent Information
- Application Number
- CN202510408258.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-02
- Publication Date
- 2025-06-27
AI Technical Summary
During the peak freight period and off-season, the railway freight industry has problems such as shortage of ticketing personnel and high labor intensity on night duty, resulting in waste of human resources and inefficient transportation.
Through the automatic prefabricated ticket method, the vehicle information submitted by the freighter is used to determine whether the automatic prefabricated ticket conditions are met. If it is met, a virtual deduction will be made based on the expected freight costs, a virtual ticket number will be generated and a permitted delivery information will be pushed.
It realizes automatic prefabricating and departure of tickets when unattended at night, avoids waste of human resources, improves transportation efficiency, and alleviates the shortage of ticket makers and the high labor intensity of night duty.
Smart Images

Figure CN120220258A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rail transit, and particularly to an automatic pre-ticketing method, device, equipment and medium. Background Art
[0002] During the process of railway freight transportation, whether it is national railway or local railway, the operations at the departure station include necessary operation processes such as loading and unloading, ticketing, and departure. After the popularization and application of the electronic freight ticket system, the current operation mode adopted in the railway transportation industry is as follows: The station freight clerk loads the vehicle. After the loading is completed, the vehicle information is reported in the system to complete the loading operation link. The ticketing clerk receives the prompt of the loaded state, starts the process of making freight tickets, can generate freight charges automatically or manually, and audits and corrects the freight charges. After confirming that there is no error, the freight ticket is reported to complete the ticketing operation link. The relevant positions at the station synchronously view the real-time information of the waybill, and can perform the departure operation only when they view the electronic freight ticket number and confirm that the waybill has been ticketed.
[0003] Railway freight is an industry that operates 24 hours a day without interruption. Railway freight clerks need to take turns working night shifts to ensure that goods can be transported in a timely manner. When encountering the peak freight season, there will be problems such as a shortage of ticketing personnel and a high labor intensity during night shifts; when it is the off-season of freight, the loading and transportation during the day basically meet the requirements, and there are fewer night shipments, but still ticketing clerks need to be arranged for night shifts. It is possible that only one ticketing order will be encountered during a night shift, resulting in a waste of human resources. However, if the ticketing clerks' night shifts are cancelled, it will directly lead to the inability to depart the night-loaded waybills, unable to meet the transportation time limit requirements of the shippers, and at the same time reduce the transportation efficiency. Summary of the Invention
[0004] The present invention provides an automatic pre-ticketing method, device, equipment and medium to avoid waste of human resources and improve transportation efficiency.
[0005] According to one aspect of the present invention, an automatic pre-ticketing method is provided, including:
[0006] Responding to the vehicle information reporting operation of the freight clerk, determining whether the current environment meets the conditions for automatic pre-ticketing;
[0007] If the current environment meets the conditions for automatic pre-ticketing, determining the expected freight charges according to the vehicle information, and virtually deducting the customer balance according to the expected freight charges;
[0008] Generating a virtual ticket number associated with the current waybill and pushing the information allowing departure.
[0009] According to another aspect of the present invention, an automatic pre-ticketing device is provided, including:
[0010] The ticket-making analysis module is used to determine whether the current environment meets the conditions for automatic pre-ticketing in response to the operation of a freight clerk submitting vehicle information;
[0011] The virtual deduction module is used to, if the current environment meets the conditions for automatic pre-ticketing, determine the expected freight charges based on the vehicle information, and perform virtual deduction on the customer balance according to the expected freight charges;
[0012] The virtual ticketing module is used to generate a virtual ticket number associated with the current waybill and push the information allowing the vehicle to depart.
[0013] According to another aspect of the present invention, there is provided a computer program product including a computer program which, when executed by a processor, implements the automatic pre-ticketing method according to any embodiment of the present invention.
[0014] According to another aspect of the present invention, there is provided an electronic device, the electronic device including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the automatic pre-ticketing method according to any embodiment of the present invention.
[0015] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the automatic pre-ticketing method according to any embodiment of the present invention when executed.
[0016] In the embodiments of the present invention, during unattended operation at night, the pre-ticketing and vehicle departure of freight tickets are completed through virtual expense deduction and virtual ticket numbers, without waiting for the ticketing clerk to arrive the next day to make tickets and depart the vehicle, realizing automatic pre-ticketing and vehicle departure in the case of unattended operation at night, avoiding waste of human resources while improving the transportation efficiency, and effectively alleviating problems such as shortage of ticketing personnel and high labor intensity of night duty.
[0017] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. Description of the Drawings
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 is a flowchart of an automatic prefabricated ticket method provided according to an embodiment of the present invention;
[0020] Figure 2A is a flowchart of an automatic prefabricated ticket method provided according to another embodiment of the present invention;
[0021] Figure 2B is a schematic diagram of a ticket-making process provided according to another embodiment of the present invention;
[0022] Figure 3 is a schematic structural diagram of an automatic prefabricated ticket device provided according to another embodiment of the present invention;
[0023] Figure 4 is a schematic structural diagram of an electronic device for implementing the embodiment of the present invention. Detailed implementation manners
[0024] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0025] It should be noted that the terms "first", "second", etc. in the present invention are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0026] Figure 1 is a flowchart of an automatic prefabricated ticket method provided according to an embodiment of the present invention. This embodiment is applicable to the situation where after the night prefabricated ticket function is enabled, ticket-making staff are no longer arranged to be on duty at night, and only ticket-making staff are arranged to be on duty during the day. This method can be executed by an automatic prefabricated ticket device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device with corresponding data processing capabilities, such as a railway dispatching information system. As Figure 1 shown, the method includes:
[0027] S110. Determine whether the current environment meets the conditions for automatic pre-ticketing in response to the vehicle information reporting operation of the freight clerk.
[0028] S120. If the current environment meets the conditions for automatic pre-ticketing, determine the expected freight charges based on the vehicle information, and virtually deduct the customer balance according to the expected freight charges.
[0029] S130. Generate a virtual ticket number associated with the current waybill and push the information allowing the vehicle to depart.
[0030] Among them, the vehicle information is the basic data for calculating the freight ticket cost, including the number of vehicles, vehicle type, vehicle number, vehicle ownership, load, etc. of the vehicle. The conditions for automatic pre-ticketing include that the automatic pre-ticketing function is in the open state and the current time is at night.
[0031] Specifically, the system provides parameter settings for the pre-ticket function. Managers can configure the automatic pre-ticket function in detail, including whether to enable automatic pre-ticket, enable cycle (optional: daily / statutory working days / statutory holidays / Monday to Friday / customized, etc.), enable time, end time, and enable department. After the station freightman completes the night loading operation, he / she submits the vehicle information to the system. After the vehicle submission is completed, the system automatically updates the status of the current waybill to loaded. Only the loaded waybill can be ticketed. At the same time, the system automatically monitors whether the pre-ticket function is enabled. If the pre-ticket function is enabled, the system will match the department and configuration department of the operating station, the current time, and the configuration time. When the matching result does not meet the automatic pre-ticket conditions, the pre-ticket is abandoned and the ticket maker is waiting for manual processing after arriving. When the matching result meets the automatic pre-ticket conditions, the system will automatically calculate the freight cost of the waybill according to the real ticket making rules to obtain the expected freight cost, and make a virtual deduction for the user's balance accordingly. After the virtual deduction is completed, the system generates a virtual ticket number for the freight bill according to the freight bill number generation rules, associates it with the current waybill, and specially marks the waybill associated with the virtual freight bill number. Once the virtual ticket number is generated, it will be occupied in the official ticket number library. Except for the waybill that is converted to a real ticket number when it is manually issued during the day, the same ticket number will not be generated in other cases. When the virtual ticket number is associated with the waybill, the system will automatically push the message that the departure is allowed to other modules of the dispatching system, so that the train can be dispatched in other related modules. Including the current vehicle module and the planning module, the current vehicle module will subsequently convert the vehicle to an empty weight state, and transfer the current vehicle to the departure train marshaling operation; the planning module can convert the planned train to a real one, and update the train operation information from time to time to ensure the normal departure of the train, and at the same time transmit the train operation information back to facilitate the subsequent dynamic tracking of the operation information of the waybill. At this point, the normal departure process of the loading station has been completed. Generating virtual ticket numbers can meet the relevant regulations of the railway transportation industry and the management methods of railway transportation companies for the dispatch process. For example, the regulations that tickets must be issued before dispatching, and only those with freight bill numbers can dispatch, so that dispatching has a basis to rely on. Virtual deductions can avoid temporary customers and small and medium-sized customers defaulting on freight and causing economic losses to the company. Tickets can only be issued and transported when the customer's account balance is sufficient.
[0032] The present invention can complete the pre-production and dispatch of freight invoices through virtual fee deduction and virtual ticket number when there is no one on duty at night, without waiting for the ticket maker to arrive at work the next day before making invoices and dispatching vehicles. It realizes automatic pre-production of tickets and dispatch of vehicles when there is no one on duty at night, improves transportation efficiency while avoiding waste of human resources, and effectively alleviates the problems of shortage of ticket makers and high labor intensity of night shifts.
[0033] Figure 2AThe flowchart of an automatic pre - ticket method provided by another embodiment of the present invention. This embodiment is optimized and improved based on the above - mentioned embodiment. As Figure 2A shown, the method includes:
[0034] S210. In response to the operation of the freight clerk reporting vehicle information, determine whether the current environment meets the conditions for automatic pre - ticketing.
[0035] S220. If the current environment meets the conditions for automatic pre - ticketing, based on the actual ticketing rules, predict the expected freight charges according to the vehicle information; when the customer balance can offset the expected freight charges, generate a corresponding virtual offset record and freeze the corresponding amount in the customer balance.
[0036] Specifically, after the balance control, the system will automatically generate a corresponding virtual offset record. The virtual offset record will be saved in a separate form, and will not actually offset the customer's account, but will freeze the corresponding amount in the account to ensure that it cannot be used for other purposes.
[0037] S230. Generate a virtual ticket number associated with the current waybill and push the information allowing the vehicle to depart.
[0038] S240. After the ticketing clerk arrives at the post, send a reminder for ticket supplement of the current waybill to the ticketing clerk, which is used to prompt the ticketing clerk to complete the waybill information of the current waybill.
[0039] Specifically, freight ticketing is not simply generating an electronic bill. The cost information of the waybill is closely connected with customer cost management and the financial revenue statistics of the carrier company; the ticketing time of the waybill is an important time node for various statistical reports such as freight reports and carriage books; the ticketing personnel recorded in the waybill also restrict each other with the company's job management responsibilities and the statistics of the ticketing personnel's workload. Therefore, the pre - ticketing function cannot automatically generate a waybill by the system, but can only be a pre - processing link for manual ticketing, making the departure without a ticket well - founded and enabling cost control. For the waybills that have generated virtual ticket numbers and departed normally at night, although the departure and transportation process has been completed, the information in the corresponding waybill has not been completed yet. After the freight clerk arrives during the day, the system will prompt the waybills with pre - tickets at night in the to - do list. The freight clerk can perform the operation of making a waybill for the waybill according to the normal ticketing process. After the ticketing clerk makes a waybill, an electronic waybill entity will be generated, which shows the basic information such as the departure station, arrival station, consignor and consignee information, cargo information, vehicle information of the waybill. At the same time, it will automatically generate the expected freight charges according to the basic freight rate rules and special freight rate rules and display them in the waybill cost item list. The ticketing clerk can review the basic information and expected freight charges of the waybill, manually modify the expected freight charges, and then perform the operation of submitting the waybill after confirmation.
[0040] S250. In response to the operation of submitting a freight bill by the ticket clerk, the customer balance is truly deducted according to the actual freight charges in the current freight bill.
[0041] Specifically, after the ticket clerk submits the freight bill, the system will check the actual freight charges in the current freight bill and the customer balance to ensure that the customer balance is sufficient to deduct the actual freight charges before proceeding to the next step. After the check passes, the system will generate a true credit record, which means the deduction operation for the customer balance is completed.
[0042] S260. Determine whether the waybill corresponding to the current freight bill is associated with a virtual ticket number.
[0043] S270. If it is associated with a virtual ticket number, determine the virtual ticket number as the ticket number of the current freight bill, delete the virtual credit record corresponding to the virtual ticket number, and unfreeze the corresponding amount in the customer balance; if it is not associated with a virtual ticket number, generate a new ticket number in real time according to the freight bill number rule, and determine the new ticket number as the ticket number of the current freight bill.
[0044] Specifically, the freight bills submitted by the ticket clerk can be simply divided into two types. One is manually issued by the ticket clerk throughout the process, and the second is issued by the ticket clerk after further completing the information of the pre-made tickets at night. The financial collection statistics require that the freight bill numbers at the same station must be consecutive, and no skipping or interruption is allowed. Therefore, after the system completes the true deduction, in order to meet the requirement of consecutive freight bill numbers in the financial collection statistical report, it is necessary to determine further processing measures according to the type of freight bill. Determine whether the waybill corresponding to the current freight bill is associated with a virtual ticket number. If it is associated with a virtual ticket number, it means the current freight bill is the second type of freight bill, and the associated virtual ticket number is determined as the true ticket number of the current freight bill to ensure that there is no interruption in the ticket number. If it is not associated with a virtual ticket number, it means the current freight bill is the first type of freight bill, and the system will generate a latest freight bill number in real time according to the freight bill number rule as the true ticket number of the current freight bill. In addition, for the second type of freight bill, after the system completes the true deduction, it is also necessary to delete the virtual credit record in the form and unfreeze the corresponding customer balance. Finally, the system will save the freight bill number, basic freight bill information, vehicle information, expense information, together with the ticket-making time, ticket maker, ticket-making department, etc. obtained in real time to the database.
[0045] Exemplarily, as Figure 2B shown, in the case where no ticket clerk is on duty at night, the system allows the loaded vehicles to depart first through virtual deduction and generation of virtual ticket numbers. After the ticket clerk arrives at the station the next day, the freight clerk is then prompted to make up the tickets for the waybills that departed last night, improving the freight efficiency at night through the method of "depart first and make up tickets later".
[0046] An embodiment of the present invention proposes that during the opening period, the freight clerk at the station can fill in the vehicle information, calculate the freight according to the reported information according to the freight rate rules, automatically generate a virtual ticket number, and virtually deduct the corresponding customer's prepayment without manual operation.
[0047] Figure 3 It is a schematic structural diagram of an automatic prefabricated ticket device provided by another embodiment of the present invention.
[0048] As Figure 3 shown, the device includes:
[0049] A ticket-making analysis module 310, configured to determine whether the current environment meets the conditions for automatic prefabricated tickets in response to the vehicle information reporting operation of the freight clerk;
[0050] A virtual deduction module 320, configured to, if the current environment meets the conditions for automatic prefabricated tickets, determine the expected freight charges according to the vehicle information, and perform virtual deduction on the customer balance according to the expected freight charges;
[0051] A virtual ticket-making module 330, configured to generate a virtual ticket number associated with the current waybill and push the information allowing the vehicle to depart.
[0052] The automatic prefabricated ticket device provided by the embodiment of the present invention can execute the automatic prefabricated ticket method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0053] Optionally, the virtual deduction module 320 includes:
[0054] A fee calculation unit, configured to predict the expected freight charges according to the vehicle information based on the real ticket-making rules;
[0055] A virtual deduction unit, configured to generate a corresponding virtual deduction record and freeze the corresponding amount in the customer balance when the customer balance can deduct the expected freight charges.
[0056] Optionally, the device further includes:
[0057] A ticket supplement prompt module, configured to send a ticket supplement prompt for the current waybill to the ticket maker after the ticket maker arrives at the post, for prompting the ticket maker to complete the ticket information of the current waybill.
[0058] Optionally, the device further includes:
[0059] A real deduction module, configured to perform real deduction on the customer balance according to the real freight charges in the current ticket in response to the ticket reporting operation of the ticket maker.
[0060] Optionally, the device further includes:
[0061] The ticket number analysis module is used to determine whether the waybill corresponding to the current cargo ticket is associated with a virtual ticket number;
[0062] The first processing module is used to, if a virtual ticket number is associated, determine the virtual ticket number as the ticket number of the current cargo ticket, delete the virtual deduction record corresponding to the virtual ticket number, and release the freezing of the corresponding amount in the customer balance;
[0063] The second processing module is used to, if no virtual ticket number is associated, generate a new ticket number in real time according to the cargo ticket number rule, and determine the new ticket number as the ticket number of the current cargo ticket.
[0064] Optionally, the automatic prefabricated ticket condition includes that the automatic prefabricated ticket function is in an enabled state and the current time is at night.
[0065] Furthermore, the automatic prefabricated ticket device described above can also execute the automatic prefabricated ticket method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0066] Figure 4 FIG. shows a schematic structural diagram of an electronic device 40 that can be used to implement an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0067] As Figure 4 shown, the electronic device 40 includes at least one processor 41, and a memory communicatively connected to at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc. Among them, the memory stores a computer program executable by at least one processor. The processor 41 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 into the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. The input / output (I / O) interface 45 is also connected to the bus 44.
[0068] Multiple components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a magnetic disk, an optical disc, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0069] The processor 41 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the automatic pre-ticketing method.
[0070] In some embodiments, the automatic pre-ticketing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the automatic pre-ticketing method described above can be executed. Alternatively, in other embodiments, the processor 41 can be configured to execute the automatic pre-ticketing method by any other suitable means (e.g., by means of firmware).
[0071] The various embodiments of the systems and technologies described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: implemented in one or more computer programs, the one or more computer programs can be executed and / or interpreted on a programmable system including at least one programmable processor, the programmable processor can be a special or general-purpose programmable processor, can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0072] A computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing device, such that when the computer programs are executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0073] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0074] In order to provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0075] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected with each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0076] A computing system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0077] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.
[0078] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. An automatic pre-ticket making method, characterized in that: The method comprises: In response to the freight forwarder's vehicle information submission operation, determine whether the current environment meets the conditions for automatic ticket pre-production; If the current environment meets the conditions for automatic ticket pre-production, the expected freight cost is determined based on the vehicle information, and a virtual deduction is made on the customer's balance based on the expected freight cost; Generate a virtual ticket number associated with the current waybill and push the information that allows the vehicle to depart.
2. The method according to claim 1, characterized in that: Determining the expected freight cost according to the vehicle information, and virtually deducting the customer's balance according to the expected freight cost, includes: Based on the real ticketing rules, the expected freight costs are predicted according to the vehicle information; When the customer balance can be used to deduct the expected freight charges, a corresponding virtual deduction record is generated, and the corresponding amount in the customer balance is frozen.
3. The method according to claim 2, characterized in that After the expected freight cost is determined according to the vehicle information and the customer's balance is virtually deducted according to the expected freight cost, the method further includes: After the ticket maker arrives at the post, a reminder for completing the ticket of the current waybill is issued to the ticket maker to prompt the ticket maker to complete the freight bill information of the current waybill.
4. The method according to claim 1, characterized in that: The method further comprises: In response to the bill maker's submission of the bill of lading, the customer's balance is actually deducted according to the actual freight charges in the current bill of lading.
5. The method according to claim 4, characterized in that After the actual deduction of the customer's balance according to the actual freight charges in the invoice, it also includes: Determine whether the waybill corresponding to the current freight bill is associated with a virtual ticket number; If a virtual ticket number is associated, the virtual ticket number is determined as the ticket number of the current bill of lading, the virtual deduction record corresponding to the virtual ticket number is deleted, and the freeze on the corresponding amount in the customer's balance is unfrozen; If the virtual ticket number is not associated, a new ticket number is generated in real time according to the bill of lading number rule, and the new ticket number is determined as the ticket number of the current bill of lading.
6. The method according to claim 1, characterized in that The automatic ticket pre-production condition includes that the automatic ticket pre-production function is turned on and the current time is night.
7. An automatic pre-ticket making device, characterized in that: The device comprises: The ticketing analysis module is used to respond to the vehicle information submission operation of the freight forwarder and determine whether the current environment meets the conditions for automatic pre-ticketing; A virtual deduction module is used to determine the expected freight charges according to the vehicle information if the current environment meets the automatic pre-ticketing conditions, and to make a virtual deduction on the customer's balance according to the expected freight charges; The virtual ticketing module is used to generate a virtual ticket number associated with the current waybill and push the information that allows the vehicle to depart.
8. The device according to claim 7, characterized in that The virtual deduction module includes: Cost calculation unit, used to predict expected freight costs based on vehicle information based on real ticketing rules; The virtual deduction unit is used to generate a corresponding virtual deduction record and freeze the corresponding amount in the customer balance when the customer balance can be used to deduct the expected freight cost.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the automatic pre-ticketing method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the automatic pre-ticketing method according to any one of claims 1 to 6 when executed.