Order dispatching method, device, computer equipment and storage medium
Through the deep learning scoring system and Hadoop deep learning algorithm, the problems of order dispatch timeliness and low pick-up point utilization in the traditional order dispatch system are solved, and more efficient order dispatch and pick-up point resource optimization are achieved.
Patent Information
- Application Number
- CN202110852315.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-07-27
AI Technical Summary
The traditional order dispatch system affects the timeliness of order dispatch when the operator is off work or unable to monitor in real time, and automatic dispatch in preset sequences may lead to busy pickup points in densely populated areas and underutilization of pickup points in sparse areas.
Adopt a deep learning scoring system and build an initial deep learning system through Hadoop open source software and deep learning algorithms to obtain the pickup point characteristic information, calculate the pickup point weight value, and determine the order distribution target based on the weight value to ensure that the order is sent when the preset conditions are met. Target pickup points and delivery terminals send order information.
It improves the efficiency and accuracy of order distribution, ensures that orders can be accurately assigned to pickup points that meet preset conditions, and optimizes the utilization of distribution points.
Smart Images

Figure CN113487230B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to an order dispatching method, apparatus, computer equipment, and storage medium. Background Art
[0002] The dispatch system is an indispensable part of the prescription outflow process of Internet hospitals. From the time a hospital prescribes a prescription to the time a patient takes the medicine, the delivery time is the most important indicator affecting the user experience. The selection of the delivery point and the processing time of the order have an important impact on this indicator.
[0003] Traditional dispatching systems usually dispatch orders manually through operators or automatically through preset sequences.
[0004] However, the order dispatching method manually selected by the operator requires the operator to monitor the dispatching system in real time. When the operator is off duty or cannot monitor the dispatching system in real time for other reasons, the timeliness of order dispatching may be affected. Automatic order dispatching by preset sequence may cause the pickup points near densely populated areas to be extremely busy, while the pickup points near sparsely populated areas cannot be fully utilized. Summary of the invention
[0005] Embodiments of the present invention provide an order dispatching method, device, computer equipment and storage medium capable of improving order dispatching efficiency.
[0006] In order to solve the above technical problems, a technical solution adopted by an embodiment created by the present invention is: providing an order dispatching method, including: receiving an order dispatching request; the order dispatching request includes the order destination address; obtaining the characteristic information of the target pickup point in the target area corresponding to the destination address; determining the weight value of the target pickup point according to the characteristic information of the target pickup point and a pre-built deep learning scoring system; if the weight value of the target pickup point meets the preset conditions, sending the order information to the target pickup point and the delivery terminal.
[0007] In some embodiments, the order dispatch method also includes: using Hadoop open source software and deep learning algorithms to build an initial deep learning system; the deep learning algorithm includes multiple deep autoencoders, hidden layers and back propagation neural networks BP established in the Hadoop database; one hidden layer corresponds to a deep autoencoder; using the deep learning algorithm and feature information of at least one pickup point to train each deep autoencoder to obtain a constructed deep learning scoring system.
[0008] In some embodiments, each deep autoencoder includes an encoder and a decoder; the encoder encodes using the following relationship: h = f(x) = S f (Wx+b j), where x is the feature vector composed of the feature information of at least one pickup point; W is the weight of the input vector, b j represents the threshold of the jth neuron, h is the hidden layer vector obtained; the hidden layer vector h is used as the input of the decoder, and the decoder decodes using the following relationship: y = g(h) = S g (Qh+b h ), where Q is the weight vector of the hidden layer vector h, b h is the threshold, S g is the activation function of the decoder.
[0009] In some methods, each deep autoencoder is trained using a deep learning algorithm and feature information of at least one pickup point to obtain a constructed deep learning scoring system, including: using the output of the current deep autoencoder as the input of the next deep autoencoder to train a second deep autoencoder until the training of a preset number of hidden layers is completed to obtain a constructed deep learning scoring system; the first deep autoencoder is obtained by unsupervised training by inputting feature information of at least one pickup point into the initial deep learning system; the next autoencoder is: the autoencoder in the next hidden layer adjacent to the hidden layer corresponding to the current autoencoder.
[0010] In some methods, after sending the order information to the target pickup point and delivery terminal, it also includes: storing the address information and weight in a storage device of a distributed configuration center; reading the physical start address and end address of the address information and weight stored in the storage device; and constructing a storage folder for the address information and weight with the start address and end address.
[0011] In some methods, after constructing a storage folder for address information and weights with a start address and an end address, it also includes: periodically obtaining update information of the address information and weights; and writing the update information into the storage folder so that the update information covers the address information and weights for storage.
[0012] In some methods, after the update information is written into the storage folder so that the update information overwrites the address information and weight for storage, it also includes: reading a call request for collecting the address information and weight; reading the storage data of the storage folder according to the call request, and responding to the call request based on the storage data.
[0013] To solve the above technical problems, an embodiment of the present invention also provides an order dispatching device, including: a receiving module, used to receive an order dispatching request; the order dispatching request includes an order destination address; an acquisition module, used to obtain characteristic information of a target pickup point in a target area corresponding to the destination address; a processing module, used to determine the weight value of the target pickup point according to the characteristic information of the target pickup point and a pre-built deep learning scoring system; a sending module, used to send order information to the target pickup point and the delivery terminal if the weight value of the target pickup point meets a preset condition.
[0014] In some embodiments, the processing module is also used to: construct an initial deep learning system using Hadoop open source software and a deep learning algorithm; the deep learning algorithm includes multiple deep autoencoders, hidden layers and back propagation neural networks BP established in the Hadoop database; one hidden layer corresponds to one deep autoencoder; each deep autoencoder is trained using the deep learning algorithm and feature information of at least one pickup point to obtain a constructed deep learning scoring system.
[0015] In some embodiments, each deep autoencoder includes an encoder and a decoder; the encoder encodes using the following relationship: h = f(x) = S f (Wx+b j ), where x is the feature vector composed of the feature information of at least one pickup point; W is the weight of the input vector, b j represents the threshold of the jth neuron, h is the hidden layer vector obtained; the hidden layer vector h is used as the input of the decoder, and the decoder decodes using the following relationship: y = g(h) = S g (Qh+b h ), where Q is the weight vector of the hidden layer vector h, b h is the threshold, S g is the activation function of the decoder.
[0016] In some embodiments, the processing module is specifically used to: use the output of the current deep autoencoder as the input of the next deep autoencoder to train a second deep autoencoder until the training of a preset number of hidden layers is completed to obtain a constructed deep learning scoring system; the first deep autoencoder is obtained by inputting feature information of at least one pickup point into the initial deep learning system through unsupervised training; the next autoencoder is: the autoencoder in the next hidden layer adjacent to the hidden layer corresponding to the current autoencoder.
[0017] In some embodiments, the order delivery device also includes: a storage module, used to store the address information and weights in a storage device of a distributed configuration center; a reading module, used to read the physical starting address and ending address of the address information and weights stored in the storage device; the storage module is also used to construct a storage folder for the address information and weights with the starting address and ending address.
[0018] In some embodiments, the acquisition module is also used to periodically acquire update information of address information and weights; the storage module is also used to write the update information into a storage folder so that the update information covers the address information and weights for storage.
[0019] In some embodiments, the reading module is also used to read the call request for collecting address information and weight; the processing module is also used to read the storage data of the storage folder according to the call request, and respond to the call request based on the storage data.
[0020] To solve the above technical problem, an embodiment of the present invention further provides a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the above-mentioned order dispatching method.
[0021] In order to solve the above technical problem, an embodiment of the present invention further provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the above-mentioned order dispatching method.
[0022] The beneficial effect of the embodiment of the present invention is that after receiving an order dispatch request, the characteristic information of the target pickup point in the target area corresponding to the destination address can be obtained, and the weight value of the target pickup point can be determined based on the characteristic information of the target pickup point and a pre-built deep learning scoring system. Subsequently, if the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the delivery terminal. Since the pre-built deep learning scoring system can accurately determine the weight value of the target pickup point, the embodiment of the present application can accurately determine the pickup point that meets the preset conditions, thereby improving the efficiency of order dispatch. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0024] Figure 1 This is one of the flowcharts of an order dispatching method according to a specific embodiment of the present application;
[0025] Figure 2This is a second flowchart of an order dispatching method according to a specific embodiment of the present application;
[0026] Figure 3 This is a flowchart of an order dispatching method according to a specific embodiment of the present application;
[0027] Figure 4 This is a fourth flowchart of an order dispatching method according to a specific embodiment of the present application;
[0028] Figure 5 This is a fifth flow chart of an order dispatching method according to a specific embodiment of the present application;
[0029] Figure 6 This is a sixth flowchart of an order dispatching method according to a specific embodiment of the present application;
[0030] Figure 7 This is a basic structural diagram of an order dispatching device according to an embodiment of the present application;
[0031] Figure 8 This is a basic structural block diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0033] It will be understood by those skilled in the art that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0034] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0035] The dispatch system is an indispensable part of the prescription outflow process of Internet hospitals. From the time a hospital prescribes a prescription to the time a patient takes the medicine, the delivery time is the most important indicator that affects the user experience. The selection of the delivery point and the processing time of the order have an important impact on this indicator.
[0036] Traditional dispatching systems usually dispatch orders manually through operators or automatically through preset sequences.
[0037] However, the order dispatching method manually selected by the operator requires the operator to monitor the dispatching system in real time. When the operator is off duty or cannot monitor the dispatching system in real time for other reasons, the timeliness of order dispatching may be affected. Automatic order dispatching by preset sequence may cause the pickup points near densely populated areas to be extremely busy, while the pickup points near sparsely populated areas cannot be fully utilized.
[0038] In response to the problems existing in the above-mentioned training method, the present application has come up with an order dispatching method. After receiving the order dispatching request, the characteristic information of the target pickup point in the target area corresponding to the destination address can be obtained, and the weight value of the target pickup point can be determined based on the characteristic information of the target pickup point and the pre-built deep learning scoring system. Subsequently, if the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the delivery terminal. Since the pre-built deep learning scoring system can accurately determine the weight value of the target pickup point, the embodiment of the present application can accurately determine the pickup point that meets the preset conditions, thereby improving the efficiency of order dispatching.
[0039] like Figure 1 FIG. 2 is a flow chart of an order dispatching method provided in this embodiment, including S201 to S204:
[0040] S201, receiving an order dispatch request.
[0041] The order dispatch request includes the order destination address.
[0042] Specifically, when a user needs a product, he or she can place an order on the APP corresponding to the order dispatch. Correspondingly, the order dispatch device receives the order dispatch request, wherein the order dispatch request includes the order destination address.
[0043] The order destination address is the delivery address set by the user when placing an order.
[0044] S202: Acquire characteristic information of a target pickup point in a target area corresponding to the destination address.
[0045] The characteristic information includes at least one or more of the following: the location of the target pickup point, the distance between the target pickup point and the destination address, the quantity of goods at the target pickup point, the number of favorable reviews at the target pickup point, and the turnover of the target pickup point.
[0046] Specifically, after receiving the order dispatch request, since there are a large number of pickup points, characteristic information of the target pickup point in the target area corresponding to the destination address may be obtained.
[0047] For example, when a user needs to purchase a certain drug product, he or she can place an order on the APP corresponding to the order dispatch. Correspondingly, the order dispatch device receives the order dispatch request. Among them, the order dispatch request includes the order destination address: address A. Then, the order dispatch device obtains the pickup points within 5 kilometers around address A: pickup point A, pickup point B, pickup point C and pickup point D.
[0048] For the above four pickup points, the order dispatching device obtains characteristic information of each pickup point.
[0049] S203: Determine a weight value of the target pickup point based on the feature information of the target pickup point and a pre-built deep learning scoring system.
[0050] Specifically, after obtaining the characteristic information of the target pickup point in the target area corresponding to the destination address, the order dispatching device can determine the weight value of the target pickup point based on the characteristic information of the target pickup point and a pre-built deep learning scoring system.
[0051] Deep learning uses neural networks as the main model and can solve the representation learning problem in machine learning. Due to its powerful capabilities, deep learning is increasingly used to solve some general artificial intelligence problems, such as reasoning and decision-making. In the embodiment of the present application, the order dispatching device can determine the weight value of the target pickup point based on a pre-built deep learning scoring system.
[0052] Exemplarily, for pickup point A, pickup point B, pickup point C and pickup point D, after obtaining the feature information of the above four pickup points, the order dispatching device can determine the weight values of the above four pickup points according to a pre-built deep learning scoring system: pickup point A-0.7, pickup point B-0.3, pickup point C-0.9 and pickup point D-0.65.
[0053] S204: If the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the delivery terminal.
[0054] Specifically, after determining the weight value of the target pickup point based on the characteristic information of the target pickup point and a pre-built deep learning scoring system, if the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the delivery terminal.
[0055] Optionally, the preset condition may be that the weight value is the largest, or that the weight value is greater than a preset threshold, or other conditions, which are not limited in the present disclosure.
[0056] Exemplarily, the preset condition is that the weight value is the largest. For pickup point A, pickup point B, pickup point C, and pickup point D, after determining that the weight values of the above four pickup points are: pickup point A-0.7, pickup point B-0.3, pickup point C-0.9, and pickup point D-0.65, the order dispatching device determines pickup point C as the target pickup point.
[0057] Subsequently, the order dispatching device sends the order information to the pickup point C and the delivery terminal, so that the delivery personnel corresponding to the delivery terminal can pick up the goods at the pickup point C and deliver the goods according to the order destination address in the order information.
[0058] Optional, such as Figure 2 As shown, an order dispatching method provided in this embodiment also includes: S301.
[0059] S301. Use Hadoop open source software and deep learning algorithms to build an initial deep learning system.
[0060] The deep learning algorithm includes multiple deep autoencoders, hidden layers and back propagation neural networks (BPs) established in the Hadoop database. One hidden layer corresponds to one deep autoencoder.
[0061] Hadoop open source software is an open source framework that allows the use of simple programming models to store and process big data in a distributed environment across computer clusters. It is designed to scale from a single server to thousands of machines, each providing local computing and storage. It is suitable for applications such as big data storage and analysis, and is suitable for clusters of thousands to tens of thousands of servers, supporting PB-level storage capacity.
[0062] Exemplarily, typical applications of Hadoop open source software include: search, log processing, recommendation system, data analysis, video image analysis, data storage, etc.
[0063] In an embodiment of the present application, the order dispatching device can use Hadoop open source software and deep learning algorithms to build an initial deep learning system.
[0064] Optionally, each deep autoencoder includes an encoder and a decoder.
[0065] The encoder uses the following relationship for encoding:
[0066] h=f(x)=S f (Wx+b j ).
[0067] Where x is the feature vector composed of the feature information of at least one pickup point. W is the weight of the input vector, b j represents the threshold of the jth neuron, and h is the resulting hidden layer vector.
[0068] The hidden layer vector h is used as the input of the decoder, and the decoder uses the following relationship for decoding:
[0069] y=g(h)=S g (Qh+b h ).
[0070] Among them, Q is the weight vector of the hidden layer vector h, b h is the threshold, S g is the activation function of the decoder.
[0071] S302: Train each deep autoencoder using a deep learning algorithm and feature information of at least one pickup point to obtain a constructed deep learning scoring system.
[0072] Specifically, the process of training each deep autoencoder using a deep learning algorithm and feature information of at least one pickup point is as follows:
[0073] Find the parameters W, bj, bh that minimize the reconstruction error on the training sample set D (feature information of at least one pickup point). The expression of the reconstruction error is:
[0074] J = ∑x∈DL(x,g(f(x)));
[0075] Where x is the input of the expression of the reconstruction error, g(f(x)) is the decoder output of the expression of the reconstruction error, and L is the reconstruction error function;
[0076] The steps to train a deep autoencoder are as follows:
[0077] Step A: Input feature information of at least one pickup point for training and train the first deep autoencoder in an unsupervised manner.
[0078] Step B: Use the output of the first deep autoencoder as the input of the next deep autoencoder to train the second deep autoencoder.
[0079] Step C: Repeat step B until the training of the preset number of hidden layers is completed.
[0080] Step D: With the weight value of the target pickup point as the output, a back propagation neural network prediction model is added to the last hidden layer to fine-tune the weights of the deep learning scoring system.
[0081] Optional, such as Figure 3 As shown, the method of using a deep learning algorithm and feature information of at least one pickup point to train each deep autoencoder to obtain a constructed deep learning scoring system specifically includes:
[0082] S401. Use the output of the current deep autoencoder as the input of the next deep autoencoder to train a second deep autoencoder until the training of a preset number of hidden layers is completed to obtain a constructed deep learning scoring system.
[0083] Among them, the first deep autoencoder is obtained by inputting feature information of at least one pickup point into the initial deep learning system through unsupervised training; the next autoencoder is: the autoencoder in the next hidden layer adjacent to the hidden layer corresponding to the current autoencoder.
[0084] Optional, such as Figure 4 As shown, after sending the order information to the target pickup point and delivery terminal, the following steps are also included:
[0085] S501. Store the address information and weight in a storage device of a distributed configuration center.
[0086] The distributed configuration center provides externalized configuration support for distributed systems for servers and clients. The configuration server provides a centralized external configuration for all environments of each application. It implements the mapping of Spring Environment and PropertySource abstractions for servers and clients, so it can be used in applications running in any other language in addition to applications built with Spring. As an application can be tested or put into production through a deployment pipeline, we can create configurations for these environments separately, and get the configuration of the corresponding environment to run when the environment needs to be migrated.
[0087] Specifically, after sending the order information to the target pickup point and delivery terminal, the order dispatching device may store the address information and weight in a storage device of the distributed configuration center.
[0088] S502: Read the physical start address and end address of the address information and weight storage in the storage device.
[0089] Specifically, after the address information and weight are stored in the storage device of the distributed configuration center, the order dispatching device can read the physical start address and end address of the address information and weight stored in the storage device.
[0090] Since the storage device is a storage device of a distributed configuration center, the order dispatching device can quickly read the physical start address and end address of the address information and weight storage in the storage device.
[0091] S503: Construct a storage folder for address information and weight using the start address and the end address.
[0092] Specifically, after reading the physical start address and end address of the address information and weight storage in the storage device, the order dispatching device can construct a storage folder for the address information and weight with the start address and end address.
[0093] In this way, the address information and weight constructed with the start address and the end address are stored in a folder, avoiding the need to modify the information table and record the new storage address after each update.
[0094] Optionally, the order dispatching device constructs a storage folder for address information and weights using the start address and the end address. The storage folder may be named after the location of the address information, or after the geographic coordinates of the address information, or in other ways, which is not limited in the present application.
[0095] Optional, such as Figure 5 As shown, after the storage folder of address information and weight is constructed with the start address and the end address, it also includes:
[0096] S601. Periodically obtain address information and weight update information.
[0097] Specifically, after constructing a storage folder for address information and weights using the start address and the end address, the order dispatching device may also periodically obtain update information of the address information and weights.
[0098] For example, after constructing a storage folder for address information and weights with the start address and the end address, the order dispatching device can obtain updated information of the address information and weights every other day, so that the real-time storage of the address information and weights can be guaranteed.
[0099] S602: Write the update information into the storage folder so that the update information covers the address information and the weight for storage.
[0100] Specifically, after periodically acquiring the updated information of the address information and weight, the order dispatching device can write the updated information into the storage folder so that the updated information covers the address information and weight for storage. In this way, after acquiring the updated information of the address information and weight each time, the order dispatching device does not need to modify the original information table, nor does it need to add a new information table (occupying storage space), but only needs to control the updated information to cover the address information and weight for storage.
[0101] Optional, such as Figure 6 As shown, after the update information is written into the storage folder so that the update information covers the address information and the weight for storage, the following is also included:
[0102] S701, read the call request for collecting address information and weight.
[0103] Specifically, after writing the update information into the storage folder so that the update information covers the address information and weight for storage, the order dispatching device can also read the call request for collecting the address information and weight.
[0104] S702: Read the storage data of the storage folder according to the calling request, and respond to the calling request according to the storage data.
[0105] Specifically, after reading the call request for collecting address information and weight, the order dispatching device can also read the storage data of the storage folder according to the call request, and respond to the call request based on the storage data.
[0106] For example, if the operation and maintenance personnel want to read a certain collection address information and weight and verify the accuracy of the data, they can write a data query script to generate a call request for reading the collection address information and weight. In this case, the order dispatching device reads the call request for the collection address information and weight, reads the storage data of the storage folder according to the call request, and responds to the call request based on the storage data. In this way, the operation and maintenance personnel can view the collection address information and weight and verify the accuracy of the data.
[0107] The order dispatching method provided in this embodiment can obtain the characteristic information of the target pickup point in the target area corresponding to the destination address after receiving the order dispatching request, and determine the weight value of the target pickup point based on the characteristic information of the target pickup point and the pre-built deep learning scoring system. Subsequently, if the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the delivery terminal. Since the pre-built deep learning scoring system can accurately determine the weight value of the target pickup point, the embodiment of the present application can accurately determine the pickup point that meets the preset conditions, thereby improving the efficiency of order dispatching.
[0108] It should be noted that the execution subject of the order dispatching method provided in the embodiment of the present application may be an order dispatching device, or a control module in the order dispatching device for executing the order dispatching method. In the embodiment of the present application, the order dispatching device provided in the embodiment of the present application is described by taking the execution of the order dispatching method by the order dispatching device as an example.
[0109] It should be noted that in the embodiments of the present application, the order dispatching methods shown in the above-mentioned method drawings are all illustrated by combining one of the drawings in the embodiments of the present application as an example. In specific implementation, the order dispatching methods shown in the above-mentioned method drawings can also be implemented in combination with any other drawings that can be combined as shown in the above-mentioned embodiments, which will not be repeated here.
[0110] Please refer to Figure 7 , Figure 7 Schematic diagram of the basic structure of the order dispatching device in this embodiment.
[0111] like Figure 7 As shown, an order dispatching device includes: a receiving module 801, used to receive an order dispatching request; the order dispatching request includes an order destination address; an obtaining module 802, used to obtain characteristic information of a target pickup point in a target area corresponding to the destination address; a processing module 803, used to determine a weight value of the target pickup point according to the characteristic information of the target pickup point and a pre-built deep learning scoring system; a sending module 804, used to send order information to the target pickup point and the delivery terminal if the weight value of the target pickup point meets a preset condition.
[0112] In some embodiments, the processing module 803 is also used to: construct an initial deep learning system using Hadoop open source software and a deep learning algorithm; the deep learning algorithm includes multiple deep autoencoders, hidden layers and back propagation neural networks BP established in the Hadoop database; one hidden layer corresponds to one deep autoencoder; each deep autoencoder is trained using the deep learning algorithm and feature information of at least one pickup point to obtain a constructed deep learning scoring system.
[0113] In some embodiments, each deep autoencoder includes an encoder and a decoder; the encoder encodes using the following relationship: h = f(x) = S f (Wx+b j ), where x is the feature vector composed of the feature information of at least one pickup point; W is the weight of the input vector, b j represents the threshold of the jth neuron, h is the hidden layer vector obtained; the hidden layer vector h is used as the input of the decoder, and the decoder decodes using the following relationship: y = g(h) = S g (Qh+b h), where Q is the weight vector of the hidden layer vector h, b h is the threshold, S g is the activation function of the decoder.
[0114] In some embodiments, the processing module 803 is specifically used to: use the output of the current deep autoencoder as the input of the next deep autoencoder to train a second deep autoencoder until the training of a preset number of hidden layers is completed to obtain a constructed deep learning scoring system; the first deep autoencoder is obtained by inputting feature information of at least one pickup point into the initial deep learning system through unsupervised training; the next autoencoder is: the autoencoder in the next hidden layer adjacent to the hidden layer corresponding to the current autoencoder.
[0115] In some embodiments, the order delivery device also includes: a storage module 805, which is used to store the address information and weights in a storage device of a distributed configuration center; a reading module 806, which is used to read the physical start address and end address of the address information and weights stored in the storage device; the storage module 805 is also used to construct a storage folder for the address information and weights with the start address and end address.
[0116] In some embodiments, the acquisition module 802 is also used to periodically acquire update information of the address information and the weight; the storage module 805 is also used to write the update information into the storage folder so that the update information covers the address information and the weight for storage.
[0117] In some embodiments, the reading module 806 is also used to read the call request for collecting address information and weight; the processing module 803 is also used to read the storage data of the storage folder according to the call request, and respond to the call request based on the storage data.
[0118] The order dispatching device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0119] The order dispatching device provided in the embodiment of the present application can achieve Figures 1 to 6 In the method embodiment, each process implemented by the device is not described here in detail to avoid repetition.
[0120] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0121] The order dispatching device provided in the embodiment of the present application can obtain the characteristic information of the target pickup point in the target area corresponding to the destination address after receiving the order dispatching request, and determine the weight value of the target pickup point based on the characteristic information of the target pickup point and the pre-built deep learning scoring system. Subsequently, if the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the distribution terminal. Since the pre-built deep learning scoring system can accurately determine the weight value of the target pickup point, the embodiment of the present application can accurately determine the pickup point that meets the preset conditions, thereby improving the efficiency of order dispatching.
[0122] To solve the above technical problems, the present invention also provides a computer device. Figure 8 , Figure 8 This is a basic structural block diagram of the computer device in this embodiment.
[0123] like Figure 8 As shown, a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a storage medium, a memory, and a network interface connected via a system bus. Among them, the storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor may implement an order dispatching method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor may execute an order dispatching method. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0124] In this embodiment, the processor is used to execute Figure 7The memory stores the program code and various data required to execute the above modules. The network interface is used to transmit data between the user terminal or the server. The memory in this embodiment stores the program code and data required to execute all sub-modules in the order dispatching device, and the server can call the program code and data of the server to execute the functions of all sub-modules.
[0125] The computer device provided in this embodiment can obtain the characteristic information of the target pickup point in the target area corresponding to the destination address after receiving the order dispatch request, and determine the weight value of the target pickup point based on the characteristic information of the target pickup point and the pre-built deep learning scoring system. Subsequently, if the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the distribution terminal. Since the pre-built deep learning scoring system can accurately determine the weight value of the target pickup point, the embodiment of the present application can accurately determine the pickup point that meets the preset conditions, thereby improving the efficiency of order dispatch.
[0126] The present invention also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the order dispatching method in any of the above embodiments.
[0127] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0128] The present invention also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the order dispatching method in any of the above embodiments.
[0129] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0130] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.
[0131] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An order dispatching method, characterized in that: include: Receive order dispatch requests; The order dispatch request includes an order destination address; Acquire characteristic information of a target pickup point in a target area corresponding to the destination address, the characteristic information including at least one of a location of the target pickup point, a distance between the target pickup point and the destination address, a quantity of goods at the target pickup point, a quantity of favorable comments at the target pickup point, and a turnover of the target pickup point; Determine the weight value of the target pickup point according to the characteristic information of the target pickup point and a pre-built deep learning scoring system; If the weight value of the target pickup point meets the preset conditions, the order information is sent to the target pickup point and the delivery terminal; Storing the order destination address and weight in a storage device of a distributed configuration center; Read the physical start address and end address of the order destination address and weight storage in the storage device; Constructing a storage folder for the order destination address and weight based on the start address and end address; Periodically obtaining updated information of the order destination address and weight; Writing the updated information into the storage folder so that the updated information covers the order destination address and weight for storage; The method further comprises: An initial deep learning system is constructed using Hadoop open source software and a deep learning algorithm; the deep learning algorithm includes multiple deep autoencoders, hidden layers, and back propagation neural networks (BPs) established in the Hadoop database; one hidden layer corresponds to one deep autoencoder; Using the deep learning algorithm and feature information from at least one pickup point to train each of the deep autoencoders to obtain a constructed deep learning scoring system; Each of the deep autoencoders comprises an encoder and a decoder; The encoder uses the following relationship for encoding: h=f(x)=S f (Wx+b j ); Where x is the feature vector composed of the feature information from at least one pickup point; W is the weight of the input vector, b j represents the threshold of the jth neuron, and h is the resulting hidden layer vector; The hidden layer vector h is used as the input of the decoder, and the decoder uses the following relationship for decoding: y=g(h)=S g (Qh+b h ); Where Q is the weight vector of the hidden layer vector h, b h is the threshold, S g is the activation function of the decoder.
2. The order dispatching method according to claim 1, characterized in that: The deep learning algorithm and feature information from at least one pickup point are used to train each deep autoencoder to obtain a constructed deep learning scoring system, including: The output of the current deep autoencoder is used as the input of the next deep autoencoder to train a second deep autoencoder until the training of a preset number of hidden layers is completed to obtain the constructed deep learning scoring system; the first deep autoencoder is obtained by inputting the feature information from at least one pickup point into the initial deep learning system through unsupervised training; the next deep autoencoder is: the deep autoencoder in the next hidden layer adjacent to the hidden layer corresponding to the current deep autoencoder.
3. The order dispatching method according to claim 1, characterized in that: After the updating information is written into the storage folder so that the updating information covers the order destination address and weight for storage, the method further includes: Reading a call request for collecting the order destination address and weight; The storage data of the storage folder is read according to the calling request, and the calling request is responded to according to the storage data.
4. An order dispatching device, characterized in that: include: A receiving module, used for receiving order dispatching requests; The order dispatch request includes an order destination address; An acquisition module is used to acquire characteristic information of a target pickup point in a target area corresponding to the destination address, wherein the characteristic information includes at least one of the location of the target pickup point, the distance between the target pickup point and the destination address, the quantity of goods at the target pickup point, the number of favorable comments at the target pickup point, and the turnover of the target pickup point; A processing module, used to determine the weight value of the target pickup point according to the characteristic information of the target pickup point and a pre-built deep learning scoring system; A sending module, configured to send order information to the target pickup point and the delivery terminal if the weight value of the target pickup point meets a preset condition; A storage module, used to store the order destination address and weight in a storage device of a distributed configuration center; A reading module, used for reading the physical starting address and ending address of the order destination address and weight storage in the storage device; The storage module is further used to construct a storage folder for the order destination address and weight using the start address and end address; The acquisition module is further used to periodically acquire update information of the order destination address and weight; The storage module is further used to write the update information into the storage folder so that the update information covers the order destination address and weight for storage; The processing module is further used for: An initial deep learning system is constructed using Hadoop open source software and a deep learning algorithm; the deep learning algorithm includes multiple deep autoencoders, hidden layers, and back propagation neural networks (BPs) established in the Hadoop database; one hidden layer corresponds to one deep autoencoder; Using the deep learning algorithm and feature information from at least one pickup point to train each of the deep autoencoders to obtain a constructed deep learning scoring system; Each of the deep autoencoders comprises an encoder and a decoder; The encoder uses the following relationship for encoding: h=f(x)=S f (Wx+b j ); Where x is the feature vector composed of the feature information from at least one pickup point; W is the weight of the input vector, b j represents the threshold of the jth neuron, and h is the resulting hidden layer vector; The hidden layer vector h is used as the input of the decoder, and the decoder uses the following relationship for decoding: y=g(h)=S g (Qh+b h ); Where Q is the weight vector of the hidden layer vector h, b h is the threshold, S g is the activation function of the decoder.
5. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the order dispatching method according to any one of claims 1 to 3.
6. A storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by one or more processors, the one or more processors are caused to execute the steps of the order dispatching method according to any one of claims 1 to 3.
