A method and device for displaying information on a source of goods
By calculating the similarity between source information and user characteristics, the problem of limited source information display resources is solved, personalized source information display is achieved, and user experience and efficiency are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-25
- Publication Date
- 2026-03-31
AI Technical Summary
In existing technologies, the resources for displaying cargo information are limited, which makes it impossible for carriers to accurately sort and display information according to their needs and characteristics, thus reducing the user experience.
By extracting user features based on users' historical operational behavior, and using route conversion matrices and price conversion matrices, the similarity between the features of the source information and the user features is calculated, and the most similar source information is selected for display.
It improves the efficiency of users finding product information, enhances the user experience, and ensures that the displayed product information better meets user needs and characteristics.
Smart Images

Figure CN116089670B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent logistics technology, and in particular to a method and device for displaying cargo information. Background Technology
[0002] In the logistics sector, especially in long-haul truck freight, if a shipper (or dispatcher) wants to send their goods to a designated location, they need to post cargo information. When a driver (or carrier) sees the cargo information, if they want to take on the freight task in the cargo information, they can contact the shipper to reach an agreement (i.e., make the cargo information into an order or make the cargo information a sale).
[0003] Currently, platforms (or third parties) can help shippers and drivers (both are users on the platform) complete orders for cargo information. The platform can collect, summarize, and publish cargo information, saving shippers time in finding cargo information publishing channels and drivers time in finding cargo information, thereby increasing the speed of order completion for cargo information.
[0004] However, the resources available for displaying cargo information on the platform are currently limited. Carriers cannot possibly browse all the cargo information displayed. Therefore, how to accurately sort and display cargo information to users based on the needs and characteristics of the carriers has become an urgent problem to be solved. Summary of the Invention
[0005] This invention provides a method and device for displaying product information, which can accurately display product information corresponding to filtering conditions to different users according to their needs and characteristics, thereby improving the efficiency of users in finding product information.
[0006] In a first aspect, an embodiment of the present invention provides a method for displaying goods source information, comprising:
[0007] Based on the filtering conditions used by the user to filter the source information, a first set of source information matching the filtering conditions is determined from the source information to be accepted, and a second set of source information is determined from the source information operated by the user.
[0008] Determine the first source feature corresponding to the first source information in the first source information set, and the second source feature corresponding to the second source information in the second source information set;
[0009] Based on the second source characteristics, the user characteristics of the user are determined, and the first source information corresponding to the K first source characteristics with the highest similarity to the user characteristics is displayed to the user, where K is a positive integer.
[0010] The product display method provided in this embodiment of the invention takes into account the user's historical operation behavior on product information. Based on the user's previously operated product information, the user characteristics are extracted and compared with the product characteristics of the product information to be accepted. In this way, product information that better meets the user's needs and characteristics is selected from the product information that matches the filtering conditions and displayed, thereby improving the efficiency of users in finding product information and effectively improving the user experience.
[0011] As an optional implementation, determining the first source feature corresponding to the first source information in the first source information set, and the second source feature corresponding to the second source information in the second source information set, includes:
[0012] The route code in the first source of goods information is input into the route transformation matrix to obtain the first route feature, and the first route feature is determined as the first source of goods feature; and the route code in the second source of goods information is input into the route transformation matrix to obtain the second route feature, and the second route feature is determined as the second source of goods feature;
[0013] or,
[0014] The price code in the first source information is input into a price conversion matrix to obtain a first price feature, and the first price feature is determined as the first source feature; and the price code in the second source information is input into a price conversion matrix to obtain a second price feature, and the second price feature is determined as the second source feature;
[0015] or,
[0016] The route code in the first source information is input into the route conversion matrix to obtain the first route feature. The price code in the first source information is input into the price conversion matrix to obtain the first price feature. The first source feature is determined based on the first route feature and the first price feature.
[0017] Furthermore, the route code in the second source information is input into the route transformation matrix to obtain the second route feature, the price code in the second source information is input into the price transformation matrix to obtain the second price feature, and the second source feature is determined based on the second route feature and the second price feature.
[0018] As an optional implementation, determining the first source characteristics based on the first route characteristics and the first price characteristics includes:
[0019] The first source of goods characteristic is determined based on the average of the first route characteristic and the first price characteristic;
[0020] Determining the second source characteristics based on the second route characteristics and the second price characteristics includes:
[0021] The second source characteristics are determined based on the average of the second route characteristics and the second price characteristics.
[0022] As an optional implementation, the route transformation matrix is obtained in the following manner:
[0023] The initial model is trained by taking the N-1 route codes that were viewed earliest by the sample users in each route sequence sample as input, and the similarity between the output result and the Nth route code that was viewed latest by the sample users in the corresponding route sequence sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0024] The transformation matrix in the route model is determined as the route transformation matrix;
[0025] The price conversion matrix is obtained as follows:
[0026] The initial model is trained by taking the N-1 price codes with the earliest viewing time of the sample users in each price series sample as input, and the similarity between the output result and the Nth price code with the latest viewing time of the sample users in the corresponding price series sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0027] The transformation matrix in the price model is determined as the price transformation matrix.
[0028] As an optional implementation, the route sequence sample is determined based on the route information and viewing time in the cargo information viewed by the same sample user. The route sequence sample contains N sample route codes, and the difference between the latest viewing time and the earliest viewing time among the N sample route codes does not exceed M days, where N and M are both positive integers.
[0029] The price sequence sample is determined based on the price information and viewing time of the source information viewed by the same sample user. The price sequence sample contains N price codes, and the difference between the latest viewing time and the earliest viewing time among the N price codes does not exceed M days, where N and M are both positive integers.
[0030] As an optional implementation, determining the user's user characteristics based on the second source of goods characteristics includes:
[0031] The user characteristics are determined based on the average value of the second source characteristics; or,
[0032] The second source information in the second source information set is divided into multiple subsets, wherein the operation type corresponding to the second source information in each subset is the same. The user characteristics are determined according to the weight corresponding to each operation type and the second source characteristics corresponding to the second source information in each subset.
[0033] As an optional implementation, determining the user characteristics based on the weights corresponding to the subsets and the second source characteristics corresponding to the second source information in different subsets includes:
[0034] Determine the average value of the second source characteristics corresponding to the second source information in each subset;
[0035] Based on the weights corresponding to each operation type, the average values of the subsets corresponding to each operation type are weighted and summed to obtain the user characteristics.
[0036] As an optional implementation, displaying the first source information corresponding to the K first source features with the highest similarity to the user features to the user includes:
[0037] Determine the cosine distance between the first source of goods characteristic and the user characteristic;
[0038] The information of the first source of goods corresponding to the K first source of goods features with the smallest cosine distance is displayed to the user in ascending order.
[0039] Secondly, an embodiment of the present invention provides a device for displaying supply information, comprising a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and perform the following steps:
[0040] Based on the filtering conditions used by the user to filter the source information, a first set of source information matching the filtering conditions is determined from the source information to be accepted, and a second set of source information is determined from the source information operated by the user.
[0041] Determine the first source feature corresponding to the first source information in the first source information set, and the second source feature corresponding to the second source information in the second source information set;
[0042] Based on the second source characteristics, the user characteristics of the user are determined, and the first source information corresponding to the K first source characteristics with the highest similarity to the user characteristics is displayed to the user, where K is a positive integer.
[0043] As an optional implementation, the processor is specifically configured to execute:
[0044] The route code in the first source of goods information is input into the route transformation matrix to obtain the first route feature, and the first route feature is determined as the first source of goods feature; and the route code in the second source of goods information is input into the route transformation matrix to obtain the second route feature, and the second route feature is determined as the second source of goods feature;
[0045] or,
[0046] The price code in the first source information is input into a price conversion matrix to obtain a first price feature, and the first price feature is determined as the first source feature; and the price code in the second source information is input into a price conversion matrix to obtain a second price feature, and the second price feature is determined as the second source feature;
[0047] or,
[0048] The route code in the first source information is input into the route conversion matrix to obtain the first route feature. The price code in the first source information is input into the price conversion matrix to obtain the first price feature. The first source feature is determined based on the first route feature and the first price feature.
[0049] Furthermore, the route code in the second source information is input into the route transformation matrix to obtain the second route feature, the price code in the second source information is input into the price transformation matrix to obtain the second price feature, and the second source feature is determined based on the second route feature and the second price feature.
[0050] As an optional implementation, the processor is specifically configured to execute:
[0051] The first source of goods characteristic is determined based on the average of the first route characteristic and the first price characteristic;
[0052] The second source characteristics are determined based on the average of the second route characteristics and the second price characteristics.
[0053] As an optional implementation, the processor is specifically configured to obtain the route transformation matrix in the following manner:
[0054] The initial model is trained by taking the N-1 route codes that were viewed earliest by the sample users in each route sequence sample as input, and the similarity between the output result and the Nth route code that was viewed latest by the sample users in the corresponding route sequence sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0055] The transformation matrix in the route model is determined as the route transformation matrix;
[0056] The processor is specifically configured to obtain the price conversion matrix in the following manner:
[0057] The initial model is trained by taking the N-1 price codes with the earliest viewing time of the sample users in each price series sample as input, and the similarity between the output result and the Nth price code with the latest viewing time of the sample users in the corresponding price series sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0058] The transformation matrix in the price model is determined as the price transformation matrix.
[0059] As an optional implementation method,
[0060] The route sequence sample is determined based on the route information and viewing time in the cargo information viewed by the same sample user. The route sequence sample contains N sample route codes, and the difference between the latest viewing time and the earliest viewing time among the N sample route codes does not exceed M days, where N and M are both positive integers.
[0061] The price sequence sample is determined based on the price information and viewing time of the source information viewed by the same sample user. The price sequence sample contains N price codes, and the difference between the latest viewing time and the earliest viewing time among the N price codes does not exceed M days, where N and M are both positive integers.
[0062] As an optional implementation, the processor is specifically configured to execute:
[0063] The user characteristics are determined based on the average value of the second source characteristics; or,
[0064] The second source information in the second source information set is divided into multiple subsets, wherein the operation type corresponding to the second source information in each subset is the same. The user characteristics are determined according to the weight corresponding to each operation type and the second source characteristics corresponding to the second source information in each subset.
[0065] As an optional implementation, the processor is specifically configured to execute:
[0066] Determine the average value of the second source characteristics corresponding to the second source information in each subset;
[0067] Based on the weights corresponding to each operation type, the average values of the subsets corresponding to each operation type are weighted and summed to obtain the user characteristics.
[0068] As an optional implementation, the processor is specifically configured to execute:
[0069] Determine the cosine distance between the first source of goods characteristic and the user characteristic;
[0070] The information of the first source of goods corresponding to the K first source of goods features with the smallest cosine distance is displayed to the user in ascending order.
[0071] Thirdly, embodiments of the present invention also provide a device for displaying supply information, the device comprising:
[0072] The source collection unit is used to determine a first source information set that matches the filtering conditions of the user's filtering of source information, and to determine a second source information set from the source information that the user has operated on.
[0073] The cargo source feature determination unit is used to determine the first cargo source feature corresponding to the first cargo source information in the first cargo source information set, and the second cargo source feature corresponding to the second cargo source information in the second cargo source information set;
[0074] The unit for determining the source of goods is used to determine the user's user characteristics based on the second source of goods characteristics, and to display the first source of goods information corresponding to the K first source of goods characteristics with the highest similarity to the user characteristics to the user, wherein K is a positive integer.
[0075] As an optional implementation, the unit for determining the characteristics of the goods source is specifically used for:
[0076] The route code in the first source of goods information is input into the route transformation matrix to obtain the first route feature, and the first route feature is determined as the first source of goods feature; and the route code in the second source of goods information is input into the route transformation matrix to obtain the second route feature, and the second route feature is determined as the second source of goods feature;
[0077] or,
[0078] The price code in the first source information is input into a price conversion matrix to obtain a first price feature, and the first price feature is determined as the first source feature; and the price code in the second source information is input into a price conversion matrix to obtain a second price feature, and the second price feature is determined as the second source feature;
[0079] or,
[0080] The route code in the first source information is input into the route conversion matrix to obtain the first route feature. The price code in the first source information is input into the price conversion matrix to obtain the first price feature. The first source feature is determined based on the first route feature and the first price feature.
[0081] Furthermore, the route code in the second source information is input into the route transformation matrix to obtain the second route feature, the price code in the second source information is input into the price transformation matrix to obtain the second price feature, and the second source feature is determined based on the second route feature and the second price feature.
[0082] As an optional implementation, the unit for determining the characteristics of the goods source is specifically used for:
[0083] The first source of goods characteristic is determined based on the average of the first route characteristic and the first price characteristic;
[0084] The second source characteristics are determined based on the average of the second route characteristics and the second price characteristics.
[0085] As an optional implementation, the cargo source characteristic determination unit is specifically used to obtain the route transformation matrix in the following manner:
[0086] The initial model is trained by taking the N-1 route codes that were viewed earliest by the sample users in each route sequence sample as input, and the similarity between the output result and the Nth route code that was viewed latest by the sample users in the corresponding route sequence sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0087] The transformation matrix in the route model is determined as the route transformation matrix;
[0088] The unit for determining the source characteristics is specifically used to obtain the price conversion matrix in the following manner:
[0089] The initial model is trained by taking the N-1 price codes with the earliest viewing time of the sample users in each price series sample as input, and the similarity between the output result and the Nth price code with the latest viewing time of the sample users in the corresponding price series sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0090] The transformation matrix in the price model is determined as the price transformation matrix.
[0091] As an optional implementation method,
[0092] The route sequence sample is determined based on the route information and viewing time in the cargo information viewed by the same sample user. The route sequence sample contains N sample route codes, and the difference between the latest viewing time and the earliest viewing time among the N sample route codes does not exceed M days, where N and M are both positive integers.
[0093] The price sequence sample is determined based on the price information and viewing time of the source information viewed by the same sample user. The price sequence sample contains N price codes, and the difference between the latest viewing time and the earliest viewing time among the N price codes does not exceed M days, where N and M are both positive integers.
[0094] As an optional implementation, the unit for determining the source of goods to be displayed is specifically used for:
[0095] The user characteristics are determined based on the average value of the second source characteristics; or,
[0096] The second source information in the second source information set is divided into multiple subsets, wherein the operation type corresponding to the second source information in each subset is the same. The user characteristics are determined according to the weight corresponding to each operation type and the second source characteristics corresponding to the second source information in each subset.
[0097] As an optional implementation, the unit for determining the source of goods to be displayed is specifically used for:
[0098] Determine the average value of the second source characteristics corresponding to the second source information in each subset;
[0099] Based on the weights corresponding to each operation type, the average values of the subsets corresponding to each operation type are weighted and summed to obtain the user characteristics.
[0100] As an optional implementation, the unit for determining the source of goods to be displayed is specifically used for:
[0101] Determine the cosine distance between the first source of goods characteristic and the user characteristic;
[0102] The first source information corresponding to the K first source features with the smallest cosine distance is displayed to the user in ascending order.
[0103] Fourthly, embodiments of the present invention also provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, is used to implement the steps of the method described in the first aspect above.
[0104] These or other aspects of this application will become more apparent in the following description of embodiments. Attached Figure Description
[0105] To more clearly illustrate the technical solutions in the embodiments of the present invention, 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 the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0106] Figure 1 A flowchart illustrating the implementation of a method for displaying product source information according to an embodiment of the present invention;
[0107] Figure 2 A schematic diagram of the structure of an initial model provided in an embodiment of the present invention;
[0108] Figure 3 A flowchart illustrating a specific implementation of a method for displaying product source information provided in this embodiment of the invention;
[0109] Figure 4 This is a schematic diagram of a device for displaying product source information provided in an embodiment of the present invention;
[0110] Figure 5 This is a schematic diagram of a device for displaying product information according to an embodiment of the present invention. Detailed Implementation
[0111] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0112] In this invention, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following associated objects are in an "or" relationship. The application scenarios described in this invention are for the purpose of more clearly illustrating the technical solutions of this invention and do not constitute a limitation on the technical solutions provided by this invention. As those skilled in the art will recognize, with the emergence of new application scenarios, the technical solutions provided by this invention are also applicable to similar technical problems. In the description of this invention, unless otherwise stated, "multiple" means two or more.
[0113] In the logistics sector, especially in long-haul trucking, shippers (or dispatchers) need to post cargo information if they wish to send their goods to a designated location. Drivers (or carriers), upon seeing this information, can contact the shipper to reach an agreement (i.e., convert the cargo information into an order or complete a transaction). However, this method is inefficient. Therefore, platforms (or third parties) have emerged to help shippers and drivers complete cargo transactions. These platforms collect, aggregate, and publish cargo information, saving shippers time searching for channels and drivers time, thus increasing the speed of transaction completion.
[0114] Currently, the resources available for displaying freight information on the platform are limited. Drivers cannot possibly browse all the displayed freight information. If the freight information filtered by the driver's input criteria includes a large number of options, they will generally only browse the top few. If the top few freight options are not what the driver wants, it will reduce the driver's experience and waste their time. Therefore, how to display freight information that matches the driver's filtering criteria based on the driver's needs and characteristics has become an urgent problem to be solved.
[0115] Example 1: This embodiment of the invention provides a method for displaying cargo information. The core idea is to first filter cargo information that matches the filtering conditions uploaded by the user from the cargo information to be accepted. Secondly, user characteristics of the user within a historical period are extracted, and then cargo information with similar user characteristics to the user is further filtered from the selected cargo information, and then displayed to the user. Since the feature information of cargo information that the user has operated on in a historical period and the cargo features of cargo information to be accepted are extracted, the cargo information corresponding to a preset number of cargo features most similar to the user characteristics is displayed to the user, so that the cargo information displayed to the user is the cargo information of the cargo that the user is most likely to want to transport. This embodiment can realize efficient and personalized display of cargo information to users according to their needs and characteristics, effectively improving the user experience.
[0116] like Figure 1 As shown in the figure, this embodiment provides a method for displaying product source information. The implementation process of this method is as follows:
[0117] Step 100: Based on the filtering conditions used by the user to filter the source information, determine a first set of source information that matches the filtering conditions from the source information to be accepted, and determine a second set of source information from the source information that the user has operated on.
[0118] It should be noted that the users in this embodiment include, but are not limited to, carriers, shippers, and other entities that need to view cargo information. In practice, a user may be just a user, or just a shipper, or may have a dual identity, being both a carrier and a shipper. This embodiment does not impose too many restrictions on the scope of the users.
[0119] In some embodiments, the cargo information to be accepted is cargo information that has not yet reached the loading time (or shipping announcement time) and there is no cargo information accepted by users.
[0120] In some embodiments, the filtering criteria in this embodiment include, but are not limited to, some or all of the following: required vehicle type, loading location, unloading location, transportation price, and loading time. These filtering criteria can be set by the user and uploaded to the platform, or they can be obtained using other existing methods.
[0121] In some embodiments, the cargo information in this embodiment includes, but is not limited to, some or all of the following: route information, loading location information, unloading location information, loading time information, unloading time information, required vehicle type information, cargo price information, and other information related to the freight task.
[0122] In this embodiment, the first source information set includes one or more first source information items, and the second source information set includes one or more second source information items. It should be noted that the terms "first" and "second" in the first and second source information sets are used only to distinguish the source information. The information categories contained in the first and second source information are the same as those contained in the aforementioned source information. The first and second source information may contain the same information content or different information content; this embodiment does not impose excessive limitations on this. The terms "first" and "second" in the first and second source information sets are used only to distinguish the source information sets.
[0123] In some embodiments, the first resource information in this embodiment includes some or all of the following: route information, loading location information, unloading location information, loading time information, unloading time information, required vehicle type information, cargo price information, and other information related to the freight task. It may also be information encoded from the aforementioned information. Similarly, the second resource information in this embodiment includes some or all of the following: route information, loading location information, unloading location information, loading time information, unloading time information, required vehicle type information, cargo price information, and other information related to the freight task. It may also be information encoded from the aforementioned information. Optionally, the first cargo information includes at least one of a route code obtained by encoding the route information and a price code obtained by encoding the price information. Optionally, the first cargo information includes a route code, a price code, required vehicle type information, and loading location information.
[0124] Optionally, the methods for encoding route information and cargo price information include, but are not limited to, unique hot coding.
[0125] In practice, when a user uploads filtering criteria for selecting cargo information, the system can first select matching cargo information from the available cargo information based on the user's filtering criteria to form a first cargo information set. For example, cargo information that matches the user's filtering criteria in terms of vehicle type, loading location, price range, and loading time range can be selected. Then, the selected first cargo information is combined into a first cargo information set.
[0126] In practice, users can perform various actions on cargo information on a logistics platform. In this embodiment, these actions include, but are not limited to, at least one of viewing, order-grabbing, and transportation operations. For example, a user can view cargo information, transport cargo information, or grab orders for cargo information. This cargo information represents the cargo information that the user has operated on. This embodiment can find cargo information corresponding to the user's actions and combine this cargo information into a second cargo information set. For example, the second cargo information set can be composed of cargo information viewed by the user in a historical period, cargo information that has been grabbed for orders, and cargo information that has been transported. Optionally, a second cargo information set matching the filtering criteria can also be selected from the cargo information that the user has operated on.
[0127] In practice, after determining the first source of goods information that matches the filtering conditions and the second source of goods information that the user has operated on, the first source of goods features of the first source of goods information and the second source of goods features of the second source of goods information can be extracted. By comparing the first source of goods features and the second source of goods features, the source of goods to be accepted that is more consistent with the user's operation behavior can be filtered out and displayed.
[0128] Step 101: Determine the first source feature corresponding to the first source information in the first source information set, and the second source feature corresponding to the second source information in the second source information set;
[0129] In some embodiments, this embodiment extracts the first source feature of the first source information and the second source feature of the second source information in any of the following ways:
[0130] Method 1) The cargo information includes route codes.
[0131] The route code in the first source of goods information is input into the route transformation matrix to obtain the first route feature, and the first route feature is determined as the first source of goods feature;
[0132] The route code in the second source information is input into the route transformation matrix to obtain the second route feature, and the second route feature is determined as the second source feature.
[0133] Method 2) The source information includes a price code.
[0134] Input the price code in the first source information into the price conversion matrix to obtain the first price feature, and determine the first price feature as the first source feature;
[0135] Input the price code in the second source information into the price conversion matrix to obtain the second price feature, and determine the second price feature as the second source feature.
[0136] Method 3) The source information includes route code and price code.
[0137] The route code in the first source information is input into the route conversion matrix to obtain the first route feature, and the price code in the first source information is input into the price conversion matrix to obtain the first price feature;
[0138] The first source of goods characteristic is determined based on the first route characteristic and the first price characteristic; optionally, the first source of goods characteristic is determined based on the average of the first route characteristic and the first price characteristic.
[0139] Input the route code from the second source information into the route transformation matrix to obtain the second route feature; input the price code from the second source information into the price transformation matrix to obtain the second price feature.
[0140] The second source characteristics are determined based on the second route characteristics and the second price characteristics. Optionally, the second source characteristics are determined based on the average of the second route characteristics and the second price characteristics.
[0141] In implementation, route codes can be obtained by encoding route information in cargo information, and price codes can be obtained by encoding price information. This facilitates the calculation of route characteristics corresponding to route codes and price characteristics corresponding to price codes. It also facilitates the evaluation of the characteristics of routes to be accepted and the characteristics of routes that users have already transported and / or expect to transport from the perspective of transportation routes, thereby finding cargo information corresponding to more matching routes to recommend to users. Similarly, it can evaluate the characteristics of prices to be accepted and the characteristics of prices that users have already transported and / or expect to transport from the perspective of transportation prices, thereby finding cargo information corresponding to more matching prices to recommend to users. Furthermore, it can comprehensively consider whether route characteristics and price characteristics meet the needs and characteristics of users, thereby making cargo information recommendations more accurate.
[0142] In some embodiments, the route code and price code in this embodiment can be understood as a vector or matrix. In practice, the product of the route code and the route transformation matrix (which is also a vector or matrix) can be determined as the output route feature. Similarly, the product of the price code and the price transformation matrix (which is also a vector or matrix) can be determined as the output price feature.
[0143] In some embodiments, the vector dimensions of the route features and price features in this embodiment are the same.
[0144] In some embodiments, to determine the route transformation matrix and the price transformation matrix, training samples can first be obtained through the following steps, including at least one of route sequence samples and price sequence samples:
[0145] Step (1): Users who view the product information more than P times within a set time period can be selected and formed into the first set;
[0146] Specifically, the time period can be set in advance, such as within six months prior to the current time. The value of P can also be preset, such as setting P=5. Since the platform can record relevant data such as users' historical viewing behavior of supply information, after determining the set time period and the value of P, the platform can filter users who have viewed supply information more than P times within the set time period from historical data and use them as sample users. For example, users who have viewed supply information more than 5 times in the past six months can be grouped into a first set. It should be noted that the same supply information can be viewed by different users. That is, one supply information can correspond to one user or multiple users. This embodiment does not impose too many limitations on this.
[0147] Step (2): Based on the source information viewed by each user in the first set, generate multiple sequence samples. Each sequence sample contains N source information. The source information in each sequence sample is arranged in the order of viewing time. The number of source information in each sequence sample is fixed and the same. For example, each sequence sample contains N source information. These N source information are arranged in the order of viewing time from early to late. The difference between the viewing time of the first source information and the Nth source information in each sequence sample does not exceed M days.
[0148] Optionally, the sequence samples in this embodiment include, but are not limited to, at least one of route sequence samples and price sequence samples. The route sequence samples are determined based on the route codes in the cargo information viewed by each user, and the price sequence samples are determined based on the price codes in the cargo information viewed by each user.
[0149] It should be noted that the source information contained in any sequence sample can be the same or different, and this embodiment does not impose too many restrictions on this.
[0150] To facilitate understanding, the following example illustrates how to generate multiple sequence samples based on the product information viewed by each user in the first set and the corresponding viewing time:
[0151] Assume N=5, M=7, and there are currently 2 users in the first set, user A and user B;
[0152] From user A's viewing history, sorted by the time of viewing the source information, it can be seen that he viewed a total of 7 source information: source 1, source 2, ..., source 6, and source 7. In practice, it is possible to obtain all of user A's viewing history, or to obtain user A's viewing history within a certain period of time, such as user A's viewing history within the same set time period mentioned above. This method can also be used to obtain the viewing history of other users.
[0153] During implementation, User A viewed Source 1 on August 5, 2021, Sources 2 through 5 on August 6, 2021, Source 6 on August 11, 2021, and Source 7 on August 12, 2021.
[0154] Since N=5, a sequence sample needs to contain 5 consecutively viewed source information entries, and the time difference between viewing the first and fifth source information entries in a sequence sample cannot exceed 7 days. Therefore, source 1 to source 7 can form 3 sequence samples: source 1 to source 5 can be considered as one sequence sample (sequence sample 1), source 2 to source 6 can be considered as one sequence sample (sequence sample 2), and source 3 to source 7 can be considered as one sequence sample (sequence sample 3). Thus, based on user A's viewing history, 3 sequence samples can be obtained. User A corresponds to 3 sequence samples.
[0155] Similarly, from User B's viewing history, sorted by the time of viewing the source information, he viewed a total of 6 source information: source 8, source 9, ..., source 12, and source 13. In practice, User B viewed source 8 to source 9 on August 6, 2021, source 10 to source 11 on August 7, 2021, source 12 on August 8, 2021, and source 13 on August 20, 2021.
[0156] Since N=5, a sequence sample needs to contain 5 consecutively viewed source information items, and the time difference between viewing the first and fifth source information items in a sequence sample cannot exceed 7 days. Therefore, source items 8 to 13 can form 1 sequence sample, that is, source items 8 to 12 can be used as a sequence sample (i.e., sequence sample 4). Although source items 9 to 13 can meet the requirement for the number of source information items in a sequence sample, since the time difference between user B viewing source item 9 and user B viewing source item 13 exceeds 7 days, source items 9 to 13 cannot be used as a sequence sample.
[0157] Using the above method, this embodiment can acquire users who have viewed cargo information P times within a preset time period and form a first set. Then, based on the cargo information viewed by each user, multiple sequence samples are generated. In practice, based on the route code in the cargo information, multiple route sequence samples can be generated for each user; based on the price code in the cargo information, multiple price sequence samples can be generated for each user. In this embodiment, the generation of route sequence samples and price sequence samples corresponds to the same first set; that is, the first set is first acquired, and then corresponding route sequence samples and / or price sequence samples are generated based on the cargo information corresponding to each user in the first set.
[0158] Secondly, after obtaining route sequence samples and price sequence samples in the above manner, the initial model is trained using the obtained training samples to obtain the route conversion matrix and price conversion matrix, respectively.
[0159] In some embodiments, the route transformation matrix is obtained in the following manner:
[0160] The initial model is trained by taking the N-1 route codes with the earliest viewing time of the sample users in each route sequence sample as input, and the similarity between the output result and the Nth route code with the latest viewing time of the sample users in the corresponding route sequence sample as the optimization condition, so as to obtain the trained route model; the transformation matrix in the route model is determined as the route transformation matrix.
[0161] In some embodiments, such as Figure 2 As shown, the initial model in this embodiment includes a transformation matrix 200, a summation layer 201, and a restoration layer 202. The route information (e.g., location 1-location 2, location 3-location 4, etc.) in the cargo source information can be pre-encoded to obtain a route code (vector).
[0162] The following example, using route sequence samples including cargo sources 1-5, illustrates the process of training the initial model:
[0163] In the route sequence sample, the route information for sources 1, 2, 3, 4, and 5 is arranged sequentially from front to back according to the viewing time, corresponding to route codes 1, 2, 3, 4, and 5 respectively. Route codes 1 through 4 are then input into the transformation matrix, i.e., multiplied by the transformation matrix respectively, resulting in four product vectors; the vectors in the route codes have the same dimension.
[0164] The four product vectors are input into the summation layer for summation. The resulting summation vector is then input into the decomposition layer to convert the dimension of the summation vector. There are many methods for using the decomposition layer to reduce the dimension of the vector, such as multiplying with a specific matrix. Finally, the output of the decomposition layer is compared with route code 5 for similarity. Based on the comparison results, the elements in the transformation matrix are continuously adjusted to improve the similarity between the output and route code 5 and to increase the number of outputs that are identical to route code 5. When the optimization conditions are met, training stops, and the trained route model is obtained.
[0165] In some embodiments, the route sequence sample is determined based on the route information and viewing time in the cargo information viewed by the same sample user. The route sequence sample contains N sample route codes, and the difference between the latest viewing time and the earliest viewing time among the N sample route codes does not exceed M days, where N and M are both positive integers.
[0166] In some embodiments, the price conversion matrix is obtained in the following manner:
[0167] The initial model is trained by taking the N-1 earliest price codes viewed by sample users in each price series sample as input, and the similarity between the output result and the Nth price code viewed by sample users in the corresponding price series sample as optimization condition, to obtain the trained price model; the transformation matrix in the price model is determined as the price transformation matrix.
[0168] The initial model includes a transformation matrix, a summation layer, and a restoration layer. It should be noted that the process of training the initial model using price series samples and the process of training the initial model using route series samples in this embodiment are based on the same principle.
[0169] The following example, using price series samples including source 1 to source 5, illustrates the process of training the initial model:
[0170] The price sequence sample is arranged in chronological order of viewing time, from front to back, with the price information of source 1, source 2, source 3, source 4, and source 5 corresponding to price codes 1, 2, 3, 4, and 5 respectively. Price codes 1 to 4 are then input into the transformation matrix, i.e., multiplied by the transformation matrix respectively, resulting in four product vectors; the vectors in the price codes have the same dimension.
[0171] The four product vectors are input into the summation layer for summation. The resulting summation vector is then input into the decomposition layer to transform the dimension of the summation vector. There are many methods for using the decomposition layer to reduce the dimension of the vector, such as multiplying with a specific matrix. Finally, the output of the decomposition layer is compared with the price code 5 for similarity. Based on the comparison results, the elements in the transformation matrix are continuously adjusted to improve the similarity between the output and the price code 5 and to increase the number of outputs that are identical to the price code 5. When the optimization conditions are met, training stops, and the trained price model is obtained.
[0172] In some embodiments, the price sequence sample is determined based on the price information in the source information viewed by the same sample user and the viewing time. The price sequence sample contains N price codes, and the difference between the latest viewing time and the earliest viewing time among the N price codes does not exceed M days, where N and M are both positive integers.
[0173] Since the source information contains price-related information, the price can be vectorized. In implementation, the corresponding vector can be generated based on the price using existing methods. This implementation provides a vectorization method, such as setting intervals, with each interval corresponding to a code (the code can use existing methods, such as unique hot codes). Then, the corresponding price code is obtained according to the interval in which the price is located. Optionally, for example, the interval can be set with 100 intervals between prices from 0 to 20,000 yuan, and a corresponding unique hot code can be set for each interval. When the price in the source information falls into a certain interval, the unique hot code corresponding to this interval can be used as the price code.
[0174] It should be noted that during the initial model training process, the summation layer and the reduction layer are fixed, and the training objective is achieved by adjusting the transformation matrix.
[0175] Step 102: Determine the user's user characteristics based on the second source characteristics, and display the first source information corresponding to the K first source characteristics with the highest similarity to the user characteristics to the user, where K is a positive integer.
[0176] In some embodiments, after determining the second source of goods characteristics, this embodiment can determine the user's user characteristics based on the second source of goods characteristics, specifically through any of the following methods:
[0177] Method a: Determine the user characteristics based on the average value of the second source characteristics;
[0178] In practice, the second source information set includes one or more second source information pieces. Each second source information piece corresponds to a second source feature. When the second source information set includes one second source information piece, the second source feature of that second source information piece is determined as the user feature. When the second source information set includes multiple second source information pieces, the second source features corresponding to the multiple second source information pieces are averaged, and the average value is determined as the user feature.
[0179] Method b: Divide the second source information in the second source information set into multiple subsets, wherein the operation type corresponding to the second source information in each subset is the same, and determine the user characteristics based on the weight corresponding to each operation type and the second source characteristics corresponding to the second source information in each subset.
[0180] In some embodiments, the operation type includes, but is not limited to, at least one of viewing type, order grabbing type, and carrier type.
[0181] In implementation, due to different user actions on cargo information within a historical period, second cargo information with the same operation type in the second cargo information set is divided into the same subset based on the operation type. For example, the second cargo information set is split into three subsets. The operation type corresponding to the second cargo information in the first subset is viewing, meaning that the second cargo information in this subset has been viewed by the user. The operation type corresponding to the second cargo information in the second subset is order grabbing, meaning that the second cargo information in this subset has been order grabbing by the user. The operation type corresponding to the second cargo information in the third subset is transportation, meaning that the second cargo information in this subset has been transportation by the user.
[0182] In some embodiments, the user characteristics are determined based on the weights corresponding to the subsets and the second source characteristics corresponding to the second source information in different subsets, in the following manner:
[0183] First, determine the average value of the second source characteristics corresponding to the second source information in each subset; where the second source characteristics are understood as a vector or matrix, and the average value is also understood as a vector or matrix.
[0184] Secondly, based on the weights corresponding to each operation type, the average values of the subsets corresponding to each operation type are weighted and summed to obtain the user features. The user features can also be understood as a vector or matrix.
[0185] In practice, the weights for viewing type, order-grabbing type, and transportation type are pre-set as a, b, and c, respectively. Then, the second source information in the subset corresponding to the viewing type has been viewed by the user, and the average value of this subset is A. The second source information in the subset corresponding to the order-grabbing type has been ordered by the user, and the average value of this subset is B. The second source information in the subset corresponding to the transportation type has been transported by the user, and the average value of this subset is C. Therefore, the user characteristic of this user is a×A+b×B+c×C.
[0186] In some embodiments, this embodiment displays the first source information corresponding to the K first source features with the highest similarity to the user features to the user in the following manner:
[0187] Determine the cosine distance between the first source feature and the user feature; wherein, since the first source feature and the user feature are two vectors with the same dimension, the similarity between the two vectors is determined by calculating the cosine distance between the two vectors.
[0188] The first source information corresponding to the K first source features with the smallest cosine distance is displayed to the user in ascending order. The smaller the cosine distance between two vectors, the greater the similarity between them. This displays source information matching the filtering criteria to the user in descending order of relevance to their needs, improving the efficiency of the user's search for source information and enhancing the user experience.
[0189] like Figure 3 As shown in the figure, the specific implementation process of the method for displaying source information provided in this embodiment is as follows:
[0190] Step 300: Obtain the filtering criteria used by the user to filter the source of goods;
[0191] Step 301: Determine the first source of goods that matches the screening criteria from the source of goods to be accepted, and form a set of the first source of goods;
[0192] Step 302: Determine the second source of goods from the source of goods information operated by the user and form a set of second source of goods information;
[0193] Step 303: Input the route code in the first source information into the route conversion matrix to obtain the first route feature; input the price code in the first source information into the price conversion matrix to obtain the first price feature; determine the first source feature based on the average of the first route feature and the first price feature.
[0194] Step 304: Input the route code in the second source information into the route conversion matrix to obtain the second route feature; input the price code in the second source information into the price conversion matrix to obtain the second price feature; determine the second source feature based on the average of the second route feature and the second price feature.
[0195] Step 305: Divide the second source information in the second source information set into multiple subsets, where the operation type corresponding to the second source information in each subset is the same. Determine the average value of the second source features corresponding to the second source information in each subset. Based on the weights corresponding to each operation type, perform a weighted summation of the average values of the subsets corresponding to each operation type to obtain the user features.
[0196] Step 306: Determine the cosine distance between the first source of goods feature and the user feature, and display the first source of goods information corresponding to the K first source of goods features with the smallest cosine distance to the user in ascending order.
[0197] This embodiment can display the source information that matches the filtering conditions based on the user's behavior, thereby enabling the user to find the source information they want to undertake as quickly and efficiently as possible, improving the user experience, and reducing the time spent by the user and the system resources consumed when searching for source information.
[0198] Example 2: Based on the same inventive concept, this embodiment of the invention also provides a device for displaying source information. Since this device is the same as the device in the method of this embodiment of the invention, and the principle of the device in solving the problem is similar to that of the method, the implementation of this device can refer to the implementation of the method, and the repeated parts will not be described again.
[0199] like Figure 4 As shown, the device includes a processor 400 and a memory 401. The memory 401 stores programs executable by the processor 400. The processor 400 reads the programs from the memory 401 and performs the following steps:
[0200] The processor 400 includes a processor 400 and a memory 401. The memory 401 stores programs executable by the processor 400. The processor 400 reads the programs from the memory 401 and performs the following steps:
[0201] Based on the filtering conditions used by the user to filter the source information, a first set of source information matching the filtering conditions is determined from the source information to be accepted, and a second set of source information is determined from the source information operated by the user.
[0202] Determine the first source feature corresponding to the first source information in the first source information set, and the second source feature corresponding to the second source information in the second source information set;
[0203] Based on the second source characteristics, the user characteristics of the user are determined, and the first source information corresponding to the K first source characteristics with the highest similarity to the user characteristics is displayed to the user, where K is a positive integer.
[0204] As an optional implementation, the processor 400 is specifically configured to perform:
[0205] The route code in the first source of goods information is input into the route transformation matrix to obtain the first route feature, and the first route feature is determined as the first source of goods feature; and the route code in the second source of goods information is input into the route transformation matrix to obtain the second route feature, and the second route feature is determined as the second source of goods feature;
[0206] or,
[0207] The price code in the first source information is input into a price conversion matrix to obtain a first price feature, and the first price feature is determined as the first source feature; and the price code in the second source information is input into a price conversion matrix to obtain a second price feature, and the second price feature is determined as the second source feature;
[0208] or,
[0209] The route code in the first source information is input into the route conversion matrix to obtain the first route feature. The price code in the first source information is input into the price conversion matrix to obtain the first price feature. The first source feature is determined based on the first route feature and the first price feature.
[0210] Furthermore, the route code in the second source information is input into the route transformation matrix to obtain the second route feature, the price code in the second source information is input into the price transformation matrix to obtain the second price feature, and the second source feature is determined based on the second route feature and the second price feature.
[0211] As an optional implementation, the processor 400 is specifically configured to perform:
[0212] The first source of goods characteristic is determined based on the average of the first route characteristic and the first price characteristic;
[0213] The second source characteristics are determined based on the average of the second route characteristics and the second price characteristics.
[0214] As an optional implementation, the processor 400 is specifically configured to obtain the route transformation matrix in the following manner:
[0215] The initial model is trained by taking the N-1 route codes that were viewed earliest by the sample users in each route sequence sample as input, and the similarity between the output result and the Nth route code that was viewed latest by the sample users in the corresponding route sequence sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0216] The transformation matrix in the route model is determined as the route transformation matrix;
[0217] The processor 400 is specifically configured to obtain the price conversion matrix in the following manner:
[0218] The initial model is trained by taking the N-1 price codes with the earliest viewing time of the sample users in each price series sample as input, and the similarity between the output result and the Nth price code with the latest viewing time of the sample users in the corresponding price series sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0219] The transformation matrix in the price model is determined as the price transformation matrix.
[0220] As an optional implementation method,
[0221] The route sequence sample is determined based on the route information and viewing time in the cargo information viewed by the same sample user. The route sequence sample contains N sample route codes, and the difference between the latest viewing time and the earliest viewing time among the N sample route codes does not exceed M days, where N and M are both positive integers.
[0222] The price sequence sample is determined based on the price information and viewing time of the source information viewed by the same sample user. The price sequence sample contains N price codes, and the difference between the latest viewing time and the earliest viewing time among the N price codes does not exceed M days, where N and M are both positive integers.
[0223] As an optional implementation, the processor 400 is specifically configured to perform:
[0224] The user characteristics are determined based on the average value of the second source characteristics; or,
[0225] The second source information in the second source information set is divided into multiple subsets, wherein the operation type corresponding to the second source information in each subset is the same. The user characteristics are determined according to the weight corresponding to each operation type and the second source characteristics corresponding to the second source information in each subset.
[0226] As an optional implementation, the processor 400 is specifically configured to perform:
[0227] Determine the average value of the second source characteristics corresponding to the second source information in each subset;
[0228] Based on the weights corresponding to each operation type, the average values of the subsets corresponding to each operation type are weighted and summed to obtain the user characteristics.
[0229] As an optional implementation, the processor 400 is specifically configured to perform:
[0230] Determine the cosine distance between the first source of goods characteristic and the user characteristic;
[0231] The information of the first source of goods corresponding to the K first source of goods features with the smallest cosine distance is displayed to the user in ascending order.
[0232] Example 3: Based on the same inventive concept, this embodiment of the invention also provides a device for displaying source information. Since this device is the same as the device in the method of this embodiment of the invention, and the principle of the device in solving the problem is similar to that of the method, the implementation of this device can refer to the implementation of the method, and the repeated parts will not be described again.
[0233] like Figure 5 As shown, the device includes:
[0234] The source collection unit 500 is used to determine a first source information set that matches the filtering conditions of the user's filtering of source information, and to determine a second source information set from the source information that the user has operated on.
[0235] The cargo source feature determination unit 501 is used to determine the first cargo source feature corresponding to the first cargo source information in the first cargo source information set, and the second cargo source feature corresponding to the second cargo source information in the second cargo source information set;
[0236] The source of goods display unit 502 is used to determine the user characteristics of the user based on the second source of goods characteristics, and to display the first source of goods information corresponding to the K first source of goods characteristics with the highest similarity to the user characteristics to the user, wherein K is a positive integer.
[0237] As an optional implementation, the unit 501 for determining the characteristics of the goods source is specifically used for:
[0238] The route code in the first source of goods information is input into the route transformation matrix to obtain the first route feature, and the first route feature is determined as the first source of goods feature; and the route code in the second source of goods information is input into the route transformation matrix to obtain the second route feature, and the second route feature is determined as the second source of goods feature;
[0239] or,
[0240] The price code in the first source information is input into a price conversion matrix to obtain a first price feature, and the first price feature is determined as the first source feature; and the price code in the second source information is input into a price conversion matrix to obtain a second price feature, and the second price feature is determined as the second source feature;
[0241] or,
[0242] The route code in the first source information is input into the route conversion matrix to obtain the first route feature. The price code in the first source information is input into the price conversion matrix to obtain the first price feature. The first source feature is determined based on the first route feature and the first price feature.
[0243] Furthermore, the route code in the second source information is input into the route transformation matrix to obtain the second route feature, the price code in the second source information is input into the price transformation matrix to obtain the second price feature, and the second source feature is determined based on the second route feature and the second price feature.
[0244] As an optional implementation, the unit 501 for determining the characteristics of the goods source is specifically used for:
[0245] The first source of goods characteristic is determined based on the average of the first route characteristic and the first price characteristic;
[0246] The second source characteristics are determined based on the average of the second route characteristics and the second price characteristics.
[0247] As an optional implementation, the cargo source characteristic determination unit 501 is specifically used to obtain the route transformation matrix in the following manner:
[0248] The initial model is trained by taking the N-1 route codes that were viewed earliest by the sample users in each route sequence sample as input, and the similarity between the output result and the Nth route code that was viewed latest by the sample users in the corresponding route sequence sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0249] The transformation matrix in the route model is determined as the route transformation matrix;
[0250] The source characteristic determination unit 501 is specifically used to obtain the price conversion matrix in the following manner:
[0251] The initial model is trained by taking the N-1 price codes with the earliest viewing time of the sample users in each price series sample as input, and the similarity between the output result and the Nth price code with the latest viewing time of the sample users in the corresponding price series sample as the optimization condition. The initial model includes a transformation matrix, a summation layer and a restoration layer.
[0252] The transformation matrix in the price model is determined as the price transformation matrix.
[0253] As an optional implementation method,
[0254] The route sequence sample is determined based on the route information and viewing time in the cargo information viewed by the same sample user. The route sequence sample contains N sample route codes, and the difference between the latest viewing time and the earliest viewing time among the N sample route codes does not exceed M days, where N and M are both positive integers.
[0255] The price sequence sample is determined based on the price information and viewing time of the source information viewed by the same sample user. The price sequence sample contains N price codes, and the difference between the latest viewing time and the earliest viewing time among the N price codes does not exceed M days, where N and M are both positive integers.
[0256] As an optional implementation, the product source determination unit 502 is specifically used for:
[0257] The user characteristics are determined based on the average value of the second source characteristics; or,
[0258] The second source information in the second source information set is divided into multiple subsets, wherein the operation type corresponding to the second source information in each subset is the same. The user characteristics are determined according to the weight corresponding to each operation type and the second source characteristics corresponding to the second source information in each subset.
[0259] As an optional implementation, the product source determination unit 502 is specifically used for:
[0260] Determine the average value of the second source characteristics corresponding to the second source information in each subset;
[0261] Based on the weights corresponding to each operation type, the average values of the subsets corresponding to each operation type are weighted and summed to obtain the user characteristics.
[0262] As an optional implementation, the product source determination unit 502 is specifically used for:
[0263] Determine the cosine distance between the first source of goods characteristic and the user characteristic;
[0264] The first source information corresponding to the K first source features with the smallest cosine distance is displayed to the user in ascending order.
[0265] Based on the same inventive concept, embodiments of the present invention also provide a computer storage medium storing a computer program, which, when executed by a processor, performs the following steps:
[0266] Based on the filtering conditions used by the user to filter the source information, a first set of source information matching the filtering conditions is determined from the source information to be accepted, and a second set of source information is determined from the source information operated by the user.
[0267] Determine the first source feature corresponding to the first source information in the first source information set, and the second source feature corresponding to the second source information in the second source information set;
[0268] Based on the second source characteristics, the user characteristics of the user are determined, and the first source information corresponding to the K first source characteristics with the highest similarity to the user characteristics is displayed to the user in ascending order, where K is a positive integer.
[0269] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0270] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 Devices that specify the functions in one or more boxes.
[0271] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction device, which is implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0272] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0273] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method of presenting information about a source of goods, characterized by, The method comprises: determining a first set of source information matching the screening condition from the to-be-accepted source information according to a screening condition of the user screening the source information, and determining a second set of source information from the source information operated by the user; determining a first source feature corresponding to the first source information in the first set of source information and a second source feature corresponding to the second source information in the second set of source information; wherein the route code in the first source information is input into a route conversion matrix to obtain a first route feature, the price code in the first source information is input into a price conversion matrix to obtain a first price feature, and the first source feature is determined according to the first route feature and the first price feature; and the route code in the second source information is input into the route conversion matrix to obtain a second route feature, the price code in the second source information is input into the price conversion matrix to obtain a second price feature, and the second source feature is determined according to the second route feature and the second price feature; wherein the product value of the route code and the route conversion matrix is determined as the route feature, and the product value of the price code and the price conversion matrix is determined as the price feature, the route feature includes the first route feature or the second route feature, and the price feature includes the first price feature or the second price feature; the route conversion matrix is obtained by: taking N-1 route codes with the earliest sample user viewing time in each route sequence sample as input, taking the similarity between the output result and the Nth route code with the latest sample user viewing time in the corresponding route sequence sample as an optimization condition, training an initial model to obtain a trained route model; wherein the initial model comprises a conversion matrix, a summation layer and a restoration layer; the conversion matrix in the route model is determined as the route conversion matrix; the price conversion matrix is obtained by: taking N-1 price codes with the earliest sample user viewing time in each price sequence sample as input, taking the similarity between the output result and the Nth price code with the latest sample user viewing time in the corresponding price sequence sample as an optimization condition, training an initial model to obtain a trained price model; wherein the initial model comprises a conversion matrix, a summation layer and a restoration layer; the conversion matrix in the price model is determined as the price conversion matrix; wherein users who view source information more than P times in a set time period are selected and composed into a first set, and corresponding route sequence samples and price sequence samples are generated according to the source information corresponding to each user in the first set; P is an integer greater than 0; determining a user feature of the user according to the second source feature, and displaying first source information corresponding to K first source features with the greatest similarity to the user feature to the user, wherein K is a positive integer.
2. The method of claim 1, wherein, The determination of the first source feature corresponding to the first source information in the first set of source information and the second source feature corresponding to the second source information in the second set of source information comprises: inputting the route code in the first freight source information into a route conversion matrix to obtain a first route feature, and determining the first route feature as the first freight source feature; and inputting the route code in the second freight source information into the route conversion matrix to obtain a second route feature, and determining the second route feature as the second freight source feature; or, inputting the price code in the first freight source information into a price conversion matrix to obtain a first price feature, and determining the first price feature as the first freight source feature; and inputting the price code in the second freight source information into the price conversion matrix to obtain a second price feature, and determining the second price feature as the second freight source feature.
3. The method of claim 1, wherein, The determining the first freight source feature according to the first route feature and the first price feature comprises: determining the first freight source feature according to the average of the first route feature and the first price feature; The determining the second freight source feature according to the second route feature and the second price feature comprises: determining the second freight source feature according to the average of the second route feature and the second price feature.
4. The method of claim 1, wherein: the route sequence sample is determined according to route information and viewing time of freight source information viewed by the same sample user, the route sequence sample contains N sample route codes, and a difference between the latest viewing time and the earliest viewing time in the N sample route codes is not more than M days, the N and the M are positive integers; the price sequence sample is determined according to price information and viewing time of freight source information viewed by the same sample user, the price sequence sample contains N price codes, and a difference between the latest viewing time and the earliest viewing time in the N price codes is not more than M days, the N and the M are positive integers.
5. The method of claim 1, wherein, The determining the user feature of the user according to the second freight source feature comprises: determining the user feature according to the average of the second freight source feature; or dividing the second freight source information in the second freight source information set into a plurality of sub-sets, wherein the second freight source information in each sub-set corresponds to the same operation type, and determining the user feature according to the weight corresponding to each operation type and the second freight source feature corresponding to the second freight source information in each sub-set.
6. The method of claim 5, wherein, The determining the user feature according to the weight corresponding to the sub-set and the second freight source feature corresponding to the second freight source information in different sub-sets comprises: determining the average of the second freight source feature corresponding to the second freight source information in each sub-set; performing weighted summation on the average of the sub-set corresponding to each operation type according to the weight corresponding to each operation type to obtain the user feature.
7. The method according to any one of claims 1 to 6, characterized in that, The displaying the first freight source information corresponding to the K first freight source features with the largest similarity to the user feature to the user comprises: determining the cosine distance between the first freight source feature and the user feature; displaying the first freight source information corresponding to the K first freight source features with the smallest cosine distance to the user in ascending order.
8. An apparatus for presenting information about a source of goods, characterized in that The apparatus comprises a processor and a memory for storing a program executable by the processor, the processor being arranged to read the program from the memory and perform the steps of the method of any of claims 1 to 7.
9. A computer storage medium having stored thereon a computer program, characterized in that The program, when executed by the processor, implements the steps of the method of any of claims 1 to 7.
Citation Information
Patent Citations
Vehicle and goods matching method and system based on big data
CN111209473A