Method, device, storage medium and electronic device for estimating settlement data

By detecting and utilizing historical estimation requests with high similarity within a predetermined time, the estimated settlement data is directly obtained and presented, which solves the problem of high complexity of price estimation calculations in the existing technology and improves system performance and resource utilization. Rate.

CN111815346BActive Publication Date: 2024-09-27DITU (BEIJING) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010283206.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-10
Publication Date
2024-09-27
Estimated Expiration
2040-09-27

AI Technical Summary

Technical Problem

The existing price estimation technology has high computational complexity, each price estimation takes a long time, and the system operation pressure is high. Even if the starting point and end point are the same, it must be recalculated, which wastes system resources.

Method used

When a new estimation request is received, it is detected whether there is a historical estimation request with a similarity reaching the predetermined similarity within the predetermined time. If there is, the corresponding estimation settlement data is directly obtained and presented to avoid recalculation.

Benefits of technology

It simplifies the operation processing process, reduces the operation complexity, shortens the processing time, improves the system performance, and reduces the waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111815346B
    Figure CN111815346B
Patent Text Reader

Abstract

The disclosed embodiments provide a method, device, storage medium and electronic device for estimating settlement data, the method comprising: responding to a first estimated request for settlement data, detecting whether there is a second estimated request with a predetermined similarity to the first estimated request within a predetermined time before the first estimated request; if there is a second estimated request, obtaining estimated settlement data corresponding to the second estimated request, and presenting the estimated settlement data to the user. When there are historical estimated requests with a high degree of similarity within a short period of time, the disclosed embodiments directly output the estimated settlement data of the historical estimated request without recalculating the current estimated request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a method, device, storage medium and electronic device for estimating settlement data. Background Art

[0002] In the current price estimation technology, the price presented to the user is determined based on the route planning and the required time. Each time the starting point and the end point are received, the required time needs to be re-estimated based on the starting point and the end point, and then a complete price estimation calculation is performed based on the required time, the starting point and the end point. The existing price estimation technology has a high computational complexity, and each price estimation takes a long time. The system has a high computational pressure, and even if the starting point and the end point are the same, they need to be recalculated, wasting system resources. Summary of the invention

[0003] In view of this, the embodiments of the present disclosure propose a method, device, storage medium and electronic device for estimating settlement data to solve the following problems in the prior art: the existing price estimation technology has high computational complexity, each price estimation takes a long time, the system has high computational pressure, and even the same starting point and end point have to be recalculated, wasting system resources.

[0004] On the one hand, an embodiment of the present disclosure proposes a method for estimating settlement data, comprising: in response to a first estimated request for settlement data, detecting whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined similarity within a predetermined time before the first estimated request; in the case where the second estimated request exists, obtaining the estimated settlement data corresponding to the second estimated request, and presenting the estimated settlement data to a user.

[0005] In some embodiments, detecting whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined similarity within a predetermined time before the first estimated request includes: detecting whether there is a historical estimated request that meets a first condition within a predetermined time before the first estimated request, wherein the first condition includes: the distance between the starting point of the historical estimated request and the starting point of the first estimated request is less than a first predetermined distance, and the distance between the end point of the historical estimated request and the end point of the first estimated request is less than a second predetermined distance; in the case that there is a historical estimated request that meets the first condition, determining that the historical estimated request is the second estimated request.

[0006] In some embodiments, after detecting whether there is a historical estimation request that meets the first condition within a predetermined time before the first estimation request, it also includes: in the absence of a historical estimation request that meets the first condition, preprocessing the starting point name and the end point name of the first estimation request so that the preprocessed starting point name and the end point name both comply with a predetermined naming rule; recalling the historical estimation request with the same preprocessed starting point name through a predetermined starting point recaller to obtain a first request set; recalling the historical estimation request with the same preprocessed end point name through a predetermined end point recaller to obtain a second request set; detecting whether there is an identical historical estimation request in the first request set and the second request set; and in the absence of an identical historical estimation request, determining that the identical historical estimation request is the second estimation request.

[0007] In some embodiments, determining that the same historical estimation request is the second estimation request includes: detecting whether the same historical estimation request satisfies a second condition, wherein the second condition includes: the distance between the starting point of the same historical estimation request and the starting point of the first estimation request is less than a third predetermined distance, and the distance between the end point of the same historical estimation request and the end point of the first estimation request is less than a fourth predetermined distance; in the case that there is the same historical estimation request that satisfies the second condition, determining that the same historical estimation request is the second estimation request.

[0008] In some embodiments, after detecting whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined similarity within a predetermined time before the first estimated request, it also includes: in the absence of the second estimated request, estimating the settlement data according to the starting point and end point in the first estimated request, and presenting the estimated settlement data to the user.

[0009] On the other hand, an embodiment of the present disclosure proposes a device for estimating settlement data, comprising: a detection module, for responding to a first estimated request for settlement data, and detecting whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined similarity within a predetermined time before the first estimated request; an acquisition module, for acquiring estimated settlement data corresponding to the second estimated request in the case where the second estimated request exists; and a presentation module, for presenting the estimated settlement data to a user.

[0010] In some embodiments, the detection module includes: a first detection unit, used to detect whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request, wherein the first condition includes: the distance between the starting point of the historical estimation request and the starting point of the first estimation request is less than a first predetermined distance, and the distance between the end point of the historical estimation request and the end point of the first estimation request is less than a second predetermined distance; and a first determination unit, used to determine that the historical estimation request is the second estimation request when there is a historical estimation request that meets the first condition.

[0011] In some embodiments, the detection module also includes: a preprocessing unit, which is used to preprocess the starting point name and the end point name of the first estimation request in the absence of a historical estimation request that meets the first condition, so that the preprocessed starting point name and the end point name both comply with a predetermined naming rule; a first recall unit, which is used to recall the historical estimation requests with the same name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set; a second recall unit, which is used to recall the historical estimation requests with the same name as the preprocessed end point through a predetermined end point recaller to obtain a second request set; a second detection unit, which is used to detect whether there are identical historical estimation requests in the first request set and the second request set; and a second determination unit, which is used to determine that the identical historical estimation request is the second estimation request when there are identical historical estimation requests.

[0012] In some embodiments, the second determination unit is specifically used to: detect whether the same historical estimation request satisfies a second condition, wherein the second condition includes: the distance between the starting point of the same historical estimation request and the starting point of the first estimation request is less than a third predetermined distance, and the distance between the end point of the same historical estimation request and the end point of the first estimation request is less than a fourth predetermined distance; in the case that there is the same historical estimation request that satisfies the second condition, determine that the same historical estimation request is the second estimation request.

[0013] In some embodiments, it also includes: an estimation module, which is used to estimate the settlement data according to the starting point and end point in the first estimation request in the absence of the second estimation request; the presentation module is also used to present the estimated settlement data to the user.

[0014] On the other hand, an embodiment of the present disclosure provides a storage medium storing a computer program, which implements the method provided by any embodiment of the present disclosure when the computer program is executed by a processor.

[0015] On the other hand, an embodiment of the present disclosure provides an electronic device, which includes at least a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the method provided in any embodiment of the present disclosure when executing the computer program in the memory.

[0016] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a similarity reaching a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there are historical estimation requests with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0018] Figure 1 A flowchart of a method for estimating settlement data provided in the first embodiment of the present disclosure;

[0019] Figure 2 A flowchart of a method for estimating settlement data provided in accordance with the second embodiment of the present disclosure;

[0020] Figure 3 A flowchart of a method for estimating settlement data provided in the third embodiment of the present disclosure;

[0021] Figure 4 A schematic diagram of the structure of an apparatus for estimating settlement data provided in a fourth embodiment of the present disclosure;

[0022] Figure 5 An interactive logic diagram provided for the fourth embodiment of the present disclosure;

[0023] Figure 6 A schematic diagram of the structure of an electronic device provided in the sixth embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0025] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0026] In order to keep the following description of the embodiments of the present disclosure clear and concise, the present disclosure omits detailed descriptions of well-known functions and well-known components.

[0027] The first embodiment of the present disclosure provides a method for estimating settlement data. The process of the method is as follows: Figure 1 As shown, steps S101 to S102 are included:

[0028] S101 , in response to a first estimation request for settlement data, detecting whether there is a second estimation request within a predetermined time before the first estimation request, the similarity of which reaches a predetermined similarity with the first estimation request.

[0029] After the user enters the starting point and the end point on the estimated settlement data request page, an estimated request can be issued to request estimated settlement data based on the currently entered starting point and the end point. For the same user, if the user enters the same starting point and the end point twice in a short period of time, but the prices presented twice are different, after the user finds this problem, the user experience is not good, and the user may issue multiple estimation requests in succession in the hope of getting a lower price. For multiple different users, if two users are acquaintances and call a vehicle almost at the same time, if the two users are displayed with different prices, the user experience is poor. If the user with higher estimated settlement data happens to be a high-frequency user of the APP, it is easy for the user to misunderstand it as a phenomenon of "slaughtering familiar customers". For the system, every time after receiving the starting point and the end point, it is necessary to re-estimate the required time based on the starting point and the end point, and then perform a complete settlement data estimation calculation based on the required time, the starting point and the end point. If the inputs are the same or similar starting points and end points, multiple identical or similar calculations will waste system resources.

[0030] Based on the above considerations, when receiving the first estimated request, the embodiment of the present disclosure detects whether there is a second estimated request that is very similar to the first estimated request within a predetermined time before the first estimated request. The predetermined time mentioned above can be a shorter time, such as 2 minutes; the second estimated request mentioned above can be the same request sent by the online user with the same starting point and end point. For example, an APP receives 1,000 estimated requests within 2 minutes before the first estimated request, and 5 of the 1,000 estimated requests have the same starting point and end point as the first estimated request. Then, these 5 estimated requests can be determined as the second estimated request. Preferably, the estimated request among the 5 estimated requests that is closest in time to the first estimated request can also be used as the second estimated request.

[0031] In this embodiment, the similarity between the second estimated request and the first estimated request needs to reach a predetermined similarity. The predetermined similarity can be determined by the names of the starting point and the end point, or by the longitude and latitude coordinates of the starting point and the end point. As long as the longitude and latitude coordinates are within a range, they can be set to meet the predetermined similarity.

[0032] S102: When there is a second estimation request, obtain estimated settlement data corresponding to the second estimation request, and present the estimated settlement data to the user.

[0033] If there is a second estimated request, it can be determined that a user has issued an estimated request with the same starting point and end point in a short period of time, and the estimated settlement data obtained when the second estimated request occurs is directly obtained and presented to the user. The user sees the same estimated settlement data, and the user experience is good. In specific implementation, the estimated settlement data of the second estimated request can also be obtained through other estimated requests that reach a predetermined similarity, which is not limited here.

[0034] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a similarity reaching a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there are historical estimation requests with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance.

[0035] The second embodiment of the present disclosure provides a method for estimating settlement data. Compared with the first embodiment, this embodiment refines the multiple determination methods of the second estimation request. The process of the method is as follows: Figure 2 As shown, steps S201 to S209 are included:

[0036] S201, in response to a first estimation request for settlement data, detecting whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request. If yes, execute S202, otherwise, execute S203.

[0037] After the user enters the starting point and the end point on the estimated settlement data request page, an estimated request can be issued to request estimated settlement data based on the currently entered starting point and the end point. For the same user, if the user enters the same starting point and the end point twice in a short period of time, but the prices presented twice are different, after the user finds this problem, the user experience is not good, and the user may issue multiple estimation requests in succession in the hope of getting a lower price. For multiple different users, if two users are acquaintances and call a vehicle almost at the same time, if the two users are displayed with different prices, the user experience is poor. If the user with higher estimated settlement data happens to be a high-frequency user of the APP, it is easy for the user to misunderstand it as a phenomenon of "slaughtering familiar customers". For the system, every time after receiving the starting point and the end point, it is necessary to re-estimate the required time based on the starting point and the end point, and then perform a complete settlement data estimation calculation based on the required time, the starting point and the end point. If the inputs are the same or similar starting points and end points, multiple identical or similar calculations will waste system resources.

[0038] Based on the above considerations, when receiving a first estimation request, the embodiment of the present disclosure detects whether there is a historical estimation request that meets the first condition within a predetermined time before the first estimation request. The predetermined time may be a shorter time, such as 2 minutes.

[0039] The above-mentioned first condition includes: the distance between the starting point of the historical estimation request and the starting point of the first estimation request is less than the first predetermined distance, and the distance between the end point of the historical estimation request and the end point of the first estimation request is less than the second predetermined distance. This process determines whether the positions are the same, that is, whether the starting point and the end point of the first estimation request have almost the same longitude and latitude information as the starting point and the end point of the historical estimation request. In specific implementation, the first predetermined distance and the second predetermined distance can be the same or different, but since it is an inventory of whether the positions are the same, the first predetermined distance and the second predetermined distance should be set to be relatively small, such as 10 meters or 20 meters.

[0040] S202: If there is a historical estimation request that meets the first condition, determine that the historical estimation request is a second estimation request. Then, execute S208.

[0041] S203: In the absence of a historical estimation request satisfying the first condition, preprocessing the start point name and the end point name of the first estimation request so that the preprocessed start point name and the end point name both comply with a predetermined naming rule.

[0042] For example, "Unit 3, Yard No. 4, AA Community" can be processed into "Unit 3, Yard No. 4, AA Community", that is, unified processing is performed using a predetermined naming rule so that the recaller can be used to perform accurate data recall later.

[0043] S204: Recall the historical estimated requests with the same name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set.

[0044] S205 , recalling the historical estimation requests with the same name as the preprocessed endpoint through the predetermined endpoint recaller to obtain a second request set.

[0045] S206, detecting whether there is the same historical estimation request in the first request set and the second request set. If yes, executing S207, otherwise executing S209.

[0046] S207: If the same historical estimation request exists, determine the same historical estimation request as the second estimation request. Then, execute S208.

[0047] The above process S203-S207 is to determine whether the names are the same. If the names are the same, it is considered that there is a second estimation request.

[0048] S208: If there is a second estimation request, obtain estimated settlement data corresponding to the second estimation request, and present the estimated settlement data to the user.

[0049] If there is a second estimated request, it can be determined that a user has issued an estimated request with the same starting point and end point in a short period of time, and the estimated settlement data obtained when the second estimated request occurs is directly obtained and presented to the user. In specific implementation, the estimated settlement data of the second estimated request can also be obtained through other estimated requests that reach a predetermined similarity, which is not limited here.

[0050] S209: In the absence of a second estimation request, estimate settlement data according to the starting point and the end point in the first estimation request, and present the estimated settlement data to the user.

[0051] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there is a historical estimation request with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance. .

[0052] The third embodiment of the present disclosure provides a method for estimating settlement data. Compared with the second embodiment, this embodiment adds a detection mechanism for misjudgment. The process of the method is as follows: Figure 3 As shown, steps S301 to S310 are included:

[0053] S301, in response to a first estimation request for settlement data, detect whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request. If yes, execute S302, otherwise, execute S303.

[0054] After the user enters the starting point and the end point on the estimated settlement data request page, an estimated request can be issued to request estimated settlement data based on the currently entered starting point and the end point. For the same user, if the user enters the same starting point and the end point twice in a short period of time, but the prices presented twice are different, after the user finds this problem, the user experience is not good, and the user may issue multiple estimation requests in succession in the hope of getting a lower price. For multiple different users, if two users are acquaintances and call a vehicle almost at the same time, if the two users are displayed with different prices, the user experience is poor. If the user with higher estimated settlement data happens to be a high-frequency user of the APP, it is easy for the user to misunderstand it as a phenomenon of "slaughtering familiar customers". For the system, every time after receiving the starting point and the end point, it is necessary to re-estimate the required time based on the starting point and the end point, and then perform a complete settlement data estimation calculation based on the required time, the starting point and the end point. If the inputs are the same or similar starting points and end points, multiple identical or similar calculations will waste system resources.

[0055] Based on the above considerations, when receiving a first estimation request, the embodiment of the present disclosure detects whether there is a historical estimation request that meets the first condition within a predetermined time before the first estimation request. The predetermined time may be a shorter time, such as 2 minutes.

[0056] The above-mentioned first condition includes: the distance between the starting point of the historical estimation request and the starting point of the first estimation request is less than the first predetermined distance, and the distance between the end point of the historical estimation request and the end point of the first estimation request is less than the second predetermined distance. This process determines whether the positions are the same, that is, whether the starting point and the end point of the first estimation request have almost the same longitude and latitude information as the starting point and the end point of the historical estimation request. In specific implementation, the first predetermined distance and the second predetermined distance can be the same or different, but since it is an inventory of whether the positions are the same, the first predetermined distance and the second predetermined distance should be set to be relatively small, such as 10 meters or 20 meters.

[0057] S302: If there is a historical estimation request that meets the first condition, determine that the historical estimation request is a second estimation request. Then, execute S309.

[0058] S303: In the absence of a historical estimation request satisfying the first condition, preprocessing the start point name and the end point name of the first estimation request so that the preprocessed start point name and the end point name both comply with a predetermined naming rule.

[0059] For example, "Unit 3, Yard 4, AA Community" can be processed into "Unit 3, Yard 4, AA Community", that is, unified processing is performed using a predetermined naming rule so that the recaller can be used to perform accurate data recall later.

[0060] S304: Recall the historical estimated requests with the same name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set.

[0061] S305 , recalling the historical estimation requests with the same name as the preprocessed endpoint through the predetermined endpoint recaller to obtain a second request set.

[0062] S306, detecting whether there is the same historical estimation request in the first request set and the second request set. If yes, executing S307, otherwise executing S310.

[0063] S307: If the same historical estimation request exists, detect whether the same historical estimation request satisfies the second condition. If yes, execute S308; otherwise, execute S310.

[0064] The second condition includes: the distance between the starting point of the same historical estimation request and the starting point of the first estimation request is less than the third predetermined distance, and the distance between the end point of the same historical estimation request and the end point of the first estimation request is less than the fourth predetermined distance;

[0065] S308: If there is an identical historical estimation request that satisfies the second condition, determine the identical historical estimation request as a second estimation request. Then, execute S309.

[0066] The above-mentioned process S303-S308 determines whether the names are the same. If the names are the same, a further determination is made as to whether the locations are the same. By adding a process for determining whether the locations are the same, errors in estimated settlement data caused by duplicate places in the same city can be avoided.

[0067] S309: If there is a second estimation request, obtain estimated settlement data corresponding to the second estimation request, and present the estimated settlement data to the user.

[0068] If there is a second estimated request, it can be determined that a user has issued an estimated request with the same starting point and end point in a short period of time, and the estimated settlement data obtained when the second estimated request occurs is directly obtained and presented to the user. In specific implementation, the estimated settlement data of the second estimated request can also be obtained through other estimated requests that reach a predetermined similarity, which is not limited here.

[0069] S310: In the absence of a second estimation request, estimate settlement data according to the starting point and the end point in the first estimation request, and present the estimated settlement data to the user.

[0070] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there is a historical estimation request with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance. .

[0071] The fourth embodiment of the present disclosure provides a device for estimating settlement data. The structure of the device is shown as follows: Figure 4 As shown, including:

[0072] The detection module 10 is used to respond to a first estimated request for settlement data and detect whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined similarity within a predetermined time before the first estimated request; the acquisition module 20 is coupled with the detection module 10 and is used to obtain the estimated settlement data corresponding to the second estimated request when there is a second estimated request; the presentation module 30 is coupled with the acquisition module 20 and is used to present the estimated settlement data to the user.

[0073] After the user enters the starting point and the end point on the estimated settlement data request page, an estimated request can be issued to request estimated settlement data based on the currently entered starting point and the end point. For the same user, if the user enters the same starting point and the end point twice in a short period of time, but the prices presented twice are different, after the user finds this problem, the user experience is not good, and the user may issue multiple estimation requests in succession in the hope of getting a lower price. For multiple different users, if two users are acquaintances and call a vehicle almost at the same time, if the two users are displayed with different prices, the user experience is poor. If the user with higher estimated settlement data happens to be a high-frequency user of the APP, it is easy for the user to misunderstand it as a phenomenon of "slaughtering familiar customers". For the system, every time after receiving the starting point and the end point, it is necessary to re-estimate the required time based on the starting point and the end point, and then perform a complete settlement data estimation calculation based on the required time, the starting point and the end point. If the inputs are the same or similar starting points and end points, multiple identical or similar calculations will waste system resources.

[0074] Based on the above considerations, when receiving the first estimated request, the embodiment of the present disclosure detects whether there is a second estimated request that is very similar to the first estimated request within a predetermined time before the first estimated request. The predetermined time mentioned above can be a shorter time, such as 2 minutes; the second estimated request mentioned above can be the same request sent by the online user with the same starting point and end point. For example, an APP receives 1,000 estimated requests within 2 minutes before the first estimated request, and 5 of the 1,000 estimated requests have the same starting point and end point as the first estimated request. Then, these 5 estimated requests can be determined as the second estimated request. Preferably, the estimated request among the 5 estimated requests that is closest in time to the first estimated request can also be used as the second estimated request.

[0075] In this embodiment, the similarity between the second estimated request and the first estimated request needs to reach a predetermined similarity. The predetermined similarity can be determined by the names of the starting point and the end point, or by the longitude and latitude coordinates of the starting point and the end point. As long as the longitude and latitude coordinates are within a range, they can be set to meet the predetermined similarity.

[0076] If there is a second estimated request, it can be determined that a user has issued an estimated request with the same starting point and end point in a short period of time, and the estimated settlement data obtained when the second estimated request occurs is directly obtained and presented to the user. In specific implementation, the estimated settlement data of the second estimated request can also be obtained through other estimated requests that reach a predetermined similarity, which is not limited here.

[0077] In specific implementation, the above-mentioned detection module may include: a first detection unit, used to detect whether there is a historical estimation request that meets the first condition within a predetermined time before the first estimation request, wherein the first condition includes: the distance between the starting point of the historical estimation request and the starting point of the first estimation request is less than a first predetermined distance, and the distance between the end point of the historical estimation request and the end point of the first estimation request is less than a second predetermined distance; a first determination unit, used to determine that the historical estimation request is a second estimation request when there is a historical estimation request that meets the first condition.

[0078] The corresponding function implemented by the detection module is to determine whether the positions are the same, that is, to determine whether the starting point and the end point of the first estimation request have almost the same longitude and latitude information as the starting point and the end point of the historical estimation request. In specific implementation, the first predetermined distance and the second predetermined distance can be the same or different, but since it is an inventory of whether the positions are the same, the first predetermined distance and the second predetermined distance should be set to be relatively small, such as 10 meters or 20 meters.

[0079] The above-mentioned detection module may also include: a preprocessing unit, which is used to preprocess the starting point name and the end point name of the first estimation request in the absence of a historical estimation request that meets the first condition, so that the preprocessed starting point name and the end point name both meet the predetermined naming rules; a first recall unit, which is used to recall the historical estimation request with the same name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set; a second recall unit, which is used to recall the historical estimation request with the same name as the preprocessed end point through a predetermined end point recaller to obtain a second request set; a second detection unit, which is used to detect whether there are the same historical estimation requests in the first request set and the second request set; a second determination unit, which is used to determine that the same historical estimation request is the second estimation request in the case that the same historical estimation request exists. The corresponding function implemented by the detection module is to determine whether the names are the same. If the names are the same, it is considered that there is a second estimation request.

[0080] In order to avoid the situation where estimated settlement data errors are caused by duplicate places in the same city, the present embodiment adds a function of judging whether the locations are the same, that is, the above-mentioned second determination unit can be specifically used to: detect whether the same historical estimation request meets the second condition, wherein the second condition includes: the distance between the starting point of the same historical estimation request and the starting point of the first estimation request is less than the third predetermined distance, and the distance between the end point of the same historical estimation request and the end point of the first estimation request is less than the fourth predetermined distance; in the case that there is an identical historical estimation request that meets the second condition, determine that the identical historical estimation request is the second estimation request.

[0081] The above-mentioned device may also include: an estimation module, which is used to estimate the settlement data according to the starting point and the end point in the first estimation request when there is no second estimation request; and a presentation module, which is also used to present the estimated settlement data to the user.

[0082] Combine the following Figure 5 The above process is exemplarily described with reference to the specific embodiments.

[0083] In specific implementation, each of the above modules and units will be implemented as different "services", that is, each "service" is a packaged program with certain functions, and there is an interactive relationship between different "services". In this embodiment, the scheduled time is 2 minutes. The main processing logic is as follows:

[0084] (1) When a user initiates an estimate request, the estimate request enters the "estimate price service", and the "estimate price service" first forwards the request to the "estimate price request normalization service (equivalent to the function of the detection module)".

[0085] (2) The "estimated price request normalization service" first performs spatial aggregation normalization processing on the estimated request (i.e., realizes the functions of the first detection unit and the first determination unit), and then determines whether to perform name aggregation normalization processing (i.e., realizes the functions of the preprocessing unit, the first recall unit, the second recall unit, the second detection unit, and the second determination unit) based on the result of the spatial aggregation normalization processing.

[0086] (3) Determine whether the current estimate request can be normalized with the estimate request in the database after any of the above normalization processes. That is, if the current estimate request can be confirmed as a consistent estimate request with a previous estimate request within 2 minutes, it means that the current estimate request can be normalized with a previous estimate request within 2 minutes. The "Estimate Price Request Normalization Service" returns the settlement data of the previous estimate request that can be normalized.

[0087] (4) The estimated price service (equivalent to the functions of the acquisition module and the presentation module) uses the price information in the normalizable previous estimated request as the return result of this estimated request.

[0088] (5) If the current estimation request cannot be normalized with the previous estimation request, the estimation price service (equivalent to the functions of the estimation module and the presentation module) re-requests the path planning, time estimation and other services to perform a complete estimation price calculation before returning.

[0089] (6) The estimated price service sends all relevant information of the estimated request that returns the estimated settlement data to the database for storage so that it can be used when receiving the estimated request in the future and performing spatial aggregation and name aggregation normalization processing.

[0090] For spatial aggregation and normalization processing, the processing logic is as follows:

[0091] Perform "starting point spatial retrieval" and "end point spatial retrieval" on the estimation request, obtain the historical estimation requests within 2 minutes from the database, parse the starting point longitude and latitude and longitude, and match them with the starting point longitude and latitude and longitude of the estimation request. The specific process is as follows:

[0092] (1) With the starting point longitude and latitude in the estimation request as the center and a radius of 10 meters, perform a "starting point spatial search" process. If the search can obtain a result (recorded as L1), continue to (2). If the result is empty, exit the spatial aggregation and normalization process.

[0093] (2) With the destination longitude and latitude in the estimated request as the center and a radius of 10 meters, perform "destination space search" processing. If the search can obtain a result (recorded as L2), continue to (3). If the result is empty, exit the spatial aggregation and normalization processing.

[0094] (3) Traverse the results of L1 and L2. If there are identical results in L1 and L2, it means that the spatial aggregation normalization condition is met, and the result is returned to the estimated price service.

[0095] First, perform spatial aggregation and normalization. If the settlement data can be obtained through spatial aggregation, there is no need to perform name aggregation and normalization. If the settlement data cannot be obtained through spatial aggregation, enter the name aggregation and normalization process below.

[0096] The processing logic for name aggregation and normalization is as follows:

[0097] (1) Based on the starting point name and the end point name in the estimation request, preprocessing is performed to obtain a starting point name and an end point name that conform to the predetermined naming rules. For example, punctuation marks in the name are deleted, and information such as numbers is processed to achieve a normalization effect. For example, "AA Community No. 4 Courtyard-3 Unit" is processed into "AA Community No. 4 Courtyard 3 Unit".

[0098] (2) Perform the "estimated request starting point name text recall" process. If the result can be recalled (recorded as L3), continue to (3). If no result is recalled, exit the name aggregation and normalization process.

[0099] (3) Perform the "estimated request endpoint name text recall" process. If the result can be recalled (recorded as L4), continue to (4). If no result is recalled, exit the name aggregation and normalization process.

[0100] (4) Traverse the results of L3 and L4. If there are identical results in L3 and L4 (denoted as R), continue with (5). If there are no identical results, exit the name aggregation and normalization process.

[0101] (5) Determine the spatial distance between the result R and the estimated request, that is, calculate the distance DS between the starting point of the result R and the starting point of the estimated request, and calculate the distance DF between the end point of the result R and the end point of the estimated request. If DS <= 1000m and DF <= 1000m, name aggregation and normalization are achieved. Otherwise, exit the name aggregation and normalization process.

[0102] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a similarity reaching a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there are historical estimation requests with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance.

[0103] A fifth embodiment of the present disclosure provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided by any embodiment of the present disclosure is implemented, including the following steps S11 to S12:

[0104] S11, in response to a first estimation request for settlement data, detecting whether there is a second estimation request whose similarity with the first estimation request reaches a predetermined similarity within a predetermined time before the first estimation request;

[0105] S12: If there is a second estimation request, obtain estimated settlement data corresponding to the second estimation request, and present the estimated settlement data to the user.

[0106] When the computer program is executed by the processor to detect whether there is a second estimation request whose similarity with the first estimation request reaches a predetermined similarity within a predetermined time before the first estimation request, the processor specifically executes the following steps: detect whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request, wherein the first condition includes: the distance between the starting point of the historical estimation request and the starting point of the first estimation request is less than a first predetermined distance, and the distance between the end point of the historical estimation request and the end point of the first estimation request is less than a second predetermined distance; when there is a historical estimation request that meets the first condition, determine that the historical estimation request is a second estimation request.

[0107] After the computer program is executed by the processor to detect whether there is a historical estimation request that meets the first condition within a predetermined time before the first estimation request, the processor also executes the following steps: in the absence of a historical estimation request that meets the first condition, preprocessing the starting point name and the end point name of the first estimation request so that the preprocessed starting point name and the end point name both comply with the predetermined naming rules; recalling the historical estimation requests with the same starting point name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set; recalling the historical estimation requests with the same end point name as the preprocessed end point through a predetermined end point recaller to obtain a second request set; detecting whether there is the same historical estimation request in the first request set and the second request set; and in the case of the same historical estimation request, determining the same historical estimation request as the second estimation request.

[0108] When the computer program is executed by the processor to determine that the same historical estimation request is a second estimation request, the processor specifically executes the following steps: detecting whether the same historical estimation request satisfies a second condition, wherein the second condition includes: the distance between the starting point of the same historical estimation request and the starting point of the first estimation request is less than a third predetermined distance, and the distance between the end point of the same historical estimation request and the end point of the first estimation request is less than a fourth predetermined distance; in the case that there is an identical historical estimation request that satisfies the second condition, determining that the identical historical estimation request is a second estimation request.

[0109] After the processor executes the step of detecting whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined degree within a predetermined time before the first estimated request, the processor also executes the following steps: in the absence of a second estimated request, estimating settlement data according to the starting point and end point in the first estimated request, and presenting the estimated settlement data to the user.

[0110] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a similarity reaching a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there are historical estimation requests with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance.

[0111] Optionally, in this embodiment, the above-mentioned storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk. Optionally, in this embodiment, the processor executes the method steps recorded in the above-mentioned embodiment according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment can refer to the examples described in the above-mentioned embodiment and the optional implementation mode, and this embodiment will not be repeated here. Obviously, it should be understood by those skilled in the art that the above-mentioned modules or steps of the present disclosure can be implemented with a general computing device, which can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented with executable program codes of computing devices, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present disclosure is not limited to any specific combination of hardware and software.

[0112] A sixth embodiment of the present disclosure provides an electronic device. The structural diagram of the electronic device can be as follows: Figure 6 As shown, at least a memory 901 and a processor 902 are included. The memory 901 stores a computer program. The processor 902 implements the method provided by any embodiment of the present disclosure when executing the computer program on the memory 901. Exemplarily, the steps of the electronic device computer program are as follows S21 to S22:

[0113] S21, in response to a first estimation request for settlement data, detecting whether there is a second estimation request whose similarity with the first estimation request reaches a predetermined similarity within a predetermined time before the first estimation request;

[0114] S22: If there is a second estimation request, obtain estimated settlement data corresponding to the second estimation request, and present the estimated settlement data to the user.

[0115] When the processor executes a computer program stored in the memory for detecting whether there is a second estimation request whose similarity with the first estimation request reaches a predetermined similarity within a predetermined time before the first estimation request, the processor specifically executes the following computer program: detecting whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request, wherein the first condition includes: the distance between the starting point of the historical estimation request and the starting point of the first estimation request is less than a first predetermined distance, and the distance between the end point of the historical estimation request and the end point of the first estimation request is less than a second predetermined distance; if there is a historical estimation request that meets the first condition, determining that the historical estimation request is a second estimation request.

[0116] After executing a computer program stored in a memory for detecting whether there is a historical estimation request that meets a first condition within a predetermined time before a first estimation request, the processor further executes the following computer program: in the absence of a historical estimation request that meets the first condition, preprocessing the starting point name and the end point name of the first estimation request so that the preprocessed starting point name and the end point name both comply with a predetermined naming rule; recalling the historical estimation requests with the same name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set; recalling the historical estimation requests with the same name as the preprocessed end point through a predetermined end point recaller to obtain a second request set; detecting whether there is an identical historical estimation request in the first request set and the second request set; and determining, in the absence of an identical historical estimation request, that the identical historical estimation request is a second estimation request.

[0117] When the processor executes a computer program stored in the memory for determining that the same historical estimation request is a second estimation request, the processor specifically executes the following computer program: detecting whether the same historical estimation request satisfies a second condition, wherein the second condition includes: the distance between the starting point of the same historical estimation request and the starting point of the first estimation request is less than a third predetermined distance, and the distance between the end point of the same historical estimation request and the end point of the first estimation request is less than a fourth predetermined distance; in the case that there is an identical historical estimation request that satisfies the second condition, determining that the same historical estimation request is a second estimation request.

[0118] After executing a computer program stored in the memory for detecting whether there is a second estimated request whose similarity with the first estimated request reaches a predetermined degree within a predetermined time before the first estimated request, the processor also executes the following computer program: in the absence of a second estimated request, the settlement data is estimated according to the starting point and end point in the first estimated request, and the estimated settlement data is presented to the user.

[0119] When receiving a new first estimation request, the disclosed embodiment detects whether there is a second estimation request with a similarity reaching a predetermined similarity in the historical estimation requests within a predetermined time. If there is a second estimation request, the estimated settlement data corresponding to the second estimation request is directly obtained and presented to the user. When there are historical estimation requests with a high similarity within a short period of time, the disclosed embodiment directly outputs the estimated settlement data of the historical estimation request without recalculating the current estimation request, thereby simplifying the calculation process, reducing the calculation complexity, shortening the processing time, and improving the system performance.

[0120] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present disclosure with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of this application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0121] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, a person of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the present disclosure. This should not be interpreted as an intention that a disclosed feature that is not required to be protected is necessary for any claim. On the contrary, the subject matter of the present disclosure may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present disclosure should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

[0122] Multiple embodiments of the present disclosure are described in detail above, but the present disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concepts of the present disclosure, and these variations and modifications should all fall within the scope of protection required by the present disclosure.

Claims

1. A method for estimating settlement data, It is characterized in that include: In response to a first estimation request for settlement data, detecting whether there is a second estimation request within a predetermined time before the first estimation request, the similarity with the first estimation request reaching a predetermined similarity, wherein reaching the predetermined similarity is determined based on the names of the starting point and the end point of the first estimation request and the historical estimation request, including: Detecting whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request, the first condition comprising: a distance between a starting point of the historical estimation request and a starting point of the first estimation request is less than a first predetermined distance, and a distance between an end point of the historical estimation request and an end point of the first estimation request is less than a second predetermined distance; In the case where there is the historical estimation request that satisfies the first condition, determining the historical estimation request as the second estimation request; In the absence of the historical estimation request satisfying the first condition, preprocessing the names of the starting point and the end point of the first estimation request so that the names of the starting point and the end point after the preprocessing conform to a predetermined naming rule; In the case where the second estimated request exists, estimated settlement data corresponding to the second estimated request is obtained, and the estimated settlement data is presented to the user, wherein the estimated settlement data corresponding to the second estimated request is determined based on other estimated requests that reach the predetermined similarity.

2. The method according to claim 1, It is characterized in that After the preprocessing, the method further comprises: Recalling the historical estimated requests with the same name as the preprocessed starting point through a predetermined starting point recaller to obtain a first request set; Recalling the historical estimated requests with the same name as the preprocessed endpoint by a predetermined endpoint recaller to obtain a second request set; Detecting whether the first request set and the second request set have the same historical estimation request; In the case that the same historical estimation request exists, the same historical estimation request is determined to be the second estimation request.

3. The method according to claim 2, It is characterized in that The determining that the same historical estimation request is the second estimation request includes: Detecting whether the same historical estimation request satisfies a second condition, wherein the second condition includes: a distance between a starting point of the same historical estimation request and a starting point of the first estimation request is less than a third predetermined distance, and a distance between an end point of the same historical estimation request and an end point of the first estimation request is less than a fourth predetermined distance; In a case where the same historical estimation request that satisfies the second condition exists, the same historical estimation request is determined to be the second estimation request.

4. The method according to any one of claims 1 to 3, It is characterized in that After detecting whether there is a second estimation request whose similarity with the first estimation request reaches a predetermined similarity within a predetermined time before the first estimation request, the method further includes: In the absence of the second estimation request, the settlement data is estimated according to the starting point and the end point in the first estimation request, and the estimated settlement data is presented to the user.

5. A device for estimating settlement data, It is characterized in that include: a detection module, configured to respond to a first estimation request for settlement data and detect whether there is a second estimation request whose similarity with the first estimation request reaches a predetermined similarity within a predetermined time before the first estimation request, wherein reaching the predetermined similarity is determined based on the names of the starting point and the end point of the first estimation request and the historical estimation request, and the detection module is further configured to: Detecting whether there is a historical estimation request that meets a first condition within a predetermined time before the first estimation request, the first condition comprising: a distance between a starting point of the historical estimation request and a starting point of the first estimation request is less than a first predetermined distance, and a distance between an end point of the historical estimation request and an end point of the first estimation request is less than a second predetermined distance; In the case where there is the historical estimation request that satisfies the first condition, determining the historical estimation request as the second estimation request; The detection module further includes a preprocessing unit, which is used to preprocess the names of the starting point and the end point of the first estimation request in the absence of the historical estimation request that meets the first condition, so that the names of the starting point and the end point after the preprocessing meet the predetermined naming rule; an acquisition module, configured to acquire estimated settlement data corresponding to the second estimation request if the second estimation request exists, wherein the estimated settlement data corresponding to the second estimation request is determined based on other estimation requests reaching the predetermined similarity; A presentation module is used to present the estimated settlement data to the user.

6. The device as claimed in claim 5, It is characterized in that After the preprocessing is performed based on the preprocessing unit, the detection module further includes: A first recall unit, configured to recall the historical estimated requests having the same name as the preprocessed starting point through a predetermined starting point recaller, to obtain a first request set; A second recall unit, configured to recall the historical estimation requests having the same name as the preprocessed endpoint through a predetermined endpoint recaller, to obtain a second request set; A second detection unit, configured to detect whether the first request set and the second request set have the same historical estimation request; The second determining unit is configured to determine, when there is an identical historical estimation request, that the identical historical estimation request is the second estimation request.

7. The device according to claim 6, It is characterized in that The second determining unit is specifically configured to: Detecting whether the same historical estimation request satisfies a second condition, wherein the second condition includes: a distance between a starting point of the same historical estimation request and a starting point of the first estimation request is less than a third predetermined distance, and a distance between an end point of the same historical estimation request and an end point of the first estimation request is less than a fourth predetermined distance; In a case where the same historical estimation request that satisfies the second condition exists, the same historical estimation request is determined to be the second estimation request.

8. The device according to any one of claims 5 to 7, It is characterized in that Also includes: an estimation module, configured to estimate settlement data according to the starting point and the end point in the first estimation request in the absence of the second estimation request; The presentation module is also used to present the estimated settlement data to the user.

9. A storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

10. An electronic device comprising at least a memory and a processor, wherein the memory stores a computer program. It is characterized in that The processor implements the steps of the method of any one of claims 1 to 4 when executing the computer program on the memory.