Voice input method and device of commodity information, storage medium and computer equipment
Through the voice entry method and system analysis, it solves the operational difficulties and low efficiency problems faced by e-commerce platform merchants when entering product information, achieves convenient and efficient information entry, and reduces the risk of misoperation.
Patent Information
- Application Number
- CN202410778248.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-06
AI Technical Summary
When merchants enter product information on e-commerce platforms, the traditional typing method leads to difficult operations, low efficiency and frequent misoperations, which increases the workload and hand fatigue.
Provides a voice entry method for product information. Through the guidance page and voice entry control, users can enter multiple pieces of product information through voice. The system parses and displays the initial information based on the preset structure, supports real-time analysis, exception identification and modification suggestions, and improves Entry efficiency and accuracy.
It reduces the difficulty of operation, improves the convenience and accuracy of entry, and reduces the problem of inaccurate information caused by typing errors. It is suitable for merchants who are not familiar with computer or mobile phone operations.
Smart Images

Figure CN118608247A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and device for voice input of commodity information, a storage medium, and a computer device. Background Art
[0002] At present, on major e-commerce platforms, merchants still generally use traditional typing to enter product information. However, this input method does bring some troubles to some merchants who are not familiar with computer or mobile phone operations. They may spend a lot of time due to unskilled operation, or even cause information entry errors due to misoperation, which undoubtedly increases the difficulty and burden of their work. At the same time, the typing input method also has obvious shortcomings in efficiency. When there is a lot of product information and it is updated frequently, merchants need to spend a lot of time and energy on typing, which undoubtedly reduces their work efficiency. Moreover, long-term typing operations may also cause hand fatigue of merchants, further affecting work results.
[0003] Therefore, how to provide merchants with a more convenient and efficient way to enter product information has become an urgent problem that current e-commerce platforms need to solve. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method and device, storage medium, and computer equipment for voice entry of product information. By introducing a voice entry function and parsing the voice based on a preset product information structure, a user can enter multiple product information at one time through voice entry, thereby improving the efficiency and accuracy of product information entry.
[0005] According to one aspect of the present application, a method for voice input of commodity information is provided, the method comprising:
[0006] Displaying a product information voice entry guidance page, outputting guidance information and providing a voice entry control through the product information voice entry guidance page, wherein the guidance information is used to guide the user to enter product information according to a preset product information structure;
[0007] In response to a trigger instruction for the voice input control, switch to the product information voice input page, start the recording function, obtain the input audio, parse the input audio, and display at least one piece of initial product information parsed on the product information voice input page based on the preset product information structure, wherein the initial product information is modifiable information;
[0008] Based on the confirmation operation on the initial commodity information or the modified initial commodity information, the confirmed target commodity information is determined, and information entry is performed on the target commodity information.
[0009] In the embodiment of the present application, optionally, outputting guidance information through the product information voice input guidance page includes:
[0010] Outputting the guidance information by voice, and displaying the guidance information by text, and distinguishing between the outputted part and the unoutputted part in the displayed guidance information based on the voice output progress;
[0011] In response to a stop voice guidance instruction for the voice entry guidance page of the commodity information, the voice output of the guidance information is terminated.
[0012] In the embodiment of the present application, optionally, the parsing the input audio and displaying the parsed at least one initial product information on the product information voice input page based on the preset product information structure includes:
[0013] The recorded audio is analyzed and anomalies are identified in real time, and based on the preset product information structure, the analyzed initial product information is displayed in real time on the product information voice input page;
[0014] When it is identified that the recorded audio has an abnormality, prompt information is displayed based on the abnormality type to prompt the user to solve the abnormal problem, wherein the abnormality type includes environmental noise or low human voice volume.
[0015] In the embodiment of the present application, optionally, the real-time display of the parsed initial product information on the product information voice input page includes:
[0016] The parsed text information is displayed in real time on the product information voice entry page, and based on the preset product information structure, a valid portion of the text information is identified as the initial product information, and the initial product information and an invalid portion of the text information are displayed separately, so that the initial product information has a visually highlighted display effect compared to the invalid portion.
[0017] In the embodiment of the present application, optionally, based on the preset product information structure, the input audio is analyzed and abnormalities are identified in real time, and the analyzed initial product information is displayed in real time on the product information voice input page, including:
[0018] Performing speaker separation on the recorded audio;
[0019] Based on the preset product information structure, the input audio of each speaker is analyzed in real time, the target speaker who is inputting product information is identified, and the initial product information corresponding to the analyzed target speaker is displayed in real time on the product information voice input page.
[0020] In the embodiment of the present application, optionally, based on the preset product information structure, displaying the parsed initial product information in real time on the product information voice input page includes:
[0021] Based on the preset commodity information structure, the parsed initial commodity information is displayed in real time in strips on the commodity information voice entry page.
[0022] In the embodiment of the present application, optionally, the real-time display of the parsed initial product information on the product information voice entry page based on the preset product information structure further includes:
[0023] An information deletion control corresponding to each piece of initial product information is displayed, wherein when the information deletion control of any piece of initial product information is triggered, the initial product information is deleted.
[0024] In the embodiment of the present application, optionally, after displaying the parsed initial product information in real time in strips on the product information voice entry page based on the preset product information structure, the method further includes:
[0025] By using a preset product name verification model, the product names included in the initial product information are verified one by one to determine whether the product names are accurate and output the predicted standard name corresponding to the product name if it is inaccurate;
[0026] If the product name contained in any piece of initial product information fails the verification, modification suggestion information corresponding to the initial product information is displayed based on the predicted standard name, wherein the modification suggestion information is triggerable information, and the product name is replaced with the predicted standard name when the modification suggestion information is triggered.
[0027] In the embodiment of the present application, optionally, the displaying of the product information entry guide page includes:
[0028] In response to a triggering operation on a product information entry function, a plurality of product type components and at least one entry mode component are displayed, wherein the entry mode component includes a voice entry mode component;
[0029] When any target product type component in the product type components is selected and the voice input mode component is triggered, a product information input guidance page is displayed, wherein the guidance information is used to guide the user to input product information according to a preset product information structure matching the target product type component;
[0030] Accordingly, the step of inputting the target product information includes:
[0031] Based on the target commodity type corresponding to the target commodity type component, the target commodity information is entered.
[0032] In an embodiment of the present application, optionally, the commodity types corresponding to the commodity type component include multiple types of single items, standard dishes, weighed dishes, and dish packages; the preset commodity information structure corresponding to the single items includes the dish name and the dish price; the preset commodity information structure corresponding to the standard dishes includes the dish name, multiple dish specifications and their corresponding dish prices; the preset commodity information structure corresponding to the weighed dishes includes the dish name and the dish billing unit price; the preset commodity information structure corresponding to the dish package includes the package name, the name of the dish in the package, and the package price.
[0033] In the embodiment of the present application, optionally, the product information voice entry page includes a recording pause control, a re-recording control, and a recording completion control; after switching to the product information voice entry page, the method further includes:
[0034] When the recording pause control is triggered, the recording function is paused, and the recording pause control is switched to a recording resume control, and when the recording resume control is triggered, the recording function is resumed to continue to obtain the recorded audio;
[0035] When the re-recording control is triggered, the acquired recorded audio and the parsed initial product information are cleared, and the recorded audio is acquired again for parsing;
[0036] When the recording completion control is triggered, the recording function is stopped and the initial product information is set to a confirmable state, wherein in the confirmable state, a step of determining the confirmed target product information based on a confirmation operation on the initial product information or the modified initial product information is performed.
[0037] In the embodiment of the present application, optionally, the commodity information voice input page includes a language switching component; the parsing of the input audio includes:
[0038] Parsing the recorded audio in a default language;
[0039] When a language switching signal based on the language switching component is received, a target language to be switched to is determined, and the input audio is parsed in the target language.
[0040] According to another aspect of the present application, a device for voice inputting commodity information is provided, the device comprising:
[0041] A guidance module, used to display a guidance page for voice entry of commodity information, output guidance information through the guidance page for voice entry of commodity information, and provide a voice entry control, wherein the guidance information is used to guide the user to enter commodity information according to a preset commodity information structure;
[0042] a parsing module, configured to respond to a trigger instruction of the voice entry control, switch to a product information voice entry page, start a recording function, obtain recorded audio, parse the recorded audio, and display at least one piece of parsed initial product information on the product information voice entry page based on the preset product information structure, wherein the initial product information is modifiable information;
[0043] The input module is used to determine the confirmed target commodity information based on the confirmation operation on the initial commodity information or the modified initial commodity information, and input the target commodity information.
[0044] In the embodiment of the present application, optionally, the guiding module is further used to:
[0045] Outputting the guidance information by voice, and displaying the guidance information by text, and distinguishing between the outputted part and the unoutputted part in the displayed guidance information based on the voice output progress;
[0046] In response to a stop voice guidance instruction for the voice entry guidance page of the commodity information, the voice output of the guidance information is terminated.
[0047] In the embodiment of the present application, optionally, the parsing module is further used to:
[0048] The recorded audio is analyzed and anomalies are identified in real time, and based on the preset product information structure, the analyzed initial product information is displayed in real time on the product information voice input page;
[0049] When it is identified that the recorded audio has an abnormality, prompt information is displayed based on the abnormality type to prompt the user to solve the abnormal problem, wherein the abnormality type includes environmental noise or low human voice volume.
[0050] In the embodiment of the present application, optionally, the parsing module is further used to:
[0051] The parsed text information is displayed in real time on the product information voice entry page, and based on the preset product information structure, a valid portion of the text information is identified as the initial product information, and the initial product information and an invalid portion of the text information are displayed separately, so that the initial product information has a visually highlighted display effect compared to the invalid portion.
[0052] In the embodiment of the present application, optionally, the parsing module is further used to:
[0053] Performing speaker separation on the recorded audio;
[0054] Based on the preset product information structure, the input audio of each speaker is analyzed in real time, the target speaker who is inputting product information is identified, and the initial product information corresponding to the analyzed target speaker is displayed in real time on the product information voice input page.
[0055] In the embodiment of the present application, optionally, the parsing module is further used to:
[0056] Based on the preset commodity information structure, the parsed initial commodity information is displayed in real time in strips on the commodity information voice entry page.
[0057] In the embodiment of the present application, optionally, the parsing module is further used to:
[0058] An information deletion control corresponding to each piece of initial product information is displayed, wherein when the information deletion control of any piece of initial product information is triggered, the initial product information is deleted.
[0059] In the embodiment of the present application, optionally, the parsing module is further used to:
[0060] By using a preset product name verification model, the product names included in the initial product information are verified one by one to determine whether the product names are accurate and output the predicted standard name corresponding to the product name if it is inaccurate;
[0061] If the product name contained in any piece of initial product information fails the verification, modification suggestion information corresponding to the initial product information is displayed based on the predicted standard name, wherein the modification suggestion information is triggerable information, and the product name is replaced with the predicted standard name when the modification suggestion information is triggered.
[0062] In the embodiment of the present application, optionally, the guiding module is further used to:
[0063] In response to a triggering operation on a product information entry function, a plurality of product type components and at least one entry mode component are displayed, wherein the entry mode component includes a voice entry mode component;
[0064] When any target product type component in the product type components is selected and the voice input mode component is triggered, a product information input guidance page is displayed, wherein the guidance information is used to guide the user to input product information according to a preset product information structure matching the target product type component;
[0065] Accordingly, the input module is also used for:
[0066] Based on the target commodity type corresponding to the target commodity type component, the target commodity information is entered.
[0067] In an embodiment of the present application, optionally, the commodity types corresponding to the commodity type component include multiple types of single items, standard dishes, weighed dishes, and dish packages; the preset commodity information structure corresponding to the single items includes the dish name and the dish price; the preset commodity information structure corresponding to the standard dishes includes the dish name, multiple dish specifications and their corresponding dish prices; the preset commodity information structure corresponding to the weighed dishes includes the dish name and the dish billing unit price; the preset commodity information structure corresponding to the dish package includes the package name, the name of the dish in the package, and the package price.
[0068] In the embodiment of the present application, optionally, the commodity information voice input page includes a recording pause control, a re-recording control, and a recording completion control; the parsing module is further used to:
[0069] When the recording pause control is triggered, the recording function is paused, and the recording pause control is switched to a recording resume control, and when the recording resume control is triggered, the recording function is resumed to continue to obtain the recorded audio;
[0070] When the re-recording control is triggered, the acquired recorded audio and the parsed initial product information are cleared, and the recorded audio is acquired again for parsing;
[0071] When the recording completion control is triggered, the recording function is stopped and the initial product information is set to a confirmable state, wherein in the confirmable state, a step of determining the confirmed target product information based on a confirmation operation on the initial product information or the modified initial product information is performed.
[0072] In the embodiment of the present application, optionally, the commodity information voice input page includes a language switching component; the parsing module is further used to:
[0073] Parsing the recorded audio in a default language;
[0074] When a language switching signal based on the language switching component is received, a target language to be switched to is determined, and the input audio is parsed in the target language.
[0075] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the voice entry method of the above-mentioned commodity information is implemented.
[0076] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned method for voice entry of product information when executing the program.
[0077] By means of the above technical scheme, the embodiment of the present application provides a method and device for voice entry of commodity information, a storage medium, and a computer device. By introducing the voice entry function, merchants no longer need to rely on the traditional typing entry method, thereby reducing the difficulty of operation, especially for merchants who are not familiar with computer or mobile phone operation. This method is more intuitive and convenient. Users only need to perform voice entry according to the guidance information, and the system can automatically parse and display the commodity information, greatly improving the convenience and efficiency of operation. At the same time, the system can parse the voice based on the preset commodity information structure, which can not only enter multiple commodity information at one time, but also reduce the problem of inaccurate information entry caused by typing errors or format errors, thereby improving the accuracy of the entered information.
[0078] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0080] Figure 1 A schematic diagram showing a flow chart of a method for voice inputting commodity information provided in an embodiment of the present application;
[0081] Figure 2 A schematic diagram of a product information voice input guide page provided in an embodiment of the present application is shown;
[0082] Figure 3A schematic diagram of a product information voice input page provided in an embodiment of the present application is shown;
[0083] Figure 4 A schematic diagram showing a front page of a product information voice input guide page provided in an embodiment of the present application is shown;
[0084] Figure 5 A schematic diagram of another product information voice input page provided in an embodiment of the present application is shown;
[0085] Figure 6 A schematic diagram of another product information voice input page provided in an embodiment of the present application is shown;
[0086] Figure 7 A schematic diagram of another product information voice input page provided in an embodiment of the present application is shown;
[0087] Figure 8 A schematic diagram of another product information voice input page provided in an embodiment of the present application is shown;
[0088] Fig. 9 A schematic diagram of the structure of a device for voice inputting commodity information provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0089] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0090] In this embodiment, a method for voice input of commodity information is provided. Figure 1 As shown, the method includes:
[0091] Step 101, displaying a product information voice entry guidance page, outputting guidance information and providing a voice entry control through the product information voice entry guidance page, wherein the guidance information is used to guide the user to enter product information according to a preset product information structure.
[0092] In this embodiment, the system will first display a special product information voice input guidance page, such as Figure 2 As shown, the main function of this page is to guide users to voice input product information. On this guide page, the system will output some guidance information to help users understand how to voice input according to the preset product information structure to ensure that the input information format is unified and accurate. At the same time, a voice input control will be provided on the page, and users can use this control to trigger the voice input function.
[0093] In an embodiment of the present application, optionally, in step 101, the guidance information is output through the product information voice entry guidance page, including: outputting the guidance information through voice, and displaying the guidance information through text, and distinguishing between the output part and the non-output part in the displayed guidance information based on the voice output progress; in response to a stop voice guidance instruction on the product information voice entry guidance page, ending the voice output of the guidance information.
[0094] In the above embodiment, some guidance information will be output on the guidance page for voice input of commodity information to help users understand how to perform voice input. The guidance information can not only be displayed on the guidance page in the form of text for users to read, but also be output to users through voice. In this way, whether the user chooses to listen or watch, they can get the guidance information. In addition, when the system is outputting guidance information through voice, the text display on the page will be differentiated according to the progress of the voice. The part that has been output through voice may be marked or highlighted, while the part that has not yet been output remains as it is. This helps users track the progress of voice output and know which part of the content is currently being spoken. Figure 2 If the user does not need to continue listening to the voice guidance, or wants to read the guidance information by himself, he can issue a command to stop the voice guidance. When the system receives the command to stop the voice guidance issued by the user, it will immediately stop the voice output of the guidance information. Figure 2 Right. In this way, users can choose whether to continue listening to the voice guidance according to their needs. Through this multifunctional and user-friendly product information voice input guidance page, not only does it provide guidance information in both text and voice forms, but it can also flexibly adjust the output method based on user feedback, thereby ensuring that users can conveniently perform voice input of product information.
[0095] Step 102, in response to a trigger instruction for the voice entry control, switch to the product information voice entry page, start the recording function, obtain the recorded audio, parse the recorded audio, and display at least one parsed initial product information on the product information voice entry page based on the preset product information structure, wherein the initial product information is modifiable information.
[0096] In this embodiment, when the user clicks or triggers the voice input control, the system will switch to a special product information voice input page and start the recording function to obtain the audio input by the user. Then, according to the preset product information structure, the parsed product information is displayed on the voice input page, which not only allows multiple product information to be entered at one time, but also reduces the problem of inaccurate information entry due to typing errors or format errors. This information is initial and has not been confirmed by the user. The initial product information displayed by the system can be modified by the user. If the user finds that the parsed information is incorrect or needs to be adjusted, the user can modify it directly on the page.
[0097] In the embodiment of the present application, optionally, the product information voice entry page includes a recording pause control, a re-recording control, and a recording completion control; after switching to the product information voice entry page, the method further includes:
[0098] When the recording pause control is triggered, the recording function is paused, and the recording pause control is switched to a recording resume control, and when the recording resume control is triggered, the recording function is resumed to continue to obtain the recorded audio;
[0099] When the re-recording control is triggered, the acquired recorded audio and the parsed initial product information are cleared, and the recorded audio is acquired again for parsing;
[0100] When the recording completion control is triggered, the recording function is stopped and the initial product information is set to a confirmable state, wherein in the confirmable state, a step of determining the confirmed target product information based on a confirmation operation on the initial product information or the modified initial product information is performed.
[0101] In this embodiment, if Figure 3As shown, the product information voice recording page contains several page controls: recording pause control: used to trigger when the user wants to temporarily stop recording. Re-recording control: used to trigger when the user wants to re-record product information. Recording completion control: used to mark the end of recording and allow the user to confirm the recorded product information. Among them, the function of the recording pause control is: when the user triggers the recording pause control, the system will pause the current recording function, that is, stop obtaining new recorded audio. At the same time, the recording pause control will switch to the recording resume control. If the user wants to continue the previous recording, the recording resume control can be triggered to resume the recording function and continue to obtain the recorded audio. The function of the re-recording control is: when the user triggers the re-recording control, the system will clear the already obtained recorded audio and the parsed initial product information. This is to ensure the purity of the re-recording and prevent the previous recording or information from interfering with the new recording. After clearing, the system will restart recording and obtain the new recorded audio for parsing to generate new initial product information. The function of the recording completion control is: when the user triggers the recording completion control, the system will stop the recording function, that is, no longer obtain new recorded audio. At this time, the system sets the initial product information to a confirmable state. In the confirmable state, the user can view and modify the initial product information, and confirm the confirmed target product information by confirming the initial product information or the modified initial product information.
[0102] In an embodiment of the present application, optionally, the product information voice entry page includes a language switching component; the parsing of the recorded audio includes: parsing the recorded audio in a default language; when receiving a language switching signal based on the language switching component, determining the target language to be switched to, and parsing the recorded audio in the target language.
[0103] In the above embodiment, the product information voice input page may also include a language switching component, such as Figure 3As shown. This component allows users to select the parsing language of the recorded audio according to their needs. When the user starts recording and triggers the parsing function, the system will first use a default language to parse the recorded audio. This default language is usually preset by the system, such as Mandarin, or it may be automatically selected based on the user's preferences or previous usage records. If the user wants to change the parsing language during the recording or parsing process, the language switching component can be used to send a language switching signal. When the system receives this signal, it will determine the target language that the user wants to switch to. This target language can be any language supported by the system, depending on the system settings and the user's choice. Once the target language is determined, the system will immediately switch to this language and continue to parse the recorded audio in this language. Different users may use different languages, or need to use different languages in different occasions. Through the language switching component, the system can meet these diverse needs and ensure that the recorded audio can be accurately and efficiently parsed into the product information expected by the user. Through this design, the system can better adapt to the needs and preferences of users and provide a better user experience.
[0104] Step 103: determine the confirmed target product information based on the confirmation operation on the initial product information or the modified initial product information, and enter the target product information.
[0105] In this embodiment, the user can confirm the initial product information or confirm it after modifying the initial product information. Once confirmed, this information is regarded as the target product information and is entered by the system as the merchant's newly added product information. Among them, the system first guides the user on how to operate, then records, analyzes, and displays the initial product information for the user to confirm and modify, and finally completes the entry of the information. This helps merchants who are not familiar with traditional typing to more conveniently enter product information by voice.
[0106] In an embodiment of the present application, optionally, the display of the product information entry guide page includes: in response to a triggering operation on a product information entry function, displaying multiple product type components and at least one entry method component, wherein the entry method component includes a voice entry method component; when any target product type component in the product type components is selected and the voice entry method component is triggered, displaying the product information entry guide page, wherein the guide information is used to guide the user to enter the product information according to a preset product information structure that matches the target product type component; accordingly, entering the target product information includes: entering the target product information based on the target product type corresponding to the target product type component. Among them, the commodity types corresponding to the commodity type component include single items, standard dishes, weighed dishes, and multiple types of dish packages; the preset commodity information structure corresponding to the single items includes the dish name and the dish price; the preset commodity information structure corresponding to the standard dishes includes the dish name, multiple dish specifications and their corresponding dish prices; the preset commodity information structure corresponding to the weighed dishes includes the dish name and the unit price of the dish; the preset commodity information structure corresponding to the dish package includes the package name, the name of the dish in the package, and the package price.
[0107] In the above embodiment, when the user triggers the product information entry function, the system will display a pre-page of the guide page. This pre-page contains multiple components to help users quickly and accurately enter product information, including a product type component and an entry method component, such as Figure 4As shown. Among them, the page will display multiple product type components, and the user can select one of the product types according to actual needs. These product types include but are not limited to single-item dishes, standard dishes, weighed dishes and meal packages. In addition to the product type component, there is at least one input method component on the page, which includes at least a voice input method component, and can also include menu recognition recording (text recognition of the menu by shooting the menu), text input, etc. Users can choose to enter product information by voice, which increases the convenience of operation. When the user selects a target product type (such as a single-item dish) from the product type component and triggers the voice input method component, the system will display guidance information matching the target product type, guiding the user to enter product information in a specific format, that is, the preset product information structure. The preset product information structure includes single-item dishes: its preset product information structure includes the name of the dish and the price of the dish; standard dishes: in addition to the name of the dish, it is also necessary to enter a variety of dish specifications and their corresponding dish prices; weighed dishes: mainly need to enter the name of the dish and the unit price of the dish; meal package: the information that needs to be entered includes the name of the meal, the name of the dish included in the meal, and the price of the meal. Furthermore, based on the target product type selected by the user, the system will enter the product information that the user finally enters by voice as the product in the user's (merchant's) store according to the target product type. For example, if the user selects a single dish, the system will ask the user to enter the name and price of the dish. By providing a variety of product types and entry methods, the system can ensure that users accurately enter product information according to the preset product information structure, thereby improving the efficiency and accuracy of information entry.
[0108] By applying the technical solution of this embodiment and introducing the voice input function, merchants no longer need to rely on the traditional typing input method, thereby reducing the difficulty of operation, especially for merchants who are not familiar with computer or mobile phone operation, this method is more intuitive and convenient. Users only need to perform voice input according to the guidance information, and the system can automatically parse and display the product information, greatly improving the convenience and efficiency of operation. At the same time, the system can parse the voice based on the preset product information structure, not only can multiple product information be entered at one time, but also reduce the problem of inaccurate information entry caused by typing errors or format errors, thereby improving the accuracy of the entered information.
[0109] In an embodiment of the present application, optionally, in step 102, the recorded audio is parsed, and at least one piece of initial product information parsed out is displayed on the product information voice entry page based on the preset product information structure, including: real-time parsing and abnormality identification of the recorded audio, and based on the preset product information structure, real-time display of the parsed initial product information on the product information voice entry page; when an abnormality is identified in the recorded audio, prompt information is displayed based on the abnormality type to prompt the user to solve the abnormal problem, wherein the abnormality type includes environmental noise or low human voice volume.
[0110] In the above embodiment, when the user enters the product information by voice, the system will capture the audio and use relevant voice recognition technology to parse it, converting the voice into text or structured data for subsequent processing. The system will parse and display the initial product information according to the preset product information structure (such as the structure corresponding to the single item dishes, standard dishes, etc. mentioned above). That is to say, the parsed information will be displayed on the product information voice entry page in a specific format or structure, so that the user can clearly see the information that has been entered. The system performs real-time analysis on the recorded audio, which means that every time the user says a sentence or a word, the system will immediately parse it and update the parsed information on the page in real time to help users correct errors or supplement information in time. In addition, during the parsing process, the system will also perform anomaly identification. The anomaly here mainly refers to factors that affect the quality of the analysis, such as environmental noise (such as Figure 5 as shown) or the human voice volume is too low (as shown Figure 6 ). When the system detects these abnormal situations, it will display corresponding prompt information according to the abnormality type to remind users to solve these problems. For example, if the environmental noise is too loud, the system may prompt the user to change to a quiet environment or record closer to the device; if the human voice volume is too low, the system may prompt the user to increase the speaking volume. In this way, the system not only provides the function of voice recording, but also provides users with a more friendly and efficient product information entry experience through real-time analysis, real-time display and abnormal prompts.
[0111] In an embodiment of the present application, optionally, the real-time display of the parsed initial product information on the product information voice entry page includes: real-time display of the parsed text information on the product information voice entry page, and based on the preset product information structure, identifying a valid portion of the text information as the initial product information, and distinguishing between the initial product information and an invalid portion of the text information so that the initial product information has a visually highlighted display effect compared to the invalid portion.
[0112] In the above embodiment, when the user enters the product information by voice, the system will first parse the recorded audio and convert the voice into text information. The parsed text information will be displayed in real time on the product information voice entry page. In this way, the user can see that what he said is accurately converted into text and immediately presented on the page. The system not only displays the parsed text information on the page in real time, but also identifies the valid parts of the text information based on the preset product information structure. The valid part refers to those parts that conform to the preset product information structure, can be recognized by the system and used as the initial product information. For example, when entering the information of a single dish, the name and price of the dish are the valid parts. In order to enable users to see more clearly which information is valid and which information is invalid, the system will distinguish between the invalid parts in the initial product information and text information. The specific difference display method may include differences in various visual effects such as color, font, size, and position. Such as Figure 7 As shown, for example, the initial product information may be displayed in a darker color, larger font, or more prominent position, while the invalid part may be displayed in a lighter color, smaller font, or less prominent position. By displaying the information differently, the system makes the initial product information more visually prominent than the invalid part. This prominent display effect helps users quickly identify and focus on important product information, thereby improving the efficiency of information entry and processing.
[0113] In an embodiment of the present application, optionally, based on the preset product information structure, the recorded audio is analyzed and anomalies are identified in real time, and the analyzed initial product information is displayed in real time on the product information voice entry page, including: speaker separation of the recorded audio; based on the preset product information structure, the recorded audio of each speaker is analyzed in real time to identify the target speaker who is entering the product information, and the analyzed initial product information corresponding to the target speaker is displayed in real time on the product information voice entry page.
[0114] In the above embodiment, when multiple people are speaking at the same time or there are multiple sound sources in the environment, the system needs to perform speaker separation on the recorded audio and separate the voice of each speaker from the mixed audio so that each speaker's voice can be processed separately later. As the speaker speaks, the system will begin to parse these sounds and convert them into text or structured data. This real-time analysis ensures that users can instantly see the process of their voice being converted into text or product information. In a multi-person environment, the system needs to identify which speaker is entering product information. This is usually based on a series of factors, such as sound characteristics, user preset identifiers (such as specific wake-up words or user IDs), or the system's understanding of the entry environment (for example, identifying the speaker's position or action through a camera). By identifying the target speaker, the system can ensure that only the speaker's voice is parsed and used for the entry of product information. Once the system identifies and parses the target speaker's voice, it will display the parsed initial product information in real time on the product information voice entry page based on the preset product information structure. As the target speaker continues to speak product information, the content on the page will continue to update to reflect the latest parsing results. In this way, the system can effectively process voice input in a multi-person environment, ensure that only the voice of the target speaker is used to enter product information, and display the parsed information in real time during the input process, improving the user experience and the accuracy of information input.
[0115] In an embodiment of the present application, optionally, based on the preset product information structure, the parsed initial product information is displayed in real time on the product information voice entry page, including: based on the preset product information structure, the parsed initial product information is displayed in real time in strips on the product information voice entry page.
[0116] In the above embodiment, the preset commodity information structure is a format or template pre-set by the system, which is used to guide how to organize and display commodity information. It may contain multiple fields or categories, such as commodity name, price, specifications, etc., to ensure that the entered commodity information has a unified structure and format. After the user can speak the relevant information of the commodity through the commodity information voice entry page, the system will parse the entered voice to obtain the commodity information. This information may include text, numbers or other symbols, which is the direct conversion result of the user's voice input. In order to facilitate the user to view and enter the subsequent commodity information into the system, the system displays the parsed initial commodity information. The system will display each commodity information separately instead of mixing all the information together. The user can see each commodity information more clearly, which is convenient for checking and modification. At the same time, since this display is real-time, the user can immediately see feedback during the entry process, which improves the efficiency and accuracy of entry.
[0117] In an embodiment of the present application, optionally, based on the preset product information structure, the parsed initial product information is displayed in real time on the product information voice entry page, and also includes: displaying an information deletion control corresponding to each piece of initial product information, wherein when the information deletion control of any piece of initial product information is triggered, the initial product information is deleted.
[0118] In the above embodiment, in addition to displaying the initial product information in real time, the system also displays a corresponding delete control next to each piece of information. Figure 3 As shown in the figure, this control is usually a button or icon, and the user can trigger the deletion operation by clicking or touching it, so that the unnecessary or wrong product information can be deleted at any time during the input process. When the user clicks or touches the information deletion control next to any initial product information, the control will be triggered. Users can selectively delete a certain product information instead of deleting all the information at once. Once the information deletion control is triggered, the system will immediately delete the initial product information, and this information will disappear from the product information voice input page and will no longer be displayed in the user's field of view. At the same time, the internal data of the system will be updated accordingly to reflect this deletion operation. In this way, the system not only provides the function of real-time display of the parsed initial product information, but also allows users to delete unnecessary or wrong product information at any time through simple operations, thereby improving the user experience and input efficiency.
[0119] In an embodiment of the present application, optionally, after the parsed initial product information is displayed in real time in separate pieces on the product information voice entry page based on the preset product information structure, the method further includes: verifying the product names contained in the initial product information one by one through a preset product name verification model to determine whether the product names are accurate and outputting the predicted standard names corresponding to the product names when they are inaccurate; if the product names contained in any piece of the initial product information fail the verification, displaying modification suggestion information corresponding to the initial product information based on the predicted standard name, wherein the modification suggestion information is triggerable information, and the product name is replaced with the predicted standard name when the modification suggestion information is triggered.
[0120] In the above embodiment, after displaying the initial product information in strips, the system will further verify the product name contained in each piece of initial product information through a preset product name verification model. This verification model may be based on an existing product database, dictionary or machine learning algorithm, and is used to determine whether the product name is accurate and standardized. The verification model will determine whether each product name is accurate. If the product name is inaccurate, the system will output the predicted standard name corresponding to the product name. This predicted standard name is automatically generated by the system based on the verification model, and is used to guide users to modify or replace inaccurate product names. If the product name contained in any piece of initial product information fails the verification, such as Figure 8 As shown, the system will display the modification suggestion information corresponding to the initial product information based on the predicted standard name. This modification suggestion information will tell the user that the current product name may be inaccurate and suggest that they use the predicted standard name. The modification suggestion information is triggerable, and the user can choose to accept or ignore the suggestion. If the user chooses to accept, they can automatically replace the product name with the predicted standard name by triggering the modification suggestion information (such as clicking a button or link). In this way, the system not only provides real-time product information entry and display functions, but also ensures the accuracy of the product name through the verification model, and provides modification suggestions when necessary, thereby improving the quality and efficiency of entered information.
[0121] By applying the technical solution of this embodiment, first, the user experience and efficiency are improved: by displaying the parsed initial product information in real time, the user can see the input content immediately, which is convenient for checking and modification, and improves the accuracy and efficiency of information input. At the same time, the strip display method makes each product information clear and identifiable, reducing the cognitive burden of the user. Second, enhance the accuracy and completeness of the information: the system uses the preset product information structure and product name verification model to verify the input product information to ensure the accuracy and standardization of the information. This helps to reduce subsequent problems caused by input errors or ambiguities, and improves the reliability of the overall information. Third, provide intelligent modification suggestions: for product names that have not passed the verification, the system can automatically output the predicted standard name and provide modification suggestions to the user. This not only reduces the cost of manual error correction by users, but also improves the convenience of user operation through intelligent prompts. Fourth, the flexibility and adaptability of product information input are improved: the system supports voice input in a multi-person environment, and can recognize and separate the voices of different speakers to ensure that only the voice of the target speaker is used for the input of product information. This design enables the system to respond flexibly in different scenarios and adapt to various practical needs. Fifth, optimize the information entry process: through the combination of real-time display, verification and modification suggestions, the system optimizes the entire product information entry process, reduces unnecessary operation steps and waiting time, and improves overall work efficiency. In summary, these beneficial effects jointly improve the overall performance and user experience of the product information voice entry function, making information entry more efficient, accurate and convenient.
[0122] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a device for voice input of commodity information, such as Fig. 9 As shown, the device comprises:
[0123] A guidance module, used to display a guidance page for voice entry of commodity information, output guidance information through the guidance page for voice entry of commodity information, and provide a voice entry control, wherein the guidance information is used to guide the user to enter commodity information according to a preset commodity information structure;
[0124] a parsing module, configured to respond to a trigger instruction of the voice entry control, switch to a product information voice entry page, start a recording function, obtain recorded audio, parse the recorded audio, and display at least one piece of parsed initial product information on the product information voice entry page based on the preset product information structure, wherein the initial product information is modifiable information;
[0125] The input module is used to determine the confirmed target commodity information based on the confirmation operation on the initial commodity information or the modified initial commodity information, and input the target commodity information.
[0126] In the embodiment of the present application, optionally, the guiding module is further used to:
[0127] Outputting the guidance information by voice, and displaying the guidance information by text, and distinguishing between the outputted part and the unoutputted part in the displayed guidance information based on the voice output progress;
[0128] In response to a stop voice guidance instruction for the voice entry guidance page of the commodity information, the voice output of the guidance information is terminated.
[0129] In the embodiment of the present application, optionally, the parsing module is further used to:
[0130] The recorded audio is analyzed and anomalies are identified in real time, and based on the preset product information structure, the analyzed initial product information is displayed in real time on the product information voice input page;
[0131] When it is identified that the recorded audio has an abnormality, prompt information is displayed based on the abnormality type to prompt the user to solve the abnormal problem, wherein the abnormality type includes environmental noise or low human voice volume.
[0132] In the embodiment of the present application, optionally, the parsing module is further used to:
[0133] The parsed text information is displayed in real time on the product information voice entry page, and based on the preset product information structure, a valid portion of the text information is identified as the initial product information, and the initial product information and an invalid portion of the text information are displayed separately, so that the initial product information has a visually highlighted display effect compared to the invalid portion.
[0134] In the embodiment of the present application, optionally, the parsing module is further used to:
[0135] Performing speaker separation on the recorded audio;
[0136] Based on the preset product information structure, the input audio of each speaker is analyzed in real time, the target speaker who is inputting product information is identified, and the initial product information corresponding to the analyzed target speaker is displayed in real time on the product information voice input page.
[0137] In the embodiment of the present application, optionally, the parsing module is further used to:
[0138] Based on the preset commodity information structure, the parsed initial commodity information is displayed in real time in strips on the commodity information voice entry page.
[0139] In the embodiment of the present application, optionally, the parsing module is further used to:
[0140] An information deletion control corresponding to each piece of initial product information is displayed, wherein when the information deletion control of any piece of initial product information is triggered, the initial product information is deleted.
[0141] In the embodiment of the present application, optionally, the parsing module is further used to:
[0142] By using a preset product name verification model, the product names included in the initial product information are verified one by one to determine whether the product names are accurate and output the predicted standard name corresponding to the product name if it is inaccurate;
[0143] If the product name contained in any piece of initial product information fails the verification, modification suggestion information corresponding to the initial product information is displayed based on the predicted standard name, wherein the modification suggestion information is triggerable information, and the product name is replaced with the predicted standard name when the modification suggestion information is triggered.
[0144] In the embodiment of the present application, optionally, the guiding module is further used to:
[0145] In response to a triggering operation on a product information entry function, a plurality of product type components and at least one entry mode component are displayed, wherein the entry mode component includes a voice entry mode component;
[0146] When any target product type component in the product type components is selected and the voice input mode component is triggered, a product information input guidance page is displayed, wherein the guidance information is used to guide the user to input product information according to a preset product information structure matching the target product type component;
[0147] Accordingly, the input module is also used for:
[0148] Based on the target commodity type corresponding to the target commodity type component, the target commodity information is entered.
[0149] In an embodiment of the present application, optionally, the commodity types corresponding to the commodity type component include multiple types of single items, standard dishes, weighed dishes, and dish packages; the preset commodity information structure corresponding to the single items includes the dish name and the dish price; the preset commodity information structure corresponding to the standard dishes includes the dish name, multiple dish specifications and their corresponding dish prices; the preset commodity information structure corresponding to the weighed dishes includes the dish name and the dish billing unit price; the preset commodity information structure corresponding to the dish package includes the package name, the name of the dish in the package, and the package price.
[0150] In the embodiment of the present application, optionally, the commodity information voice input page includes a recording pause control, a re-recording control, and a recording completion control; the parsing module is further used to:
[0151] When the recording pause control is triggered, the recording function is paused, and the recording pause control is switched to a recording resume control, and when the recording resume control is triggered, the recording function is resumed to continue to obtain the recorded audio;
[0152] When the re-recording control is triggered, the acquired recorded audio and the parsed initial product information are cleared, and the recorded audio is acquired again for parsing;
[0153] When the recording completion control is triggered, the recording function is stopped and the initial product information is set to a confirmable state, wherein in the confirmable state, a step of determining the confirmed target product information based on a confirmation operation on the initial product information or the modified initial product information is performed.
[0154] In the embodiment of the present application, optionally, the commodity information voice input page includes a language switching component; the parsing module is further used to:
[0155] Parsing the recorded audio in a default language;
[0156] When a language switching signal based on the language switching component is received, a target language to be switched to is determined, and the input audio is parsed in the target language.
[0157] It should be noted that for other corresponding descriptions of the functional units involved in the voice input device for commodity information provided in the embodiment of the present application, reference can be made to Figures 1 to 8 The corresponding description in will not be repeated here.
[0158] The embodiment of the present application also provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a bus, a processor, a memory and a communication interface, and can also include an input and output interface and a display device. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store location information. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps in each method embodiment are implemented.
[0159] Those skilled in the art will appreciate that the structure of the above-mentioned computer device is only a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components, or combine certain components, or have a different arrangement of components.
[0160] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile, and stores a computer program thereon. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0161] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0162] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0163] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0164] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above 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.
[0165] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for voice input of commodity information, characterized in that: The method comprises: Displaying a product information voice entry guidance page, outputting guidance information and providing a voice entry control through the product information voice entry guidance page, wherein the guidance information is used to guide the user to enter product information according to a preset product information structure; In response to a trigger instruction for the voice input control, switch to the product information voice input page, start the recording function, obtain the input audio, parse the input audio, and display at least one piece of initial product information parsed on the product information voice input page based on the preset product information structure, wherein the initial product information is modifiable information; Based on the confirmation operation on the initial commodity information or the modified initial commodity information, the confirmed target commodity information is determined, and information entry is performed on the target commodity information.
2. The method according to claim 1, characterized in that: Outputting guidance information through the product information voice input guidance page includes: Outputting the guidance information by voice, and displaying the guidance information by text, and distinguishing between the outputted part and the unoutputted part in the displayed guidance information based on the voice output progress; In response to a stop voice guidance instruction for the voice entry guidance page of the commodity information, the voice output of the guidance information is terminated.
3. The method according to claim 1, characterized in that The parsing of the input audio and displaying the parsed at least one initial product information on the product information voice input page based on the preset product information structure include: The recorded audio is analyzed and anomalies are identified in real time, and based on the preset product information structure, the analyzed initial product information is displayed in real time on the product information voice input page; When it is identified that the recorded audio has an abnormality, prompt information is displayed based on the abnormality type to prompt the user to solve the abnormal problem, wherein the abnormality type includes environmental noise or low human voice volume.
4. The method according to claim 3, characterized in that The real-time display of the parsed initial product information on the product information voice input page includes: The parsed text information is displayed in real time on the product information voice entry page, and based on the preset product information structure, a valid portion of the text information is identified as the initial product information, and the initial product information and an invalid portion of the text information are displayed separately, so that the initial product information has a visually highlighted display effect compared to the invalid portion.
5. The method according to claim 3, characterized in that: Based on the preset product information structure, the input audio is analyzed and anomalies are identified in real time, and the analyzed initial product information is displayed in real time on the product information voice input page, including: Performing speaker separation on the recorded audio; Based on the preset product information structure, the input audio of each speaker is analyzed in real time, the target speaker who is inputting product information is identified, and the initial product information corresponding to the analyzed target speaker is displayed in real time on the product information voice input page.
6. The method according to claim 3, characterized in that Based on the preset commodity information structure, displaying the parsed initial commodity information in real time on the commodity information voice input page includes: Based on the preset commodity information structure, the parsed initial commodity information is displayed in real time in strips on the commodity information voice entry page.
7. The method according to claim 6, characterized in that The method further comprises: displaying the parsed initial product information in real time on the product information voice input page based on the preset product information structure; An information deletion control corresponding to each piece of initial product information is displayed, wherein when the information deletion control of any piece of initial product information is triggered, the initial product information is deleted.
8. A device for voice input of commodity information, characterized in that: The device comprises: A guidance module, used to display a guidance page for voice entry of commodity information, output guidance information through the guidance page for voice entry of commodity information, and provide a voice entry control, wherein the guidance information is used to guide the user to enter commodity information according to a preset commodity information structure; a parsing module, configured to respond to a trigger instruction of the voice entry control, switch to a product information voice entry page, start a recording function, obtain recorded audio, parse the recorded audio, and display at least one piece of parsed initial product information on the product information voice entry page based on the preset product information structure, wherein the initial product information is modifiable information; The input module is used to determine the confirmed target commodity information based on the confirmation operation on the initial commodity information or the modified initial commodity information, and input the target commodity information.
9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
