CN111192166A - Method and device for processing ordering information, storage medium and electronic device - Google Patents

Method and device for processing ordering information, storage medium and electronic device Download PDF

Info

Publication number
CN111192166A
CN111192166A CN201910430733.1A CN201910430733A CN111192166A CN 111192166 A CN111192166 A CN 111192166A CN 201910430733 A CN201910430733 A CN 201910430733A CN 111192166 A CN111192166 A CN 111192166A
Authority
CN
China
Prior art keywords
ordering
information
code
identification
server
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.)
Granted
Application number
CN201910430733.1A
Other languages
Chinese (zh)
Other versions
CN111192166B (en
Inventor
张帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology 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 Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201910430733.1A priority Critical patent/CN111192166B/en
Publication of CN111192166A publication Critical patent/CN111192166A/en
Application granted granted Critical
Publication of CN111192166B publication Critical patent/CN111192166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0032Apparatus for automatic testing and analysing marked record carriers, used for examinations of the multiple choice answer type

Landscapes

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

Abstract

The invention discloses a method and a device for processing ordering information, a storage medium and an electronic device, wherein the method for processing the ordering information comprises the following steps: analyzing the received ultrasonic waves carrying the identification short codes to obtain the identification short codes; obtaining ordering information which is obtained by combining multi-person ordering operations and corresponds to the table code corresponding to the short identification code from the server according to the short identification code; and displaying an ordering page containing ordering information, and receiving ordering operation through the ordering page to update the multi-person ordering operation. The invention solves the technical problem of low efficiency of the method for entering the ordering page by scanning the two-dimensional code in the related art.

Description

Method and device for processing ordering information, storage medium and electronic device
The patent application of the invention is divisional application. The application numbers of the original cases are: 201811352992.9, the filing date is: 2018.11.14, the name of the invention is: ordering information processing method and device, storage medium and electronic device.
Technical Field
The invention relates to the field of computers, in particular to a method and a device for processing ordering information, a storage medium and an electronic device.
Background
Merchants typically provide two-dimensional codes on the desktop or store door for customers to scan and enter an order page to order. However, the process of scanning the two-dimensional code to open the page by the user is complex, and it usually takes a long time (about 5 s) from opening the camera, scanning the code, and identifying the information in the two-dimensional code. For a multi-person (group) ordering mode, a mode of scanning a two-dimensional code on a table by multiple persons is usually adopted to enter a multi-person ordering page, for example, a patent with application number CN201510629102.4 discloses an ordering method, an ordering client, an ordering cloud processor and a cloud ordering system, wherein multiple persons enter an order interface of a corresponding table by scanning an identification code corresponding to a table of a shop through the client.
In the above technical solution, if a camera of an individual user terminal may fail to scan a code due to a quality problem or a fault, or the barcode cannot be scanned due to conditions of reflection, contamination, and the like of a pasted two-dimensional code, a situation that the individual user cannot enter a ordering page may be caused.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a method and apparatus for processing ordering information, a storage medium, and an electronic apparatus that overcome or at least partially solve the above problems.
According to one aspect of the invention, a method for processing ordering information is provided, and the method comprises the following steps:
analyzing the received ultrasonic waves carrying the identification short codes to obtain the identification short codes;
obtaining ordering information which is obtained by combining multi-person ordering operations and corresponds to the table code corresponding to the short identification code from the server according to the short identification code;
and displaying an ordering page containing ordering information, and receiving ordering operation through the ordering page to update the multi-person ordering operation.
Further, the ultrasonic waves are sent out by adopting a time-sharing strategy for other clients.
Further, the short identification code is generated by the server according to the store code and the table code, and the server is further used for storing the corresponding relation between the short code identification and the store code and the table code and feeding the short identification code back to other clients.
Further, analyzing the received ultrasonic wave carrying the short identification code to obtain the short identification code further includes: analyzing the ultrasonic waves received within a preset time length range to obtain a plurality of short code identifications;
obtaining the ordering information obtained by combining the multi-person ordering operation corresponding to the table code corresponding to the identification short code from the server according to the identification short code further comprises:
sending the plurality of short code identifications to a server; receiving a plurality of table codes corresponding to a plurality of short code identifications fed back by a server; and receiving input selection operation aiming at the plurality of table codes, and sending the result of the selection operation to the server so as to enable the server to feed back multi-person ordering operation information corresponding to the selected table codes.
According to another aspect of the present invention, a method for processing ordering information is provided, the method comprising:
sending out ultrasonic waves carrying identification short codes;
the client side which receives the ultrasonic waves analyzes the ultrasonic waves to obtain the identification short codes, and the server obtains ordering information which corresponds to the table codes corresponding to the identification short codes and is obtained through the combined multi-person ordering operation.
According to another aspect of the present invention, there is provided an apparatus for processing ordering information, the apparatus comprising:
the analysis unit is used for analyzing the received ultrasonic waves carrying the identification short codes to obtain the identification short codes;
the acquisition unit is used for acquiring ordering information which corresponds to the table code corresponding to the short identification code and is obtained by combining multi-person ordering operations from the server according to the short identification code;
the display unit is used for displaying an ordering page containing ordering information;
and the receiving unit is used for receiving the ordering operation through the ordering page and updating the multi-user ordering operation.
Further, the parsing unit is further configured to: analyzing the ultrasonic waves received within a preset time length range to obtain a plurality of short code identifications;
the acquisition unit further includes: the first sending module is used for sending the plurality of short code identifications to the server; the first receiving module is used for receiving a plurality of table codes corresponding to a plurality of short code identifications fed back by the server; the second receiving module is used for receiving input selection operations aiming at the plurality of table codes; and the second sending module is used for sending the result of the selection operation to the server so as to enable the server to feed back the multi-person ordering operation information corresponding to the selected table code.
According to another aspect of the present invention, there is provided an apparatus for processing ordering information, the apparatus comprising:
the output unit is used for sending out ultrasonic waves carrying the identification short codes; the client side which receives the ultrasonic waves analyzes the ultrasonic waves to obtain the identification short codes, and the server obtains ordering information which corresponds to the table codes corresponding to the identification short codes and is obtained through the combined multi-person ordering operation.
According to another aspect of the present invention, there is provided a system for processing ordering information, the system comprising:
the sharing client is used for sending out ultrasonic waves carrying the identification short codes;
the receiving client is used for acquiring ordering information which corresponds to the table code corresponding to the short identification code and is obtained by combining multi-person ordering operations from the server according to the short identification code; displaying an ordering page containing ordering information, and receiving ordering operation through the ordering page to update the multi-person ordering operation;
and the server is used for searching the ordering operation information which is obtained by combining the multi-person ordering operation and corresponds to the table code corresponding to the identification short code according to the identification short code sent by the receiving client, and feeding the ordering operation information back to the receiving client.
According to yet another embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-mentioned operation of the processing method of ordering information when running.
According to still another embodiment of the present invention, there is also provided an electronic apparatus including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the operations of the above-described method for processing order information.
According to the ordering information processing method and device, the storage medium and the electronic device, the sound wave is used as a carrier wave to carry the store code information and the table code information, so that the client receiving the sound wave information acquires ordering information which corresponds to the store code information and the table code information and is obtained by combining multi-person ordering operations from the server. The method and the device solve the technical problem that the method for entering the ordering page through scanning the two-dimensional code in the related art is low in efficiency, share the information for acquiring the ordering information through the sound wave, greatly reduce the time for other terminal equipment to enter the ordering page, solve the problem that the terminal equipment cannot enter the ordering page through scanning the two-dimensional code under partial conditions, and improve user experience.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of processing ordering information according to an embodiment of the invention;
FIG. 3 is a flow chart of another method of processing ordering information according to an embodiment of the invention;
FIG. 4 is a schematic block diagram of a system for processing order information according to an embodiment of the present invention;
FIG. 5 is a flow chart of a system for processing ordering information to which embodiments of the present invention are applied;
FIG. 6 is a schematic diagram of an apparatus for processing ordering information according to an embodiment of the invention;
fig. 7 is a schematic diagram of an ordering information processing device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, a server, or a similar computing device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, the mobile terminal may further include a transmission device 106 for communication function and an input/output device 108, wherein the input/output device 108 includes a speaker module capable of emitting sound waves or even ultrasonic waves. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for processing ordering information in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
An embodiment of the present invention provides a method for processing order information that can be executed in a mobile terminal or a computer terminal including a speaker module, and fig. 2 is a flowchart of the method for processing order information according to the embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step 201, acquiring shop code information and table code information;
step 202, generating sound wave information according to the store code information and the table code information;
and 203, outputting the sound wave information through sound waves, so that the client receiving the sound wave information acquires the ordering information corresponding to the store code information and the table code information from the server.
The processing method of the ordering information provided by the embodiment of the invention is executed by the client, and specifically can be executed by a consumer client running on a mobile terminal or a merchant client running on the mobile terminal (such as a pos machine, a mobile phone and the like) or a computer terminal, the client running the method of the embodiment is used as a sharing party, and a loudspeaker module of terminal equipment running the client is called to emit sound waves so as to share the sound wave information to other clients.
The store code information and the table code information are stored in the server and used as a basis for the server to search the corresponding ordering information. The store code information corresponds to off-line stores, and the table code information corresponds to off-line areas (for example, certain tables) corresponding to the off-line stores. For example, the store code information is 4718895 and the table code information is 43E. Alternatively, the store code information and the table code information may be represented by data meeting a preset rule, for example, 4718895-43E, where the data 4718895 before the connector "-" is the store code information, and the data 43E after the connector "-" is the table code information.
Optionally, the ordering information may include store information corresponding to the store code information, for example, information such as a store name, a telephone, an address, dishes, and the like, and accordingly, a template of an ordering page is stored in the client in advance, and after the store information is obtained, the store information is filled in a corresponding area of the ordering page template and displayed.
Optionally, the ordering information may further include ordering operation information corresponding to the table code information, the table code information is used as a basis for the server to merge the multi-person ordering operation, and after the client sends the table code information to the server, the server may mark the ordering operation sent by the client with the table code information, so as to merge (superimpose) the ordering operation of the client sending the same table code information into the multi-person ordering operation, thereby obtaining the ordering operation information.
The server can update the ordering operation information in real time according to the ordering operation of each client, and feeds the ordering operation information back to each client which executes the ordering operation through the corresponding table code information. Each client displays the received ordering operation information in an ordering page, for example, the ordering page includes a category navigation bar and a menu information list, the category navigation bar displays the number of the selected menus in each category, and the menu information list displays a plurality of menus and the number of the selected menus currently displayed.
The manner of acquiring the store code information and the table code information may be that the client receives an input operation entry of the user. Or the two-dimensional code can be obtained in a code scanning mode, specifically, a function of scanning the two-dimensional code is opened through the client, a camera module of the terminal device is called to obtain an image of the two-dimensional code, and the two-dimensional code is analyzed to obtain shop code information and table code information carried in the two-dimensional code.
After the store code information and the table code information are obtained, acoustic wave information is generated from the store code information and the table code information. The sound wave information is information that needs to be carried in the sound wave, and each client is configured with an encoding method for encoding the sound wave and a decoding method corresponding to the encoding method in advance, for example, the encoding method may be to encode the information into a change of sound wave frequency, and the like.
Alternatively, the sound wave information may be concatenation information of the store code information and the table code information. Or, optionally, in order to reduce the size of the sound wave carried information, the client may obtain identification information from the server according to the store code information and the table code information, where the size of the identification information is smaller than the splicing information of the store code information and the table code information, and for example, the identification information may be an identification code having a length shorter than the splicing information of the store code information and the table code information. After the identification information is acquired, the sound wave information carried in the sound wave sent by the client is identification information with smaller size, so that the duration of the sound wave carrying effective information can be shortened, and the information transmission efficiency and the information transmission accuracy of the sound wave are improved.
The server needs to store the corresponding relationship between the store code information and the table code information and the identification information, that is, any client can query the ordering information corresponding to the store code information and the table code information in the server through the identification information. The correspondence relationship between the store code information and the table code information and the identification information may be stored in the server in advance, or may be a unique identifier that is temporarily assigned by the server after the store code information and the table code information are received.
Alternatively, the sound wave information may be transmitted periodically, and the time interval between two times of transmission of the sound wave information may be a random time interval. For example, before the client sends the sound wave information each time, a random time interval is generated, for example, a time length of a random value is generated within a time length range of 3s to 5s, and after the client sends the sound wave information this time, the next sound wave information is sent out at the time interval of the randomly generated time length. The optional implementation mode utilizes the principle of time division multiplexing, so that the overlapping probability of sound wave information sent by different clients is greatly reduced.
Alternatively, the acoustic information may be carried by sound waves in the ultrasonic frequency band.
In the sound wave, in addition to the sound wave information, other information may be carried, that is, the sound wave includes sound wave information as effective information and other information as ineffective information, for example, in the case where the sound wave information is carried by a sound wave in an ultrasonic frequency band, the sound wave in a frequency band that can be heard by the human ear may be emitted after the sound wave information is emitted for the user to perceive. The client receiving the sound wave can distinguish whether the information is effective or not by utilizing the difference of the sound wave frequency band. The above is only an alternative implementation of the embodiment of the present invention, and is not to be construed as limiting the embodiment of the present invention.
As an optional implementation manner of the embodiment of the present invention, the client sending the sound wave (i.e., the executing party of the embodiment of the present invention) may be used as a host client to perform an editing operation on other clients that perform a meal ordering operation by using the same table code information. For example, all clients that perform ordering operations using the table code information may be displayed according to the feedback of the server, if the main client receives an input deletion operation and deletes one of the clients, the client is deleted from the displayed client that performs ordering operations and deletes the ordering operation of the corresponding client, and in addition, the server is notified to update the ordering information, the ordering operation of the corresponding client is deleted from the ordering operation information, and the right of the corresponding client to order using the corresponding table code information is cancelled, and after the server is updated, the server may respond to an operation of pulling the ordering information by another client, and feed back the updated ordering information.
By the method provided by the embodiment, the sound wave is used as the carrier wave to carry the store code information and the table code information, so that the client receiving the sound wave information can acquire the ordering information corresponding to the store code information and the table code information from the server. The method and the device solve the technical problem that the method for entering the ordering page through scanning the two-dimensional code in the related art is low in efficiency, share the information for acquiring the ordering information through the sound wave, greatly reduce the time for other terminal equipment to enter the ordering page, solve the problem that the terminal equipment cannot enter the ordering page through scanning the two-dimensional code under partial conditions, and improve user experience.
Example 2
The embodiment of the invention also provides another processing method of the ordering information, which can be used by a shared party corresponding to the executive party (sharing party) in the embodiment. The method for processing the ordering information provided in this embodiment may be implemented in a mobile terminal including a handset, and specifically, this embodiment is implemented as an example by a client installed in the mobile terminal.
Fig. 3 is a flowchart of a method for processing order information according to an embodiment of the present invention, and as shown in fig. 3, the flowchart includes the following steps:
step 301, analyzing the received sound waves to obtain sound wave information, wherein the sound wave information is generated by other clients according to the store code information and the table code information;
step 302, obtaining ordering information corresponding to the store code information and the table code information from the server according to the sound wave information.
An alternative application scenario is that after the user opens the client in the mobile terminal, the user clicks a function button for receiving sound waves, so as to receive the sound waves. According to the embodiment of the invention, the execution client analyzes the received sound waves to obtain sound wave information, wherein the sound waves are sound waves sent by other clients, and the sound wave information is generated by the clients sending the sound waves according to the store code information and the table code information.
Furthermore, the execution client of the embodiment of the present invention may acquire the order information corresponding to the store code information and the table code information from the server according to the sound wave information. And the server is used for feeding back the ordering information corresponding to the store code information and the table code information according to the sound wave information after receiving the sound wave information.
Optionally, the sound wave information may be store code information and table code information, so that the server may directly find corresponding ordering information according to the store code information and the table code information. Or the sound wave information may be identification information used for enabling the server to determine correspondence between the store code information and the table code information, wherein the server stores correspondence between the identification information and the store code information and the table code information in advance, and after receiving the identification information sent by the client, the server determines the store code information and the table code information according to the identification information, so that the ordering information corresponding to the store code information and the table code information is found.
Optionally, the sound wave needs to last for a period of time, so when the client receives the sound wave, the sound wave within a certain period of time needs to be received, and under the condition that the client receives the sound waves sent by multiple clients within the period of time, the received sound wave is analyzed to obtain multiple pieces of sound wave information. In this case, the client transmits the plurality of sound wave information to the server, and receives a plurality of combinations of store code information and table code information fed back by the server, the plurality of combinations corresponding to the plurality of sound wave information one to one. The client displays a plurality of combinations according to feedback of the server, for example, the client may only display table code information under the condition that all received sound waves correspond to the same store code information, and an optional application scenario is that the client displays a plurality of table codes, and a user selects one table code by clicking a touch screen of the terminal, so as to enter an ordering page corresponding to the table code information, that is, a multi-user ordering operation of all clients performing an ordering operation aiming at the same table code information is displayed in the ordering page, and the server is notified of the locally received ordering operation, so that the server updates the combined multi-user ordering operation.
The method provided by the embodiment of the invention solves the technical problem of lower efficiency of a method for entering the ordering page by scanning the two-dimensional code in the related art, shortens the time for entering the ordering page to 2s by analyzing the sound wave to enter the ordering page, greatly reduces the time for entering the ordering page and achieves the technical effect of improving the user experience.
Example 3
The embodiment of the invention also provides a system for processing the ordering information. The system for processing the ordering information provided by the embodiment of the present invention includes a sharing client 10, a receiving client 20 and a server 30 as shown in fig. 4.
The sharing client is used for acquiring store code information and table code information; generating sound wave information according to the store code information and the table code information; acoustic information is output by acoustic waves. It should be noted that the sharing client may be an execution end of the processing method of the meal ordering information provided in embodiment 1.
The receiving client is used for analyzing the received sound waves to obtain sound wave information; and acquiring ordering information corresponding to the store code information and the table code information from the server according to the sound wave information. It should be noted that the receiving client may be an executing end of the processing method of the order information provided in embodiment 2.
The server is used for searching the ordering information corresponding to the store code information and the table code information according to the information sent by the receiving client and feeding the ordering information back to the receiving client.
With reference to fig. 5, the following describes implementation steps of the system for processing food ordering information in an application scenario, where the system is applied to the embodiment of the present invention:
step 401, after a user a sits down at a table of a merchant, the user a opens the client, and invokes a camera of a mobile phone through the client to scan the two-dimensional code pasted or placed on the table, and analyzes the two-dimensional code to obtain a store code and a table code of the merchant.
At step 402, the client of user A sends the merchant store code and the table code to the server.
Step 403, the server generates an identification short code uniquely corresponding to the store code and the table code, stores the corresponding relationship between the identification short code and the store code and the table code, and feeds the identification short code back to the client of the user a.
Or, the short identification code may also be a short identification code which is pre-allocated and stored in the server and uniquely corresponds to the store code and the table code, and the server is configured to find the short identification code uniquely corresponding to the merchant ID and the table code according to the store code and the table code in the pre-stored correspondence.
In step 404, after the client of the user a receives the short identification code, the client sends out the ultrasonic wave carrying the short identification code by adopting a time-sharing strategy. In this case, the client of the user a serves as a host client, and shares information with other clients by sound waves.
Step 405, a user B near the user a can open a client to obtain sound waves, and after the sound waves are obtained, the sound waves are analyzed to obtain the short identification codes. At this time, the client of user B acts as a slave client.
Parsing the sound wave from the client may result in multiple identifying short codes, corresponding to different table codes, step 406. After sound waves within a period of time are acquired from the client and the plurality of identification short codes are analyzed, the plurality of identification short codes obtained through analysis are uploaded to the server.
Step 407, the server searches for the table code corresponding to each identified short code.
In step 408, the server feeds back a plurality of table codes corresponding to the plurality of short identification codes to the slave client.
Step 409, after receiving a plurality of table codes which can be selected, the slave client displays options of each table code, determines the table code corresponding to the slave client based on the selection of the user B, feeds back information of the multi-person ordering operation corresponding to the selected table code to the slave client after receiving the selection from the slave client by the server, and updates the multi-person ordering operation according to the ordering operation locally received from the client.
In the application scenario, at least in the ordering page of the master client, all the slave clients for the table-code ordering can be displayed. The user A can select to delete a certain slave client in the ordering page of the main client so as to delete the ordering authority and the ordering operation of the corresponding slave client.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 4
In this embodiment, a device for processing meal ordering information is also provided, and the device is used to implement the foregoing embodiment 1 and optional implementations thereof, and for a part of this embodiment that is not detailed, reference may be made to the description of embodiment 1.
Fig. 6 is a schematic diagram of an apparatus for processing order information according to an embodiment of the present invention, and as shown in fig. 6, the apparatus includes an acquisition unit 601, a generation unit 602, and an output unit 603.
The acquisition unit is used for acquiring store code information and table code information; the generating unit is used for generating sound wave information according to the store code information and the table code information; the output unit is used for outputting sound wave information through sound waves, so that the client receiving the sound wave information obtains the ordering information corresponding to the store code information and the table code information from the server.
Optionally, the obtaining unit includes: the first acquisition module is used for acquiring the scanned two-dimensional code, wherein the two-dimensional code carries store code information and table code information; and the analysis module is used for analyzing the two-dimensional code to obtain the store code information and the table code information.
Optionally, the generating unit includes: the first sending module is used for sending the shop code information and the table code information to the server; the second acquisition module is used for acquiring the identification information fed back by the server, wherein the server is used for determining the identification information corresponding to the store code information and the table code information; and the generating module is used for generating sound wave information according to the identification information.
Optionally, the output unit includes: and the first output module is used for outputting sound wave information by sound waves at randomly generated time intervals as a period.
Optionally, the apparatus further comprises: the second sending module is used for sending the shop code information and the table code information to the server after analyzing the two-dimensional code to obtain the shop code information and the table code information; the third acquisition module is used for acquiring ordering information corresponding to the store code information and the table code information and fed back by the server, wherein the ordering information comprises store information corresponding to the store code information and ordering operation information corresponding to the table code information; the display module is used for displaying the ordering page by utilizing the shop information and the ordering operation information; the server is used for updating the ordering operation information corresponding to the table code information according to the ordering operation.
Optionally, the ordering operation information includes an identifier of a client that performs an ordering operation with respect to the table code information, and the apparatus further includes: the second receiving module is used for receiving the deleting operation aiming at the target client through the ordering page after the ordering page is displayed by utilizing the shop information and the ordering operation information; and the notification module is used for notifying the server to cancel the permission of the target client terminal for executing the ordering operation aiming at the table code information, and deleting the ordering operation of the target client terminal in the ordering operation information.
Optionally, the store code information and the offline shop have a corresponding relationship, and the table code information and the offline area of the offline shop have a corresponding relationship.
Optionally, the output unit includes: and the second output module is used for outputting sound wave information through sound waves of the ultrasonic frequency band.
The device provided by the embodiment of the invention solves the technical problem of lower efficiency of a method for entering the ordering page by scanning a two-dimensional code in the related art, and the time for entering the ordering page is shortened to 2s by analyzing the sound wave entering the ordering page, so that the time for entering the ordering page is greatly reduced, and the technical effect of improving the user experience is achieved.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 5
In this embodiment, another processing apparatus for meal ordering information is further provided, and the apparatus is used to implement the foregoing embodiment 2 and its optional implementation manners, and for a part that is not detailed in this embodiment, reference may be made to the description of embodiment 2.
Fig. 7 is a schematic diagram of an apparatus for processing order information according to an embodiment of the present invention, and as shown in fig. 7, the apparatus includes a parsing unit 701 and an obtaining unit 702. The analysis unit is used for analyzing the received sound waves to obtain sound wave information, wherein the sound wave information is generated by other clients according to the store code information and the table code information; the acquisition unit is used for acquiring ordering information corresponding to the store code information and the table code information from the server according to the sound wave information.
Further, the parsing unit includes: the analysis module is used for analyzing the sound waves received within the preset time length range to obtain different pieces of sound wave information; the acquisition unit includes: the first sending module is used for sending the sound wave information to the server; the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a plurality of combinations of store code information and table code information which are fed back by a server and correspond to a plurality of sound wave information one to one, and the server is used for inquiring the corresponding combinations of the store code information and the table code information according to information carried in each sound wave information to obtain a plurality of combinations; a second receiving module, configured to receive an input selection operation for one of the plurality of combinations; and the second sending module is used for sending the result of the selection operation to the server so as to enable the server to feed back the ordering information corresponding to the selected group of the store code information and the table code information.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
The device provided by the embodiment of the invention solves the technical problem of lower efficiency of a method for entering the ordering page by scanning a two-dimensional code in the related art, and the time for entering the ordering page is shortened to 2s by analyzing the sound wave entering the ordering page, so that the time for entering the ordering page is greatly reduced, and the technical effect of improving the user experience is achieved.
Example 6
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 7
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in an electronic device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (12)

1. A method for processing ordering information, the method comprising:
analyzing the received ultrasonic waves carrying the identification short codes to obtain the identification short codes;
obtaining ordering information which is obtained by combining multi-person ordering operations and corresponds to the table code corresponding to the identification short code from a server according to the identification short code;
and displaying an ordering page containing ordering information, and receiving ordering operation through the ordering page to update the multi-person ordering operation.
2. The method of claim 1, wherein the ultrasound is sent out using a time-sharing strategy for other clients.
3. The method as claimed in claim 2, wherein the identification short code is generated by the server according to the store code and the table code, and the server is further configured to store the corresponding relationship between the short code identification and the store code and the table code, and feed back the identification short code to the other clients.
4. The method of claim 1, wherein the analyzing the received ultrasonic waves carrying the short identification code to obtain the short identification code further comprises: analyzing the ultrasonic waves received within a preset time length range to obtain a plurality of short code identifications;
the obtaining, from the server according to the short identification code, meal ordering information obtained by combining multi-person meal ordering operations corresponding to the table code corresponding to the short identification code further includes:
sending the plurality of short code identifications to the server; receiving a plurality of table codes corresponding to the plurality of short code identifications fed back by the server; and receiving input selection operation aiming at the plurality of table codes, and sending the result of the selection operation to the server so as to enable the server to feed back multi-person ordering operation information corresponding to the selected table codes.
5. A method for processing ordering information, the method comprising:
sending out ultrasonic waves carrying identification short codes;
and the client side receiving the ultrasonic waves analyzes the ultrasonic waves to obtain the identification short code, and the server acquires the ordering information which corresponds to the table code corresponding to the identification short code and is obtained by combining the multi-person ordering operation.
6. An apparatus for processing ordering information, the apparatus comprising:
the analysis unit is used for analyzing the received ultrasonic waves carrying the identification short codes to obtain the identification short codes;
the acquisition unit is used for acquiring ordering information which corresponds to the table code corresponding to the identification short code and is obtained by combining multi-person ordering operations from a server according to the identification short code;
the display unit is used for displaying an ordering page containing ordering information;
and the receiving unit is used for receiving the ordering operation and updating the multi-person ordering operation through the ordering page.
7. An apparatus for processing ordering information, the apparatus comprising:
the output unit is used for sending out ultrasonic waves carrying the identification short codes; and the client side receiving the ultrasonic waves analyzes the ultrasonic waves to obtain the identification short code, and the server acquires the ordering information which corresponds to the table code corresponding to the identification short code and is obtained by combining the multi-person ordering operation.
8. A system for processing ordering information, the system comprising:
the sharing client is used for sending out ultrasonic waves carrying the identification short codes;
the receiving client is used for acquiring ordering information which corresponds to the table code corresponding to the identification short code and is obtained by combining multi-person ordering operation from the server according to the identification short code; displaying an ordering page containing ordering information, and receiving ordering operation through the ordering page to update multi-person ordering operation;
and the server is used for searching the ordering operation information which is obtained by combining multi-person ordering operations and corresponds to the table code corresponding to the identification short code according to the identification short code sent by the receiving client, and feeding the ordering operation information back to the receiving client.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
11. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of claim 5 when executed.
12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of claim 5.
CN201910430733.1A 2018-11-14 2018-11-14 Method and device for processing ordering information, storage medium and electronic device Active CN111192166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910430733.1A CN111192166B (en) 2018-11-14 2018-11-14 Method and device for processing ordering information, storage medium and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910430733.1A CN111192166B (en) 2018-11-14 2018-11-14 Method and device for processing ordering information, storage medium and electronic device
CN201811352992.9A CN109447852A (en) 2018-11-14 2018-11-14 The treating method and apparatus and storage medium and electronic device for information of ordering

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201811352992.9A Division CN109447852A (en) 2018-11-14 2018-11-14 The treating method and apparatus and storage medium and electronic device for information of ordering

Publications (2)

Publication Number Publication Date
CN111192166A true CN111192166A (en) 2020-05-22
CN111192166B CN111192166B (en) 2022-07-26

Family

ID=65552836

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811352992.9A Pending CN109447852A (en) 2018-11-14 2018-11-14 The treating method and apparatus and storage medium and electronic device for information of ordering
CN201910430733.1A Active CN111192166B (en) 2018-11-14 2018-11-14 Method and device for processing ordering information, storage medium and electronic device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201811352992.9A Pending CN109447852A (en) 2018-11-14 2018-11-14 The treating method and apparatus and storage medium and electronic device for information of ordering

Country Status (1)

Country Link
CN (2) CN109447852A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889615A (en) * 2019-11-21 2020-03-17 浙江口碑网络技术有限公司 Article information processing method and device
CN111563518B (en) * 2020-03-20 2023-08-11 时时同云科技(成都)有限责任公司 Dish image recognition method and device based on edge calculation

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202956846U (en) * 2012-11-29 2013-05-29 北京购阿购技术服务有限公司 Service transponder
CN103476142A (en) * 2013-09-30 2013-12-25 张忠义 Method for establishing temporary user group for smartphones gathered together
CN103903199A (en) * 2014-03-14 2014-07-02 童琦 Multi-user food ordering method and system based on personal mobile terminals
CN104506627A (en) * 2014-12-26 2015-04-08 厦门雅迅网络股份有限公司 Multi-panel simultaneous ordering method and multi-panel simultaneous ordering system for dining people at same table
CN104902434A (en) * 2014-09-29 2015-09-09 腾讯科技(深圳)有限公司 Information processing method, information processing device and information processing system
CN104978697A (en) * 2015-06-24 2015-10-14 西南石油大学 Two-dimensional code-based cooperative intelligent ordering method and system
CN105243616A (en) * 2015-08-03 2016-01-13 北京信付科技有限公司 Ordering method, ordering client, ordering cloud processor and cloud ordering system
CN106067147A (en) * 2016-06-24 2016-11-02 包永祥 A kind of Self-service order system and method
CN106296483A (en) * 2016-08-08 2017-01-04 吴树凯 A kind of group based on mobile Internet orders method and system
CN106296482A (en) * 2016-08-04 2017-01-04 珠海优特电力科技股份有限公司 A kind of desktop terminal
CN107038656A (en) * 2016-02-03 2017-08-11 开曼群岛商红阳控股有限公司 System and method are provided using the electronic menu of sonic transmissions
CN107103261A (en) * 2017-04-28 2017-08-29 张进能 A kind of method based on the Pad multi-person synergy electric order dishes begined a theatrical performance
CN107909441A (en) * 2017-11-22 2018-04-13 北京新弘宝科技有限公司 A kind of intelligent table meal ordering system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG11201801784XA (en) * 2015-09-18 2018-04-27 Yap Company Service providing place information based service providing method
CN107665468A (en) * 2017-09-28 2018-02-06 朱喜 Method of ordering, device, terminal device and system
KR20180105606A (en) * 2018-09-13 2018-09-28 주식회사 피노스 Method for Operating Reverse Direction Cash Withdrawal based on Prior Approval by using Sound Wave

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202956846U (en) * 2012-11-29 2013-05-29 北京购阿购技术服务有限公司 Service transponder
CN103476142A (en) * 2013-09-30 2013-12-25 张忠义 Method for establishing temporary user group for smartphones gathered together
CN103903199A (en) * 2014-03-14 2014-07-02 童琦 Multi-user food ordering method and system based on personal mobile terminals
CN104902434A (en) * 2014-09-29 2015-09-09 腾讯科技(深圳)有限公司 Information processing method, information processing device and information processing system
CN104506627A (en) * 2014-12-26 2015-04-08 厦门雅迅网络股份有限公司 Multi-panel simultaneous ordering method and multi-panel simultaneous ordering system for dining people at same table
CN104978697A (en) * 2015-06-24 2015-10-14 西南石油大学 Two-dimensional code-based cooperative intelligent ordering method and system
CN105243616A (en) * 2015-08-03 2016-01-13 北京信付科技有限公司 Ordering method, ordering client, ordering cloud processor and cloud ordering system
CN107038656A (en) * 2016-02-03 2017-08-11 开曼群岛商红阳控股有限公司 System and method are provided using the electronic menu of sonic transmissions
CN106067147A (en) * 2016-06-24 2016-11-02 包永祥 A kind of Self-service order system and method
CN106296482A (en) * 2016-08-04 2017-01-04 珠海优特电力科技股份有限公司 A kind of desktop terminal
CN106296483A (en) * 2016-08-08 2017-01-04 吴树凯 A kind of group based on mobile Internet orders method and system
CN107103261A (en) * 2017-04-28 2017-08-29 张进能 A kind of method based on the Pad multi-person synergy electric order dishes begined a theatrical performance
CN107909441A (en) * 2017-11-22 2018-04-13 北京新弘宝科技有限公司 A kind of intelligent table meal ordering system

Also Published As

Publication number Publication date
CN111192166B (en) 2022-07-26
CN109447852A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
US10009303B2 (en) Message push method and apparatus
USRE48430E1 (en) Two-dimensional code processing method and terminal
CN105812315B (en) Multiple terminals method for message transmission and device based on user's login account
CN111192166B (en) Method and device for processing ordering information, storage medium and electronic device
CN105389361A (en) Search recommendation method and apparatus
CN111008848A (en) Fresh product tracing method and device based on block chain and storage medium
CN111127123A (en) Invoice information processing method and device
CN109635213A (en) A kind of implementation method that more people order, device and electronic equipment
JP2013225228A (en) Group purchase device, group purchase method, and program
CN106911559B (en) Method and device for establishing voice connection
CN106161575A (en) User matching method and device
CN107205229B (en) Method and device for issuing information at wireless routing equipment end
CN108345600B (en) Management of search application, data search method and device thereof
JP2005044295A (en) Retrieval method, retrieval system, and retrieval program therefor
CN110414062B (en) Method and device for acquiring design drawing and computer readable storage medium
CN109243437A (en) Reminding method, device, storage medium and the electronic device of information
KR101781046B1 (en) Method and computer program for providing advertisement dynamically using scenario
CN111078999B (en) Display method and device, server and electronic equipment
KR20140119485A (en) Mobile Web Page Providing System, Apparatus and Method, Mobile Web Page Editing Apparatus and Method
CN106294509A (en) Information getting method, Apparatus and system
CN109977169B (en) Data synchronization method, device, computer readable storage medium and system
CN113641678A (en) Dynamic service configuration method and system based on multi-dimensional form
CN107577679A (en) Recommend method and device in a kind of destination
CN114385898A (en) Service personnel recommendation method, terminal device and server
CN107864467B (en) Information transmission method and device for improving transmission speed between mobile terminal and 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
GR01 Patent grant
GR01 Patent grant