Sofa-based cup use distinguishing method and device, electronic equipment and storage medium

By integrating fingerprint processing devices and smart chips on the restaurant sofa, the problem of insufficient identification of cups in the restaurant is solved, improving the dining experience and reducing hygiene risks.

CN119832604APending Publication Date: 2025-04-15DONGGUAN AIMU BEDROOM SUPPLIES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411900511.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The lack of an effective cup identification mechanism in the restaurant makes it easy for diners to mistakenly use cups, affecting the dining experience and increasing hygiene risks.

Method used

By setting up a fingerprint processing device and a display screen on the sofa, the smart chip stores the fingerprint information of the diner on the cup base to realize the identification of the cup.

Benefits of technology

It effectively solves the problem of identifying cups, improves the dining experience of diners, and reduces hygiene risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119832604A_ABST
    Figure CN119832604A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a cup using identification method and device based on a sofa, electronic equipment and a storage medium, the cup using identification method and device are applied to a target restaurant sofa in a restaurant service system, the sofa is provided with a fingerprint processing device and a display screen, and the method comprises the steps that the sofa obtains first fingerprint information of a first user through the fingerprint processing device, the cup used by the first user reads and stores the first fingerprint information in advance; when it is detected that the first user leaves the target restaurant sofa and a second user is detected within a preset duration, obtaining second fingerprint information of the second user, and when the second fingerprint information is matched with the first fingerprint information, reading third fingerprint information stored in a cup selected by the second user, and under the condition that the third fingerprint information is matched with the first fingerprint information, determining that the cup selected by the second user is the cup used by the first user, and outputting prompt information through the display screen. By implementing the embodiment of the invention, the problem of cup use identification of diners can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of sofas, and in particular to a method, device, electronic device and storage medium for identifying a cup based on a sofa. Background Art

[0002] When restaurants currently set up tables for large gatherings, they only uniformly equip tables with cups that look the same. They do not consider setting up a mechanism specifically for diners to accurately identify their own cups after they leave for a short time. Instead, they rely entirely on the diners' personal memory to distinguish, which is obviously insufficient. Since there is no effective method for identifying cups, diners are prone to mistakenly take other people's cups, which not only affects the diners' dining experience, but also increases health risks. In the existing restaurant environment, sofas, as facilities that are closely connected to diners and have relatively fixed positions, have not been fully utilized to solve the problem of cup identification. Summary of the invention

[0003] The embodiments of the present application disclose a sofa-based cup identification method, device, electronic device and storage medium, which can solve the problem of diners' cup identification, improve the diners' dining experience and reduce health risks.

[0004] The first aspect of the embodiment of the present application discloses a method for identifying cups based on a sofa, which is applied to a target restaurant sofa in a restaurant service system. The restaurant is also provided with a cup, and a smart chip for storing fingerprint information is provided at the base of the cup. The target restaurant sofa is provided with a fingerprint processing device and a display screen, and the fingerprint processing device is used to process the fingerprint information of the user. The method includes:

[0005] The target restaurant sofa obtains the first fingerprint information of the first user through the fingerprint processing device, wherein the cup used by the first user pre-reads and stores the first fingerprint information;

[0006] When it is detected that the first user leaves the sofa in the target restaurant and a second user is detected within a preset time period, the second fingerprint information of the second user is obtained through the fingerprint processing device. When the second fingerprint information matches the first fingerprint information, the third fingerprint information stored in the cup selected by the second user is read through the fingerprint processing device. When the third fingerprint information matches the first fingerprint information, it is determined that the cup selected by the second user is the cup used by the first user, and a first prompt information is output through the display screen.

[0007] As an optional implementation, in the first aspect of this embodiment, a positioning module is built into the smart chip of the cup base, and the positioning module is used to obtain the position information of the cup on the dining table. The method further includes:

[0008] The sofa in the target restaurant receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup that sent the position information;

[0009] When the fourth fingerprint information matches the first fingerprint information written into the sofa in the target restaurant, it is confirmed that the cup sending the location information is the cup used by the first user, and the location information of the cup sending the location information is displayed on the display screen.

[0010] As an optional implementation, in the first aspect of this embodiment, before the target restaurant sofa receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup sending the position information, the method further includes:

[0011] The sofa in the target restaurant sends a request message to cups within a preset range in the restaurant, where the request message is used to request fingerprint information and location information stored in the cups.

[0012] As an optional implementation manner, in the first aspect of this embodiment, the method further includes:

[0013] When the third fingerprint information does not match the first fingerprint information, it is determined that the cup selected by the second user is not the cup used by the first user, and second prompt information is output through the display screen.

[0014] As an optional implementation manner, in the first aspect of this embodiment, the method further includes:

[0015] receiving information removal requests;

[0016] In response to the information clearing request, the stored fingerprint information is cleared.

[0017] As an optional implementation, in the first aspect of this embodiment, the target restaurant sofa is provided with a gas sensor and a camera, and after determining that the cup selected by the second user is the cup used by the first user, the method further includes:

[0018] When the camera detects that there is a drink in the cup used by the first user, the sofa in the target restaurant detects the smell information of the drink through the gas sensor;

[0019] The type of the beverage is determined according to the smell information of the beverage, and information on food or medicine that cannot be consumed at the same time as the type of beverage is displayed on the display screen.

[0020] As an optional implementation manner, in the first aspect of this embodiment, the method further includes:

[0021] Receive user information;

[0022] After determining the type of the beverage according to the smell information of the beverage, the method further includes:

[0023] Determining, based on the user information, whether the determined type of the beverage is a pre-stored prohibited beverage type corresponding to the user information;

[0024] When the beverage type is a prohibited beverage type corresponding to the user information, third prompt information is output.

[0025] The second aspect of the embodiment of the present application discloses a sofa-based cup identification device, which is applied to a target restaurant sofa in a restaurant service system. The restaurant is also provided with a cup, and the cup base is provided with a smart chip for storing fingerprint information. The target restaurant sofa is provided with a fingerprint processing device and a display screen. The fingerprint processing device is used to process the fingerprint information of the user. The device includes:

[0026] a fingerprint information acquisition module, configured to acquire first fingerprint information of a first user through the fingerprint processing device, wherein the cup used by the first user has the first fingerprint information pre-read and stored;

[0027] The cup determination module is used to obtain the second fingerprint information of the second user through the fingerprint processing device when the first user is detected to have left the sofa of the target restaurant and the second user is detected within a preset time period, and to read the third fingerprint information stored in the cup selected by the second user through the fingerprint processing device when the second fingerprint information matches the first fingerprint information, and to determine that the cup selected by the second user is the cup used by the first user when the third fingerprint information matches the first fingerprint information, and to output the first prompt information through the display screen.

[0028] A third aspect of the present application discloses an electronic device, including:

[0029] A memory storing executable program code;

[0030] a processor coupled to the memory;

[0031] The processor calls the executable program code stored in the memory to execute all or part of the steps in any one of the sofa-based cup identification methods disclosed in the first aspect of the embodiments of the present application.

[0032] A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute all or part of the steps in any one of the sofa-based cup identification methods disclosed in the first aspect of the embodiments of the present application.

[0033] Compared with the related art, the embodiments of the present application include at least the following beneficial effects:

[0034] The sofa in the target restaurant obtains the first fingerprint information of the first user through the fingerprint processing device, wherein the cup used by the first user pre-reads and stores the first fingerprint information; when it is detected that the first user leaves the sofa in the target restaurant and the second user is detected within a preset time period, the second fingerprint information of the second user is obtained through the fingerprint processing device, and when the second fingerprint information matches the first fingerprint information, the third fingerprint information stored in the cup selected by the second user is read through the fingerprint processing device, and when the third fingerprint information matches the first fingerprint information, it is determined that the cup selected by the second user is the cup used by the first user, and the first prompt information is output through the display screen.

[0035] In the embodiment of the present application, the cup used by the first user pre-reads and stores the first user's first fingerprint information. When the second user's second fingerprint information matches the first fingerprint information, the second user is determined to be the first user, that is, the diner on the sofa in the target restaurant. At this time, when the third fingerprint information stored in the cup selected by the second user matches the first fingerprint information, the cup is determined to be the cup used by the first user, so that the diner can identify the cup he has used, which can improve the dining experience of the diner and reduce health risks. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0037] Figure 1 This is a diagram of an application scenario of a method for identifying a cup based on a sofa in one embodiment;

[0038] Figure 2 is a flow chart of a method for identifying a cup based on a sofa in one embodiment;

[0039] Figure 3 is a flow chart of a method for identifying a cup based on a sofa in another embodiment;

[0040] Figure 4A schematic diagram of a process of detecting and prompting a drink in a cup in an embodiment;

[0041] Figure 5 is a structural block diagram of a sofa-based cup identification device in one embodiment;

[0042] Figure 6 FIG. 4 is a structural block diagram of an electronic device in an embodiment. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

[0045] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0046] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0047] In addition, the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0048] The embodiments of the present application disclose a sofa-based cup identification method, device, electronic device and storage medium, which can solve the problem of diners' cup identification, improve the diners' dining experience and reduce health risks.

[0049] The following is a detailed description with reference to the accompanying drawings.

[0050] See also Figure 1 , Figure 1 FIG. 1 is an application scenario diagram of a method for identifying a cup on a sofa in one embodiment. Figure 1 As shown, the application scenario may include a target restaurant sofa 10 in a restaurant service system and a cup 20 set in the restaurant, the armrest area of ​​the target restaurant sofa 10 is provided with a fingerprint processing device 102 and a display screen 101, the base of the cup 20 is provided with a smart chip 201 for storing fingerprint information, and the fingerprint processing device 102 is used to process the fingerprint information of the user. Among them, the target restaurant sofa 10 establishes a communication connection with the cup 20.

[0051] In some embodiments, the fingerprint processing device 102 includes a fingerprint collection device, which includes but is not limited to an optical fingerprint collector, a semiconductor fingerprint sensor, a biometric radio frequency fingerprint collector, an ultrasonic fingerprint collector, etc., for collecting the first fingerprint information of the first user and the second fingerprint information of the second user. The fingerprint processing device 102 also includes a fingerprint reading device, which is used to read the third fingerprint information stored in the cup selected by the second user. When the second user selects a specific cup, the fingerprint reading device can be triggered by placing the cup near the armrest area of ​​the sofa in the target restaurant or performing a specific action to start reading the third fingerprint information stored in the smart chip 201 at the base of the cup 20. It can be understood that the fingerprint reading device and the fingerprint collection device can be integrated together to read and identify the fingerprint image collected.

[0052] When the target restaurant sofa 10 obtains the second fingerprint information of the second user through the fingerprint processing device 102, the second fingerprint information is matched with the first fingerprint information. For example, an image feature extraction algorithm can be used to extract fingerprint image features, and an image matching algorithm can be used to calculate the similarity between the two to obtain the degree of matching. When it is recognized that the second fingerprint information matches the first fingerprint information, the third fingerprint information stored in the smart chip 201 at the base of the cup 20 is further read through the fingerprint processing device 102, and the third fingerprint information is matched with the first fingerprint information. When it is recognized that the third fingerprint information matches the first fingerprint information, it is determined that the cup 20 storing the third fingerprint information is the cup used by the diner on the target restaurant sofa 10. At this time, the target restaurant sofa 10 outputs text prompt information to the diner through the display screen 101, so that the diner can easily identify the cup he has used.

[0053] In some embodiments, an indicator light may be provided at a specific position of the target restaurant sofa 10, and indicator lights of different colors may represent different prompt contents. For example, a green indicator light indicates a successful match, and a red indicator light indicates a failed match. In addition, a clear voice prompt may be played through a speaker provided in the target restaurant sofa 10, which is not specifically limited in the present embodiment of the application.

[0054] The smart chip 201 at the base of the cup 20 is used to read and store the first fingerprint information of the first user. The smart chip 201 and the target restaurant sofa 10 also include a communication module, which is used for the target restaurant sofa 10 to establish a communication connection with the cup 20. The communication module may include but is not limited to a Bluetooth Low Energy (BLE) module, a Wireless Fidelity (Wi-Fi) module, a cellular module, a Low Power Wide Area Network (LPWAN) module, a ZigBee module, etc., wherein the cellular module may include but is not limited to the 4th Generation Mobile Communication Technology (4G), the 5th Generation Mobile Communication Technology (5G), etc.

[0055] See also Figure 2 , Figure 2 FIG. 1 is a flowchart of a method for recognizing a cup based on a sofa in one embodiment. The method can be applied to Figure 1 Target dining room sofa shown, such as Figure 2 As shown, the method may include the following steps:

[0056] Step 210: The sofa in the target restaurant obtains the first fingerprint information of the first user through a fingerprint processing device, wherein the cup used by the first user has the first fingerprint information pre-read and stored;

[0057] The target restaurant sofa is any restaurant sofa used for cup identification in the restaurant service system. When the first user (diner) sits on the target restaurant sofa, the sofa can guide the first user to place his finger on the fingerprint processing device in the armrest area of ​​the sofa through a display screen or voice prompts. The fingerprint processing device collects the user's fingerprint image and stores the first fingerprint information of the first user. Before the first user leaves the restaurant sofa, the first user can bring the cup he uses close to or touch the fingerprint processing device in the armrest area of ​​the sofa. The smart chip at the base of the cup can read and store the first fingerprint information of the first user sent by the sofa or the fingerprint processing device. This process can be achieved through wireless communication technology.

[0058] In some embodiments, a fingerprint collection device may be provided at the bottom of the cup to directly collect the first fingerprint information of the first user. Optionally, the first user may aim the fingerprint collection device at the bottom of the cup at his or her finger. After collecting the fingerprint image of the first user, the fingerprint collection device at the bottom of the cup transmits the first fingerprint information to the smart chip at the base of the cup, and the smart chip reads and stores the first fingerprint information.

[0059] Step 220, when it is detected that the first user leaves the sofa in the target restaurant and the second user is detected within a preset time period, the second fingerprint information of the second user is obtained through the fingerprint processing device, and when the second fingerprint information matches the first fingerprint information, the third fingerprint information stored in the cup selected by the second user is read through the fingerprint processing device, and when the third fingerprint information matches the first fingerprint information, it is determined that the cup selected by the second user is the cup used by the first user, and the first prompt information is output through the display screen.

[0060] As an optional implementation, a pressure sensor is provided in the cushion area of ​​the target restaurant sofa. When a user sits on the target restaurant sofa or stands up and leaves the target restaurant sofa, the pressure sensor will detect the pressure change and transmit the detected pressure data to the sofa in real time. When the pressure value detected by the pressure sensor drops to near zero or below a preset threshold and remains at a low level for a period of time, it can be determined that the first user has left the target restaurant sofa. At this time, when the pressure sensor detects that the pressure value rises to exceed the preset pressure threshold and stabilizes within a certain range within the preset time period, the target restaurant sofa determines that the second user is detected. In addition, the departure of the first user and the presence of the second user can also be detected by infrared sensors, ultrasonic sensors or cameras, etc., which are not limited in the embodiments of the present invention.

[0061] When the second user is detected within the preset time, the sofa guides the second user to place his finger on the fingerprint processing device in the armrest area of ​​the sofa through the display screen or voice prompt in the armrest area. For example, a text prompt message "Please place your finger on the fingerprint processing device in the armrest area" can be displayed on the display screen, accompanied by a voice prompt. When the second fingerprint information of the second user is obtained, the target restaurant sofa automatically matches the second fingerprint information with the first fingerprint information. Optionally, by extracting features from the first fingerprint information and the second fingerprint information respectively, and then comparing the detail features in the second fingerprint information with the detail features in the first fingerprint information one by one, the similarity of the two fingerprints is calculated according to the result of the feature comparison. A variety of algorithms can be used to calculate the similarity, such as distance-based algorithms, feature vector-based algorithms, etc., and whether the match is successful is determined based on the result of the similarity calculation. For example, a similarity threshold is set. When the calculated similarity exceeds the similarity threshold, the two fingerprints are considered to be matched successfully, otherwise, the match is considered to fail.

[0062] When the second fingerprint information matches the first fingerprint information, the target restaurant sofa determines that the second user is the diner on the target restaurant sofa, that is, the first user. At this time, the fingerprint processing device reads the third fingerprint information stored in the cup selected by the second user. The third fingerprint information is stored in the smart chip at the base of the cup. In some embodiments, in order to realize automatic reading of the fingerprint processing device, an induction trigger mechanism can be set when the cup is close to the fingerprint processing device of the sofa. For example, a proximity sensor can be installed in the armrest area of ​​the sofa. When the cup enters the sensing range of the sensor, the fingerprint processing device is triggered to start searching and connecting to the smart chip of the cup. Once the communication is established, the smart chip transmits the stored third fingerprint information to the fingerprint processing device through a wireless communication link.

[0063] When the sofa in the target restaurant obtains the third fingerprint information, it automatically matches the third fingerprint information with the stored first fingerprint information. The specific matching method is not described here. When the third fingerprint information matches the first fingerprint information, it is determined that the cup selected by the second user is the cup used by the first user. At this time, the sofa outputs the first prompt information through the display screen or the speaker to remind the diner that the cup currently selected is the cup used by him.

[0064] In some embodiments, the fingerprint processing device can also detect the number of fingerprint information stored in the cup selected by the second user. When it is detected that there are more than two fingerprint information stored in the cup, it means that the cup has been used by someone else before. At this time, the sofa outputs prompt information to the second user through the display screen or speaker.

[0065] In some embodiments, if the cup selected by the second user does not store fingerprint information, or if the third fingerprint information does not match the first fingerprint information, it is determined that the cup selected by the second user is not the cup used by the first user, and the second prompt information is output through the display screen. The second prompt information is used to remind the diner that the cup currently selected is not the cup used by the diner, and remind the diner to change the cup. Similarly, the second prompt information can also remind the diner through voice broadcast, indicator light color change, etc.

[0066] In the embodiment of the present application, the cup used by the first user pre-reads and stores the first user's first fingerprint information. When the second user's second fingerprint information matches the first fingerprint information, the second user is determined to be the first user, that is, the diner on the sofa in the target restaurant. At this time, when the third fingerprint information stored in the cup selected by the second user matches the first fingerprint information, the cup is determined to be the cup used by the first user, so that the diner can identify the cup he has used, which can improve the dining experience of the diner and reduce health risks.

[0067] Please read further Figure 3 , Figure 3 This is a flow chart of a method for identifying cups based on a sofa in another embodiment. After the target restaurant sofa determines that the second user is a diner (first user) on the target restaurant sofa, in order to facilitate the diner to quickly find the cup he is using, in some embodiments, a positioning module is built into the smart chip at the base of the cup, and the positioning module is used to obtain the position information of the cup on the dining table. The method for identifying cups based on a sofa also includes the following steps:

[0068] Step 310: The sofa in the target restaurant sends a request message to cups within a preset range in the restaurant, where the request message is used to request fingerprint information and location information stored in the cups.

[0069] In an embodiment of the present application, the target restaurant sofa sends a request message to the cups within a preset range in the restaurant. The preset range can be a reasonable area set according to the actual layout of the restaurant, the distribution of dining tables and other factors, such as a range with a certain radius and the like, with the location of the target restaurant sofa as the center. In some embodiments, after determining that the second user is a diner (first user) on the target restaurant sofa, the target restaurant sofa starts the request message sending program, for example, a broadcast signal can be sent to a pre-set frequency channel through a communication module, and the broadcast signal contains a specific request identifier and a unique identification code of the target sofa. For the cups within the preset range, the communication module in its smart chip continuously monitors the frequency channel, and after receiving the broadcast signal with the correct request identifier and the matching target sofa identification code, it enters the ready state for receiving the request information. The request information is encapsulated in a specific data format, including header information (including start identifier, version number, total length, etc.), target sofa identification field, data request field (indicating the fingerprint information and location information returned by the required cup) and check field (used for the cup to perform integrity and accuracy check on the received request information).

[0070] Step 320, the sofa in the target restaurant receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup that sent the position information;

[0071] In some embodiments, after receiving the request information, the smart chip at the base of the cup performs integrity and accuracy verification. If the verification passes, the fourth fingerprint information and the corresponding position information are read from the storage unit respectively. The fingerprint information is stored as an image or encrypted binary data, and the position information is stored in the form of coordinate values ​​or relative position descriptions. The cup packages the read fingerprint information and position information according to a predetermined response format, and then sends the response information back to the sofa in the target restaurant through the communication module. The sending frequency can be set to once per second until the sofa receives a confirmation reception signal or the maximum number of retransmissions (such as 5 times) is reached.

[0072] The position information of the cup on the table can be obtained by the built-in positioning module in the smart chip. Optionally, the positioning module can be a positioning module based on radio frequency identification (RFID) technology, an ultra-wideband (UWB) positioning module, a Bluetooth low energy (BLE) positioning module, an ultrasonic positioning module, etc., which is not specifically limited in the embodiment of the present application. The positioning module can obtain the position information of the cup on the table in real time, and can also obtain and update the position information within a preset time period.

[0073] In some embodiments, the smart chip at the cup base may send the stored fourth fingerprint information and location information to the target restaurant sofa after receiving the request information, or the smart chip at the cup base may automatically trigger the positioning module to obtain the current location information of the cup on the dining table within a preset time interval, and send the location information to the target restaurant sofa through the communication module.

[0074] Step 330: When the fourth fingerprint information matches the first fingerprint information written into the sofa in the target restaurant, it is confirmed that the cup sending the location information is the cup used by the first user, and the location information of the cup sending the location information is displayed on the display screen.

[0075] In the embodiment of the present application, when the target restaurant sofa receives the fourth fingerprint information sent by the cup, the fourth fingerprint information is matched with the first fingerprint information, and the specific matching method is not repeated here. When the fourth fingerprint information matches the first fingerprint information successfully, the target restaurant sofa displays the location information of the cup used by the first user through the display screen.

[0076] The layout of the dining table and the position of the cup on the dining table can be displayed graphically on the display screen, for example, a circular icon is used to represent the dining table, a small triangle is used inside the circle to represent the position of the cup, and a text description is annotated, such as "the cup is located to the right of the center of the dining table". In some embodiments, the center of the dining table can also be used as a reference point to determine the direction and distance of the cup relative to the center. On the display screen, an arrow is used to point to the direction of the cup, and the distance value between the cup and the center is displayed next to the arrow.

[0077] By adopting the above embodiment, through the information interaction between the sofa and the cup in the target restaurant and the position information display on the display screen, the first user can intuitively understand and quickly find the position of his cup on the dining table, which further improves the convenience of cup identification, enhances the user's dining experience, and reduces health risks.

[0078] In some embodiments, after the diners on the sofa in the target restaurant finish their meal, the sofa-based cup identification method in the embodiment of the present application further includes:

[0079] receiving information removal requests;

[0080] In response to the information clearing request, the stored fingerprint information is cleared.

[0081] In an embodiment of the present application, a "clear information" button can be set on the display screen of the target restaurant sofa. After the diner finishes the meal, he can manually click the button to send an information clearing request, or send an information clearing request through an electronic device associated with the target restaurant sofa. The target restaurant sofa can also be automatically triggered according to the time setting. For example, when the target restaurant sofa detects that the diner has left the sofa for more than a preset time interval, the fingerprint information clearing operation is automatically started. A pressure sensor can be installed on the sofa to detect whether someone is seated. When no one is seated for a set time, the fingerprint information clearing operation is triggered. When the fingerprint information is cleared, the target restaurant sofa can provide feedback information on the clearing result to the user through the display screen or speaker, and output a prompt message of successful clearing.

[0082] With the above embodiment, the sofa receives the information clearing request and responds to clear the stored fingerprint information, which can effectively protect the user's privacy and prevent the security risks caused by the leakage of fingerprint information.

[0083] Please read further Figure 4 , Figure 4 FIG. 1 is a flow chart of the detection and prompting of beverage in a cup in one embodiment. Figure 4 As shown, in some embodiments, a gas sensor and a camera are provided in the armrest area of ​​the sofa in the target restaurant. After determining that the cup selected by the second user is the cup used by the first user, the sofa-based cup identification method further includes:

[0084] When the camera detects that there is a drink in the cup used by the first user, the sofa in the target restaurant detects the smell information of the drink through the gas sensor;

[0085] The type of the beverage is determined according to the smell information of the beverage, and the information of food or medicine that cannot be consumed at the same time as the beverage is displayed on the display screen.

[0086] In an embodiment of the present application, after the target restaurant sofa determines that the cup selected by the second user is the cup used by the first user, it automatically calls the camera set in the armrest area to start and take an image of the cup, and determines whether there is a drink in the cup by analyzing the color, brightness, texture and other features in the image. For example, if the liquid in the cup has a specific color or transparency, the camera can recognize these features and determine that there is a drink. In addition, the camera can also determine whether there is a drink by detecting the liquid level height of the liquid in the cup. For example, marks or reference lines can be set at specific positions of the cup, and the camera determines the liquid level height by identifying the relative position of these marks and the liquid surface. If the liquid level is higher than a certain threshold, it is judged that there is a drink; if the liquid level is lower than the threshold, it is judged to be an empty cup.

[0087] In some embodiments, the camera is electrically connected to the gas sensor. When the camera detects that there is a drink in the cup, the camera can send a control instruction to the gas sensor. After receiving the control instruction, the gas sensor determines the smell information of the drink by detecting the concentration of chemicals in the air. When the odor molecules emitted by the drink come into contact with the gas sensor, the gas sensor will generate an electrical signal or other measurable changes, which are related to the concentration and characteristics of the odor molecules.

[0088] The gas sensor samples the surrounding air and converts the detected odor information into electrical signals or digital signals, which are transmitted to the processing unit of the target restaurant sofa for analysis to determine the type of beverage. In some embodiments, the type of gas sensor may include but is not limited to electrochemical gas sensors, semiconductor gas sensors, optical gas sensors, infrared gas sensors, etc.

[0089] In some embodiments, a database of smell information characteristics of various beverages is pre-stored in the target restaurant sofa, including various common beverages such as coffee, tea, juice, soda, and alcohol. When the smell information detected by the gas sensor is transmitted to the target restaurant sofa, the type of the beverage is determined by comparing and analyzing the data in the database. For example, if the detected smell information characteristics match the smell information characteristics of coffee, it can be determined that the beverage is coffee.

[0090] The database of the target restaurant sofa also pre-stores taboo information between various drinks, foods, and medicines, such as information that certain drinks cannot be consumed at the same time as specific foods, or certain medicines cannot be taken at the same time as specific drinks, etc. The target restaurant sofa queries the database for taboo information related to the determined drink type, and transmits the queried taboo information to the display screen for display. The display screen can be an LCD screen, touch screen, or other display device installed on the target restaurant sofa, and the displayed content includes information such as the type of drink, the name of the food or medicine that cannot be consumed at the same time, and the reason for the taboo.

[0091] In some other embodiments, before the first user leaves the target restaurant sofa, the target restaurant sofa can detect, identify and store the beverage type information in the cup used by the first user. After the target restaurant sofa determines that the cup selected by the second user is the cup used by the first user, the target restaurant sofa again detects the beverage type information of the remaining beverage in the cup and compares it with the pre-stored beverage type information. If they are consistent, it indicates that the beverage in the cup has not been replaced. Correspondingly, if they are inconsistent, it indicates that the beverage in the cup has been replaced. At this time, the sofa outputs relevant prompt information through the display screen or speaker.

[0092] In some embodiments, the sofa-based cup identification method further includes:

[0093] Receive user information;

[0094] After determining the type of beverage according to the smell information of the beverage, the following steps are also included:

[0095] Determining, based on the user information, whether the determined beverage type is a pre-stored prohibited beverage type corresponding to the user information;

[0096] When the beverage type is a prohibited beverage type corresponding to the user information, the third prompt information is output.

[0097] In an embodiment of the present application, the user can scan the QR code on the sofa in the target restaurant through a terminal device to enter the personal information filling page, enter his or her age, gender, health status (such as special diseases, allergies, etc.) and other relevant information on this page, and the sofa in the target restaurant will store the received user information. In some embodiments, if the sofa in the target restaurant does not receive the user's information, it can also ask the user whether to agree to obtain his or her information through a pop-up window on the display screen in the armrest area. When the user clicks the consent button on the display screen, the sofa in the target restaurant calls the camera to turn on and take the user's facial image, and judges the user's gender and approximate age based on the user's facial image.

[0098] In some embodiments, the target restaurant sofa pre-stores prohibited beverage types corresponding to different user groups (such as children, the elderly, pregnant women, people with specific diseases, etc.) in the database. For example, children should not drink caffeinated beverages, patients with hypertension should avoid drinking beverages with high salt content, and patients with diabetes should not drink beverages with high sugar content, etc. After determining the type of beverage according to the odor information of the beverage, the target restaurant sofa uses the user information as an index to search for the prohibited beverage type corresponding to the user information in the associated database, and compares the determined beverage type with the found prohibited beverage type one by one. If the determined beverage type belongs to the prohibited beverage type, the prompt mechanism is triggered.

[0099] When the beverage type is a taboo beverage type corresponding to the user information, a prompt window can be popped up on the display screen in the armrest area of ​​the sofa in the target restaurant to display text prompt information, or voice prompt information can be played through the speaker. Optionally, the third prompt information includes health risk reminders, reasons for listing it as a taboo beverage, recommended alternative beverages, etc.

[0100] By adopting the above embodiment, the type of beverage can be determined by detecting the smell of the beverage and displaying the information of food or medicine that cannot be consumed at the same time, so that the user can timely understand the potential dietary conflicts and reduce health risks. By receiving user information and judging whether the beverage is a taboo beverage type, personalized services can be provided according to the special circumstances of different users, and the third prompt information can be output in time, which effectively protects the health of the user and enhances the user experience.

[0101] In some embodiments, after determining the type of the beverage according to the smell information of the beverage, the sofa-based cup identification method further includes:

[0102] When it is determined that the type of the beverage is alcohol, the volume of the liquid in the cup is detected by a camera and / or a smart chip at the base of the cup;

[0103] When the volume of the liquid in the cup is less than a preset threshold, a fourth prompt message is output.

[0104] In an embodiment of the present application, an image of the cup and the drink in the cup can be captured by a camera installed in the armrest area, and the image captured by the camera can be analyzed using computer vision technology. The capacity can be estimated by analyzing the liquid level in the cup. It can be understood that when the type of drink is determined to be alcohol, the camera can continuously track the position of the cup and detect the capacity of the liquid in the cup in real time by adopting computer vision algorithms, such as feature point-based tracking algorithms or deep learning-based target detection and tracking algorithms. In addition, the camera can transmit the capacity information of the liquid in the cup to the target restaurant sofa in real time.

[0105] In addition, in some embodiments, the liquid capacity can be detected by using a sensor built into the smart chip at the base of the cup. For example, a pressure sensor can be used to measure the pressure on the bottom of the cup, and the capacity can be calculated based on the relationship between the pressure and the weight of the liquid. Alternatively, a capacitive sensor can be used to determine the liquid level by measuring the change in capacitance between the liquid and the sensor, and then the liquid capacity can be calculated. After detecting the capacity of the liquid in the cup, the smart chip transmits the capacity information to the target restaurant sofa in real time.

[0106] The preset threshold is a pre-set critical value of the liquid capacity in the cup, such as 5% of the total capacity of the cup or other values. When the sofa in the target restaurant detects that the liquid capacity in the cup is less than the preset threshold, it will trigger a corresponding prompt mechanism, such as outputting a fourth prompt message through a display screen or a speaker. The fourth prompt message is used to remind diners to pay attention to their alcohol consumption and avoid excessive drinking to cause harm to the body.

[0107] By adopting the above embodiment, the target restaurant sofa can remind diners to pay attention to their alcohol consumption and avoid physical harm caused by excessive drinking, thereby protecting the health of diners and enhancing user experience.

[0108] In some other embodiments, the restaurant service system further includes a restaurant backend terminal device, the target restaurant sofa is communicatively connected to the restaurant backend terminal device, and the method further includes:

[0109] The target restaurant sofa receives the query request information input by the user from the display screen, and the query request information includes the order menu, the dishes served, and the dishes to be served of the table corresponding to the target restaurant sofa;

[0110] Send the query request information to the restaurant backend terminal device;

[0111] Receive feedback information obtained by the restaurant backend terminal device based on the query request information, and display the feedback information through a display screen.

[0112] In some embodiments, the display screen of the target restaurant sofa is a display screen with a touch function, and the user can directly click the corresponding area on the screen with a finger to input a query request. For example, different query option buttons can be displayed on the screen, such as "order menu", "served dishes", "to be served dishes", etc. The user can click the corresponding button to send a query request to the restaurant backend terminal device through the target restaurant sofa. In some other embodiments, some dedicated physical buttons can also be set in the armrest area of ​​the target restaurant sofa. When the target restaurant sofa detects that the user presses the physical button, it immediately sends a query request to the restaurant backend terminal device. In addition, the target restaurant sofa can also be equipped with a voice recognition module, and the user can input the query request by voice.

[0113] The database of the restaurant's back-end terminal device stores order information, food preparation progress and other data for all tables. When the restaurant's back-end terminal device receives a query request, it searches the database based on the table ID and other information in the request information, filters out relevant feedback information for the corresponding table, and sends the feedback information to the target restaurant sofa.

[0114] The target restaurant sofa displays the feedback information through a display screen. Optionally, the order menu information in the feedback information includes the name, quantity, price and other information of all ordered dishes corresponding to the table of the target restaurant sofa; the served dishes information in the feedback information includes the name and quantity of the served dishes, the serving time and the like; the to-be-served dishes information in the feedback information includes the name and quantity of the to-be-served dishes, the estimated serving time range and the like.

[0115] By adopting the above embodiment, the user can quickly learn about the menu information and dining progress through the sofa in the target restaurant, which can improve the convenience and satisfaction of the diners.

[0116] See also Figure 5 , Figure 51 is a structural block diagram of a sofa-based cup identification device in an embodiment, which is applied to a target restaurant sofa in a restaurant service system. The restaurant is also provided with cups. The cup base is provided with a smart chip for storing fingerprint information. The armrest area of ​​the target restaurant sofa is provided with a fingerprint processing device and a display screen. The fingerprint processing device is used to process the fingerprint information of the user. The sofa-based cup identification device 500 includes: a fingerprint information acquisition module 510 and a cup determination module 520.

[0117] A fingerprint information acquisition module 510, configured to acquire first fingerprint information of a first user through the fingerprint processing device, wherein the cup used by the first user has the first fingerprint information pre-read and stored;

[0118] The cup determination module 520 is used to obtain the second fingerprint information of the second user through the fingerprint processing device when the first user is detected to have left the sofa of the target restaurant and the second user is detected within a preset time period, and when the second fingerprint information matches the first fingerprint information, read the third fingerprint information stored in the cup selected by the second user through the fingerprint processing device, and when the third fingerprint information matches the first fingerprint information, determine that the cup selected by the second user is the cup used by the first user, and output the first prompt information through the display screen.

[0119] In some embodiments, the smart chip of the cup base has a built-in positioning module, and the positioning module is used to obtain the position information of the cup on the dining table. The cup determination module 520 is specifically used to:

[0120] The sofa in the target restaurant receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup that sent the position information;

[0121] When the fourth fingerprint information matches the first fingerprint information written into the sofa in the target restaurant, it is confirmed that the cup sending the location information is the cup used by the first user, and the location information of the cup sending the location information is displayed on the display screen.

[0122] In some embodiments, the sofa-based cup identification device 500 further includes a sending module. Before the target restaurant sofa receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup sending the position information, the sending module is specifically used to:

[0123] The sofa in the target restaurant sends a request message to cups within a preset range in the restaurant, where the request message is used to request fingerprint information and location information stored in the cups.

[0124] In some embodiments, the cup determination module 520 is specifically configured to:

[0125] When the third fingerprint information does not match the first fingerprint information, it is determined that the cup selected by the second user is not the cup used by the first user, and second prompt information is output through the display screen.

[0126] In some embodiments, the sofa-based cup identification device 500 further includes a clearing module, which is specifically used to:

[0127] receiving information removal requests;

[0128] In response to the information clearing request, the stored fingerprint information is cleared.

[0129] In some embodiments, the sofa-based cup identification device 500 further includes a beverage detection and prompting module, which is specifically used to:

[0130] When the camera detects that there is a drink in the cup used by the first user, detecting smell information of the drink through the gas sensor;

[0131] The type of the beverage is determined according to the smell information of the beverage, and information on food or medicine that cannot be consumed at the same time as the type of beverage is displayed on the display screen.

[0132] In some embodiments, the beverage detection and prompting module is further used to:

[0133] Receive user information;

[0134] Determining, based on the user information, whether the determined type of the beverage is a pre-stored prohibited beverage type corresponding to the user information;

[0135] When the beverage type is a prohibited beverage type corresponding to the user information, third prompt information is output.

[0136] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0137] See also Figure 6 , Figure 6 FIG. 1 is a structural block diagram of an electronic device in an embodiment. Figure 6 As shown, the electronic device 600 may include: a memory 610 storing executable program codes and a processor 620 coupled to the memory 610 .

[0138] The processor 620 calls the executable program code stored in the memory 610 to execute any one of the sofa-based cup identification methods disclosed in the embodiments of the present application. Those skilled in the art can understand that Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0139] The processor 620 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 610, and calling data stored in the memory 610, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 620 may include one or more processing units; preferably, the processor 620 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 620.

[0140] The memory 610 can be used to store software programs and modules, and the processor 620 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 610. The memory 610 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc.; the data storage area can store data created according to the use of the electronic device, etc. In addition, the memory 610 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0141] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.

[0142] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.

[0143] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.

[0144] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).

[0145] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application. It should be noted that "multiple" in the present application includes "two or more".

[0146] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0147] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0148] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0149] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0150] The above is a detailed introduction to a method, device, electronic device and storage medium for identifying a cup based on a sofa disclosed in the embodiment of the present application. This article uses specific examples to illustrate the principle and implementation of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A method for identifying cups based on a sofa, characterized in that: A target restaurant sofa applied to a restaurant service system, the restaurant is also provided with a cup, the cup base is provided with a smart chip for storing fingerprint information, the target restaurant sofa is provided with a fingerprint processing device and a display screen, the fingerprint processing device is used to process the fingerprint information of the user, the method comprises: The target restaurant sofa obtains the first fingerprint information of the first user through the fingerprint processing device, wherein the cup used by the first user pre-reads and stores the first fingerprint information; When it is detected that the first user leaves the sofa in the target restaurant and a second user is detected within a preset time period, the second fingerprint information of the second user is obtained through the fingerprint processing device. When the second fingerprint information matches the first fingerprint information, the third fingerprint information stored in the cup selected by the second user is read through the fingerprint processing device. When the third fingerprint information matches the first fingerprint information, it is determined that the cup selected by the second user is the cup used by the first user, and a first prompt information is output through the display screen.

2. The method according to claim 1, characterized in that: The smart chip of the cup base has a built-in positioning module, and the positioning module is used to obtain the position information of the cup on the dining table. The method also includes: The sofa in the target restaurant receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup that sent the position information; When the fourth fingerprint information matches the first fingerprint information written into the sofa in the target restaurant, it is confirmed that the cup sending the location information is the cup used by the first user, and the location information of the cup sending the location information is displayed on the display screen.

3. The method according to claim 2, characterized in that Before the sofa in the target restaurant receives the corresponding position information of itself sent by the cup on the dining table and the fourth fingerprint information stored in the cup sending the position information, the method further includes: The sofa in the target restaurant sends a request message to cups within a preset range in the restaurant, where the request message is used to request fingerprint information and location information stored in the cups.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the third fingerprint information does not match the first fingerprint information, it is determined that the cup selected by the second user is not the cup used by the first user, and second prompt information is output through the display screen.

5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving information removal requests; In response to the information clearing request, the stored fingerprint information is cleared.

6. The method according to any one of claims 1 to 4, characterized in that: The target restaurant sofa is provided with a gas sensor and a camera. After determining that the cup selected by the second user is the cup used by the first user, the method further includes: When the camera detects that there is a drink in the cup used by the first user, the sofa in the target restaurant detects the smell information of the drink through the gas sensor; The type of the beverage is determined according to the smell information of the beverage, and information on food or medicine that cannot be consumed at the same time as the type of beverage is displayed on the display screen.

7. The method according to claim 6, characterized in that The method further comprises: Receive user information; After determining the type of the beverage according to the smell information of the beverage, the method further includes: Determining, based on the user information, whether the determined type of the beverage is a pre-stored prohibited beverage type corresponding to the user information; When the beverage type is a prohibited beverage type corresponding to the user information, third prompt information is output.

8. A cup identification device based on a sofa, characterized in that: A target restaurant sofa applied to a restaurant service system, wherein the restaurant is also provided with a cup, wherein the cup base is provided with a smart chip for storing fingerprint information, and wherein the target restaurant sofa is provided with a fingerprint processing device and a display screen, wherein the fingerprint processing device is used to process the fingerprint information of the user, and wherein the device comprises: a fingerprint information acquisition module, configured to acquire first fingerprint information of a first user through the fingerprint processing device, wherein the cup used by the first user has the first fingerprint information pre-read and stored; The cup determination module is used to obtain the second fingerprint information of the second user through the fingerprint processing device when the first user is detected to have left the sofa of the target restaurant and the second user is detected within a preset time period, and to read the third fingerprint information stored in the cup selected by the second user through the fingerprint processing device when the second fingerprint information matches the first fingerprint information, and to determine that the cup selected by the second user is the cup used by the first user when the third fingerprint information matches the first fingerprint information, and to output the first prompt information through the display screen.

9. An electronic device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 7.