CN113506157A - Automatic commodity purchasing method and device, storage medium and electronic equipment - Google Patents

Automatic commodity purchasing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113506157A
CN113506157A CN202111058642.3A CN202111058642A CN113506157A CN 113506157 A CN113506157 A CN 113506157A CN 202111058642 A CN202111058642 A CN 202111058642A CN 113506157 A CN113506157 A CN 113506157A
Authority
CN
China
Prior art keywords
user
commodity
purchased
paid
determining
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.)
Pending
Application number
CN202111058642.3A
Other languages
Chinese (zh)
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.)
Shenzhen Bepsun Industry E Commerce System Co ltd
Original Assignee
Shenzhen Bepsun Industry E Commerce System 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 Shenzhen Bepsun Industry E Commerce System Co ltd filed Critical Shenzhen Bepsun Industry E Commerce System Co ltd
Priority to CN202111058642.3A priority Critical patent/CN113506157A/en
Publication of CN113506157A publication Critical patent/CN113506157A/en
Pending legal-status Critical Current

Links

Images

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/0609Buyer or seller confidence or verification
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • 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
    • G06Q30/0637Approvals
    • 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/0639Item locations

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for automatically purchasing commodities, a storage medium and electronic equipment. The automatic commodity purchasing method comprises the steps of responding to a commodity purchasing request initiated by a user, and obtaining face information of the user, wherein the face information comprises pupils of the user; acquiring a first focusing position of a pupil; determining a commodity to be purchased selected by a user based on the first focusing position; adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not; generating an order to be paid in response to first determination information of a user; acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade; responding to second determination information of the user, and determining a payment mode of the amount to be paid; and paying the amount to be paid based on the payment mode. The scheme can improve the convenience of automatic purchase of commodities.

Description

Automatic commodity purchasing method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of automatic vending, in particular to a method and a device for automatically purchasing commodities, a storage medium and electronic equipment.
Background
With the development of society, people also become more diversified in shopping modes, and autonomous shopping becomes a more and more popular shopping mode. The current autonomous shopping mode is generally realized by a self-service vending machine. When a user needs to buy goods on the self-service vending machine, the goods can be selected through keys or touch control to be selected, then paper money is thrown into a payment port of the vending machine or payment two-dimensional codes are scanned through a mobile terminal to pay, and finally the selected goods are taken away from a goods taking port of the vending machine.
However, conventional vending machines are generally tall, and when a user needs to buy an upper layer of goods, the user needs to press or touch the buttons or touch buttons of the upper layer to select the goods, which is very inconvenient for the disabled or short-statured user.
Disclosure of Invention
The embodiment of the application provides a method and a device for automatically purchasing commodities, a storage medium and electronic equipment, and convenience in automatic purchasing of the commodities can be improved.
In a first aspect, an embodiment of the present application provides an automatic commodity purchasing method, including:
responding to a commodity purchase request initiated by a user, and acquiring face information of the user, wherein the face information comprises pupils of the user;
acquiring a first focusing position of the pupil;
determining the commodity to be purchased selected by the user based on the first focusing position;
adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that the user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not;
responding to the first determination information of the user, and generating an order to be paid;
acquiring coupon information and a discount grade of the user, and determining the amount to be paid of the order to be paid according to the coupon information and the discount grade;
responding to second determination information of the user, and determining a payment mode of the amount to be paid;
and paying the amount to be paid based on the payment mode.
In the method for automatically purchasing a commodity provided by the embodiment of the present application, the determining a commodity to be purchased selected by the user based on the first focusing position includes:
determining whether the first focusing position is within a preset range, wherein the preset range comprises a plurality of to-be-focused sections, and the to-be-focused sections comprise a plurality of commodities;
if yes, determining a specific focusing interval of the first focusing position from the multiple intervals to be focused;
and determining the commodity to be purchased selected by the user from a plurality of commodities based on the specific focusing interval.
In the method for automatically purchasing a commodity provided in an embodiment of the present application, the determining, from a plurality of commodities, a commodity to be purchased selected by the user based on the specific focusing interval includes:
magnifying the specific focusing interval, and acquiring a second focusing position of the pupil in the specific focusing interval;
and determining the commodity to be purchased selected by the user from the commodities according to the second focusing position.
In the automatic commodity purchasing method provided in the embodiment of the present application, before determining whether the first focusing position is within a preset range, where the preset range includes a plurality of to-be-focused sections, and the to-be-focused section includes a plurality of commodities, the method further includes:
acquiring the duration of the pupil at the first focus position;
determining whether the duration is greater than a preset duration;
and if so, executing the step of determining whether the first focusing position is within a preset range.
If not, returning to the step of acquiring the duration of the pupil at the first focusing position.
In the automatic purchase method of a commodity provided in an embodiment of the present application, the paying the amount to be paid based on the payment method includes:
performing a living body test on the user to determine whether the user is the user himself;
and if so, paying the amount to be paid according to the payment mode.
In the method for automatically purchasing a product provided in an embodiment of the present application, after responding to a product purchase request initiated by a user, the obtaining of the face information of the user, where the face information includes pupils of the user, further includes:
determining whether a human face exists in the field of view;
if yes, executing the step of acquiring the face information of the user;
if not, sending out prompt information to prompt the user to move the face to the view range.
In the method for automatically purchasing a product provided in an embodiment of the present application, before the responding to a product purchase request initiated by a user, obtaining face information of the user, where the face information includes pupils of the user, the method further includes:
acquiring a voice purchasing instruction of the user;
determining the position of the user according to the voice purchasing instruction;
determining whether to initiate a merchandise purchase request based on the location.
In a second aspect, an embodiment of the present application provides an automatic purchasing device for goods, including:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for responding to a commodity purchase request initiated by a user and acquiring the face information of the user, and the face information comprises the pupil of the user;
a second acquisition unit configured to acquire a first focus position of the pupil;
the first determining unit is used for determining the commodity to be purchased selected by the user based on the first focusing position;
the commodity display unit is used for adding the commodity to be purchased into a commodity list to be purchased and displaying the commodity list to be purchased so that the user can determine whether the commodity to be purchased in the commodity list to be purchased is correct or not;
the order generating unit is used for responding to the first determination information of the user and generating an order to be paid;
the second determining unit is used for acquiring the coupon information and the discount grade of the user and determining the amount to be paid of the order to be paid according to the coupon information and the discount grade;
a third determination unit, configured to determine a payment method of the amount to be paid in response to second determination information of the user;
and the order payment unit is used for paying the amount to be paid based on the payment mode.
In a third aspect, an embodiment of the present application provides a storage medium, where a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to perform the method described in the foregoing embodiment.
In a fourth aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to the foregoing embodiments.
The method for automatically purchasing the commodity comprises the steps of responding to a commodity purchasing request initiated by a user, and obtaining face information of the user, wherein the face information comprises pupils of the user; acquiring a first focusing position of the pupil; determining the commodity to be purchased selected by the user based on the first focusing position; adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that the user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not; responding to the first determination information of the user, and generating an order to be paid; acquiring coupon information and a discount grade of the user, and determining the amount to be paid of the order to be paid according to the coupon information and the discount grade; responding to second determination information of the user, and determining a payment mode of the amount to be paid; and paying the amount to be paid based on the payment mode. This scheme can be selected and purchase commodity through the pupil hole to commodity automatic purchase's convenience has been improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an automatic commodity purchasing method according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of an automatic commodity purchasing device according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a server according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first" and "second", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiment of the application provides a method and a device for automatically purchasing commodities, a storage medium and electronic equipment. The automatic commodity purchasing method provided by the embodiment of the application can be integrated into an automatic commodity purchasing device.
The following detailed description will be made separately, and the description sequence of each embodiment below does not limit the specific implementation sequence.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an automatic purchasing method for goods according to an embodiment of the present disclosure. The specific flow of the automatic commodity purchasing method can comprise the following steps:
101. and responding to a commodity purchase request initiated by a user, and acquiring the face information of the user, wherein the face information comprises the pupil of the user.
Specifically, the face information of the user can be acquired through the camera.
In some embodiments, before step 101, an operation instruction of the user may also be obtained, and then it is determined whether to initiate the goods purchase request according to the operation instruction.
It should be noted that the operation instruction may include a tapping purchase instruction, a touch purchase instruction, a voice purchase instruction, and the like.
For example, when the operation instruction is a voice purchase instruction, the location of the user may be determined according to the voice purchase instruction, and then it is determined whether to initiate an article purchase request based on the location.
Specifically, the distance between the user's location and the vending machine may be determined according to the propagation duration of the voice purchase instruction, and then it may be determined whether the distance is within a preset range. If so, step 101 may be performed. If not, the voice purchasing instruction is ignored.
For example, when the operation instruction is a voice purchase instruction, it may be determined whether to perform step 101 according to the number of taps and the tap position of the user.
It can be understood that, in the actual operation process, the face information of the user may not be obtained because the standing position of the user is not within the visual range of the vending machine.
In this regard, in some embodiments, after the step "responding to the user initiated goods purchase request", the step "acquiring the face information of the user, the face information including the pupil of the user", may further include:
determining whether a human face exists in the field of view;
if yes, executing the step of acquiring the face information of the user;
if not, sending out prompt information to prompt the user to move the face to the view range.
It will be appreciated that the face information may include facial features and pupils of the user.
102. A first focus position of the pupil is acquired.
It should be noted that when the human eye looks at a certain object, if the object can be clearly seen, the focal points of the two eyes need to converge on a point.
In the embodiment of the present application, this point is the focus position. Specifically, the first focusing position may be obtained by a pupil focusing point determination technique of a human eye. For example, the first focus position of the pupil of the user is calculated from information such as the distance between the left and right pupils and the position of the pupil center.
103. And determining the commodity to be purchased selected by the user based on the first focusing position.
It should be noted that the shopping interface of the vending machine may be divided into a plurality of sections to be focused according to the types of the goods. And a plurality of commodities can be included in the interval to be focused. And the shopping interface is within a preset range. It is understood that the non-predetermined range is a non-shopping interface.
Therefore, when the user purchases, a specific focusing interval can be selected from the focusing intervals, and then the commodity to be purchased can be selected from the specific focusing interval. That is, step 103 may include:
determining whether the first focusing position is in a preset range, wherein the preset range comprises a plurality of to-be-focused sections, and the to-be-focused sections comprise a plurality of commodities;
if yes, determining a specific focusing interval of the first focusing position from the multiple intervals to be focused;
and determining the commodity to be purchased selected by the user from the plurality of commodities based on the specific focusing interval.
It is understood that when the first focusing position is not within the preset range, the step 102 is executed again until the first focusing position is within the preset range.
In some embodiments, to facilitate the user to select the item to be purchased from the specific focus interval, the specific focus interval may be highlighted.
Specifically, the specific focusing interval may be enlarged, and a second focusing position of the pupil in the specific focusing interval is obtained; and determining the commodity to be purchased selected by the user from the plurality of commodities according to the second focusing position.
It will be appreciated that the pupil may rotate around as the user selects a particular focus interval and item. In order to avoid the problem of wrong selection, in some embodiments, before the step "determining whether the first focusing position is within a preset range, the preset range includes a plurality of to-be-focused sections, and the to-be-focused section includes a plurality of commodities", the method may include:
acquiring the duration of the pupil at the first focus position;
determining whether the duration is greater than a preset duration;
if yes, executing the step of determining whether the first focusing position is in the preset range.
If not, returning to the step of acquiring the duration of the pupil at the first focusing position.
Wherein, the preset duration can be set according to the actual situation.
Similarly, before the step "determining the commodity to be purchased selected by the user from the plurality of commodities according to the second focusing position", the step "performing the zoom-in process on the specific focusing interval, and acquiring the second focusing position of the pupil in the specific focusing interval" may further include:
acquiring the duration of the pupil at the second focal position;
determining whether the duration is greater than a preset duration;
and if so, executing a step of determining the commodity to be purchased selected by the user from the plurality of commodities according to the second focusing position.
If not, returning to the step of acquiring the duration of the pupil at the second focusing position.
It should be noted that the preset duration in the present embodiment may be exactly the same as the preset duration in the above embodiment.
It will be appreciated that when the user's pupil is focused at one point, the user's pupil may dilate. Thus, in some embodiments, the magnification of the pupil may also be obtained, and then a determination may be made as to whether to select a particular focal region or item to be purchased based on the magnification of the pupil. Wherein the magnification of the pupil is related to the focusing time of the pupil.
104. And adding the goods to be purchased into the list of the goods to be purchased, and displaying the list of the goods to be purchased so that the user can determine whether the goods to be purchased in the list of the goods to be purchased are correct.
In the embodiment of the present application, when an article to be purchased is added to the article to be purchased list, the number of articles to be purchased defaults to 1. In a particular implementation, a user may purchase multiple copies of the same item.
Therefore, the user can adjust the quantity and the type of the commodities in the commodity list to be purchased at the moment.
105. And generating the order to be paid in response to the first determination information of the user.
After the user adjusts the quantity and the type of the commodities in the commodity list to be purchased, the first determination information can be initiated, so that the vending machine responds to the first determination information of the user to generate the order to be paid.
106. And acquiring the coupon information and the discount grade of the user, and determining the amount to be paid of the order to be paid according to the coupon information and the discount grade.
The preferential level can be a member level of the user, and different member levels correspond to different discounts.
Specifically, the amount of the order to be paid can be determined according to the coupon information and the privilege level, and then adjusted, so that the amount of the order to be paid can be determined.
Based on this, after step 101 and before step 102, the method may further include:
determining whether the user is a registered member according to the face information of the user;
if yes, directly logging in the registered member of the user;
if not, the member registration can be carried out based on the face information of the user.
Specifically, in the process of member registration, prompt information may be sent out to enable the user to input personal basic information, and then member registration is performed according to the face information and the personal basic information.
107. And determining the payment mode of the amount to be paid in response to the second determination information of the user.
In some embodiments, when the amount to be paid of the order to be paid is determined, the amount to be paid may be displayed, and then the payment mode of the amount to be paid is determined in response to the second determination information of the user.
It is understood that the payment method may be union pay card payment, face payment, mobile wallet payment, communication software payment, etc.
108. And paying the amount to be paid based on the payment mode.
It is understood that, in order to increase the security of the transaction, after determining the payment method, the user may be subjected to a live body test to determine whether the user is himself; if yes, paying the amount to be paid according to a payment mode; and if not, canceling the payment behavior.
It should be noted that the living body detection may be performed based on the facial feature information and/or the pupil.
The automatic commodity purchasing method disclosed by the embodiment of the application responds to a commodity purchasing request initiated by a user to acquire the face information of the user, wherein the face information comprises the pupil of the user; acquiring a first focusing position of a pupil; determining a commodity to be purchased selected by a user based on the first focusing position; adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not; generating an order to be paid in response to first determination information of a user; acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade; responding to second determination information of the user, and determining a payment mode of the amount to be paid; and paying the amount to be paid based on the payment mode. This scheme can be selected and purchase commodity through the pupil hole to commodity automatic purchase's convenience has been improved.
In order to better implement the above automatic commodity purchasing method, correspondingly, the embodiment of the present application further provides an automatic commodity purchasing device, where the automatic commodity purchasing device may be integrated in an electronic device or a server. The term is the same as in the above-mentioned automatic purchasing method for goods, and the details of the implementation can be referred to the description in the method embodiment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an automatic merchandise purchasing device according to an embodiment of the present disclosure. The automatic merchandise purchasing apparatus 200 may include:
a first obtaining unit 201, configured to obtain face information of a user in response to a commodity purchase request initiated by the user, where the face information includes pupils of the user;
a second acquisition unit 202 for acquiring a first focus position of the pupil;
a first determining unit 203, configured to determine a to-be-purchased product selected by a user based on the first focus position;
the commodity display unit 204 is configured to add a commodity to be purchased into the commodity list to be purchased, and display the commodity list to be purchased, so that a user can determine whether the commodity to be purchased in the commodity list to be purchased is correct;
an order generating unit 205 for generating an order to be paid in response to the first determination information of the user;
a second determining unit 206, configured to obtain coupon information and a discount level of a user, and determine an amount to be paid of an order to be paid according to the coupon information and the discount level;
a third determining unit 207, configured to determine a payment method of the amount to be paid in response to the second determination information of the user;
and the order payment unit 208 is used for paying the amount to be paid based on the payment mode.
To sum up, the automatic commodity purchasing device 200 provided in the embodiment of the present application obtains the face information of the user by responding to the commodity purchasing request initiated by the user, where the face information includes the pupil of the user; acquiring a first focusing position of a pupil; determining a commodity to be purchased selected by a user based on the first focusing position; adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not; generating an order to be paid in response to first determination information of a user; acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade; responding to second determination information of the user, and determining a payment mode of the amount to be paid; and paying the amount to be paid based on the payment mode. The scheme can select and purchase the commodity through the pupil hole, so that the convenience of automatic commodity purchase is improved.
The embodiment of the present application further provides a server, as shown in fig. 3, which shows a schematic structural diagram of the server according to the embodiment of the present application, specifically:
the server may include components such as a processor 301 of one or more processing cores, memory 302 of one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will appreciate that the server architecture shown in FIG. 3 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 301 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 302 and calling data stored in the memory 302, thereby performing overall monitoring of the server. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and data processing by operating the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The server further includes a power supply 303 for supplying power to the various components, and preferably, the power supply 303 may be logically connected to the processor 301 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 303 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The server may also include an input unit 304, the input unit 304 being operable to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the server may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 301 in the server loads the executable file corresponding to the process of one or more application programs into the memory 302 according to the following instructions, and the processor 301 runs the application programs stored in the memory 302, thereby implementing various functions as follows:
responding to a commodity purchase request initiated by a user, and acquiring face information of the user, wherein the face information comprises pupils of the user;
acquiring a first focusing position of a pupil;
determining a commodity to be purchased selected by a user based on the first focusing position;
adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not;
generating an order to be paid in response to first determination information of a user;
acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade;
responding to second determination information of the user, and determining a payment mode of the amount to be paid;
and paying the amount to be paid based on the payment mode.
In summary, the server may obtain face information of the user by responding to a commodity purchase request initiated by the user, where the face information includes pupils of the user; acquiring a first focusing position of a pupil; determining a commodity to be purchased selected by a user based on the first focusing position; adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not; generating an order to be paid in response to first determination information of a user; acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade; responding to second determination information of the user, and determining a payment mode of the amount to be paid; and paying the amount to be paid based on the payment mode. This scheme can be selected and purchase commodity through the pupil hole to commodity automatic purchase's convenience has been improved.
The above operations can be specifically referred to the previous embodiments, and are not described herein.
Accordingly, an electronic device according to an embodiment of the present disclosure may include, as shown in fig. 4, a Radio Frequency (RF) circuit 401, a memory 402 including one or more computer-readable storage media, an input unit 403, a display unit 404, a sensor 405, an audio circuit 406, a Wireless Fidelity (WiFi) module 407, a processor 408 including one or more processing cores, and a power supply 409. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 401 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 408 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 401 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 401 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 402 may be used to store software programs and modules, and the processor 408 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 408 and the input unit 403 access to the memory 402.
The input unit 403 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 403 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 408, and can receive and execute commands from the processor 408. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 403 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 404 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 404 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 408 to determine the type of touch event, and then the processor 408 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 4 the touch-sensitive surface and the display panel are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 405, such as a light sensor, motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the motion sensor is stationary, can be used for applications of recognizing the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like, and can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and further description is omitted here.
Audio circuitry 406, a speaker, and a microphone may provide an audio interface between the user and the electronic device. The audio circuit 406 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 406 and converted into audio data, which is then processed by the audio data output processor 408, and then passed through the RF circuit 401 to be sent to, for example, another electronic device, or output to the memory 402 for further processing. The audio circuitry 406 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
WiFi belongs to short distance wireless transmission technology, and the electronic device can help the user send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 407, which provides wireless broadband internet access for the user. Although fig. 4 shows the WiFi module 407, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 408 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 408 may include one or more processing cores; preferably, the processor 408 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily the wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 408.
The electronic device may also include a power source 409 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 408 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 409 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 408 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 408 runs the application programs stored in the memory 402, thereby implementing various functions:
responding to a commodity purchase request initiated by a user, and acquiring face information of the user, wherein the face information comprises pupils of the user;
acquiring a first focusing position of a pupil;
determining a commodity to be purchased selected by a user based on the first focusing position;
adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not;
generating an order to be paid in response to first determination information of a user;
acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade;
responding to second determination information of the user, and determining a payment mode of the amount to be paid;
and paying the amount to be paid based on the payment mode.
In summary, the electronic device may obtain face information of the user by responding to a commodity purchase request initiated by the user, where the face information includes pupils of the user; acquiring a first focusing position of a pupil; determining a commodity to be purchased selected by a user based on the first focusing position; adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not; generating an order to be paid in response to first determination information of a user; acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade; responding to second determination information of the user, and determining a payment mode of the amount to be paid; and paying the amount to be paid based on the payment mode. This scheme can be selected and purchase commodity through the pupil hole to commodity automatic purchase's convenience has been improved.
The above operations can be specifically referred to the previous embodiments, and are not described herein.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the automatic merchandise purchasing methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
responding to a commodity purchase request initiated by a user, and acquiring face information of the user, wherein the face information comprises pupils of the user;
acquiring a first focusing position of a pupil;
determining a commodity to be purchased selected by a user based on the first focusing position;
adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that a user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not;
generating an order to be paid in response to first determination information of a user;
acquiring coupon information and a discount grade of a user, and determining the amount to be paid of an order to be paid according to the coupon information and the discount grade;
responding to second determination information of the user, and determining a payment mode of the amount to be paid;
and paying the amount to be paid based on the payment mode.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in the automatic purchasing method for any commodity provided in the embodiment of the present application, the beneficial effects that can be achieved by the automatic purchasing method for any commodity provided in the embodiment of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The above detailed description is provided for a method, an apparatus and a storage medium for automatically purchasing a commodity according to the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An automatic purchasing method for commodities is characterized by comprising the following steps:
responding to a commodity purchase request initiated by a user, and acquiring face information of the user, wherein the face information comprises pupils of the user;
acquiring a first focusing position of the pupil;
determining the commodity to be purchased selected by the user based on the first focusing position;
adding the to-be-purchased commodities into a to-be-purchased commodity list, and displaying the to-be-purchased commodity list so that the user can determine whether the to-be-purchased commodities in the to-be-purchased commodity list are correct or not;
responding to the first determination information of the user, and generating an order to be paid;
acquiring coupon information and a discount grade of the user, and determining the amount to be paid of the order to be paid according to the coupon information and the discount grade;
responding to second determination information of the user, and determining a payment mode of the amount to be paid;
and paying the amount to be paid based on the payment mode.
2. The method for automatically purchasing commodities according to claim 1, wherein said determining the commodity to be purchased selected by said user based on said first focus position comprises:
determining whether the first focusing position is within a preset range, wherein the preset range comprises a plurality of to-be-focused sections, and the to-be-focused sections comprise a plurality of commodities;
if yes, determining a specific focusing interval of the first focusing position from the multiple intervals to be focused;
and determining the commodity to be purchased selected by the user from a plurality of commodities based on the specific focusing interval.
3. The method for automatically purchasing commodities according to claim 2, wherein the step of determining the commodity to be purchased selected by the user from a plurality of commodities based on the specific focusing interval comprises the following steps:
magnifying the specific focusing interval, and acquiring a second focusing position of the pupil in the specific focusing interval;
and determining the commodity to be purchased selected by the user from the commodities according to the second focusing position.
4. The method for automatically purchasing commodities, according to claim 2, before said determining whether said first focus position is within a preset range, said preset range including a plurality of intervals to be focused, said intervals to be focused including a plurality of commodities, further comprising:
acquiring the duration of the pupil at the first focus position;
determining whether the duration is greater than a preset duration;
if yes, executing a step of determining whether the first focusing position is within a preset range;
if not, returning to the step of acquiring the duration of the pupil at the first focusing position.
5. The method for automatically purchasing commodities according to claim 1, wherein said paying the amount to be paid based on the payment means includes:
performing a living body test on the user to determine whether the user is the user himself;
and if so, paying the amount to be paid according to the payment mode.
6. The method for automatically purchasing commodities according to claim 1, wherein after said responding to a commodity purchase request initiated by a user, said obtaining facial information of said user, said facial information including pupils of said user, further comprises:
determining whether a human face exists in the field of view;
if yes, executing the step of acquiring the face information of the user;
if not, sending out prompt information to prompt the user to move the face to the view range.
7. The method for automatically purchasing commodities according to claim 1, wherein before said responding to a commodity purchase request initiated by a user, acquiring face information of the user, said face information including pupils of the user, further comprising:
acquiring a voice purchasing instruction of the user;
determining the position of the user according to the voice purchasing instruction;
determining whether to initiate a merchandise purchase request based on the location.
8. An automatic purchasing apparatus for commodities, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for responding to a commodity purchase request initiated by a user and acquiring the face information of the user, and the face information comprises the pupil of the user;
a second acquisition unit configured to acquire a first focus position of the pupil;
the first determining unit is used for determining the commodity to be purchased selected by the user based on the first focusing position;
the commodity display unit is used for adding the commodity to be purchased into a commodity list to be purchased and displaying the commodity list to be purchased so that the user can determine whether the commodity to be purchased in the commodity list to be purchased is correct or not;
the order generating unit is used for responding to the first determination information of the user and generating an order to be paid;
the second determining unit is used for acquiring the coupon information and the discount grade of the user and determining the amount to be paid of the order to be paid according to the coupon information and the discount grade;
a third determination unit, configured to determine a payment method of the amount to be paid in response to second determination information of the user;
and the order payment unit is used for paying the amount to be paid based on the payment mode.
9. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the method of any of claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1-7 when executing the computer program.
CN202111058642.3A 2021-09-10 2021-09-10 Automatic commodity purchasing method and device, storage medium and electronic equipment Pending CN113506157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111058642.3A CN113506157A (en) 2021-09-10 2021-09-10 Automatic commodity purchasing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111058642.3A CN113506157A (en) 2021-09-10 2021-09-10 Automatic commodity purchasing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113506157A true CN113506157A (en) 2021-10-15

Family

ID=78017087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111058642.3A Pending CN113506157A (en) 2021-09-10 2021-09-10 Automatic commodity purchasing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113506157A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114564138A (en) * 2022-04-27 2022-05-31 浙江口碑网络技术有限公司 Information display method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781013A (en) * 2017-01-18 2017-05-31 广东美基沃得科技有限公司 Automatic vending equipment and automatic vending method
CN107424054A (en) * 2017-08-01 2017-12-01 深圳市益廷科技有限公司 A kind of hotel's purchase system
CN109151176A (en) * 2018-07-25 2019-01-04 维沃移动通信有限公司 A kind of information acquisition method and terminal
CN109376666A (en) * 2018-10-29 2019-02-22 百度在线网络技术(北京)有限公司 A kind of commercial articles vending method, apparatus, vending machine and storage medium
CN109447680A (en) * 2018-09-14 2019-03-08 缤果可为(北京)科技有限公司 Discount method and device for unmanned convenience store

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781013A (en) * 2017-01-18 2017-05-31 广东美基沃得科技有限公司 Automatic vending equipment and automatic vending method
CN107424054A (en) * 2017-08-01 2017-12-01 深圳市益廷科技有限公司 A kind of hotel's purchase system
CN109151176A (en) * 2018-07-25 2019-01-04 维沃移动通信有限公司 A kind of information acquisition method and terminal
CN109447680A (en) * 2018-09-14 2019-03-08 缤果可为(北京)科技有限公司 Discount method and device for unmanned convenience store
CN109376666A (en) * 2018-10-29 2019-02-22 百度在线网络技术(北京)有限公司 A kind of commercial articles vending method, apparatus, vending machine and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114564138A (en) * 2022-04-27 2022-05-31 浙江口碑网络技术有限公司 Information display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN106993227B (en) Method and device for information display
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN108629579B (en) Payment method and mobile terminal
CN109408171B (en) Display control method and terminal
CN107067239B (en) Application server and information processing method and device thereof
CN110971510A (en) Message processing method and electronic equipment
CN111443815A (en) Vibration reminding method and electronic equipment
CN108510267B (en) Account information acquisition method and mobile terminal
CN108460599B (en) Mobile payment method and mobile terminal
CN111523871A (en) Payment processing method and electronic equipment
CN109474747B (en) Information prompting method and mobile terminal
CN109164908B (en) Interface control method and mobile terminal
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN111061446A (en) Display method and electronic equipment
CN110784394A (en) Prompting method and electronic equipment
CN113506157A (en) Automatic commodity purchasing method and device, storage medium and electronic equipment
CN111310165B (en) Account switching or registering method and electronic equipment
KR102199402B1 (en) Service processing method and device
CN106127530B (en) Method for processing business and device based on virtual card
CN111815319A (en) Graphic code processing method and electronic equipment
CN111476569A (en) Resource transfer management method and electronic equipment
CN108235407B (en) Prompting method and mobile terminal
CN111275427A (en) Receipt and payment method and electronic equipment
CN110633114A (en) Application program starting method and terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211015

RJ01 Rejection of invention patent application after publication