CN110335109B - Takeaway ordering method, terminal equipment, device and computer readable storage medium - Google Patents

Takeaway ordering method, terminal equipment, device and computer readable storage medium Download PDF

Info

Publication number
CN110335109B
CN110335109B CN201910474416.XA CN201910474416A CN110335109B CN 110335109 B CN110335109 B CN 110335109B CN 201910474416 A CN201910474416 A CN 201910474416A CN 110335109 B CN110335109 B CN 110335109B
Authority
CN
China
Prior art keywords
meal
food
similarity
preset
merchant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910474416.XA
Other languages
Chinese (zh)
Other versions
CN110335109A (en
Inventor
张师琲
王文军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910474416.XA priority Critical patent/CN110335109B/en
Publication of CN110335109A publication Critical patent/CN110335109A/en
Application granted granted Critical
Publication of CN110335109B publication Critical patent/CN110335109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Item investigation
    • G06Q30/0625Directed, with specific intent or strategy
    • G06Q30/0629Directed, with specific intent or strategy for generating comparisons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a take-away ordering method, terminal equipment, device and computer readable storage medium, wherein the method comprises the following steps: receiving a price comparing instruction sent by a user terminal, wherein the price comparing instruction comprises a meal identification corresponding to a meal to be compared; searching similar food similar to the food to be compared in preset takeout data according to the food identifier of the food to be compared; and generating a page file containing the selling price of the similar food, the merchant information for selling the similar food and the activity information corresponding to the merchant information according to the preset takeout data, and sending the page file to the user terminal for display. Therefore, the scheme of the invention ensures that a user can browse similar foods on a plurality of food ordering platforms to conduct price comparison without switching applications by determining the similar foods similar to the foods to be compared.

Description

Takeaway ordering method, terminal equipment, device and computer readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a takeaway ordering method, a terminal device, a device, and a computer readable storage medium.
Background
There are multiple ordering platforms on the market at present, and the same merchant will usually sell the same product on multiple ordering platforms to increase sales. Because the management rules of the ordering platforms aiming at merchants are different, the selling prices of the foods of the same merchant on the platforms are often different, and the price of the same food user for ordering on different take-out platforms is inconsistent. In order to order food at the optimal price, a user needs to download and browse a plurality of food ordering platforms, and order the same food after price comparison, so that the food ordering process is complex.
Disclosure of Invention
The invention mainly aims to provide a takeaway ordering method, terminal equipment, device and computer readable storage medium, and aims to solve the technical problem that an ordering process is complex due to the fact that a user needs to browse a plurality of ordering platforms in order to obtain the most favorable selling price of food.
In order to achieve the above purpose, the invention provides a take-out ordering method, which comprises the following steps:
receiving a price comparing instruction sent by a user terminal, wherein the price comparing instruction comprises a meal identification corresponding to a meal to be compared;
searching similar food similar to the food to be compared in preset takeout data according to the food identifier of the food to be compared, wherein the preset takeout data comprises merchant information of all merchants on at least two food ordering platforms, food information and activity information corresponding to each merchant, and the food information comprises food identifiers corresponding to the food provided by the merchants and selling prices corresponding to the food;
And generating a page file containing the selling price of the similar food, the merchant information for selling the similar food and the activity information corresponding to the merchant information according to the preset takeout data, and sending the page file to the user terminal for display.
Preferably, the meal information includes a meal name corresponding to the meal identifier, and the step of searching for similar meal similar to the meal to be compared in the preset take-out data according to the meal identifier of the meal to be compared includes:
calculating the name similarity of each meal name in the preset takeout data and the meal name of the meal to be compared, and calculating the price similarity of each meal in the preset takeout data and the price of the meal to be compared;
calculating the first similarity of each meal item and the commodity to be compared through the following formula:
s=ax+by, wherein S is a first similarity, X is a meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
judging whether the first similarity is larger than a first preset threshold value or not;
and if the first similarity is larger than the first preset threshold, judging that the meal corresponding to the first similarity is the similar meal.
Preferably, the merchant information further comprises a merchant name of the merchant and a geographic location of a merchant place of business; the step of searching similar food similar to the food to be compared in the preset takeout data according to the food identifier of the food to be compared comprises the following steps:
calculating the name similarity of each meal name in the preset takeout data and the meal name of the meal to be compared, and calculating the price similarity of each meal in the preset takeout data and the price of the meal to be compared;
calculating the second similarity of each meal product and the commodity to be compared according to the following formula:
s=ax+by, wherein S is a second similarity, X is a meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
judging whether the second similarity is larger than a second preset threshold value or not;
if the second similarity is larger than the second preset threshold, determining that the meal corresponding to the second similarity is to be determined;
calculating the similarity between the name of the merchant providing each to-be-determined food and the name of the merchant providing the to-be-compared food, and calculating the similarity between the geographic position of the merchant providing each to-be-determined food and the geographic position of the merchant providing the to-be-compared food;
Calculating the third similarity of each to-be-determined food and the to-be-compared price commodity through the following formula:
r=cp+dq, where R is a third similarity, P is a merchant similarity, c is a preset merchant weight, Q is a location similarity, d is a preset location weight;
judging whether the third similarity is larger than a third preset threshold value or not;
and if the third similarity is larger than the third preset threshold, judging that the meal to be determined corresponding to the third similarity is the similar meal.
Preferably, after generating a page file including the selling price of the similar food, the merchant information for selling the similar food and the activity information corresponding to the merchant information according to the preset take-out data, the step of sending the page file to the user terminal for display includes:
receiving an order instruction sent by the user terminal, wherein the order instruction comprises a meal identifier of a to-be-ordered meal;
and determining an ordering platform and a merchant corresponding to the food identifier of the food to be ordered according to preset takeout data, generating a jump instruction and sending the jump instruction to the user terminal so that the user terminal jumps to a display interface of the merchant on the ordering platform.
Preferably, the takeaway ordering method further includes:
Obtaining meal taking information sent by a meal delivery terminal, wherein the meal taking information comprises meal taking place coordinates where the meal delivery terminal is located and meal identification of the delivered meal;
determining the geographic position of a merchant providing the outgoing food according to the food identification of the outgoing food, and judging whether the geographic position of the merchant is in a first preset range taking the coordinates of the food taking place as the center;
if the geographic position is not in the first preset range, recording the abnormality of the taking place.
Preferably, the takeaway ordering method further includes:
acquiring the information of the delivered meal sent by a merchant terminal for providing the delivered meal, and acquiring the sending time for sending and receiving the information of the delivered meal;
acquiring a motion trail of a meal delivery terminal for delivering the delivered food, and acquiring the location coordinate of the meal delivery terminal at the delivery time according to the motion trail;
judging whether the geographic position of a merchant providing the delivered food is within a second preset range taking the location coordinate as the center;
if the geographic position is not in the second preset range, recording the abnormality of the taking place.
Preferably, after the step of receiving the price comparing instruction input by the user based on the presentation page, the method includes:
Acquiring abnormal times of the meal taking place abnormality corresponding to the merchant providing the food to be compared, and judging whether the abnormal times are larger than a fourth preset threshold value;
and if the abnormal times are greater than the fourth preset threshold, generating warning information and sending the warning information to the user terminal.
The invention also provides a terminal device, which comprises:
the receiving module is used for receiving a price comparing instruction sent by the user terminal, wherein the price comparing instruction comprises a meal identifier corresponding to a meal to be compared;
the comparison module is used for searching similar food similar to the food to be compared in preset takeout data according to the food identification of the food to be compared, the preset takeout data comprises merchant information of all merchants on at least two food ordering platforms, food information and activity information corresponding to each merchant, and the food information comprises food identification corresponding to the food provided by the merchant and selling price corresponding to each food;
the display module is used for generating a page file containing the selling price of the similar meal, the merchant information for selling the similar meal and the activity information corresponding to the merchant information according to the preset takeout data, and sending the page file to the user terminal for displaying.
The invention also provides a device which comprises a processor, a memory and a takeaway ordering program stored in the memory and executable by the processor, wherein the takeaway ordering program realizes the steps of the takeaway ordering method when being executed by the processor.
The invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a takeaway ordering program, and the takeaway ordering program realizes the steps of the takeaway ordering method when being executed by a processor.
According to the technical scheme, the to-be-compared price instruction containing the food identification of the to-be-compared price food is received, then similar food similar to the to-be-compared price food is searched in the preset takeout data, and information related to the similar food is displayed, so that a user can realize the compared price without switching different ordering platforms; and determining the selling price of the similar food, the merchant information selling the similar food and the activity information corresponding to the merchant information, and generating a page file for display, so that a user can browse the selling price and the activity information of the same merchant on different ordering platforms on the same display page, and can browse the selling price and the activity information of different merchants providing the similar food on different ordering platforms, thereby being convenient for the user to compare the price.
Drawings
FIG. 1 is a schematic diagram of a hardware structure of an apparatus according to an embodiment of the present invention;
FIG. 2 is a flow chart of a first embodiment of the take-away ordering method of the present invention;
FIG. 3 is a flow chart of a second embodiment of the take-away ordering method of the present invention;
FIG. 4 is a flow chart of a third embodiment of the take-away ordering method of the present invention;
FIG. 5 is a flow chart of a fourth embodiment of the take-away ordering method of the present invention;
FIG. 6 is a flow chart of a fifth embodiment of a take-away ordering method of the present invention;
FIG. 7 is a flow chart of a sixth embodiment of a take-away order method of the present invention;
FIG. 8 is a schematic flow chart of a takeaway ordering method according to a first embodiment of the present invention;
fig. 9 is a schematic block diagram of a terminal device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The takeaway ordering method related to the embodiment of the invention is mainly applied to a device, and the device is equipment with a processing function, and can be a mobile terminal, such as a mobile phone, a tablet computer or a portable computer, and can be a server.
Referring to fig. 1, fig. 1 is a schematic view of an apparatus according to an embodiment of the present invention. In an embodiment of the invention, the apparatus may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation of the apparatus, and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
With continued reference to FIG. 1, memory 1005, which is one type of computer-readable storage medium in FIG. 1, may include an operating system, a network communication module, and a take-away order program.
In fig. 1, the network communication module is mainly used for connecting with a server of the ordering platform and performing data communication with the user terminal; and the processor 1001 may call the take-away order program stored in the memory 1005 and perform the steps of the take-away order method.
Based on the hardware structure of the device, various embodiments of the takeout ordering method are provided.
The invention provides a take-out ordering method.
Referring to fig. 2, in a first embodiment of the present invention, the take-out ordering method includes the steps of:
step S100, receiving a price comparing instruction sent by a user terminal, wherein the price comparing instruction comprises a meal identification corresponding to a meal to be compared;
specifically, the user terminal is equipment used by a user, and can be a mobile phone, a computer or a food ordering device. The user terminal is provided with a display screen for displaying based on the received preset takeout data, wherein merchant information of all merchants on at least two ordering platforms, and meal information and activity information corresponding to each merchant are displayed. The preset takeaway data can be obtained by importing data from each ordering platform in a preset time period at each interval, and also can be obtained by importing data from each ordering platform in real time.
The user browses the food provided by each merchant and the merchant, selects one of the food as the food to be compared, and clicks the corresponding control to enable the user terminal to execute the operation of sending the price comparing instruction.
The meal identification is a character which is preset or preset by each ordering platform and can distinguish the meal provided by each merchant.
Step S200, searching similar food similar to the food to be compared in preset take-out data according to the food identifier of the food to be compared, wherein the preset take-out data comprises merchant information of all merchants on at least two food ordering platforms, food information and activity information corresponding to each merchant, and the food information comprises food identifiers corresponding to the food provided by the merchants and selling prices corresponding to each food;
specifically, the similar food similar to the food to be compared can be determined by comparing the food name of the food to be compared with the similarity of the food name of each food in the preset take-out data, and/or by comparing the selling price of the food to be compared with the selling price of each food in the preset take-out data, and/or by comparing the food picture of the food to be compared with the food picture of each food in the preset take-out data, and/or by comparing the similarity of the name of the merchant providing the food to be compared with the name of each merchant in the preset take-out data, and/or by comparing one or more of the registered information of the merchant providing the food to be compared with the registered information of each merchant in the preset take-out data.
And step S300, generating a page file containing the selling price of the similar food, the merchant information for selling the similar food and the activity information corresponding to the merchant information according to the preset takeout data, and sending the page file to the user terminal for display.
Specifically, determining similar food similar to the food to be compared, acquiring selling price of the similar food, selling merchant information of the similar food and activity information corresponding to the merchant information in preset takeout data through the food identification of the similar food, generating a page file comprising the data, sending the page file to a user terminal, enabling a display screen of the user terminal to display the information, and enabling a user to further browse specific information of the similar food, and selecting and ordering by integrating the activity information and the selling price of the food.
According to the technical scheme, the to-be-compared price instruction containing the food identification of the to-be-compared price food is received, then similar food similar to the to-be-compared price food is searched in the preset takeout data, and information related to the similar food is displayed, so that a user can realize the compared price without switching different ordering platforms; and determining the selling price of the similar food, the merchant information selling the similar food and the activity information corresponding to the merchant information, and generating a page file for display, so that a user can browse the selling price and the activity information of the same merchant on different ordering platforms on the same display page, and can browse the selling price and the activity information of different merchants providing the similar food on different ordering platforms, thereby being convenient for the user to compare the price.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the takeout ordering method according to the present invention, based on the first embodiment, the meal information includes a meal name corresponding to the meal identifier, and step S200 includes:
step S201, calculating the name similarity between the name of each meal in the preset takeout data and the name of the meal to be compared, and calculating the price similarity between the price of each meal in the preset takeout data and the price of the meal to be compared;
determining the name of the meal corresponding to the meal identification in the preset takeout data, and then calculating the similarity between the name of each meal and the name of the meal to be compared. The similarity of the names of the meal can be calculated by the following method: and dividing words of each meal name, vectorizing each word to obtain word vectors corresponding to each word, obtaining word vector groups formed by the word vectors corresponding to the meal names, and calculating the similarity among the word vector groups according to a word vector comparison formula such as Euclidean distance, wherein the similarity is the name similarity. The price similarity can be the distance between the price of each food and the price of the food to be compared, or the ratio of the price of each food to the price of the food to be compared, etc.
Step S202, respectively calculating the first similarity between each meal item and the commodity to be compared according to the following formula:
s=ax+by, wherein S is a first similarity, X is the meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
the numerical values of a and b can be set by those skilled in the art according to actual needs.
Step S203, judging whether the first similarity is larger than a first preset threshold value;
step S204, if the first similarity is greater than the first preset threshold, determining that the meal corresponding to the first similarity is the similar meal.
And if the first similarity is smaller than or equal to the first preset threshold value, not processing.
Of course, since the preset take-out data includes related data of the to-be-compared-price meal, in order to avoid the situation that the similar meal obtained by comparing the to-be-compared-price meal is the same, in step S201, the name of each meal and the price of each meal in the preset take-out data may be removed, and then the similarity calculation may be performed.
The first preset threshold value can be set according to actual needs. The number of the meal items with the first similarity greater than the first preset threshold may be more than one or zero, and when the number of the meal items with the first similarity greater than the first preset threshold is more than one, the number of the meal items with the first similarity is more than one. Step S300 may be: and generating a page file containing a plurality of similar foods, so that the user holds the terminal to display the similar foods, and selling prices, merchant information and activity information corresponding to the similar foods respectively.
And calculating the similarity through the name and the selling price of the meal, so that the similar meal similar to the meal to be compared is determined, and the user can browse the similar meal sold on each take-away platform.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of the takeout ordering method according to the present invention, based on the first embodiment, the meal information includes a meal name corresponding to the meal identifier, and step S200 includes:
step S205, calculating the name similarity between the name of each meal in the preset takeout data and the name of the meal to be compared, and calculating the price similarity between the price of each meal in the preset takeout data and the price of the meal to be compared;
step S206, respectively calculating the second similarity of each meal item and the commodity to be compared according to the following formula:
s=ax+by, wherein S is a second similarity, X is the meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
step S207, judging whether the second similarity is larger than a second preset threshold;
step S208, if the second similarity is greater than the second preset threshold, determining that the meal corresponding to the second similarity is the meal to be determined;
And if the second similarity is smaller than or equal to the second preset threshold value, not processing.
Step S205 to step S208 are specifically implemented with reference to the second embodiment.
Step S209, calculating the similarity between the name of the merchant providing each to-be-determined food and the name of the merchant providing the to-be-compared food, and calculating the similarity between the geographic position of the merchant providing each to-be-determined food and the geographic position of the merchant providing the to-be-compared food;
specifically, the process of calculating the similarity of the merchants may refer to the calculation of the similarity of the names of the meals. The geographic location may be represented by coordinates or may be expressed in text. When the geographical position is a coordinate, the distance between the coordinates is set as the position similarity. When the geographic position is text, word segmentation and vectorization are carried out on the geographic position through administrative division information such as province, city, district, street and the like, and then the distance of each word vector group is calculated to be the position similarity.
Step S210, calculating a third similarity between each to-be-determined food and the to-be-compared price commodity according to the following formula:
r=cp+dq, where R is the third similarity, P is the merchant similarity, c is a preset merchant weight, Q is a position similarity, and d is a preset position weight;
The numerical values of c and d can be set by those skilled in the art according to actual needs.
Step S211, judging whether the third similarity is greater than a third preset threshold;
step S212, if the third similarity is greater than the third preset threshold, determining that the to-be-determined meal corresponding to the third similarity is the similar meal.
And if the third similarity is smaller than or equal to the third preset threshold value, not processing.
The numerical values of the second preset threshold and the third preset threshold can be set according to actual needs by a person skilled in the art. In the embodiment, firstly, the food to be determined is determined according to the name and the selling price of the food, and then, the similar food is determined according to the name and the geographic position of the merchant, so that the selling price and the activity information of the merchant providing the food to be compared on each food ordering platform can be found. Therefore, the price comparison for the food to be compared can be conducted by browsing without switching application programs or opening the ordering platform page.
Further, referring to fig. 5, fig. 5 is a flowchart illustrating a fourth embodiment of the takeout ordering method according to the present invention, based on the first embodiment, the meal information includes a meal name corresponding to the meal identifier, and after step S300, the method includes:
Step S400, receiving an order instruction sent by the user terminal, wherein the order instruction comprises a food identifier of a food to be ordered;
the user clicks the control corresponding to each meal on the user terminal to control the ordering instruction sent by the user terminal.
Step S500, determining an ordering platform and a merchant corresponding to the food identification of the food to be ordered according to preset takeout data, generating a jump instruction and sending the jump instruction to the user terminal so that the user terminal jumps to a display interface of the merchant on the ordering platform.
The user browses the display page with similar food, and the user terminal sends the order instruction through clicking, sliding and other operations, and through the step S500, the user can directly and automatically switch to the display interface of the merchant providing the food to be ordered through jumping without manually starting the order platform or manually inputting the name of the food or searching the name of the merchant, so that the order is ordered.
Further, referring to fig. 6, fig. 6 is a flow chart of a fifth embodiment of the takeaway ordering method according to the present invention, and based on the first embodiment, the takeaway ordering method further includes:
step S610, obtaining meal taking information sent by a meal delivery terminal, wherein the meal taking information comprises meal taking place coordinates where the meal delivery terminal is located and meal item identifiers of the delivered meal items;
Specifically, each meal ordering platform is in order to guarantee meal delivery timeliness, can fix a position the position of the meal delivery person terminal that the meal delivery person hand-carried, and when the meal delivery person gets the meal, the meal delivery person operates the meal delivery person terminal and sends the confirmation information that has got the meal to convenience of customers knows the meal delivery condition of food. The meal taking place coordinates where the meal delivery member terminal is located are the position coordinates obtained by positioning the meal delivery member terminal in real time when the meal delivery member sends confirmation information of the taken meal. The meal product identifier of the meal product to be delivered is the meal product identifier of the meal product taken by the meal delivery staff.
Step S620, determining the geographic position of a merchant providing the food to be delivered according to the food identification of the food to be delivered, and judging whether the geographic position of the merchant is in a first preset range with the food taking coordinate as the center;
the geographic location of the merchant that delivers the meal item may be obtained specifically through a business license provided by the merchant or information submitted when the merchant registers. And taking the coordinate of the meal taking place as the center, and taking a circular area with a preset radius as a first preset range. The size of the preset radius can be set by a person skilled in the art according to actual needs.
In step S630, if the geographic location is not within the first preset range, an abnormality of the taking place is recorded.
Because of the numerous merchants providing takeaway services, all merchants cannot be audited and supervised in real time by each ordering platform, and partial merchants without regular operation places and regular approval certificates sell food on the ordering platform by providing false data so as to evade supervision of administrative departments.
If the geographic position is not in the first preset range, the geographic position of the merchant is inconsistent with the meal taking address of the meal delivery terminal, and the geographic position reserved on the meal ordering platform by the merchant is possibly a false geographic position.
Further, referring to fig. 7, fig. 7 is a flowchart of a sixth embodiment of the takeaway ordering method according to the present invention, and based on the first embodiment, the takeaway ordering method further includes:
step S710, obtaining the sent meal information sent by a merchant terminal for providing the sent meal, and obtaining the sending time for sending the sent meal information;
specifically, the merchant terminal is a terminal device held by a merchant providing the food. Each ordering platform is used for supervising the meal delivery flow, and the meal delivery platform requires meal delivery operators to take meals, and merchants need to send out meal delivery information to confirm that the meal is in the hands of the meal delivery operators.
Step S720, acquiring a motion trail of a meal delivery terminal for delivering the food delivered from outside, and acquiring the location coordinate of the meal delivery terminal at the delivery time according to the motion trail;
And each ordering platform positions the positions of the meal delivery terminals to form a movement track. And acquiring the position coordinate of the meal delivery member terminal at the sending time according to the motion trail, wherein the position coordinate is the position of the meal delivery member when receiving the meal, namely the position of a merchant.
Step S730, judging whether the geographic position of the merchant providing the delivered food is within a second preset range centered on the location coordinates;
and taking the coordinate of the meal taking place as the center, and taking a circular area with a preset radius as a first preset range. The size of the preset radius can be set by a person skilled in the art according to actual needs.
Step S740, if the geographic position is not in the second preset range, recording the abnormality of the taking place.
If the geographic position is not in the first preset range, the geographic position of the merchant is inconsistent with the meal taking address of the meal delivery terminal, and the geographic position reserved on the meal ordering platform by the merchant is possibly a false geographic position.
Further, referring to fig. 8, fig. 8 is a flowchart of a seventh embodiment of the takeout ordering method according to the present invention, and the step S100 follows:
step S800, obtaining the abnormal times of the abnormal meal taking places corresponding to the merchant providing the food to be compared, and judging whether the abnormal times are larger than a fourth preset threshold;
Step S900, if the abnormal times are greater than the fourth preset threshold, generating warning information and sending the warning information to the user terminal;
if the number of anomalies is less than or equal to the fourth preset threshold, step S200 is executed.
The person skilled in the art can set the value of the fourth preset threshold according to the actual requirement. Due to inaccurate positioning, untimely sending of the meal delivery information by the merchant and the like, the meal taking place is misjudged to be abnormal. By setting the fourth preset threshold value, the situation that the dining land is abnormal can be filtered by partial misjudgment. And generating and displaying warning information to remind the user that the merchant is a false merchant.
In addition, the invention also provides a terminal device, which comprises:
the receiving module 10 is configured to receive a price comparing instruction sent by the user terminal, where the price comparing instruction includes a meal identifier corresponding to a meal to be compared;
the comparison module 20 is configured to search, according to the item identifier of the item to be compared, for similar items similar to the item to be compared in preset takeout data, where the preset takeout data includes merchant information of all merchants on at least two ordering platforms, item information and activity information corresponding to each merchant, and the item information includes item identifiers corresponding to items provided by the merchants and selling prices corresponding to each item;
The display module 30 is configured to generate, according to the preset take-out data, a page file including a selling price of the similar meal, merchant information for selling the similar meal, and activity information corresponding to the merchant information, so as to send the page file to the user terminal for display.
Further, the meal item information includes a meal item name corresponding to the meal item identification, and the comparison module 20 includes:
the first calculating unit is used for calculating the name similarity between the name of each meal in the preset takeout data and the name of the meal to be compared, and calculating the price similarity between the price of each meal in the preset takeout data and the price of the meal to be compared;
the first calculating unit is further configured to calculate a first similarity between each of the dining items and the commodity to be compared according to the following formula:
s=ad+by, where S is a first similarity, X is a meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
the first judging unit is used for judging whether the first similarity is larger than a first preset threshold value or not;
The first judging unit is further configured to determine that the meal corresponding to the first similarity is the similar meal if the first similarity is greater than the first preset threshold.
Further, the merchant information also comprises merchant names of merchants and geographic positions of merchant places; the comparison module 20 includes:
the second calculating unit is used for calculating the name similarity between the name of each meal in the preset takeout data and the name of the meal to be compared, and calculating the price similarity between the price of each meal in the preset takeout data and the price of the meal to be compared;
the second calculating unit is further configured to calculate a second similarity between each of the foods and the commodity to be compared according to the following formula:
s=ax+by, wherein S is a second similarity, X is a meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
the second judging unit is used for judging whether the second similarity is larger than a second preset threshold value or not;
the second judging unit is further configured to judge that the meal corresponding to the second similarity is a meal to be determined if the second similarity is greater than the second preset threshold;
The third calculation unit is used for calculating the similarity between the name of the merchant providing each to-be-determined food and the name of the merchant providing the to-be-compared food and calculating the similarity between the geographic position of the merchant providing each to-be-determined food and the geographic position of the merchant providing the to-be-compared food;
the third calculating unit is further configured to calculate a third similarity between each to-be-determined food and the to-be-compared commodity according to the following formula:
r=cp+dq, where R is a third similarity, P is a merchant similarity, c is a preset merchant weight, Q is a location similarity, d is a preset location weight;
the third judging unit is used for judging whether the third similarity is larger than a third preset threshold value or not;
and the third judging unit is further configured to judge that the to-be-determined meal corresponding to the third similarity is the similar meal if the third similarity is greater than the third preset threshold.
Further, the receiving module 10 is further configured to receive an order instruction sent by the user terminal, where the order instruction includes a meal identifier of a to-be-ordered meal;
the terminal device further includes: and the jump module 40 is used for determining an ordering platform and a merchant corresponding to the food identification of the food to be ordered according to the preset takeout data, generating a jump instruction and sending the jump instruction to the user terminal so that the user terminal jumps to a display interface of the merchant on the ordering platform.
Further, the terminal device further includes:
the first acquisition module is used for acquiring meal taking information sent by the meal delivery terminal, wherein the meal taking information comprises meal taking place coordinates where the meal delivery terminal is located and meal item identifiers of the external meal delivery;
the first judging module is used for determining the geographic position of a merchant providing the food to be sent according to the food identification of the food to be sent and judging whether the geographic position of the merchant is in a first preset range taking the food taking place coordinate as the center;
and the first recording module is used for recording abnormal food taking places if the geographic position is not in a first preset range.
Further, the terminal device further includes:
the second acquisition module is used for acquiring the sent meal information sent by the merchant terminal for providing the food and acquiring the sending time for sending the sent meal information;
the confirmation module is used for acquiring a motion trail of a meal delivery terminal for delivering the food delivery, and acquiring the location coordinate of the meal delivery terminal at the delivery time according to the motion trail;
The second judging module is used for judging whether the geographic position of a merchant providing the delivered food is in a second preset range taking the location coordinate as the center or not;
and the second recording module is used for recording abnormal food taking places if the geographic position is not in a second preset range.
Further, the terminal device further includes:
the third judging module is used for acquiring the abnormal times of the meal taking places corresponding to the merchant for providing the food to be compared and judging whether the abnormal times are larger than a fourth preset threshold value or not;
and the warning module is used for generating warning information and sending the warning information to the user terminal if the abnormal times are larger than the fourth preset threshold value.
In addition, the invention also provides a computer readable storage medium, and the computer readable storage medium stores a take-out ordering program, wherein the take-out ordering program realizes the steps of the take-out ordering method when being executed by a processor.
The method implemented when the take-away order program is executed may refer to various embodiments of the take-away order method of the present invention, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A take-away ordering method, comprising:
receiving a price comparing instruction sent by a user terminal, wherein the price comparing instruction comprises a meal identification corresponding to a meal to be compared;
searching similar food similar to the food to be compared in preset takeout data according to the food identifier of the food to be compared, wherein the preset takeout data comprises merchant information of all merchants on at least two food ordering platforms, food information and activity information corresponding to each merchant, and the food information comprises food identifiers corresponding to the food provided by the merchants and corresponding food selling prices;
generating a page file containing selling prices of the similar foods, merchant information for selling the similar foods and activity information corresponding to the merchant information according to the preset takeout data, and sending the page file to the user terminal for display;
The merchant information also comprises merchant names of merchants and geographic positions of merchant places of business; the step of searching similar food similar to the food to be compared in preset takeout data according to the food identifier of the food to be compared comprises the following steps:
calculating the name similarity of the names of the foods in the preset takeout data and the names of the foods to be compared, and calculating the price similarity of the prices of the foods in the preset takeout data and the price of the foods to be compared;
and respectively calculating the second similarity of each meal item in the preset take-out data and the meal item to be compared according to the following formula:
wherein->For the second similarity, X is meal name similarity, a is preset meal name weight, Y is price similarity, and b is preset price weight;
judging whether the second similarity is larger than a second preset threshold value or not;
if the second similarity is larger than the second preset threshold, determining that the meal corresponding to the second similarity is to be determined;
calculating the similarity between the name of the merchant providing each to-be-determined food and the name of the merchant providing the to-be-compared food, and calculating the similarity between the geographic position of the merchant providing each to-be-determined food and the geographic position of the merchant providing the to-be-compared food;
Calculating the third similarity of each to-be-determined food and the to-be-compared food through the following formula:
r=cp+dq, where R is a third similarity, P is a merchant similarity, c is a preset merchant weight, Q is a location similarity, d is a preset location weight;
judging whether the third similarity is larger than a third preset threshold value or not;
if the third similarity is larger than the third preset threshold, determining that the meal to be determined corresponding to the third similarity is the similar meal;
the takeaway ordering method further comprises the following steps:
acquiring the information of the delivered meal sent by a merchant terminal for providing the delivered meal, and acquiring the sending time for sending the information of the delivered meal;
acquiring a motion trail of a meal delivery terminal for delivering the delivered food, and acquiring the location coordinate of the meal delivery terminal at the delivery time according to the motion trail;
judging whether the geographic position of a merchant providing the delivered food is within a second preset range taking the location coordinate as the center;
if the geographic position is not in the second preset range, recording the abnormality of the taking place.
2. The take-out order method as set forth in claim 1, wherein the meal information includes a meal name corresponding to the meal identification, and the step of searching for similar meal similar to the meal to be compared in preset take-out data according to the meal identification of the meal to be compared includes:
Calculating the name similarity between the names of all the foods in the preset takeout data and the names of the foods to be compared, and calculating the price similarity between the price of all the foods in the preset takeout data and the price of the foods to be compared;
calculating the first similarity between each meal in the preset take-out data and the meal to be compared through the following formula:
s=ax+by, wherein S is a first similarity, X is a meal name similarity, a is a preset meal name weight, Y is a price similarity, and b is a preset price weight;
judging whether the first similarity is larger than a first preset threshold value or not;
and if the first similarity is larger than the first preset threshold, judging that the meal corresponding to the first similarity is the similar meal.
3. The take-away ordering method as set forth in claim 1, wherein the step of generating, according to the preset take-away data, a page file including a selling price of the similar meal, merchant information for selling the similar meal, and activity information corresponding to the merchant information, for sending to a user terminal for display includes:
receiving an order instruction sent by the user terminal, wherein the order instruction comprises a meal identifier of a to-be-ordered meal;
And determining an ordering platform and a merchant corresponding to the food identifier of the food to be ordered according to preset takeout data, generating a jump instruction and sending the jump instruction to the user terminal so that the user terminal jumps to a display interface of the merchant on the ordering platform.
4. A take-away ordering method as defined in claim 1, further comprising:
obtaining meal taking information sent by a meal delivery terminal, wherein the meal taking information comprises meal taking place coordinates where the meal delivery terminal is located and meal identification of the delivered meal;
determining the geographic position of a merchant providing the outgoing food according to the food identification of the outgoing food, and judging whether the geographic position of the merchant is in a first preset range taking the coordinates of the food taking place as the center;
if the geographic position is not in the first preset range, recording the abnormality of the taking place.
5. A take-away ordering method as set forth in claim 1, wherein after the step of receiving a price command entered by a user based on a presentation page, the step of:
acquiring abnormal times of the meal taking place abnormality corresponding to the merchant providing the food to be compared, and judging whether the abnormal times are larger than a fourth preset threshold value;
And if the abnormal times are greater than the fourth preset threshold, generating warning information and sending the warning information to the user terminal.
6. A terminal device, characterized in that the terminal device comprises:
the receiving module is used for receiving a price comparing instruction sent by the user terminal, wherein the price comparing instruction comprises a meal product identifier corresponding to a meal product to be compared;
the comparison module is used for searching similar food similar to the food to be compared in preset takeout data according to the food identification of the food to be compared, the preset takeout data comprises merchant information of all merchants on at least two food ordering platforms, food information and activity information corresponding to each merchant, and the food information comprises food identification corresponding to the food provided by the merchant and corresponding food selling price;
the display module is used for generating a page file containing the selling price of the similar meal, the merchant information for selling the similar meal and the activity information corresponding to the merchant information according to the preset takeout data, and sending the page file to the user terminal for display;
the comparison module comprises a second calculation unit, wherein the second calculation unit is used for calculating the name similarity between the names of all the foods in the preset takeout data and the names of the foods to be compared and calculating the price similarity between the price of all the foods in the preset takeout data and the price of the foods to be compared; and respectively calculating the second similarity of each meal to the meal to be compared according to the following formula: Wherein->For the second similarity, X is meal name similarity, a is preset meal name weight, Y is price similarity, and b is preset price weight;
the second judging unit is used for judging whether the second similarity is larger than a second preset threshold value or not; if the second similarity is larger than the second preset threshold, determining that the meal corresponding to the second similarity is to be determined;
the third calculation unit is used for calculating the similarity between the name of the merchant providing each to-be-determined food and the name of the merchant providing the to-be-compared food and calculating the similarity between the geographic position of the merchant providing each to-be-determined food and the geographic position of the merchant providing the to-be-compared food; calculating the third similarity of each to-be-determined food and the to-be-compared food through the following formula: r=cp+dq, where R is a third similarity, P is a merchant similarity, c is a preset merchant weight, Q is a location similarity, d is a preset location weight;
the third judging unit is used for judging whether the third similarity is larger than a third preset threshold value or not; if the third similarity is larger than the third preset threshold, determining that the meal to be determined corresponding to the third similarity is the similar meal;
The terminal equipment further comprises a second acquisition module, wherein the second acquisition module is used for acquiring the sent meal information sent by the merchant terminal for providing the food to be sent and acquiring the sending time for sending the sent meal information;
the confirmation module is used for acquiring the motion trail of the meal delivery terminal for delivering the food delivery, and acquiring the location coordinate of the meal delivery terminal at the delivery time according to the motion trail;
the second judging module is used for judging whether the geographic position of the merchant providing the delivered food is in a second preset range taking the location coordinate as the center or not;
and the second recording module is used for recording abnormal food taking places if the geographic position is not in a second preset range.
7. A take-away order device comprising a processor, a memory, and a take-away order program stored on the memory that is executable by the processor, wherein the take-away order program, when executed by the processor, performs the steps of the take-away order method of any one of claims 1 to 5.
8. A computer readable storage medium, wherein a take-out order program is stored on the computer readable storage medium, wherein the take-out order program, when executed by a processor, implements the steps of the take-out order method according to any one of claims 1 to 5.
CN201910474416.XA 2019-05-31 2019-05-31 Takeaway ordering method, terminal equipment, device and computer readable storage medium Active CN110335109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910474416.XA CN110335109B (en) 2019-05-31 2019-05-31 Takeaway ordering method, terminal equipment, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910474416.XA CN110335109B (en) 2019-05-31 2019-05-31 Takeaway ordering method, terminal equipment, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110335109A CN110335109A (en) 2019-10-15
CN110335109B true CN110335109B (en) 2023-08-15

Family

ID=68140716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910474416.XA Active CN110335109B (en) 2019-05-31 2019-05-31 Takeaway ordering method, terminal equipment, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110335109B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112036981B (en) * 2020-09-02 2021-09-17 珠海必要工业科技股份有限公司 Method, device, equipment and medium for providing target comparison commodities

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256509A (en) * 2017-05-27 2017-10-17 北京小米移动软件有限公司 Price comparing method and device, terminal, server and storage medium
CN109409991A (en) * 2018-10-11 2019-03-01 苏州诚满信息技术有限公司 A kind of order recommended method and its system based on mobile payment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256509A (en) * 2017-05-27 2017-10-17 北京小米移动软件有限公司 Price comparing method and device, terminal, server and storage medium
CN109409991A (en) * 2018-10-11 2019-03-01 苏州诚满信息技术有限公司 A kind of order recommended method and its system based on mobile payment

Also Published As

Publication number Publication date
CN110335109A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN107465741B (en) Information pushing method and device
CN106570716B (en) Method and device for providing commodity object information
EP2813989A2 (en) Search method and device based on e-commerce platform
US11295367B2 (en) System for in-store consumer behaviour event metadata aggregation, data verification and the artificial intelligence analysis thereof for data interpretation and associated action triggering
US10204369B2 (en) Hand-held communications device for tracking physical shopping cart contents and updating shopping list
JP5047378B1 (en) Information processing system, information processing method, program, and information recording medium
US20130173421A1 (en) Purchase support server, purchase support system, purchase support method, purchase support program, and computer readable recording medium recording program
US20190272491A1 (en) Inventory placement recommendation system
US20150178768A1 (en) System and method for intermediating electronic commerce using offline transaction information
CN109800340A (en) Trade mark registration recommended method and system
CN112513898A (en) Alcoholic drink information management system and management method
JP2015082134A (en) Notification system and notification device
CN110335109B (en) Takeaway ordering method, terminal equipment, device and computer readable storage medium
US20180260885A1 (en) System for Shopping Assistance
KR20100098238A (en) Method for providing shopping information based on mobile location
US20210090135A1 (en) Commodity information notifying system, commodity information notifying method, and program
CN113129113A (en) Geo-fence-based store matching method, system, device and storage medium
WO2018061297A1 (en) Information processing method, program, information processing system, and information processing device
KR101852766B1 (en) Method and Apparatus for Searching Things for Sale
US20140258043A1 (en) Comparable product matching: system and method
CN114219589A (en) Virtual entity object generation and page display method and device and electronic equipment
JP6979902B2 (en) Information processing equipment, information processing methods, and programs
KR101654610B1 (en) Real estate information offering service system using gis associated commercial area information
JP2007279893A (en) Position information retrieval system using cellular phone
JP2019109587A (en) Information provision device, information provision method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant