Data processing method and device, equipment, medium and product
By obtaining cargo information, determining matching rules and weights, the shipping plans are screened, and the problems of low manual screening efficiency and inconsistent results are solved, and more accurate and efficient shipping plans are achieved.
Patent Information
- Application Number
- CN202510299093.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-06-20
AI Technical Summary
In the prior art, the screening of shipping plans depends on manual labor, which makes it difficult to comprehensively collect and organize in a large amount of data in a short time, and may miss a better shipping plan. Moreover, due to personal experience and subjective preferences, it is difficult to ensure the objectivity and consistency of the screening results.
By obtaining the cargo information entered by the user, determining the weights of the matching rules and matches, filtering multiple shipping plans in the database based on these rules and weights to obtain the target shipping plan.
The accuracy and efficiency of the target shipping plan obtained by screening is improved, and the objectivity and consistency of the results are ensured.
Smart Images

Figure CN120181704A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a data processing method, apparatus, device, medium, and product. Background Art
[0002] The shipping industrial chain involves multiple links. Service providers hold basic information such as ships, routes, sailing schedules, and flight numbers, while application parties need this information to arrange transportation plans, serve customer commissions, etc.
[0003] In the prior art, generally, an artificial method is used to screen and obtain the optimal shipping plan. However, since the shipping market involves a vast amount of data, it is difficult to comprehensively collect and organize this data within a short time when processing it manually. Often, only a small part of the data can be processed, resulting in the possible omission of a better shipping plan during screening. Moreover, manual screening often relies on personal experience and intuition. Different staff members may have differences in the evaluation of shipping plans due to differences in experience levels, knowledge structures, and subjective preferences, making it difficult to ensure the objectivity and consistency of the screening results. Summary of the Invention
[0004] Embodiments of the present invention provide a data processing method, apparatus, device, medium, and product, which can improve the accuracy of the target shipping plan obtained by screening while improving the efficiency of obtaining the target shipping plan.
[0005] According to one aspect of the present invention, there is provided a data processing method, including:
[0006] Obtaining cargo information input by a user;
[0007] Determining a matching rule corresponding to the cargo information and weights of each matching item in the matching rule;
[0008] Based on the matching rule and the weights of each matching item in the matching rule, screening multiple shipping plans in a database to obtain a target shipping plan.
[0009] According to another aspect of the present invention, there is provided a data processing apparatus, which includes:
[0010] An obtaining module, configured to obtain cargo information input by a user;
[0011] A determining module, configured to determine a matching rule corresponding to the cargo information and weights of each matching item in the matching rule;
[0012] A screening module, configured to screen multiple shipping plans in a database based on the matching rule and the weights of each matching item in the matching rule to obtain a target shipping plan.
[0013] According to another aspect of the present invention, there is provided an electronic device, which includes:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the data processing method according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for implementing the data processing method according to any embodiment of the present invention when executed by a processor.
[0018] According to another aspect of the present invention, there is provided a computer program product, wherein when the computer program is executed by a processor, it implements the data processing method according to any one of the embodiments of the present invention.
[0019] In the embodiments of the present invention, by obtaining the goods information input by the user; determining the matching rules corresponding to the goods information and the weights of each matching item in the matching rules; and screening multiple shipping plans in the database based on the matching rules and the weights of each matching item in the matching rules to obtain a target shipping plan, it is possible to improve the accuracy of the obtained target shipping plan while improving the efficiency of obtaining the target shipping plan.
[0020] 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and thus should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 is a flowchart of a data processing method in an embodiment of the present invention;
[0023] Figure 2 is a schematic structural diagram of a data processing device in an embodiment of the present invention;
[0024] Figure 3 It is a schematic structural diagram of an electronic device in an embodiment of the present invention. Detailed implementation manners
[0025] 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 in conjunction with 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 of 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.
[0026] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings 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 comprising a series of steps or units does not necessarily have 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.
[0027] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0028] Embodiment 1
[0029] Figure 1 It is a flowchart of a data processing method provided by an embodiment of the present invention. This embodiment is applicable to the situation of data processing. This method can be executed by a data processing device in an embodiment of the present invention, for example, it can be an application party. The device can be implemented in a software and / or hardware manner, such as Figure 1 As shown, the method specifically includes the following steps:
[0030] S110, obtain the goods information input by the user.
[0031] In this embodiment, the goods information may include: shipping time, goods weight, goods volume, origin and destination.
[0032] In this embodiment, the way to obtain the cargo information input by the user may be as follows: display the main interface; in response to detecting a trigger operation on the shipping plan selection control on the main interface, display the cargo information editing interface; in response to detecting an editing operation on the cargo information editing interface, obtain the cargo information input by the user.
[0033] The technical solution provided in this embodiment is executed by the applying party. The applying party may be a freight forwarder, a cargo owner, a third-party platform, etc.
[0034] S120, determine the matching rule corresponding to the cargo information and the weights of each matching item in the matching rule.
[0035] In this embodiment, the matching rule includes: selecting a shipping plan with a transportation time less than the time threshold and a high safety type; or, selecting a shipping plan with remaining capacity greater than the capacity threshold and an operating cost less than the set cost threshold; or, selecting a shipping plan with cold chain transportation capacity. The matching items include: transportation time, safety type, remaining capacity, operating cost, having cold chain transportation capacity, etc.
[0036] In this embodiment, the way to determine the matching rule corresponding to the cargo information and the weights of each matching item in the matching rule may be as follows: if the cargo type is high-value goods, then determine the matching rule as selecting a shipping plan with a transportation time less than the time threshold and a high safety type; the weight of the transportation time is the first value, and the weight of the safety type is the second value, and the sum of the first value and the second value is equal to 1; if the cargo type is bulk goods, then determine the matching rule as selecting a shipping plan with remaining capacity greater than the capacity threshold and an operating cost less than the set cost threshold; the weight of the remaining capacity is the third value, and the weight of the operating cost is the fourth value, and the sum of the third value and the fourth value is equal to 1; if the cargo type is perishable goods, then determine the matching rule as selecting a shipping plan with cold chain transportation capacity, and the weight of having cold chain transportation capacity is 1.
[0037] Optionally, the cargo information includes: cargo type;
[0038] Determining the matching rule corresponding to the cargo information and the weights of each matching item in the matching rule includes:
[0039] If the cargo type is high-value goods, then determine the matching rule as selecting a shipping plan with a transportation time less than the time threshold and a high safety type; the weight of the transportation time is the first value, and the weight of the safety type is the second value, and the sum of the first value and the second value is equal to 1.
[0040] In this embodiment, the types of goods may include: high-value goods, bulk goods, perishable goods, etc. For example, electronic products are high-value goods; coal is bulk goods; fresh food is perishable goods.
[0041] In this embodiment, the first value is greater than the second value. The first value may be 60%, and the second value may be 40%. The security types include: high security, medium security, and low security. If the type of goods is bulk goods, the matching rule is determined to select a shipping plan with remaining capacity greater than the capacity threshold and operating cost less than the set cost threshold; the weight of the remaining capacity is the third value, and the weight of the operating cost is the fourth value, and the sum of the third value and the fourth value is equal to 1.
[0042] In this embodiment, the third value is greater than the fourth value. The third value may be 70%, and the fourth value may be 30%. In this embodiment, the set cost threshold may be a preset value. It should be noted that if the operating cost is less than the set cost threshold, the shipping plan is determined to be a shipping plan with low operating cost.
[0043] If the type of goods is perishable goods, the matching rule is determined to select a shipping plan with cold chain transportation capacity, and the weight of having cold chain transportation capacity is 1.
[0044] In a specific example, the user inputs the goods information: the type of goods is high-value goods, the weight is 500 kg, the volume is 2 m 3 , the place of origin is Shanghai, and the destination is Los Angeles; the system calls the matching rule: filters out shipping plans with short transportation time and high security; calculates the matching score according to the weight distribution: the score of shipping plan A (transportation time is 3 days, high security) is 90, and the score of shipping plan B (transportation time is 5 days, medium security) is 70; recommended result: shipping plan A is the first choice.
[0045] It should be noted that the method for determining the matching rule corresponding to the goods information and the weights of each matching item in the matching rule may also be: query the corresponding relationship table according to the type of goods to determine the matching rule corresponding to the type of goods and the weights of each matching item in the matching rule. The matching rule corresponding to the type of goods includes: selecting a shipping plan with transportation time less than the time threshold and security type being high security, or selecting a shipping plan with remaining capacity greater than the capacity threshold and operating cost less than the set cost threshold, or selecting a shipping plan with cold chain transportation capacity. The matching items include: transportation time, security type, remaining capacity, operating cost, having cold chain transportation capacity, etc.
[0046] S130. Based on the matching rules and the weights of each matching item in the matching rules, screen multiple shipping plans in the database to obtain the target shipping plan.
[0047] In this embodiment, the shipping plan includes information such as routes, sailing schedules, and related fees.
[0048] In this embodiment, the database includes multiple shipping plans and the basic information of each shipping plan. The basic information of the shipping plan includes the safety type corresponding to the shipping plan, the transportation time corresponding to the shipping plan, the remaining shipping capacity corresponding to the shipping plan, whether the shipping plan has the cold chain transportation capacity, the operating cost of the shipping plan, and the booking volume of the shipping plan, etc.
[0049] In this embodiment, the data in the database can be obtained in the following way: After converting the diverse data formats of the service provider into the international common standard by using the data mapping MAP method, store them in the database.
[0050] In the prior art, due to the non-uniform data standards between the service provider and the application party, data interaction between upstream and downstream enterprises cannot be carried out, seriously affecting the efficiency of shipping operations and the scientific nature of decision-making. For example, different shipping companies may use different data formats and coding methods to record shipping plans. When the application party books cabins for customers, it needs to spend a lot of time and effort to process different formats of data, increasing the operating cost and the possibility of errors. At the same time, the lack of a unified data standard also makes it difficult for the shipping market to achieve effective resource integration and coordinated operation, hindering the overall development of the industry.
[0051] The solution provided in this embodiment, after converting the diverse data formats of the service provider into the international common standard by using the data mapping method, stores them in the database. It realizes the effective interconnection of upstream and downstream data, overcomes the data circulation obstacles caused by the lack of a unified standard in the prior art, enables data from different sources to interact without obstacles in the entire shipping ecosystem, and greatly improves the availability and circulation efficiency of data. In this embodiment, the method of screening multiple shipping plans in the database based on the matching rules and the weights of each matching item in the matching rules to obtain the target shipping plan can be: Determine the priority of each shipping plan in the database according to the transportation time; Based on the matching rules, the weights of each matching item in the matching rules, and the priority of each shipping plan in the database, screen multiple shipping plans in the database to obtain the target shipping plan.
[0052] In a specific example, the service provider (shipping company) accesses the original data through technologies such as Electronic Data Interchange (EDI) and Open Application Programming Interface (OpenAPI). The original data includes: ship position, status, shipping plan information, flight dynamics, etc. An asynchronous message queue (such as Kafka) is used to ensure the efficiency and reliability of data transmission. For example, the shipping company can transmit the ship's position, status, shipping plan information, etc. to the data intermediary platform in real time through the EDI system. Map the diverse data formats provided by the service provider (such as the ship codes and route naming rules of different shipping companies) to international common standards; clean the mapped data through Extract, Transform, Load (ETL) technology, removing invalid data (such as arrival times earlier than departure times), duplicate data, and error data; integrate the cleaned data into a unified standardized data set and generate a database based on the standardized data set for subsequent analysis and application.
[0053] Use MAP (mapping) technology to convert the basic data into international standard data. For example, unify the different coding methods of ship types by different shipping companies into internationally common codes, and standardize the different naming rules of route names by airlines. In this way, no matter which service provider the data comes from, after being transformed by MAP, it can circulate in the whole system in a unified format and standard. Then use ETL technology to clean the transformed data. Remove invalid, incorrect or duplicate data to ensure the accuracy and stability of the data.
[0054] The standardized data provides services externally through Representational State Transfer Application Programming Interface (RESTful API) or Graph Query Language (GraphQL) interfaces; application parties can query information such as routes, sailing schedules, and flight numbers in real time through the interfaces; the interfaces support multiple query conditions (such as origin, destination, cargo type, etc.), facilitating the application parties to quickly obtain the required data. For example, freight forwarding companies can query the latest sailing schedule information of multiple shipping companies in real time through this interface, shippers can obtain shipping plan recommendations that meet their cargo transportation needs, and the tripartite platform can also integrate this data and provide it to more customers, realizing the unobstructed interconnection of data between upstream and downstream.
[0055] Optionally, the cargo information includes: transportation time;
[0056] Filter multiple shipping plans in the database based on the matching rules and the weights of each matching item in the matching rules to obtain target shipping plans, including:
[0057] Determine the priority of each shipping plan in the database according to the shipping time.
[0058] In this embodiment, the method for determining the priority of each shipping plan in the database according to the shipping time may be: if the shipping time is within the first time range, obtain the booking volume of each shipping plan in the database, and determine the priority of the shipping plan with a booking volume greater than or equal to the set booking volume threshold in the database as the first priority, and determine the priority of the shipping plan with a booking volume less than the set booking volume threshold in the database as the second priority, where the first priority is higher than the second priority; if the shipping time is within the second time range, obtain the operating cost of each shipping plan in the database, and determine the priority of the shipping plan with an operating cost less than the set cost threshold in the database as the first priority, and determine the priority of the shipping plan with an operating cost less than or equal to the set cost threshold in the database as the second priority, where the first priority is higher than the second priority, and the union of the first time range and the second time range is empty.
[0059] Filter multiple shipping plans in the database based on the matching rules, the weights of each matching item in the matching rules, and the priorities of each shipping plan in the database to obtain target shipping plans.
[0060] In this embodiment, based on the matching rules, the weights of each matching item in the matching rules, and the priorities of each shipping plan in the database, the method for screening multiple shipping plans in the database to obtain the target shipping plan can be as follows: screening out the shipping plans that meet the conditions according to the matching rules; calculating the matching scores of each shipping plan according to the weights of each matching item and the priorities of the shipping plans; and determining the shipping plan with the highest score as the target shipping plan. Based on the matching rules, the weights of each matching item in the matching rules, and the priorities of each shipping plan in the database, the method for screening multiple shipping plans in the database to obtain the target shipping plan can also be as follows: screening each shipping plan in the database based on the origin and destination to obtain the first set of shipping plans; obtaining the remaining shipping capacity of each shipping plan in the first set of shipping plans; screening the first set of shipping plans according to the cargo weight, the cargo volume, and the remaining shipping capacity of each shipping plan in the first set of shipping plans to obtain the second set of shipping plans; and screening the shipping plans in the second set of shipping plans based on the matching rules, the weights of each matching item in the matching rules, and the priorities of each shipping plan in the second set of shipping plans to obtain the target shipping plan.
[0061] Optionally, determining the priorities of each shipping plan in the database according to the shipping time includes:
[0062] If the shipping time is within the first time range, obtain the booking volume of each shipping plan in the database, determine the priority of the shipping plan with a booking volume greater than or equal to the set booking volume threshold in the database as the first priority, and determine the priority of the shipping plan with a booking volume less than the set booking volume threshold in the database as the second priority, where the first priority is higher than the second priority.
[0063] In this embodiment, the first time range includes the time when the historical booking volume is greater than or equal to the first booking volume. The first booking volume is a preset booking volume.
[0064] It should be noted that if the shipping time is within the first time range, it is determined that the shipping time is in the peak season, and the shipping plan with a booking volume greater than or equal to the set booking volume threshold is preferably recommended. For example, if the shipping time is in the peak season, the shipping plan with a booking volume reaching 85% is preferably recommended.
[0065] If the transportation time is within the second time range, obtain the operating costs of each shipping plan in the database. Determine the priority of the shipping plans in the database with operating costs less than the set cost threshold as the first priority, and determine the priority of the shipping plans in the database with operating costs less than or equal to the set cost threshold as the second priority. Among them, the first priority is higher than the second priority, and the union of the first time range and the second time range is empty.
[0066] In this embodiment, the second time range includes the time when the historical booking volume is less than the second booking volume. Among them, the second booking volume is a preset booking volume. The second booking volume is much less than the first booking volume.
[0067] It should be noted that if the transportation time is within the second time range, it is determined that the transportation time is in the off-season, and low-cost shipping plans are preferably recommended.
[0068] In a specific example, if the sailing schedule corresponding to the shipping plan is within the first time range and the booking volume of the shipping plan exceeds the set booking volume threshold, the priority of the shipping plan is automatically increased. For example, if the booking volume of a certain shipping plan reaches more than 80% in the peak season, the system adjusts its priority to the highest. If the sailing schedule corresponding to the shipping plan is within the second time range and the booking volume of the shipping plan is lower than the third booking volume, the priority of the shipping plan is automatically decreased. For example, if the booking volume of a certain shipping plan is lower than 30% in the off-season, the system adjusts its priority to the lowest.
[0069] The solution provided by the embodiment of the present invention can dynamically adjust the priority of shipping plans based on real-time market demand data.
[0070] Optionally, the cargo information further includes: cargo weight, cargo volume, origin and destination;
[0071] Based on the matching rule, the weights of each matching item in the matching rule, and the priorities of each shipping plan in the database, screen multiple shipping plans in the database to obtain the target shipping plan, including:
[0072] Screen the shipping plans in the database based on the origin and destination to obtain the first set of shipping plans.
[0073] In this embodiment, the origin and destination of each shipping plan in the first set of shipping plans are the same as the origin and destination input by the user.
[0074] Obtain the remaining shipping capacity of each shipping plan in the first set of shipping plans.
[0075] In this embodiment, the remaining capacity of each shipping plan is pre-stored in the database. Based on the identification information of each shipping plan in the first shipping plan set, the database is queried to obtain the remaining capacity of each shipping plan in the first shipping plan set.
[0076] According to the cargo weight, the cargo volume, and the remaining capacity of each shipping plan in the first shipping plan set, the first shipping plan set is screened to obtain a second shipping plan set.
[0077] In this embodiment, according to the cargo weight and the cargo volume, the required capacity for transporting the cargo is determined; the shipping plans in the first shipping plan set whose remaining capacity can meet the required capacity for transporting the cargo are obtained. The second shipping plan set is generated based on the shipping plans that meet the required capacity for transporting the cargo.
[0078] Based on the matching rule, the weights of each matching item in the matching rule, and the priorities of each shipping plan in the second shipping plan set, the shipping plans in the second shipping plan set are screened to obtain the target shipping plan.
[0079] In this embodiment, based on the matching rule, the weights of each matching item in the matching rule, and the priorities of each shipping plan in the second shipping plan set, the method for screening the shipping plans in the second shipping plan set to obtain the target shipping plan can be: based on the matching rule, the shipping plans that meet the conditions are screened from the second shipping plan set, and according to the weights of each matching item in the matching rule and the priorities of each shipping plan in the second shipping plan set, the matching scores of the multiple shipping plans that meet the conditions are calculated, and the shipping plan with the highest matching score is determined as the target shipping plan.
[0080] Optionally, it further includes:
[0081] Sending the real-time booking data to the service provider so that the service provider adjusts the ship deployment information according to the real-time booking data;
[0082] Receiving the adjusted ship deployment information sent by the service provider;
[0083] Updating the shipping plans in the database according to the adjusted ship deployment information.
[0084] In this embodiment, the service provider can be a shipping company, an airline company, a carrier, etc.
[0085] In this embodiment, the ship deployment information is adjusted according to the real-time booking data to ensure sufficient capacity for high-demand shipping plans. For example, the way the service provider can adjust the capacity delivery strategy according to the real-time feedback data can be: increasing the capacity of popular shipping plans and reducing the capacity of low-demand shipping plans.
[0086] In a specific example, if the booking volume of a certain shipping plan suddenly increases, the application party automatically identifies and feeds it back to the service party.
[0087] In this embodiment, based on the behavioral data of the downstream application party, basic data such as shift planning, booking data, and inquiry behavior data are provided for the service party, forming a two-way drive and closed-loop utilization of data, and optimizing the entire shipping data ecosystem.
[0088] In this embodiment, the application party can also provide multi-dimensional data visualization reports, such as the distribution of shipping plan capacity, market demand trends, cargo type distribution, etc. To help the service party and the application party better understand the market dynamics.
[0089] The technical solution of this embodiment obtains the cargo information input by the user; determines the matching rules corresponding to the cargo information and the weights of each matching item in the matching rules; based on the matching rules and the weights of each matching item in the matching rules, filters multiple shipping plans in the database to obtain the target shipping plan, which can improve the accuracy of the filtered target shipping plan and the efficiency of obtaining the target shipping plan at the same time.
[0090] Embodiment Two
[0091] Figure 2 It is a schematic structural diagram of a data processing device provided by an embodiment of the present invention. This embodiment is applicable to the situation of data processing. The device can be implemented in software and / or hardware, and the device can be integrated in any device that provides data processing functions, such as Figure 2 As shown, the data processing device specifically includes: an acquisition module 210, a determination module 220, and a screening module 230.
[0092] Among them, the acquisition module is used to acquire the cargo information input by the user;
[0093] The determination module is used to determine the matching rules corresponding to the cargo information and the weights of each matching item in the matching rules;
[0094] The screening module is used to filter multiple shipping plans in the database based on the matching rules and the weights of each matching item in the matching rules to obtain the target shipping plan.
[0095] The above product can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0096] Embodiment Three
[0097] Figure 3FIG. 0 shows a schematic structural diagram of an electronic device 10 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, for example, 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, for example, personal digital assistants, 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.
[0098] As Figure 3 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0099] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0100] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 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 11 executes the various methods and processes described above, such as the data processing method.
[0101] In some embodiments, the data processing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the data processing method by any other suitable means (e.g., by means of firmware).
[0102] The various embodiments of the systems and techniques described above in this document may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems on a chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0103] The computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0104] 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.
[0105] To provide for 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 for interaction with the user; for example, 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).
[0106] 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 the 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 by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0107] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via 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 may 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.
[0108] It should be understood that various forms of processes shown above can be used, steps can be reordered, added or deleted. For example, the steps described 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.
[0109] An embodiment of the present invention also provides a computer program product, including a computer program which, when executed by a processor, implements the data processing method according to any embodiment of the present invention.
[0110] In the process of implementing the computer program product, computer program code for performing the operations of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).
[0111] The above specific embodiments do not constitute a limitation to 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 principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A data processing method, characterized in that: include: Get the cargo information entered by the user; Determine the matching rule corresponding to the cargo information and the weight of each matching item in the matching rule; Based on the matching rules and the weights of the matching items in the matching rules, multiple shipping plans in the database are screened to obtain a target shipping plan.
2. The method according to claim 1, characterized in that The cargo information includes: transportation time; Based on the matching rules and the weights of the matching items in the matching rules, multiple shipping plans in the database are screened to obtain a target shipping plan, including: Determining the priority of each shipping plan in the database according to the transportation time; Based on the matching rules, the weights of the matching items in the matching rules and the priorities of the shipping plans in the database, multiple shipping plans in the database are screened to obtain a target shipping plan.
3. The method according to claim 2, characterized in that Prioritize each shipping plan in the database based on the transit time, including: If the transportation time is within the first time range, the booking volume of each shipping plan in the database is obtained, and the priority of the shipping plan in the database whose booking volume is greater than or equal to the set booking volume threshold is determined as the first priority, and the priority of the shipping plan in the database whose booking volume is less than the set booking volume threshold is determined as the second priority, wherein the first priority is higher than the second priority; If the transportation time is within the second time range, the operating cost of each shipping plan in the database is obtained, and the priority of the shipping plan in the database whose operating cost is less than the set cost threshold is determined as the first priority, and the priority of the shipping plan in the database whose operating cost is less than or equal to the set cost threshold is determined as the second priority, wherein the first priority is higher than the second priority, and the union of the first time range and the second time range is empty.
4. The method according to claim 2, characterized in that: The cargo information also includes: cargo weight, cargo volume, origin and destination; Based on the matching rule, the weight of each matching item in the matching rule and the priority of each shipping plan in the database, multiple shipping plans in the database are screened to obtain a target shipping plan, including: Filter each shipping plan in the database based on the departure place and the destination to obtain a first shipping plan set; Obtain the remaining capacity of each shipping plan in the first shipping plan set; The first shipping plan set is screened according to the cargo weight, the cargo volume and the remaining capacity of each shipping plan in the first shipping plan set to obtain a second shipping plan set; Based on the matching rule, the weight of each matching item in the matching rule and the priority of each shipping plan in the second shipping plan set, the shipping plans in the second shipping plan set are screened to obtain a target shipping plan.
5. The method according to claim 1, characterized in that: The cargo information includes: cargo type; Determining the matching rules corresponding to the cargo information and the weights of the matching items in the matching rules includes: If the cargo type is high-value cargo, the matching rule is determined to select a shipping plan whose transportation time is less than the time threshold and whose security type is high security; the weight of the transportation time is a first value, the weight of the security type is a second value, and the sum of the first value and the second value is equal to 1; If the cargo type is bulk cargo, the matching rule is determined as selecting a shipping plan whose remaining capacity is greater than the capacity threshold and whose operating cost is less than the set cost threshold; the weight of the remaining capacity is a third value, the weight of the operating cost is a fourth value, and the sum of the third value and the fourth value is equal to 1; If the cargo type is perishable cargo, the matching rule is determined to select a shipping plan with cold chain transportation capabilities, and the weight of cold chain transportation capabilities is 1.
6. The method according to claim 1, characterized in that Also includes: Sending the real-time booking data to the service provider so that the service provider can adjust the ship deployment information according to the real-time booking data; Receive the adjusted ship deployment information sent by the service provider; The shipping plan in the database is updated according to the adjusted ship deployment information.
7. A data processing device, characterized in that: include: The acquisition module is used to obtain the goods information input by the user; A determination module, used to determine the matching rule corresponding to the cargo information and the weight of each matching item in the matching rule; The screening module is used to screen multiple shipping plans in the database based on the matching rules and the weights of the matching items in the matching rules to obtain a target shipping plan.
8. 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 perform the data processing method according to any one of claims 1 to 6.
9. 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 data processing method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the data processing method according to any one of claims 1 to 6.