Shop display method and device based on order
1. An order-based store display method, the method comprising:
receiving a first input of a user under the condition of displaying a target page, wherein the target page comprises M pieces of order detailed information;
responding to the first input, and displaying N first controls corresponding to the M pieces of order detailed information, wherein one first control corresponds to at least one piece of order detailed information;
receiving a second input of a user to a first target control in the N first controls;
and responding to the second input, and displaying information of alternative shops matched with the order detailed information corresponding to the first target control.
2. The method of claim 1, wherein said displaying N first controls corresponding to said M order details in response to said first input comprises:
responding to the first input, and displaying M controls to be merged; each control to be merged corresponds to order detailed information;
receiving third input of a user to at least two controls to be merged in the M controls to be merged;
in response to the third input, combining the order detailed information corresponding to the at least two controls to be combined to obtain combined order detailed information, and displaying a combined control corresponding to the combined order detailed information;
wherein the N first controls include: the control to be merged, except for the at least two controls to be merged, of the M controls to be merged, and the composite control.
3. The method of claim 1, wherein prior to receiving a second user input to a first target control of the N first controls, the method further comprises:
receiving a fourth input of the first target control by the user;
and responding to the fourth input, and changing order detailed information corresponding to the first target control.
4. The method of claim 3, wherein said altering the order details corresponding to the first target control in response to the fourth input comprises:
responding to the fourth input, and acquiring substitute commodity name information corresponding to commodity keywords in the order detailed information corresponding to the first target control;
and according to the name information of the substitute commodity, changing the detailed order information corresponding to the first target control.
5. The method of claim 1, wherein displaying information of alternative businesses that match the order details corresponding to the first target control in response to the second input comprises:
in response to the second input, searching for information of alternative shops matched with the order detailed information corresponding to the first target control;
displaying the information of the alternative shops according to the variety quantity of the pre-purchased commodities contained in the information of each alternative shop;
wherein the pre-purchased commodity is: and the commodities in the order detailed information corresponding to the first target control.
6. An order-based store display apparatus, the apparatus comprising: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input of a user under the condition that a target page is displayed, wherein the target page comprises M pieces of order detailed information;
the display module is used for responding to the first input received by the receiving module and displaying N first controls corresponding to the M pieces of order detailed information, wherein one first control corresponds to at least one piece of order detailed information;
the receiving module is further configured to receive a second input of the user to a first target control in the N first controls displayed by the display module;
the display module is further configured to display, in response to the second input received by the receiving module, information of the alternative shops matched with the order detail information corresponding to the first target control.
7. The apparatus of claim 6, wherein the apparatus comprises: a synthesis module;
the display module is specifically configured to display, in response to the first input received by the receiving module, M controls to be merged; each control to be merged corresponds to order detailed information;
the receiving module is further configured to receive a third input of the user to at least two controls to be merged in the M controls to be merged displayed by the display module;
the synthesis module is used for combining the order detailed information corresponding to the at least two controls to be combined to obtain synthesized order detailed information in response to the third input received by the receiving module;
the display module is further used for displaying a synthesis control corresponding to the detailed synthesis order information synthesized by the synthesis module;
wherein the N first controls include: the control to be merged, except for the at least two controls to be merged, of the M controls to be merged, and the composite control.
8. The apparatus of claim 6, further comprising: a change module;
the receiving module is further configured to receive a fourth input of the first target control from the user before the receiving of the second input of the first target control from the user;
the changing module is configured to change the order detail information corresponding to the first target control in response to the fourth input received by the receiving module.
9. The apparatus according to claim 8, wherein the modification module is specifically configured to:
responding to the fourth input received by the receiving module, and acquiring substitute commodity name information corresponding to commodity keywords in the order detailed information corresponding to the first target control;
and according to the name information of the substitute commodity, changing the detailed order information corresponding to the first target control.
10. The apparatus of claim 6, wherein the display module is specifically configured to:
searching for information of alternative shops matched with the order detailed information corresponding to the first target control in response to the second input received by the receiving module;
displaying the information of the alternative shops according to the variety quantity of the pre-purchased commodities contained in the information of each alternative shop;
wherein the pre-purchased commodity is: and the commodities in the order detailed information corresponding to the first target control.
Background
With the rapid development of mobile payment technology and express industry, more and more people are shopping through the internet, in the online shopping process, a user can settle multiple commodities in the same merchant through the same order and place an order, and after the user determines the commodity to be purchased and submits the order, the shopping system distributes inventory commodities for the order.
If a portion of the items in the order are out of stock, or the user needs to query multiple stores, the user is required to re-search each item in the order and select another store that can purchase all of the items in the order.
According to the mode for inquiring the shop information by the user, whether other shops operate all commodities in the order can be judged only by comparing one by one, so that the operation is complex, and the inquiring efficiency is low.
Disclosure of Invention
The embodiment of the application aims to provide an order-based shop display method and device, and the problem that the operation of reselecting a shop by a user is complex can be solved.
In a first aspect, an embodiment of the present application provides an order-based store display method, where the method includes:
receiving a first input of a user under the condition of displaying a target page, wherein the target page comprises M pieces of order detailed information;
responding to the first input, and displaying N first controls corresponding to the M pieces of order detailed information, wherein one first control corresponds to at least one piece of order detailed information;
receiving a second input of a user to a first target control in the N first controls;
and responding to the second input, and displaying information of the alternative shops matched with the order detailed information corresponding to the first target control.
In a second aspect, an embodiment of the present application provides an order-based shop display apparatus, including: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input of a user under the condition of displaying a target page, wherein the target page comprises M pieces of order detailed information;
the display module is configured to display, in response to the first input received by the receiving module, N first controls corresponding to the M pieces of order detail information, where one first control corresponds to at least one piece of order detail information;
the receiving module is further configured to receive a second input of a user to a first target control of the N first controls displayed by the display module;
the display module is configured to display, in response to the second input received by the receiving module, information of the alternative store that is matched with the order detail information corresponding to the first target control.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, the present application provides a computer program product stored in a non-volatile storage medium, the program product being executed by at least one processor to implement the method as provided in the first aspect.
In the embodiment of the application, since the first input of the user is received under the condition that the target page is displayed, N first controls corresponding to M order details contained in the target page are displayed in response to the first input, and thus, the order details are derived by one key. And then, after receiving second input of the user to a first target control in the N first controls, responding to the second input, and displaying information of the alternative shops matched with the order detailed information corresponding to the first target control, so that the operation steps of reselecting the shops by the user can be reduced, and the query efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an order-based store display method provided by an embodiment of the present application;
FIG. 2 is a schematic diagram of a first control provided in an embodiment of the present application;
FIG. 3 is one of schematic diagrams of a method for displaying a first control according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating details of an order according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a method for displaying alternative shops according to an embodiment of the present disclosure;
fig. 6 is a second schematic diagram of a method for displaying a first control according to an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating a method for modifying order details according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a method for obtaining a substitute commodity name according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an order-based store display apparatus provided in an embodiment of the present application;
FIG. 10 is a second schematic structural diagram of an order-based shop display apparatus according to an embodiment of the present application;
FIG. 11 is a hardware diagram of an electronic device provided by an embodiment of the present application;
fig. 12 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The order-based shop display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings.
In the related art, if a part of the items in the order are out of stock, or the user needs to inquire a plurality of shops, the user needs to search each item in the order again and select other shops capable of purchasing all the items in the order. In particular, for the out-of-stock order of partial goods in the order, if the out-of-stock goods belong to the goods that must be purchased for the user, or the out-of-stock orders of the rest of the goods except the out-of-stock goods are not sufficient for starting the delivery price, or the out-of-stock order needs to pay an additional delivery fee, the user has to cancel the whole order and reselect another shop. Thus, the problem that the user selects other shops in a complicated step is caused.
Illustratively, the pre-order B for store A is a backorder scenario. Suppose that the pre-purchased items of the pre-purchase order B include sign-on pens, sticky notes, oral papers, bookshelves, printing papers, and ink cartridges. At this time, if the user finds that the sign pen in the pre-purchase order B is out of stock, the user can quit the order interface of the out-of-stock order B, then enter the commodity retrieval interface, input the pre-purchase commodity 'sign pen' therein, and display a shop display page through retrieval, wherein the shop display page displays at least one shop link for operating the 'sign pen', and then open any shop for operating the 'sign pen', and check whether the shop contains all the pre-purchase commodities in the pre-purchase order B. If yes, establishing a pre-purchase order C, and adding each pre-purchase commodity and the corresponding pre-purchase quantity in sequence. If not, returning to a shop display page, selecting other shops operating the sign pens, and repeating the operations until a new pre-purchase order is created. Of course, if the user does not remember all the pre-purchased products clearly, the user needs to return to the pre-purchase order B to review the pre-purchased products and then search again. Therefore, when the pre-purchase order B is a shortage order, the user needs to switch different interfaces back and forth and search without omission to reselect and operate shops of all pre-purchase commodities and establish the pre-purchase order C, so that the shopping steps are complicated and the retrieval efficiency is low.
In the embodiment of the application, in a case that an order page of a plurality of pre-purchase orders (including pre-purchase order B) is displayed, a first input of a user is received, so that in response to the first input, a first control corresponding to order detail information (including pre-purchased goods and corresponding pre-purchase quantity thereof) of the plurality of pre-purchase orders is displayed, and thus, the order detail information is derived by one key in a manner of the first control. Then, if the user finds that the sign pen in the pre-purchased order B is out of stock, the first target control corresponding to the order detailed information of the pre-purchased order B can be clicked, and information of the alternative shops matched with the order detailed information of the pre-purchased order B is displayed.
As shown in fig. 1, an embodiment of the present application provides an order-based store display method. The method may include steps 101 to 104 described below. The method is exemplified below by taking the execution subject as an order-based shop display device.
Step 101: the order-based store display device receives a first input of a user while displaying a target page.
In this embodiment of the present application, the destination page includes M pieces of order detail information.
In the embodiment of the application, the target page can be an order page in a shopping website, the order page comprises M orders which can be placed at any time when a user joins a shopping cart, and the orders correspond to the detailed order information one by one. Wherein, the M orders can be out-of-stock orders.
In the embodiment of the present application, the order detail information may include at least one of a shop name, a name of a pre-purchased commodity, a quantity of the pre-purchased commodity, a metering method, and a commodity specification.
In this embodiment of the application, the order-based shop display device may determine, based on the information category of the information in the M order details, a display order of the M order details in the destination page. Wherein the information category may include at least one of: order generation time, required shipping costs, estimated delivery time, distance between shipping and receiving addresses, store score.
In this embodiment of the application, the order-based shop display device may display the M pieces of order detail information in the target page in a partition display manner when a predetermined condition is met (for example, the number of the order detail information in the target page is greater than a preset number). That is, the target page includes a plurality of partitions, and at least one piece of order detail information is displayed in one partition.
In an embodiment of the present application, the first input may include: the touch input (e.g., click input, slide input), or other feasible inputs may be determined according to actual usage requirements, and the embodiments of the present application are not limited.
For example, the first input may be: and (4) long-press input of the blank area of the target page by the user.
For example, the first input may be: and (4) touch input of the user on any order detailed information in the target page.
Step 102: and the order-based shop display device responds to the first input and displays N first controls corresponding to the M pieces of order detailed information.
In the embodiment of the application, one first control corresponds to at least one order detail information. I.e. M is greater than or equal to N.
In an embodiment of the present application, the first control may be a hover control, such as a hover ball.
In an embodiment of the present application, the first control may be displayed by at least one of: and only displaying the target page in a floating mode, displaying any page which can be responded by the application program to which the target page belongs in a floating mode, and displaying any page of the electronic equipment in a floating mode under the condition that the first control is not deleted.
In this embodiment of the present application, the first control may set a control name, where the control name may be a name of a store in the order detail information. For example, 3 first controls are shown in fig. 2, such as "a certain fresh fruit supermarket", "a certain snack box" and "a certain flagship store".
Optionally, in this embodiment of the application, in the process of displaying the N first controls, the order-based shop display apparatus may be implemented through the following processes: responding to the first input, and acquiring M order detailed information in the target page; importing the M pieces of order detailed information into a control template of a first control, generating and displaying the first control according to the M pieces of order detailed information,
further optionally, in this embodiment of the application, the order-based shop display device may identify and acquire the order detail information by automatically retrieving an order keyword.
It can be understood that the order keywords may be preset when the application program to which the target page belongs is installed, may also be manually set by the user in the process of using the application program, and may also be modified by the user according to the preset, and in the embodiment of the present application, the source of the order keywords is not limited.
Therefore, the first control corresponding to the order detailed information is generated by one key in a mode of establishing the control template of the first control and importing the order detailed information into the control template, and the extraction process of the order detailed information is simplified.
Step 103: and the order-based shop display device receives a second input of the user to a first target control in the N first controls.
In an embodiment of the application, the second input is used to instruct retrieval of an alternative store that matches the order detail information corresponding to the first target control.
In an embodiment of the present application, the second input may include: the touch input (e.g., click input, slide input, and drag input), or other feasible inputs may be determined according to actual usage requirements, and the embodiments of the present application are not limited.
For example, the second input may be: and dragging the first target control to the dragging input of the retrieval box by the user.
For example, the second input may be: and the user indicates gesture input for retrieving the order detailed information corresponding to the first target control.
In the embodiment of the present application, the first target control refers to any one of the N first controls.
Optionally, in this embodiment of the application, since the first control is capable of directly displaying limited content, in the case that only the control name is displayed in the first control, before the first target control is selected, the order-based shop display apparatus may further enter a viewing mode of order details in response to a viewing input of a user to a second target control in the first control, and display the order details of the second target control.
It should be noted that the second target control refers to any one of the N first controls, and certainly, the second target control may be the same as the first target control.
It will be appreciated that the order-based store display may be arranged to display order information for only one second target control at a time, but may be arranged to view order details for a plurality of second target controls in response to a plurality of viewing inputs to facilitate selection of a first target control that meets requirements.
Further optionally, in this embodiment of the application, the order-based shop display device may further display other first controls of the N first controls when order detailed information corresponding to the second target control is displayed.
In the embodiment of the application, when the viewing input of the first control corresponding to the order detail information by the user is received, the order detail information is displayed.
Illustratively, the user places an order at a shop with the name "some fresh fruit supermarket", and the order detail information includes: korla bergamot pears are 1 jin and must be purchased. The user clicks a first control corresponding to a shop of a certain fresh fruit supermarket, and on the basis of fig. 2, as shown in fig. 3, order detailed information corresponding to the first control with the control name of the certain fresh fruit supermarket is displayed, wherein the order detailed information comprises a control name (the certain fresh fruit supermarket), a shop name (the certain fresh fruit supermarket), a pre-purchased commodity name (the Korla pear), a pre-purchased quantity (1 jin) and a commodity state (the commodity needs to be purchased).
For example, as shown in fig. 4, while the order details corresponding to the first control are displayed, a first control with a control name of "a certain snack box" and a first control with a control name of "a certain flagship store" may also be displayed.
Further optionally, in this embodiment of the application, after the order-based store display device displays the first control, or after viewing the corresponding order details, a deletion input of the user may be further received, so as to delete the first control.
For example, a double-finger amplification operation is input in the touchable area of the first control until the first control (the floating ball) disappears, that is, the first control is deleted, and meanwhile, the order detailed information corresponding to the first control is deleted.
Step 104: and responding to the second input by the order-based shop display device, and displaying information of the alternative shops matched with the order detailed information corresponding to the first target control.
In this embodiment of the present application, the alternative store refers to a store that operates a pre-purchased commodity in the order detail information corresponding to the at least one first target control.
Optionally, in this embodiment of the present application, as shown in fig. 5, step 104 may also be implemented by step 501 and step 502.
Step 501: and the order-based shop display device responds to the second input and searches the information of the alternative shops matched with the order detailed information corresponding to the first target control.
In this embodiment of the application, before searching for alternative shops, the shop operating the commodity category may be screened out through the commodity category in the order detail information corresponding to the first control, so as to narrow the screening range.
Further optionally, in this embodiment of the application, the order-based store display device first obtains the commodity names of all the pre-purchased commodities in the order detail information corresponding to the first control, then searches and manages (in a saleable state) the alternative stores of the pre-purchased commodities according to the commodity names, and after the alternative stores are found, the stock quantity, the brand, the grade, the specification, and the like of the pre-purchased commodities operated by the alternative stores need to be searched.
Step 502: and the order-based shop display device displays the information of the alternative shops according to the variety quantity of the pre-purchased commodities contained in the information of each alternative shop.
In the examples of the present application, the pre-purchased goods are: and the commodities in the order detailed information corresponding to the first target control.
Illustratively, the item number refers to the number of items included in the alternative store that are the same as the name of the pre-purchased item (or are the same as the name of the pre-purchased item), for example, the pre-purchased item includes a sign pen, a notebook, ink, a stapler, and a sticky note, the items in the information of the alternative store include a notebook and a sticky note, and then the item number of the name of the pre-purchased item included in the alternative store is 2.
In the embodiment of the present application, the order-based commodity display device may display the information of the alternative shops in the order from large to small in the number of varieties.
In the embodiment of the application, besides the number of varieties, the information of the alternative shops can be displayed according to the stock number and the commodity state, that is, the order-based shop display device calculates the matching degree of each alternative shop and the first target control, and displays the information of the alternative shops in the order from high to low according to the matching program.
Specifically, the order detail information corresponding to the first target control includes: a pre-purchased item name and an item status including a first status indicating that a purchase is necessary.
In addition, the calculation of the matching degree includes at least one of the following: the number of the varieties of the names of the pre-purchased commodities contained in the alternative shops; the commodity state corresponding to the pre-purchased commodity name contained in the alternative store is the number of varieties in the first state; and the stock quantity corresponding to the name of the pre-purchased commodity in the alternative shop.
Further optionally, in this embodiment of the application, the order-based store display device may first sort, according to a sequence from high to low of the number of varieties whose included pre-purchased product states are the first states, the alternative stores that at least include one kind of pre-purchased product names for the first time, then sort, according to a sequence from high to low of the number of varieties of the pre-purchased product names that the alternative stores that are the same in the first ranking for the second time, and finally sort, according to a sequence from many to few of the stock numbers corresponding to the pre-purchased product names in the alternative stores, the alternative stores that are the same in the second ranking for the third time.
Therefore, the alternative shops are displayed according to the relatively fixed sequence according to the matching program of the order detailed information corresponding to the first target control and the alternative shops, so that the user can conveniently reselect the target shop from the alternative shops and place an order according to the order detailed information corresponding to the first target control.
Optionally, in this embodiment of the application, the order-based store display device may mark, in a predetermined marking manner, an alternative store that meets a preset condition, so as to prompt the user that the alternative store is still a backorder store for the order detail information corresponding to the first target control. The preset condition is that the stock quantity corresponding to any pre-purchased commodity name is less than the pre-purchased quantity corresponding to the any pre-purchased commodity name.
For example, the predetermined marking mode may be a highlight mark, a scrolling mode for displaying "a pre-purchased article (displaying a specific article name, such as kurla bergamot pear) out of stock", or a mode for changing the background color.
In the order-based shop display method provided by the embodiment of the application, since the first input of the user is received under the condition that the target page is displayed, N first controls corresponding to M order details contained in the target page are displayed in response to the first input, and thus, the order details are derived by one key. And then, after receiving second input of the user to a first target control in the N first controls, responding to the second input, and displaying information of the alternative shops matched with the order detailed information corresponding to the first target control, so that the operation steps of reselecting the shops by the user can be reduced, and the query efficiency is improved.
Optionally, in this embodiment of the application, as shown in fig. 6, step 102 may also be implemented by step 601 to step 603.
Step 601: and the order-based shop display device responds to the first input and displays the M controls to be merged.
Step 602: and the order-based shop display device receives a third input of the user to at least two controls to be merged in the M controls to be merged.
Step 603: and the order-based shop display device responds to the third input, combines the order detailed information corresponding to the at least two controls to be combined to obtain the combined order detailed information, and displays the combined control corresponding to the combined order detailed information.
In an embodiment of the present application, the N first controls include: the control to be merged, except the at least two controls to be merged, of the M controls to be merged, and the synthesis control.
In the embodiment of the application, each control to be merged corresponds to one order detail information. And M controls to be merged can be displayed on a page for displaying the detailed information of the M orders.
In an embodiment of the present application, the third input may include: and the user drags and inputs at least one first control to be merged in the at least two controls to be merged.
In one example, the third input comprises: and dragging at least one first control to be merged to the input of a second control to be merged by the user. For example, the third input may include: and dragging each first control to be merged to the input in the response range of the second control to be merged by the user.
In another example, in the process of dragging the first to-be-merged control by the user, if the staying time of the first to-be-merged control over another to-be-merged control meets a predetermined condition, merging the first to-be-merged control with the another to-be-merged control, and changing the first to-be-merged control into a synthesized control. It should be noted that if the dragging input is not finished, the user may continue to drag the composite control (i.e., as the control to be merged) to other controls to be merged for merging operation.
For example, assume that the target page includes 4 controls to be merged, and the 4 controls to be merged are merged into the first control, and the specific controls to be merged include a control to be merged a, a control to be merged B, a control to be merged C, and a control to be merged D.
For example, the control B to be merged is dragged into the response range of the control a to be merged, then the control C to be merged is dragged into the response range of the control a to be merged, and finally the control D to be merged is dragged into the response range of the control a to be merged, so as to merge 4 controls to be merged into the first control.
For example, the control B to be merged, the control C to be merged, and the control D to be merged are respectively pressed, and the three controls to be merged are dragged into the response range of the control a to be merged, so as to merge 4 controls to be merged into the first control.
For example, the control a to be merged, the control B to be merged, the control C to be merged and the control D to be merged are respectively pressed, 4 controls to be merged are dragged to a certain preset position, and the 4 controls to be merged are dragged to the response range of the preset position, so that the 4 controls to be merged are merged into the first control.
Further optionally, in this embodiment of the application, the order-based store display device merges the order detailed information corresponding to the at least two controls to be merged to generate the synthesized order detailed information, and specifically includes: and respectively acquiring a first pre-purchased commodity name and a second pre-purchased commodity name from the order detailed information corresponding to the at least two controls to be merged, and if the first pre-purchased commodity name is consistent with the second pre-purchased commodity name or the first pre-purchased commodity name is different from the second pre-purchased commodity name, determining that the synthesized order detailed information comprises the first pre-purchased commodity name or the second pre-purchased commodity and the larger pre-purchased quantity in the first pre-purchased commodity name and the second pre-purchased commodity name.
For example, if the first pre-purchased product name is referred to as "potatoes" and the second pre-purchased product name is referred to as "potatoes," then the first pre-purchased product name and the second pre-purchased product name are distinguished from each other. If the first pre-purchased commodity name is referred to as "potato" and the second pre-purchased commodity name is referred to as "sweet potato", the first pre-purchased commodity name and the second pre-purchased commodity name are not distinguished from each other.
Therefore, by means of combining the controls, the detailed information of the synthesized order is generated, the number of the first controls is reduced, and a user can easily select the first target control needing to place the order again.
Optionally, as shown in fig. 7, in this embodiment of the present application, before the step 103 receives the second input to query the first target control, the order-based shop display method provided in this embodiment of the present application may further include a step 701 and a step 702.
Step 701: the order-based store display device receives a fourth input from the user to the first target control.
Step 702: and the order-based shop display device responds to the fourth input and changes order detailed information corresponding to the first target control.
Illustratively, if the user finds that the order detailed information corresponding to the first target control cannot meet the actual shopping requirement and has a small difference with the actual shopping requirement, the operation of searching for the commodity meeting the requirement again according to the name of the pre-purchased commodity is complicated, and therefore the order detailed information corresponding to the first target control is changed to form the order detailed information meeting the actual shopping requirement as soon as possible.
Further optionally, in this embodiment of the application, as shown in fig. 7, step 702 may also be implemented by step 702a to step 702 b.
Step 702 a: and the order-based shop display device responds to the fourth input, and acquires substitute commodity name information corresponding to the commodity keyword in the order detailed information corresponding to the first target control.
Step 702 b: and the order-based shop display device changes the order detailed information corresponding to the first target control according to the substitute commodity name information.
In this embodiment of the application, the substitute commodity name information refers to a name of a pre-purchased commodity that can replace a commodity keyword in order detailed information corresponding to the first target control. For example, the pre-purchased product name is "Korla bergamot pear", wherein the keyword for the product is "pear", and thus, the alternative product name may be "big white pear". It will be appreciated that the alternative item name information can be substituted for the item of the pre-purchased item name, which is generally similar to the pre-purchased item name, but is actually a different item.
For example, the fourth input may include a first modification sub-input, a second modification sub-input, a third modification sub-input, and a fourth modification sub-input.
As shown in fig. 8, the step 702a is specifically realized by steps 801 to 804.
Step 801: and the order-based shop display device responds to the first change sub-input of the first target control by the user and displays a commodity information editing window.
The commodity information editing window is used for displaying order detailed information corresponding to the first target control; the commodity information editing window comprises a pre-purchased commodity name, a commodity state, a deleting key and a first adding key;
step 802: and the order-based shop display device responds to the second change sub-input of the user to the first adding key and displays a commodity searching page.
Step 803: and the order-based shop display device searches and displays X pieces of alternative commodity name information corresponding to the commodity keywords in response to the third modification sub-input of the user.
The third modifier inputs a commodity keyword for inputting the name of the pre-purchased commodity on the commodity search page, or the commodity search page automatically extracts the name of the pre-purchased commodity.
Step 804: and the order-based shop display device responds to the fourth modification sub-input of the Y pieces of substitute commodity name information by the user, adds the Y pieces of substitute commodity name information to the commodity information editing window, and modifies the order detailed information corresponding to the first target control according to the modified commodity information editing window.
In this embodiment, Y is less than or equal to X, and the commodity information editing window further includes at least one of: the control name, the shop name, the number of pre-purchases, the delete key and the second add key. The second adding key is used for adding other commodities before order detailed information.
In the embodiment of the present application, the commodity status includes a first status indicating that a purchase is necessary and a second status indicating that a purchase is not necessary.
Therefore, the order detailed information corresponding to the first target control is changed to meet the requirements of the user, the probability that the alternative shops are selected by the user can be improved, and the order placing speed of the user can be improved.
It should be noted that, in the order-based shop display method provided in the embodiment of the present application, the execution subject may be an order-based shop display device, or a control module in the order-based shop display device, configured to execute the order-based shop display method. In the embodiment of the present application, an example in which an order-based shop display device executes an order-based shop display method is taken as an example, and the order-based shop display device provided in the embodiment of the present application is described.
As shown in fig. 9, an embodiment of the present application provides an order-based shop display device. The order-based store display device includes: a receiving module 91 and a display module 92;
the receiving module 91 is configured to receive a first input of a user when a target page is displayed, where the target page includes M pieces of order detail information;
the display module 92 is configured to respond to the first input received by the receiving module 91, and display N first controls corresponding to the M pieces of order details, where one first control corresponds to at least one piece of order details;
the receiving module 91 is further configured to receive a second input of the user to a first target control in the N first controls displayed by the display module 92;
the display module 92 is further configured to display, in response to the second input received by the receiving module 91, information of the alternative store that matches the order detail information corresponding to the first target control.
Optionally, as shown in fig. 10, the apparatus further includes a synthesis module 93;
the display module 92 is specifically configured to: responding to the first input received by the receiving module 91, displaying M controls to be merged; each control to be merged corresponds to order detailed information;
the receiving module 91 is further configured to receive a third input of the user to at least two controls to be merged in the M controls to be merged displayed by the display module 92;
the combining module 93 is configured to combine the order details corresponding to the at least two controls to be combined to obtain combined order details in response to the third input received by the receiving module 91;
the display module 92 is further configured to display a synthesis control corresponding to the detailed synthesis order information synthesized by the synthesis module 93;
wherein, the N first controls include: the control to be merged, except the at least two controls to be merged, of the M controls to be merged, and the synthesis control.
Optionally, as shown in fig. 10, the apparatus further includes: a modification module 94;
the receiving module 91 is further configured to receive a fourth input of the user to the first target control in the N first controls before the receiving of the second input of the user to the first target control;
the changing module 94 is configured to change the order details corresponding to the first target control in response to the fourth input received by the receiving module.
Optionally, as shown in fig. 10, the modification module 94 is specifically configured to:
responding to a fourth input received by the receiving module, and acquiring substitute commodity name information corresponding to the commodity keyword in the order detailed information corresponding to the first target control;
and changing the order detailed information corresponding to the first target control according to the substitute commodity name information.
Optionally, the display module 92 is specifically configured to:
in response to the second input received by the receiving module 91, searching for information of an alternative store matched with the order detail information corresponding to the first target control;
displaying the information of the alternative shops according to the variety quantity of the pre-purchased commodities contained in the information of each alternative shop;
wherein the pre-purchased commodity is: and the commodities in the order detailed information corresponding to the first target control.
In the order-based shop display device provided by the embodiment of the application, since the first input of the user is received in the case of displaying the target page, N first controls corresponding to M order details contained in the target page are displayed in response to the first input, and thus, the order details are derived by one key. And then, after receiving second input of the user to a first target control in the N first controls, responding to the second input, and displaying information of the alternative shops matched with the order detailed information corresponding to the first target control, so that the operation steps of reselecting the shops by the user can be reduced, and the query efficiency is improved.
The order-based shop display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The order-based store display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The order-based shop display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 8, and is not described herein again to avoid repetition.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 1100 is further provided in this embodiment of the present application, and includes a processor 1101, a memory 1102, and a program or an instruction that is stored in the memory 1102 and is executable on the processor 1101, and when the program or the instruction is executed by the processor 1101, the processes of the above-mentioned shop display method based on an order are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensors 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1207 is configured to receive a first input of a user when a target page is displayed, where the target page includes M pieces of order detail information;
a display unit 1206, configured to display, in response to the first input, N first controls corresponding to the M pieces of order detail information, where one first control corresponds to at least one piece of order detail information;
the user input unit 1207 is further configured to receive a second input from the user to a first target control of the N first controls;
the display unit 1206 is further configured to display, in response to the second input, information of the candidate store that matches the order detail information corresponding to the first target control.
Optionally, the display unit 1206 is further configured to display, in response to the first input, M controls to be merged; each control to be merged corresponds to order detailed information;
the user input unit 1207 is further configured to receive a third input from the user to at least two controls to be merged in the M controls to be merged;
a processor 1210, configured to, in response to the third input, combine the order details corresponding to the at least two controls to be combined to obtain a composite order detail,
the display unit 1206 is further configured to display a synthesis control corresponding to the detailed synthesis order information; wherein, the N first controls include: the control to be merged, except the at least two controls to be merged, of the M controls to be merged, and the synthesis control.
Optionally, the user input unit 1207 is further configured to receive a fourth input of the first target control from the user;
the processor 1210 is further configured to change order details corresponding to the first target control in response to the fourth input.
Optionally, the processor 1210 is further configured to, in response to the fourth input, obtain substitute product name information corresponding to a product keyword in the order detail information corresponding to the first target control; and according to the name information of the substitute commodity, changing the detailed order information corresponding to the first target control.
Optionally, the processor 1210 is further configured to, in response to the second input, search for information of an alternative store that matches the order detail information corresponding to the first target control;
the display unit 1206 is further configured to display information of the candidate stores according to the number of the varieties of the pre-purchased goods included in the information of each candidate store;
wherein, the pre-purchased commodities are as follows: and the commodities in the order detailed information corresponding to the first target control.
In the electronic device provided by the embodiment of the application, since the first input of the user is received under the condition that the target page is displayed, N first controls corresponding to M order details contained in the target page are displayed in response to the first input, and thus, the order details are derived by one key. And then, after receiving second input of the user to a first target control in the N first controls, responding to the second input, and displaying information of the alternative shops matched with the order detailed information corresponding to the first target control, so that the operation steps of reselecting the shops by the user can be reduced, and the query efficiency is improved.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics Processing Unit 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1209 may be used to store software programs as well as various data, including but not limited to application programs and an operating system. Processor 1210 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned order-based shop display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above embodiment of the order-based shop display method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:试卷生成方法、装置以及智能考试系统