Method, device and equipment for displaying control of cargo information, and storage medium
By obtaining the resource quantity change function of the demand transportation tools, the display of cargo information is dynamically adjusted, which solves the problem of low resource utilization and improves the order completion efficiency and resource utilization of cargo information.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIANGSU ZHIJIAN LOGISTICS CO LTD
- Filing Date
- 2021-11-17
- Publication Date
- 2026-05-29
AI Technical Summary
In existing technologies, the methods for controlling the display of cargo information have failed to effectively improve the utilization rate of display resources and the efficiency of order completion, resulting in cargo information being left unused, occupying a large amount of system resources and wasting the carrier's time.
By obtaining the resource quantity change function of the demand transportation tools corresponding to the target cargo information, the display control of cargo information is carried out according to the resource quantity trend, including dynamic adjustment of display, cancellation of display and restoration of display.
It improved the accuracy of cargo information display and resource utilization, enhanced the efficiency of carriers in finding suitable cargo information, and improved the order completion efficiency of freight logistics.
Smart Images

Figure CN116151706B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of logistics technology, and in particular to a method, apparatus, equipment and storage medium for displaying and controlling cargo information. Background Technology
[0002] In the field of logistics technology, freight logistics is the process of organically combining functions such as transportation, storage, loading and unloading, packaging, distribution processing, delivery, and information processing to meet user requirements during the physical flow of goods from the place of origin to the place of destination, according to actual needs.
[0003] To facilitate cargo owners in posting cargo information and freight carriers in finding suitable cargo, there are corresponding freight matching websites or platforms for displaying cargo information. How to control the display of cargo information is key to improving the utilization rate of display resources and the efficiency of cargo order conversion. Summary of the Invention
[0004] This application provides a method, apparatus, equipment, and storage medium for displaying and controlling supply information, which can solve the problems in related technologies.
[0005] Firstly, a method for displaying and controlling cargo source information is provided. The method includes: acquiring target cargo source information, the target cargo source information including the model of the corresponding demand transportation vehicle and the loading time; acquiring the resource quantity trend of the demand transportation vehicle from the current time to the loading time based on the resource quantity change function corresponding to the model of the demand transportation vehicle; and controlling the display of the target cargo source information based on the resource quantity trend.
[0006] In one possible implementation, the display control of the target cargo information based on the resource quantity trend includes: when the resource quantity trend is decreasing in a first time period, displaying the target cargo information in the first time period, wherein the first time period is the time period between the current time and the loading time.
[0007] In one possible implementation, after displaying the target supply information during the first time period, the method further includes: when the resource quantity trend is upward during the second time period, canceling the display of the target supply information during the second time period, wherein the second time period is adjacent to the first time period and is located after the first time period.
[0008] In one possible implementation, after canceling the display of the target source information during the second time period, the method further includes: when the resource quantity trend is decreasing during the third time period, restoring the display of the target source information during the third time period, wherein the third time period is adjacent to the second time period and is located after the second time period.
[0009] In one possible implementation, the target source information is source information that has been displayed for a duration exceeding a time threshold, or source information that has not been displayed.
[0010] In one possible implementation, the target cargo information is the cargo information being displayed in the fourth time period, which is adjacent to and precedes the first time period, and the first time period is the time period between the current time and the loading time; the control of displaying the target cargo information based on the resource quantity trend includes: when the resource quantity trend in the first time period is increasing, canceling the display of the target cargo information in the first time period.
[0011] In one possible implementation, before obtaining the resource quantity trend of the demand transportation vehicle from the current time to the loading time based on the resource quantity change function corresponding to the model of the demand transportation vehicle, the method further includes: obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle, each of the multiple historical waybills including the transaction time, transportation route, and transaction resource quantity; obtaining statistical data for multiple target times based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills; obtaining time fitting indices corresponding to the multiple target times based on the statistical data, the time fitting indices indicating the transaction resource quantity trend of the corresponding target time; performing curve fitting on the time fitting indices corresponding to the multiple target times, and obtaining the resource quantity change function corresponding to the model of the demand transportation vehicle based on the curve fitting result.
[0012] In one possible implementation, obtaining statistical data for multiple target times based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills includes: obtaining the number of waybills, transportation mileage, and historical resource quantity for each target route in at least one target route corresponding to the multiple target times, based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills.
[0013] For any target time among the plurality of target times, the total number of waybills corresponding to any target time is obtained based on the number of waybills for each target route corresponding to any target time, and the total transportation mileage corresponding to any target time is obtained based on the transportation mileage for each target route corresponding to any target time.
[0014] Based on the number of waybills for each target route corresponding to any target time and the total number of waybills, obtain the ratio of the number of waybills for each target route corresponding to any target time; based on the transportation mileage for each target route corresponding to any target time and the total transportation mileage, obtain the ratio of the transportation mileage for each target route corresponding to any target time; based on the historical resource quantity for each target route corresponding to a first number of target times adjacent to any target time, obtain the ratio of the change in resource quantity for each target route corresponding to any target time.
[0015] The ratio of the number of waybills, the ratio of transportation mileage, and the ratio of changes in the number of resources for each target route corresponding to the multiple target times are used as the statistical data.
[0016] In one possible implementation, obtaining the time fitting index corresponding to each of the plurality of target times based on the statistical data includes: for any target time among the plurality of target times, using the ratio of the number of waybills and the ratio of transportation mileage for each target route corresponding to any target time as weighting coefficients, weighting and aggregating the ratio of resource quantity changes for at least one target route, and obtaining the weighted change ratio corresponding to any target time based on the weighted aggregation result; and obtaining the time fitting index corresponding to any target time based on the weighted change ratios corresponding to a second number of target times preceding any target time.
[0017] Secondly, a device for displaying and controlling supply information is provided, the device comprising:
[0018] The first acquisition module is used to acquire target cargo information, which includes the model of the corresponding required transportation vehicle and the loading time.
[0019] The second acquisition module is used to acquire the resource quantity trend of the demand transportation vehicle from the current time to the loading time based on the resource quantity change function corresponding to the model of the demand transportation vehicle;
[0020] The display module is used to control the display of the target source information based on the resource quantity trend.
[0021] In one possible implementation, the display module is used to display the target cargo information during the first time period when the resource quantity trend is decreasing, wherein the first time period is the time period between the current time and the loading time.
[0022] In one possible implementation, the display module is further configured to cancel the display of the target source information during the second time period when the resource quantity trend is upward, wherein the second time period is adjacent to and follows the first time period.
[0023] In one possible implementation, the display module is further configured to restore the display of the target source information during the third time period when the resource quantity trend is decreasing, the third time period being adjacent to and following the second time period.
[0024] In one possible implementation, the target source information is source information that has been displayed for a duration exceeding a time threshold, or source information that has not been displayed.
[0025] In one possible implementation, the target cargo information is the cargo information being displayed in the fourth time period, which is adjacent to and precedes the first time period, and the first time period is the time period between the current time and the loading time; the display module is used to cancel the display of the target cargo information in the first time period when the resource quantity trend is upward in the first time period.
[0026] In one possible implementation, the device further includes: a third acquisition module, configured to acquire multiple historical waybills corresponding to the model of the demand transportation vehicle, each of the multiple historical waybills including the transaction time, transportation route, and transaction resource quantity; based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills, acquire statistical data for multiple target times; based on the statistical data, acquire time fitting indices corresponding to the multiple target times respectively, the time fitting indices indicating the trend of the transaction resource quantity at the corresponding target times; perform curve fitting on the time fitting indices corresponding to the multiple target times respectively, and obtain the resource quantity change function corresponding to the model of the demand transportation vehicle based on the curve fitting result.
[0027] In one possible implementation, the third acquisition module is used to acquire the number of waybills, transportation mileage, and historical resource quantity of each target route in at least one target route corresponding to the plurality of target times, based on the transaction time, transportation route, and transaction resource quantity of the plurality of historical waybills.
[0028] For any target time among the plurality of target times, the total number of waybills corresponding to any target time is obtained based on the number of waybills for each target route corresponding to any target time, and the total transportation mileage corresponding to any target time is obtained based on the transportation mileage for each target route corresponding to any target time.
[0029] Based on the number of waybills for each target route corresponding to any target time and the total number of waybills, obtain the ratio of the number of waybills for each target route corresponding to any target time; based on the transportation mileage for each target route corresponding to any target time and the total transportation mileage, obtain the ratio of the transportation mileage for each target route corresponding to any target time; based on the historical resource quantity for each target route corresponding to a first number of target times adjacent to any target time, obtain the ratio of the change in resource quantity for each target route corresponding to any target time.
[0030] The ratio of the number of waybills, the ratio of transportation mileage, and the ratio of changes in the number of resources for each target route corresponding to the multiple target times are used as the statistical data.
[0031] In one possible implementation, the third acquisition module is configured to, for any one of the plurality of target times, use the ratio of the number of waybills and the ratio of transportation mileage for each target route corresponding to the any one target time as weighting coefficients, perform weighted aggregation on the resource quantity change ratio of the at least one target route, and obtain the weighted change ratio corresponding to the any one target time based on the weighted aggregation result; and obtain the time fitting index corresponding to the any one target time based on the weighted change ratios corresponding to a second number of target times prior to the any one target time.
[0032] Thirdly, a computer device is also provided, the computer device including a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor, so that the computer device implements the above-described method for displaying and controlling the source of goods information.
[0033] Fourthly, a computer-readable storage medium is also provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to enable a computer to implement the above-described method for displaying and controlling the source of goods information.
[0034] Fifthly, a computer program product or computer program is also provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform any of the above-described methods for displaying and controlling the source of goods information.
[0035] The technical solution provided in this application can bring at least the following beneficial effects:
[0036] The technical solution provided in this application controls the display of target cargo information based on the resource quantity trend corresponding to the target cargo information, making the displayed cargo information more accurate and improving the utilization rate of displayed resources. Furthermore, because the displayed cargo information reflects the corresponding resource quantity trend, it improves the efficiency of carriers in finding suitable cargo information, thereby increasing the order completion efficiency of freight logistics. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a schematic diagram of the implementation environment of a method for displaying and controlling the source of goods information provided in an embodiment of this application;
[0039] Figure 2 This is a flowchart illustrating a method for controlling the display of product information provided in an embodiment of this application;
[0040] Figure 3 This is a flowchart illustrating a function for obtaining changes in the quantity of resources, provided in an embodiment of this application.
[0041] Figure 4 This is a schematic diagram of a product information display and control device provided in an embodiment of this application;
[0042] Figure 5 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application;
[0043] Figure 6 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0045] The terms "first," "second," etc., used in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in sequences other than those illustrated or described herein.
[0046] First, a brief introduction will be given to the application scenarios of the method for displaying and controlling the source of goods information provided in the embodiments of this application.
[0047] In the field of logistics technology, especially in long-haul truck freight, due to the varying sizes of goods, diverse storage requirements, large and fluctuating transaction volumes, drivers (or carriers) need to spend a considerable amount of time searching for suitable cargo information. Therefore, to facilitate cargo owners in posting cargo information or to help carriers find suitable cargo, corresponding websites or platforms exist, such as freight matching websites or platforms. Cargo owners use these websites or platforms to post cargo information for other cargo owners or carriers to browse.
[0048] There may be situations where some cargo information has been displayed for a long time but has not yet resulted in any orders. These are referred to as "stuck cargo information." In this case, the display of this stuck cargo information will continuously occupy the display resources of the freight matching website or platform. Moreover, this stuck cargo information is likely to be viewed by a large number of carriers, thereby consuming a lot of system processing resources and network traffic resources, and wasting the carriers' browsing time. It is possible that the carriers will miss suitable cargo information that they have not yet viewed because they have viewed a lot of stuck cargo information.
[0049] Furthermore, the resources (or display slots) for displaying product information on distribution websites or platforms are limited. Therefore, how to control the display of product information, that is, how to allocate display resources more rationally for product information, has become an urgent problem to be solved.
[0050] Based on this, this application provides a method for controlling the display of cargo information. This method can control the display of cargo information according to the resource quantity trend of the demand transportation corresponding to the cargo information, so that the cargo information occupying the display resources is the cargo information with a relatively high order completion rate, thereby improving the utilization rate of display resources and the order completion efficiency of cargo information.
[0051] Next, the implementation environment of the method for displaying and controlling the source of goods information provided in the embodiments of this application will be introduced. Figure 1 A schematic diagram of the implementation environment for the method for displaying and controlling the source of goods information provided in this application embodiment is shown. The implementation environment includes: computer equipment 101.
[0052] In one possible implementation, the computer device 101 is equipped with a freight matching website or freight matching platform application. The freight matching website or freight matching platform includes a display interface for displaying freight information. Carriers can select suitable freight information by browsing the display interface. The freight information includes, but is not limited to, the model of the required transportation vehicle and the loading time. Optionally, it may also include at least one of the following: loading location, unloading location, type of goods, volume of goods, weight of goods, transit time, special requirements, or quantity of waybill resources.
[0053] In one possible implementation, computer device 101 can refer to either a terminal or a server. For example, a terminal can be any electronic product capable of human-computer interaction with a user through one or more methods such as a keyboard, touchpad, touchscreen, remote control, voice interaction, or handwriting device, such as a personal computer (PC), smartphone, personal digital assistant (PDA), wearable device, pocket PC (PPC), tablet computer, smart car system, etc. A server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms.
[0054] Those skilled in the art should understand that the computer device 101 described above is merely an example, and other existing or future computer devices that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0055] Based on the above Figure 1 The implementation environment shown in this application embodiment provides a method for displaying and controlling supply information. This method is applied to a computer device 101, which can be a terminal or a server; this application embodiment does not limit this. Figure 2 As shown in the embodiments of this application, the method for displaying and controlling the source of goods information includes the following steps 201-203.
[0056] Step 201: Obtain target cargo information, which includes the model of the corresponding required transportation vehicle and the loading time.
[0057] This application does not limit the method of obtaining the target source information. Optionally, the target source information may be any source information that is not displayed, or any source information that is currently displayed, or any source information that has been displayed but has been de-displayed.
[0058] In one possible implementation, obtaining target product information includes: retrieving target product information whose display time exceeds a duration threshold from multiple currently displayed product information. The duration threshold can be set based on experience or flexibly adjusted according to the application scenario; for example, the duration threshold could be 2 days.
[0059] Optionally, the freight matching website or platform can record the display control duration of freight information. This allows them to access the display control duration of all currently displayed freight information through their database, and subsequently identify freight information whose display duration exceeds a certain threshold. It's understood that currently displayed freight information refers to freight for which no shipping order has yet been generated. If the display control duration of a freight information exceeds the threshold—meaning that no shipping order has been generated even after the threshold has been reached—it indicates a low probability of a successful order. Therefore, adjustments should be made to freight information with display durations exceeding the threshold to improve the utilization rate of display resources.
[0060] In one possible implementation, retrieving product information whose display duration exceeds a time threshold from a plurality of currently displayed product information includes: retrieving product information whose display duration exceeds the time threshold from a plurality of currently displayed product information when a activation condition is met. Optionally, this application embodiment does not limit the activation condition. For example, the activation condition can be reaching midnight every day, or it can be every set period. The set period can be set based on experience or flexibly adjusted according to the application scenario; for example, the set period is 2 days.
[0061] Step 202: Based on the resource quantity change function corresponding to the model of the demand transportation vehicle, obtain the resource quantity trend of the demand transportation vehicle from the current time to the loading time.
[0062] In one possible implementation, since the cargo source information includes the model of the required transportation vehicle and the loading time, only transportation vehicles matching the model of the required transportation vehicle can form a waybill with the cargo source information. Optionally, the resource quantity change function corresponding to the model of the required transportation vehicle is obtained by fitting the resource quantity change of historical waybills. Therefore, based on the resource quantity change function corresponding to the model of the required transportation vehicle, the future resource quantity trend of the required transportation vehicle can be predicted, that is, the resource quantity trend of the required transportation vehicle from the current time to the loading time can be obtained.
[0063] Optionally, the trend of the resource quantity of demand transportation tools includes both upward and downward trends. When the resource quantity trend is upward, it means that the number of transaction resources for that demand transportation tool is increasing. For example, if the number of transportation tools under that model is small, the number of transaction resources for that demand transportation tool will increase. In this case, the probability of the cargo information for that demand transportation tool being sold is low. When the resource quantity trend is downward, it means that the number of transaction resources for that demand transportation tool is decreasing. In this case, the probability of the cargo information for that demand transportation tool being sold is high.
[0064] In one possible implementation, before obtaining the resource quantity trend of the demand transportation vehicle from the current time to the loading time based on the resource quantity change function corresponding to the model of the demand transportation vehicle, the method further includes: obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle; and obtaining the resource quantity change function corresponding to the model of the demand transportation vehicle based on the multiple historical waybills corresponding to the model of the demand transportation vehicle.
[0065] In this application embodiment, different types of transportation vehicles correspond to different models. For example, different types of transportation vehicles include different types of freight trucks, different types of automobiles, different types of ships, or different types of aircraft. Optionally, this application embodiment does not limit the way of classifying transportation vehicle models. Optionally, the models of transportation vehicles can be pre-set according to actual conditions. Taking different types of freight trucks as an example, different models of freight trucks can be classified according to the length of the freight truck (e.g., 4.5 meters, 9.6 meters, or 17.5 meters, etc.) or according to the load capacity (e.g., 3 tons, 10 tons, or 20 tons, etc.).
[0066] In one possible implementation, the database of the freight matching website or platform includes all historical waybills. Each historical waybill includes, but is not limited to, various information related to cargo transportation. Optionally, each historical waybill includes at least one of the following: the model of the transportation vehicle that completed the waybill task, the quantity of resources acquired, the transaction time, the transportation route, the transportation mileage, or cargo information. The transportation route includes, but is not limited to, the loading location and the unloading location.
[0067] In one possible implementation, each historical waybill includes the model of the vehicle that completed the waybill task. Therefore, all the multiple historical waybills can be classified according to the different models of the vehicles to obtain multiple historical waybills corresponding to any model of vehicle. For example, multiple historical waybills corresponding to the model of the vehicle in demand can be obtained, and all of these multiple historical orders are completed by vehicles of the model of the vehicle in demand.
[0068] In one possible implementation, obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle includes: obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle according to filtering criteria. Optionally, the filtering criteria can be time-related criteria, for example, obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle from all multiple historical waybills within two years prior to the current time; the filtering criteria can also be quality-related criteria, for example, obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle from all multiple historical waybills that meet quality criteria, wherein the quality criteria can include at least one of the following: on-time completion rate of waybills, online rate of transportation vehicles, number of speeding incidents, or number of times of fatigued driving.
[0069] In one possible implementation, after obtaining multiple historical waybills corresponding to the model of any means of transport, the resource quantity change function corresponding to the model of any means of transport can be obtained based on the multiple historical waybills corresponding to the model of any means of transport.
[0070] For example, taking the model of the transport vehicle as the model of the demand transport vehicle, each historical waybill includes the quantity of resources transacted, the transacting time, the transport route, and the transport mileage. See also Figure 3 Based on multiple historical waybills corresponding to the model of the demand transportation vehicle, obtain the resource quantity change function of the demand transportation vehicle, including but not limited to the following steps 2021-2023.
[0071] Step 2021: Based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, obtain statistical data at multiple target times.
[0072] In one possible implementation, the statistical data includes the ratio of the number of waybills, the ratio of transportation mileage, and the ratio of changes in the amount of resources for each target route corresponding to multiple target times.
[0073] In one possible implementation, multiple target times are obtained based on the transaction times of multiple historical waybills. This application does not limit the granularity of the target times; for example, the granularity can be daily or hourly. It is understood that the granularity of the obtained statistical data will differ depending on the granularity of the target times. For example, when the target time granularity is daily, the obtained statistical data corresponds to each day of the multiple days; when the target time granularity is hourly, the obtained statistical data corresponds to each hour of the multiple hours. The smaller the granularity of the target times, the more accurate the fitted resource quantity change function. Of course, a smaller granularity of the target times requires a larger number of historical waybills to cover each target time.
[0074] In one possible implementation, multiple target routes are obtained based on the transportation routes of multiple historical waybills. This application does not limit the method of dividing each target route. For example, target routes can be directly divided based on the transportation routes included in historical waybills; in this case, the transportation routes are the corresponding target routes. Another example is that target routes can be divided based on pre-defined administrative regions or custom regions. In this case, the hierarchical relationships between regions need to be utilized to correspond the loading and unloading locations included in the transportation routes with the pre-defined administrative regions or custom regions, thereby dividing the transportation routes in historical waybills according to different target routes.
[0075] For example, if a historical waybill's transportation route is from City B in Province A to City D in Province C, then when the target route is directly divided according to this transportation route, the target route to which this historical waybill belongs is: City B in Province A to City D in Province C; when the target route is divided according to city-level regions, the target route to which this historical waybill belongs is: Province A to Province C. It can be understood that the granularity of the target route from City B in Province A to City D in Province C is finer than the granularity of the target route from Province A to Province C. The finer the granularity of the target route, the fewer waybills are on that target route.
[0076] In one possible implementation, the number of historical resources is obtained based on the transaction resource quantities of multiple historical waybills. This application does not limit the implementation method for obtaining the number of historical resources. For example, the number of historical resources can be the median of the transaction resource quantities of at least one historical waybill included in each target route under each target time. For instance, if a target route under a certain target time includes three historical waybills with transaction resource quantities of 600 yuan, 610 yuan, and 660 yuan respectively, then the historical resource quantity of that target route under that target time is 610 yuan. As another example, the number of historical resources can be the average of the transaction resource quantities of at least one historical waybill included in each target route under each target time. For instance, if a target route under a certain target time includes two historical waybills with transaction resource quantities of 220 yuan and 250 yuan respectively, then the historical resource quantity of that target route under that target time is the value of (220+250) / 2, which is 235 yuan.
[0077] Next, we will explain the three parts: the ratio of the number of waybills, the ratio of transportation mileage, and the ratio of changes in the number of transaction resources for each target route corresponding to multiple target times, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills.
[0078] First, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, the ratio of the number of waybills for each target route corresponding to multiple target times is obtained. Here, the waybill quantity ratio refers to the ratio of the number of waybills corresponding to each target route at any target time to the total number of waybills corresponding to all target routes at any target time.
[0079] Optionally, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, the ratio of the number of waybills for each target route corresponding to multiple target times is obtained, including: based on the transaction time and transportation route of multiple historical waybills, obtaining the number of waybills for each target route in at least one target route corresponding to multiple target times; for any target time among multiple target times, obtaining the total number of waybills corresponding to any target time based on the number of waybills for each target route corresponding to any target time; and obtaining the ratio of the number of waybills for each target route corresponding to any target time to the total number of waybills based on the number of waybills for each target route corresponding to any target time.
[0080] In one possible implementation, after obtaining the number of waybills for each target route corresponding to at least one target route for multiple target times, the method further includes: resetting the number of waybills less than a valid threshold to zero. The valid threshold can be set empirically or flexibly adjusted according to the application scenario; for example, the valid threshold can be 1.
[0081] In one possible implementation, obtaining the total number of waybills corresponding to any target time based on the number of waybills for each target route corresponding to any target time includes: summing the number of waybills for each target route corresponding to any target time as the total number of waybills corresponding to any target time.
[0082] In one possible implementation, the ratio of the number of waybills for any target route corresponding to any target time can be calculated according to the following formula (1):
[0083]
[0084] Where i represents the ID corresponding to the target time, j represents the ID corresponding to the target route, n represents the total number of target times, and d represents the total number of target routes. i,j wc represents the number of waybills on the j-th target route at the i-th target time. i,j This represents the ratio of the number of waybills on the j-th target route at the i-th target time to the total number of waybills at the i-th target time.
[0085] For example, taking daily target time and transportation routes as the target routes, the number of waybills for multiple transportation routes corresponding to multiple days can be obtained as shown in Table 1. The multiple target times are March 4, 2021, March 5, 2021, and March 6, 2021, and at least one target route is one of the following five transportation routes: Beijing-Hangzhou, Hangzhou-Shanghai, Baoding-Shijiazhuang, Dunhuang-Tianjin, and Tangshan-Beijing. For example, the number of waybills shipped from Beijing to Hangzhou on March 5, 2021 is 10.
[0086] Table 1
[0087]
[0088] For example, taking an effective threshold of 2 as an example, the data in Table 1 is processed based on the effective threshold, that is, the number of waybills less than 2 is reduced to zero. Then the number of waybills for multiple transportation routes corresponding to multiple days can be obtained as shown in Table 2.
[0089] Table 2
[0090]
[0091] For example, the ratio of the number of waybills for each transportation route on each day to the total number of waybills included on that day can be calculated, as shown in Table 3. For example, the ratio of waybills from Beijing to Hangzhou on March 4, 2021 is: 8 / (8+2+9) = 8 / 19.
[0092] Table 3
[0093]
[0094] Thus, the ratio of the number of waybills for each target route corresponding to multiple target times was obtained.
[0095] Secondly, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, the transportation mileage ratio for each target route corresponding to multiple target times is obtained. The transportation mileage ratio refers to the ratio of the transportation mileage corresponding to each target route at any target time to the total transportation mileage corresponding to all target routes at any target time.
[0096] Optionally, based on the transaction time and transportation route of multiple historical waybills, the transportation mileage ratio of each target route corresponding to multiple target times is obtained, including: based on the transaction time and transportation route of multiple historical waybills, the transportation mileage of each target route in at least one target route corresponding to multiple target times is obtained; for any target time among multiple target times, the total transportation mileage corresponding to any target time is obtained based on the transportation mileage of each target route corresponding to any target time; and the transportation mileage ratio of each target route corresponding to any target time is obtained based on the transportation mileage of each target route corresponding to any target time and the total transportation mileage.
[0097] This application does not limit the implementation method of obtaining the transportation mileage of each target route corresponding to multiple target times, as long as the obtained transportation mileage can indicate the distance of the target route. For example, navigation technology or any technology capable of calculating distance can be used to obtain the transportation mileage of each target route. For instance, the loading and unloading locations corresponding to the target route can be input into the starting point and ending point in the navigation system, and the navigation system can calculate a distance value, which is the transportation mileage of the target route.
[0098] Another example is to obtain the transportation mileage of each target route based on the average actual transportation mileage of at least one historical waybill included in each target route, or to obtain the transportation mileage of each target route based on the median actual transportation mileage of at least one historical waybill included in each target route.
[0099] In one possible implementation, the total transportation mileage corresponding to multiple target times is obtained based on the transportation mileage of each target route corresponding to multiple target times, including: calculating the sum of the transportation mileage of all target routes corresponding to each target time, and using the sum as the total transportation mileage corresponding to each target time.
[0100] In one possible implementation, the ratio of transport mileage for any target route corresponding to any target time can be calculated according to the following formula (2):
[0101]
[0102] Where i represents the ID corresponding to the target time, j represents the ID corresponding to the target route, n represents the total number of target times, and d represents the total number of target routes. i,j wd represents the transportation mileage of the j-th target route at the i-th target time. i,j This represents the ratio of the transport mileage of the j-th target route at the i-th target time to the total transport mileage at the i-th target time.
[0103] In one possible implementation, the ratio of transport mileage for any target route corresponding to any target time can also be calculated according to the following formula (3):
[0104]
[0105] Where i represents the ID corresponding to the target time, j represents the ID corresponding to the target route, n represents the total number of target times, and d represents the total number of target routes. i,j wd represents the transportation mileage of the j-th target route at the i-th target time. i,j This represents the ratio of the transport mileage of the j-th target route at the i-th target time to the total transport mileage at the i-th target time. log represents the logarithmic operation, and e is a natural constant. For example, e = 2.71828… is an irrational number.
[0106] In this embodiment of the application, formula (3) performs logarithmic adjustment on the obtained transportation mileage through logarithmic operation. The purpose of logarithmic adjustment is to reduce the difference between long and short mileages after weighting, so as to obtain a more optimized transportation mileage ratio. That is, the transportation mileage ratio obtained by formula (3) is: the ratio of the logarithmic distance of each target route at any target time after weight normalization to the total logarithmic distance of all target routes at any target time.
[0107] Subsequently, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, the resource quantity change ratio for each target route corresponding to multiple target times is obtained. Here, the resource quantity change ratio for each target route refers to the ratio of the historical resource quantity of each target route at any given target time to the historical resource quantity of each target route at adjacent target times.
[0108] Optionally, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, the resource quantity change ratio of each target route corresponding to multiple target times is obtained, including: based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills, the historical resource quantity of each target route in at least one target route corresponding to multiple target times is obtained; for any target time among multiple target times, based on the historical resource quantity of each target route corresponding to a first number of target times adjacent to any target time, the resource quantity change ratio of each target route corresponding to any target time is obtained.
[0109] Optionally, the first quantity can be set based on experience or flexibly adjusted according to the application scenario; for example, the first quantity can be 2. This application does not limit the implementation method for obtaining the resource quantity change ratio for each target route corresponding to any target time, as long as the obtained resource quantity change ratio can reflect the change in resource quantity.
[0110] For example, if the first quantity is 2, obtaining the resource quantity change ratio for each target route corresponding to any target time includes: for any target route, obtaining the ratio of the historical resource quantity corresponding to any target route at any target time to the historical resource quantity corresponding to any target route at the next adjacent target time, and obtaining the resource quantity change ratio corresponding to any target route at any target time based on the ratio result; or, obtaining the ratio of the historical resource quantity corresponding to any target route at any target time to the historical resource quantity corresponding to any target route at the previous adjacent target time, and obtaining the resource quantity change ratio corresponding to any target route at any target time based on the ratio result.
[0111] In another example, if the first quantity is 3, the three adjacent target times can be represented as the first target time, the second target time, and the third target time, respectively. Obtaining the resource quantity change ratio for each target route corresponding to any target time includes: obtaining the difference between the historical resource quantity corresponding to each target route under the first target time and the historical resource quantity corresponding to each target route under the second target time as the first difference value; obtaining the difference between the historical resource quantity corresponding to each target route under the second target time and the historical resource quantity corresponding to each target route under the third target time as the second difference value; and using the ratio of the first difference value to the second difference value as the resource quantity change ratio for any target time.
[0112] In one possible implementation, taking a first quantity of 2 as an example, the ratio of resource quantity change at any target time can be calculated according to the following formula (4):
[0113]
[0114] Where i represents the number corresponding to the target time, j represents the number corresponding to the target route, n represents the total number of target times, and d represents the total number of target routes. i,j p represents the number of historical resources at the i-th target time under the j-th target route. i+1,j PT represents the historical resource quantity at the (i+1)th target time under the j-th target route. i+1,j PT represents the ratio of the number of historical resources at the (i+1)th target time to the number of historical resources at the ith target time under the j-th target route. 1,j =1 indicates that the ratio of the change in the historical resource quantity at the 1st target time to the 0th target time under the j-th target route is 1.
[0115] Step 2022: Obtain the time fitting index corresponding to multiple target times based on statistical data.
[0116] Optionally, the time fit index corresponding to any target time is used to indicate the trend of the number of traded resources at any target time.
[0117] In one possible implementation, statistical data can be obtained through the above step 2021, and time fitting indices corresponding to multiple target times can be obtained based on the statistical data. This includes: for any target time among multiple target times, using the ratio of the number of waybills and the ratio of transportation mileage for each target route corresponding to any target time as weighting coefficients, weighting and aggregating the ratio of resource quantity changes for at least one target route, and obtaining the weighted change ratio corresponding to any target time based on the weighted aggregation result; and obtaining the time fitting index corresponding to any target time based on the weighted change ratios corresponding to a second number of target times prior to any target time.
[0118] In one possible implementation, the weighted change ratio corresponding to any target time can be calculated based on statistical data according to the following formula (5):
[0119]
[0120] Where i represents the ID corresponding to the target time, j represents the ID corresponding to the target route, n represents the total number of target times, and d represents the total number of target routes. i,j This represents the ratio of the number of waybills on the j-th target route at the i-th target time to the total number of waybills at that i-th target time, i.e., the waybill quantity ratio; wd i,j PT represents the ratio of the transport mileage of the j-th target route at the i-th target time to the total transport mileage at that i-th target time, i.e., the transport mileage ratio; i,j This represents the ratio of the historical resource quantity at the ith target time to the (i-1)th target time under the j-th target route, i.e., the ratio of historical resource quantity changes; PW i This represents the weighted change ratio for the i-th target time.
[0121] Optionally, the weighted change ratios corresponding to multiple target times can be calculated using formula (5). For example, if the granularity of the target time is daily, and the current date is April 22, the weighted change ratios corresponding to April 21 and each day before April 21 can be calculated using formula (5). For example, the weighted change ratios corresponding to April 21, April 20, or April 19.
[0122] In one possible implementation, the time fit index corresponding to any target time is obtained based on the weighted change ratios corresponding to a second number of target times before any target time, including: obtaining the weighted change ratios corresponding to the second number of target times before any target time; accumulating the weighted change ratios corresponding to the second number of target times before any target time to obtain the time fit index corresponding to any target time.
[0123] Optionally, the second number of target times preceding any target time can be either the second number of adjacent target times preceding any target time or the second number of non-adjacent target times preceding any target time. This application embodiment does not limit this.
[0124] In one possible implementation, the second quantity can be set based on experience or flexibly adjusted according to the application scenario; for example, the second quantity can be 5. For instance, the first target time is the time closest to the current time. If the current time is February 11th, then the first target time can be February 10th. The five target times preceding the first target time can refer to February 9th, February 8th, February 7th, February 6th, and February 5th. In this case, it is necessary to obtain the weighted change ratios corresponding to February 9th, February 8th, February 7th, February 6th, and February 5th respectively. Optionally, if February 8th does not include historical waybills corresponding to the model of the transportation vehicle in question, then the second number of target times preceding the first target time can refer to February 9th, February 7th, February 6th, February 5th, and February 4th.
[0125] In one possible implementation, the time fit index corresponding to any target time can be obtained according to formula (6):
[0126]
[0127] Where i represents the number corresponding to the target time, t represents the second quantity, it represents the number corresponding to the it-th target time, and PW i z represents the weighted change ratio for the i-th target time. i It represents the time fit index corresponding to the i-th target time.
[0128] In one possible implementation, the time fitting index obtained by formula (6) usually has a certain degree of fluctuation, that is, the time fitting index is not smooth. Optionally, after obtaining the time fitting index corresponding to any target time by formula (6), the obtained time fitting index can be smoothed, and the smoothed time fitting index can be used as the final time fitting index corresponding to any target time.
[0129] The embodiments of this application do not limit the smoothing method. For example, the smoothing method can be EWMA (Exponentially Weighted Moving-Average), or it can be a filtering technique such as mean filtering, median filtering, or Gaussian filtering.
[0130] In one possible implementation, taking EWMA as an example of a smoothing method, the time fit index corresponding to each target time can be calculated according to formula (7):
[0131]
[0132] Where i represents the number corresponding to the target time, t represents the number of references, it represents the number corresponding to the it-th target time, and z i y represents the raw time index corresponding to the i-th target time. i Let α represent the time fitting exponent corresponding to the i-th target time, and let α represent the decay coefficient. The decay coefficient can be set empirically or flexibly adjusted according to the application scenario; for example, α = 0.6.
[0133] Therefore, by using the steps 2021 and 2022 above, we can obtain the time fitting index corresponding to multiple target times for each model of the transportation vehicle.
[0134] Step 2023: Perform curve fitting on the time fitting indices corresponding to multiple target times, and obtain the resource quantity change function corresponding to the model of the demand transportation vehicle based on the curve fitting results.
[0135] This application does not limit the curve fitting method used. For example, the least squares method can be used to perform curve fitting on the time fitting indices corresponding to multiple target times. Optionally, the fitting curve obtained by curve fitting the time fitting indices corresponding to multiple target times is the fitting function corresponding to the resource quantity change function corresponding to the model of the demand transportation tool.
[0136] For example, taking multiple target times, including five target times, as an example, the process of using the least squares method to fit the time fitting index corresponding to the five target times to obtain the fitting curve is explained.
[0137] This application does not limit the order of the fitted curve y = f(x) used. Optionally, when the order is 1, f(x) = ax + b, and when the order is 2, f(x) = ax + b. 2 +bx+c, when the order is 3, f(x)=ax 3 +bx 2 +cx+d. Where a, b, c, and d represent different coefficients.
[0138] For example, taking a fitted curve y = f(x) of order 2 as an example, the fitted curve in this case is: f(x) = ax 2 +bx+c. In this embodiment of the application, the time fitting index corresponding to the five target times can be calculated by formula (6) or formula (7). The time fitting index corresponding to the five target times can be represented as y1, y2, y3, y4, and y5, respectively. Therefore, a system of univariate quadratic polynomial equations can be created based on y1, y2, y3, y4, and y5. The system of univariate quadratic polynomial equations includes five polynomial equations as shown below.
[0139]
[0140] In this embodiment, the least squares method is used to solve the above-mentioned system of univariate quadratic polynomial equations, and the values of coefficients a, b, and c can be calculated. If the coefficients obtained from solving the above-mentioned system of univariate quadratic polynomial equations are a = 3, b = 4, and c = 5, then the fitting function y = 3x for the time fitting exponent corresponding to the five target times can be obtained. 2 +4x+5, this fitting function is the resource quantity change function corresponding to the model of the transportation tool required.
[0141] Therefore, through steps 2021-2023 above, the resource quantity change function corresponding to the model of the demand transportation vehicle was obtained. Since the resource quantity change function corresponding to the model of the demand transportation vehicle is used to predict the trend of the resource quantity of that demand transportation vehicle, the future resource quantity trend of that demand transportation vehicle can be obtained based on the resource quantity change function corresponding to the model of the demand transportation vehicle.
[0142] For example, the resource quantity change function corresponding to the model of the demand transportation vehicle is y = f(x) = ax 2 +bx+c, since the resource quantity change function is obtained by fitting the time fitting index corresponding to the above 5 target times, the time fitting index corresponding to the next target time is y6=f(6). If the value of y6 is positive, it means that the resource quantity trend of the next target time corresponding to the model of the demand transportation tool is rising. If the value of y6 is negative, it means that the resource quantity trend of the next target time of the demand transportation tool is falling.
[0143] Step 203: Display and control the target cargo information based on the resource quantity trend.
[0144] In one possible implementation, the display control of target cargo information based on resource quantity trends includes: displaying target cargo information within a first time period when the resource quantity trend is decreasing. The first time period is the time period between the current time and the loading time. Optionally, the first time period can be any sub-time period between the current time and the loading time, or it can be the entire time period between the current time and the loading time.
[0145] Understandably, the granularity of the time period is the same as the granularity of the target time. If the granularity of the target time is daily, then the time period refers to at least one day; if the granularity of the target time is hourly, then the time period refers to at least one hour.
[0146] For example, taking a scenario where the target cargo information is not the currently displayed cargo information, and the target time is a date, if the current time is May 17th, the loading time is May 19th, the time fit index for May 17th is -3%, meaning the resource quantity trend on May 17th is decreasing; the time fit index for May 18th is -10%, meaning the resource quantity trend on May 18th is decreasing; and the time fit index for May 19th is -5%, meaning the resource quantity trend on May 19th is decreasing. In other words, the resource quantity trends for May 17th, May 18th, and May 19th are all decreasing. Therefore, the first time period is from May 17th to May 19th, and the target cargo information will be displayed from May 17th to May 19th. Since the resource quantity trend for this target cargo information is decreasing between May 17th and May 19th, it indicates a high success rate for the target cargo information. Displaying this target cargo information at this time makes it easier for carriers to find the target cargo information in a timely manner.
[0147] In one possible implementation, after displaying the target supply information during the first time period, the method further includes: if the resource quantity trend is upward during the second time period, canceling the display of the target supply information during the second time period. The second time period is adjacent to and follows the first time period.
[0148] In this scenario, the period between the current time and the loading time includes both a first time period where the resource quantity trend is decreasing and a second time period where the resource quantity trend is increasing. In this case, the first time period can be any sub-time period between the current time and the loading time, and the second time period is another sub-time period following the first time period.
[0149] For example, taking the target cargo information as not being the currently displayed cargo information, and the target time as a date, if the current time is May 17th, the loading time is May 19th, the time fit index for May 17th is -3%, meaning the resource quantity trend on May 17th is decreasing, the time fit index for May 18th is 10%, meaning the resource quantity trend on May 18th is increasing, and the time fit index for May 19th is 5%, meaning the resource quantity trend on May 19th is increasing, then the first time period is May 17th, and the second time period is from May 18th to May 19th. In this case, the target cargo information is displayed on May 17th, and the display of the target cargo information is canceled from May 18th to May 19th.
[0150] In one possible implementation, after canceling the display of the target supply information during the second time period, the method further includes: when the resource quantity trend is decreasing during the third time period, restoring the display of the target supply information during the third time period. The third time period is adjacent to and follows the second time period.
[0151] In this scenario, the period between the current time and the loading time includes a first time period where the resource quantity trend is decreasing, a second time period where the resource quantity trend is increasing, and a third time period where the resource quantity trend is decreasing. In this case, the first time period can be any sub-time period between the current time and the loading time, the second time period is another sub-time period following the first time period, and the third time period is another sub-time period following the second time period.
[0152] For example, taking the target cargo information as not being the currently displayed cargo information, and the target time as a date, if the current time is May 17th, the loading time is May 19th, the time fit index for May 17th is -3%, meaning the resource quantity trend on May 17th is decreasing, the time fit index for May 18th is 10%, meaning the resource quantity trend on May 18th is increasing, and the time fit index for May 19th is -5%, meaning the resource quantity trend on May 19th is decreasing, then the first time period is May 17th, the second time period is May 18th, and the third time period is May 19th. In this case, the target cargo information is displayed on May 17th, the display of the target cargo information is canceled on May 18th, and the display of the target cargo information is restored on May 19th.
[0153] In one possible implementation, the target source information is the source information being displayed in the fourth time period, which is adjacent to and precedes the first time period; the display control of the target source information is based on the resource quantity trend, including: when the resource quantity trend in the first time period is increasing, canceling the display of the target source information in the first time period.
[0154] The first time period is the time period between the current time and the loading time. Optionally, the first time period can be any sub-time period between the current time and the loading time, or it can be the entire time period between the current time and the loading time.
[0155] For example, taking the target cargo information as cargo information displayed starting from May 16th, and the target time as the date, if the current time is May 17th, the loading time is May 19th, the time fit index for May 17th is 3%, meaning the resource quantity trend on May 17th is upward; the time fit index for May 18th is 10%, meaning the resource quantity trend on May 18th is upward; and the time fit index for May 19th is 5%, meaning the resource quantity trend on May 19th is upward. In other words, the resource quantity trends on May 17th, May 18th, and May 19th are all upward. Therefore, the fourth time period is May 16th, and the first time period is from May 17th to May 19th. For the target cargo information displayed on May 16th, the display of the target cargo information will be canceled from May 17th to May 19th. Since the quantity of resources for this target source information showed an upward trend between May 17th and May 19th, indicating a low order conversion rate, the display of this target source information will be cancelled.
[0156] Optionally, the display control bit for displaying the target product information can be used to display other product information. In this embodiment, product information with an increasing trend in the number of displayed resources is removed, preventing product information with a low conversion rate from occupying display resources for a long time and improving the utilization rate of display resources.
[0157] In this embodiment, the use of cargo information for display resources is adjusted according to the trend of resource quantity, which avoids cargo information with low order conversion rate occupying display resources. This allows carriers to find suitable cargo information without having to browse cargo information with low order conversion rate, thereby reducing the number of times and time that carriers browse cargo information, which reduces the consumption of system processing resources and network traffic resources.
[0158] The cargo information display control method provided in this application controls the display of target cargo information based on the resource quantity trend corresponding to the target cargo information, making the displayed cargo information more accurate and improving the utilization rate of displayed resources. Furthermore, since the displayed cargo information reflects the corresponding resource quantity trend, it improves the efficiency of carriers in finding suitable cargo information, thereby increasing the order completion efficiency of freight logistics.
[0159] See Figure 4 This application provides a device for displaying and controlling the source of goods information, the device comprising:
[0160] The first acquisition module 401 is used to acquire target cargo information, which includes the model of the corresponding required transportation vehicle and the loading time.
[0161] The second acquisition module 402 is used to acquire the resource quantity trend of the demand transportation vehicle from the current time to the loading time based on the resource quantity change function corresponding to the model of the demand transportation vehicle;
[0162] Display module 403 is used to control the display of target cargo information based on resource quantity trends.
[0163] In one possible implementation, the display module 403 is used to display target cargo information during a first time period when the trend of the quantity of resources during the first time period is downward. The first time period is the time period between the current time and the loading time.
[0164] In one possible implementation, the display module 403 is further configured to cancel the display of the target source information during the second time period when the resource quantity trend is upward. The second time period is adjacent to the first time period and is located after the first time period.
[0165] In one possible implementation, the display module 403 is further configured to restore the display of the target source information during the third time period when the resource quantity trend is decreasing. The third time period is adjacent to the second time period and is located after the second time period.
[0166] In one possible implementation, the target source information is source information that has been displayed for a duration exceeding a time threshold, or source information that has not been displayed.
[0167] In one possible implementation, the target cargo information is the cargo information being displayed in the fourth time period. The fourth time period is adjacent to and precedes the first time period, which is the time period between the current time and the loading time. The display module 403 is used to cancel the display of the target cargo information in the first time period when the trend of the resource quantity in the first time period is upward.
[0168] In one possible implementation, the device further includes:
[0169] The third acquisition module is used to acquire multiple historical waybills corresponding to the model of the demand transportation vehicle. Each historical waybill includes the transaction time, transportation route, and transaction resource quantity. Based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills, statistical data for multiple target times are acquired. Based on the statistical data, time fitting indices corresponding to the multiple target times are acquired. The time fitting indices are used to indicate the trend of the transaction resource quantity at the corresponding target time. Curve fitting is performed on the time fitting indices corresponding to the multiple target times, and the resource quantity change function corresponding to the model of the demand transportation vehicle is obtained based on the curve fitting results.
[0170] In one possible implementation, the third acquisition module is used to acquire the number of waybills, transportation mileage, and historical resource quantity for each target route corresponding to at least one target route for multiple target times, based on the transaction time, transportation route, and transaction resource quantity of multiple historical waybills.
[0171] For any target time among multiple target times, the total number of waybills corresponding to any target time is obtained based on the number of waybills for each target route corresponding to any target time, and the total transportation mileage corresponding to any target time is obtained based on the transportation mileage for each target route corresponding to any target time.
[0172] Based on the number of waybills and the total number of waybills for each target route corresponding to any target time, obtain the ratio of the number of waybills for each target route corresponding to any target time; based on the transportation mileage and the total transportation mileage for each target route corresponding to any target time, obtain the ratio of the transportation mileage for each target route corresponding to any target time; based on the historical resource quantity for each target route corresponding to the first number of target times adjacent to any target time, obtain the ratio of the change in the resource quantity for each target route corresponding to any target time.
[0173] The ratios of the number of waybills, the ratio of transportation mileage, and the ratio of changes in the amount of resources for each target route corresponding to multiple target times are used as statistical data.
[0174] In one possible implementation, the third acquisition module is used to perform weighted aggregation of the resource quantity change ratio of at least one target route for any target time among multiple target times, using the ratio of the number of waybills and the ratio of transportation mileage of each target route corresponding to any target time as weight coefficients, and obtain the weighted change ratio corresponding to any target time based on the weighted aggregation result; and obtain the time fitting index corresponding to any target time based on the weighted change ratios corresponding to a second number of target times before any target time.
[0175] The cargo information display control device provided in this application controls the display of target cargo information based on the resource quantity trend corresponding to the target cargo information, making the displayed cargo information more accurate and improving the utilization rate of displayed resources. Furthermore, because the displayed cargo information reflects the corresponding resource quantity trend, it improves the efficiency of carriers in finding suitable cargo information, thereby increasing the order completion efficiency of freight logistics.
[0176] It should be understood that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0177] Please refer to Figure 5 This illustration shows a schematic diagram of a computer device provided in one embodiment of this application. The computer device can be a terminal, such as a smartphone, tablet computer, in-vehicle terminal, laptop computer, or desktop computer. The terminal may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names.
[0178] Typically, a terminal includes a processor 701 and a memory 702.
[0179] Processor 701 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 701 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 701 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 701 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 701 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0180] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 702 is used to store at least one instruction, which is executed by the processor 701 to implement the supply information display control method provided in the method embodiments of this application.
[0181] In some embodiments, the terminal may also optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, memory 702, and peripheral device interface 703 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of: a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning assembly 708, and a power supply 709.
[0182] Peripheral device interface 703 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 701 and memory 702. In some embodiments, processor 701, memory 702 and peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 701, memory 702 and peripheral device interface 703 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0183] The radio frequency (RF) circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 704 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 704 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or Wireless Fidelity (WiFi) networks. In some embodiments, the RF circuit 704 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0184] Display screen 705 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 705 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 701 for processing. In this case, display screen 705 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, display screen 705 may be a single screen, disposed on the front panel of the terminal; in other embodiments, display screen 705 may be at least two screens, disposed on different surfaces of the terminal or in a folded design; in still other embodiments, display screen 705 may be a flexible display screen, disposed on a curved or folded surface of the terminal. Furthermore, display screen 705 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. Display screen 705 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0185] The camera assembly 706 is used to acquire images or videos. Optionally, the camera assembly 706 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0186] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 701 for processing, or input to the radio frequency circuit 704 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0187] The positioning component 708 is used to determine the current geographic location of the terminal in order to enable navigation or LBS (Location Based Service). The positioning component 708 can be a positioning component based on the US GPS (Global Positioning System), China's BeiDou system, Russia's Granas system, or the EU's Galileo system.
[0188] Power supply 709 is used to power the various components in the terminal. Power supply 709 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 709 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0189] In some embodiments, the terminal further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: an accelerometer 711, a gyroscope 712, a pressure sensor 713, a fingerprint sensor 714, an optical sensor 715, and a proximity sensor 716.
[0190] Accelerometer 711 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by the terminal. For example, accelerometer 711 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 701 can control display screen 705 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 711. Accelerometer 711 can also be used for games or for acquiring user motion data.
[0191] The gyroscope sensor 712 can detect the terminal's orientation and rotation angle. The gyroscope sensor 712, in conjunction with the accelerometer sensor 711, can collect the user's 3D movements on the terminal. Based on the data collected by the gyroscope sensor 712, the processor 701 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0192] The pressure sensor 713 can be disposed on the side bezel of the terminal and / or on the lower layer of the display screen 705. When the pressure sensor 713 is disposed on the side bezel of the terminal, it can detect the user's grip signal on the terminal, and the processor 701 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed on the lower layer of the display screen 705, the processor 701 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 705. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0193] The fingerprint sensor 714 is used to collect a user's fingerprint. The processor 701 identifies the user based on the fingerprint collected by the fingerprint sensor 714, or vice versa. When the user's identity is verified as trusted, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 714 can be located on the front, back, or side of the terminal. When the terminal has physical buttons or a manufacturer's logo, the fingerprint sensor 714 can be integrated with the physical buttons or manufacturer's logo.
[0194] An optical sensor 715 is used to collect ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 715.
[0195] The proximity sensor 716, also known as a distance sensor, is typically mounted on the front panel of the terminal. The proximity sensor 716 is used to detect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal is gradually decreasing, the processor 701 controls the display screen 705 to switch from a screen-on state to a screen-off state; when the proximity sensor 716 detects that the distance between the user and the front of the terminal is gradually increasing, the processor 701 controls the display screen 705 to switch from a screen-off state to a screen-on state.
[0196] Those skilled in the art will understand that Figure 5 The structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0197] Please refer to Figure 6 , Figure 6 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 600 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 601 and one or more memories 602. Each memory 602 stores at least one program instruction, which is loaded and executed by the one or more processors 601 to implement the information display and control method for the various method embodiments described above. Of course, the server 600 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 600 may also include other components for implementing device functions, which will not be elaborated upon here.
[0198] In an exemplary embodiment, a computer device is also provided, comprising a processor and a memory, the memory storing at least one piece of program code. The at least one piece of program code is loaded and executed by one or more processors to enable the computer device to implement any of the aforementioned methods for displaying and controlling the source of goods information.
[0199] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code, which is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-described methods for displaying and controlling the source information.
[0200] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0201] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the above-described methods for displaying and controlling the source information.
[0202] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling the display of product source information, characterized in that, The method includes: Obtain target cargo information, which includes the model of the corresponding required transportation vehicle and the loading time; Based on the resource quantity change function corresponding to the model of the demand transportation vehicle, obtain the resource quantity trend of the demand transportation vehicle from the current time to the loading time; When the resource quantity trend is downward within the first time period, the target cargo information is displayed within the first time period, where the first time period is the time period between the current time and the loading time. The process of obtaining the resource quantity change function includes: The process involves obtaining multiple historical waybills corresponding to the model of the demand transportation vehicle, each of which includes the transaction time, transportation route, and transaction resource quantity. Based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills, statistical data for multiple target times are obtained. Based on the statistical data, time fitting indices are obtained for each of the multiple target times, and these time fitting indices are used to indicate the trend of the transaction resource quantity at the corresponding target time. Curve fitting is performed on the time fitting indices for each of the multiple target times, and the resource quantity change function corresponding to the model of the demand transportation vehicle is obtained based on the curve fitting results.
2. The method according to claim 1, characterized in that, After displaying the target cargo information within the first time period, the method further includes: When the resource quantity trend is upward during the second time period, the display of the target source information is canceled during the second time period. The second time period is adjacent to the first time period and is located after the first time period.
3. The method according to claim 2, characterized in that, After canceling the display of the target cargo information during the second time period, the method further includes: When the resource quantity trend is downward in the third time period, the display of the target source information is restored in the third time period. The third time period is adjacent to the second time period and is located after the second time period.
4. The method according to any one of claims 1-3, characterized in that, The target source information refers to source information that has been displayed for a duration exceeding a time threshold, or source information that has not been displayed.
5. The method according to claim 1, characterized in that, The target cargo information is the cargo information currently being displayed in the fourth time period. The fourth time period is adjacent to the first time period and is located before the first time period. The first time period is the time period between the current time and the loading time. The method further includes: When the resource quantity trend is upward during the first time period, the display of the target source information is canceled during the first time period.
6. The method according to claim 1, characterized in that, The method involves obtaining statistical data for multiple target times based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills, including: Based on the transaction time, transportation route, and transaction resource quantity of the multiple historical waybills, obtain the waybill quantity, transportation mileage, and historical resource quantity of each target route in at least one target route corresponding to the multiple target times; For any target time among the plurality of target times, the total number of waybills corresponding to any target time is obtained based on the number of waybills for each target route corresponding to any target time, and the total transportation mileage corresponding to any target time is obtained based on the transportation mileage for each target route corresponding to any target time. Based on the number of waybills for each target route corresponding to any target time and the total number of waybills, obtain the ratio of the number of waybills for each target route corresponding to any target time; based on the transportation mileage for each target route corresponding to any target time and the total transportation mileage, obtain the ratio of the transportation mileage for each target route corresponding to any target time; based on the historical resource quantity for each target route corresponding to a first number of target times adjacent to any target time, obtain the ratio of the change in resource quantity for each target route corresponding to any target time. The ratio of the number of waybills, the ratio of transportation mileage, and the ratio of changes in the number of resources for each target route corresponding to the multiple target times are used as the statistical data.
7. The method according to claim 1, characterized in that, The step of obtaining the time fitting index corresponding to the multiple target times based on the statistical data includes: For any target time among the plurality of target times, the ratio of the number of waybills and the ratio of transportation mileage for each target route corresponding to any target time are used as weighting coefficients to perform weighted aggregation on the resource quantity change ratio of at least one target route, and the weighted change ratio corresponding to any target time is obtained based on the weighted aggregation result. Based on the weighted change ratios of a second number of target times preceding any target time, the time fit index corresponding to any target time is obtained.
8. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement the method for displaying and controlling the source information as described in any one of claims 1 to 7.