Voice prompt method and system
By establishing a correspondence between business types and voice files in the enterprise management system, pre-setting multiple voice directories, and combining user preferences and account permissions, fine-grained differentiation, personalized configuration, and frequency control of voice prompts are achieved. This solves the problems of coarse voice prompt content and numerous invalid interferences in existing technologies, and improves the pertinence and response efficiency of business processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-03-13
AI Technical Summary
Existing technologies make it difficult for voice prompts in enterprise management systems to reflect specific business types, lack personalized and refined control, and make it difficult to effectively manage the recipients and playback frequency of voice prompts. This results in a lack of coarse-grained prompts, a lot of invalid interference, and a lack of result feedback mechanisms.
By establishing a correspondence between business types and voice files, pre-setting multiple voice directories, determining the target playback object based on user preferences and account permissions, and setting a preset time window on the server side to limit the playback frequency of voice files, phased voice reminders can be achieved.
It enables fine-grained differentiation of voice prompt content, personalized configuration, precise playback target and frequency control, reduces invalid interference, and improves the targeting and response efficiency of business processing.
Smart Images

Figure CN121661752A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction technology, and in particular to a voice prompt method and system. Background Technology
[0002] The continuous advancement of enterprise informatization and digital management has led to the widespread application of various management systems such as Enterprise Resource Planning (ERP), Customer Relationship Management (CRM), and Manufacturing Execution System (MES) in business operations. With the expansion of business scale and the increase in parallel operations, the number of business transactions and production processes within the system, including payment confirmation, document review, outbound shipment, and production process execution, has increased dramatically. Timely and accurate reminders regarding the generation and execution status of these business transactions or production processes directly impact business flow efficiency and production organization efficiency. Compared to plain text or pop-up prompts, voice prompts are more intuitive, easily perceived, and do not rely on continuous user screen monitoring, making them highly valuable in enterprise business reminder scenarios.
[0003] In related technologies, some enterprise management systems already have voice or sound prompt functions, but they usually only play a uniform prompt tone for new business transactions or new messages, or simply pop up a prompt window on the terminal interface. Users often only know that a new matter has occurred through a single "ding-dong" sound, but cannot determine whether it belongs to payment collection, approval, inventory release, or a specific production process based solely on the prompt tone; the granularity of the prompt information is relatively coarse. In addition, existing voice prompt methods generally lack personalized and refined support. For example, they often do not distinguish the voice content of different business transactions or different production processes, do not support switching different speakers or voice styles according to user preferences, and lack a mechanism to accurately control the recipients of voice prompts based on user permissions, business relationships, and online status. In high-concurrency business scenarios, existing solutions are also prone to the repeated playback of the same prompt tone in a short period of time, causing interference to users. For business transactions that require result feedback, existing systems also often lack the ability to provide phased voice reminders for the execution process and results.
[0004] Therefore, when providing voice prompts for business transactions and production processes in enterprise management systems, the content of the voice prompts is difficult to reflect the specific business type, the voice prompt methods lack personalized and refined control, and the recipients and playback frequency of the voice prompts are difficult to manage effectively, which are problems that urgently need to be solved. Summary of the Invention
[0005] This application provides a voice prompt method and system, aiming to solve the problems in existing technologies for providing voice prompts for business transactions and production processes in enterprise management systems. These problems include the difficulty in reflecting specific business types in the content of voice prompts, the lack of personalized and refined control in the voice prompt methods, and the difficulty in effectively managing the recipients and playback frequency of voice prompts.
[0006] A first aspect includes a voice prompt method, wherein the enterprise management system comprises a server and multiple business terminals communicatively connected to the server, the method comprising:
[0007] Establish a correspondence between business types and voice files, so that each business type corresponds to at least one voice file. The business types include at least one of business transaction types and production process types.
[0008] Multiple audio directories are preset, and each audio directory includes a set of audio files. The audio files in each set correspond one-to-one with the audio files in other audio directories in terms of file name and audio text content. The difference between each audio directory is that the speaker and / or the timbre are different.
[0009] Determine the target voice directory based on the user's account voice preference information;
[0010] When the server detects a new service, it obtains the service type corresponding to the new service, and based on the service type and the target voice directory, determines the target voice file corresponding to the service type from the target voice directory;
[0011] The server determines a set of accounts associated with the new service based on the service type and account permission information of the new service. The set of accounts includes accounts that have execution permissions for the new service and / or accounts that initiate the submission of the new service.
[0012] The accounts currently online are selected from the account set as the target playback objects; for each target audio file, the target audio file is limited to being played only once within a preset time window;
[0013] A playback command is sent to the service terminal corresponding to the target playback object to play the target audio file on the service terminal.
[0014] In the above scheme, optionally, the duration of the preset time window is set to 5 seconds, and within the same preset time window, the same target audio file is only allowed to be played once.
[0015] In the above scheme, optionally, at least a portion of the business types are list page business transaction types, and the business name of the list page business transaction type is a fixed name preset by the system. The method further includes:
[0016] For the aforementioned list page business transaction type, a voice prompt setting option for list page business transactions is provided. The setting option includes at least one of the following: turn off voice, unified voice, and preset voice directory.
[0017] When selecting a unified voice, all business transaction types on the list page will be bound to the same voice file.
[0018] When selecting a preset voice directory, the voice files corresponding to each list page business transaction type are retrieved from the target voice directory and played according to the preset correspondence between the business transaction types of the list page and the voice files.
[0019] The filenames of the voice files corresponding to the business transaction types on the list page are preset by the system and remain consistent across all voice directories. Independent switching of individual voice files is not supported.
[0020] In the above scheme, optionally, the business type is divided into two categories:
[0021] The first type of business involves providing process prompts to the executor when the business occurs;
[0022] The second type of business requires providing process prompts to the executor when the business is generated and providing result prompts to the initiator when the business is completed.
[0023] Specifically, for the first type of business, the target audio file corresponding to the business type is determined and played when the business is generated;
[0024] For the second type of business, the target audio file is played when the business is generated, and the result audio file corresponding to the execution result is played when the business is completed.
[0025] Optionally, in the above scheme, at least a portion of the business types are production process types, and the method further includes:
[0026] A voice prompt setting interface is provided for each production process. The interface provides four setting options for each production process: voice reading, turn off voice, unified voice, and preset voice directory.
[0027] When selecting voice reading, a voice reading text is generated according to a preset format, and the voice reading text is input into the voice synthesis module for synthesis. The preset format includes:
[0028] The text read aloud is generated by concatenating the text entered by the user, the name selected from the drop-down box, and the name of the production process in a preset order. The name of the production process is called by the system and cannot be modified.
[0029] Optionally, in the above scheme, depending on the type of production process, the method further includes:
[0030] In the unified settings, you can configure unified voice prompts for all production process types by selecting any of the options: voice reading, turn off voice, or unified voice.
[0031] For each production process, the preset voice directory is set to enable or disable the preset voice directory for that production process. When the preset voice directory is enabled, a preset voice file can be selected as the prompt sound for the current process. When there are multiple preset voice directories, the preset voice directories can be switched to call different reading voice prompt sounds. After the preset voice directory is enabled, the voice in the unified settings will be invalid in the current process.
[0032] When a certain production process enables a preset voice directory and completes the preset voice file settings, the voice prompts for that production process will only determine the target voice file based on the preset voice directory.
[0033] Optionally, in the above scheme, the server determines the set of accounts associated with the new service based on the service type and account permission information, including:
[0034] Obtain the execution role information and submit role information corresponding to the new business;
[0035] Based on the preset permission configuration, determine the accounts that have execution permissions for this new service;
[0036] Add the account with execution privileges and the account that initiated the submission of the new business to the account set;
[0037] Obtain the online status of each account in the account set, and only use the accounts that are online as the target playback objects.
[0038] Optionally, for business transactions that require result feedback, the method further includes: when the business transaction is completed, determining the result audio file corresponding to the execution result based on the execution result, and playing the result audio file to the business terminal corresponding to the account that initiated the submission of the business transaction.
[0039] In a second aspect, a voice prompt system includes a server and a plurality of business terminals communicatively connected to the server. The server includes a voice prompt device, which is applied to the server in an enterprise management system. The plurality of business terminals are configured to receive voice playback instructions from the server and play corresponding voice files to execute the voice prompt method as described in the first aspect in the voice prompt system.
[0040] Compared with the prior art, this application has at least the following beneficial effects:
[0041] This application, based on further analysis and research into the problems of existing technologies, recognizes that existing technologies, when providing voice prompts for business transactions and production processes in enterprise management systems, suffer from several issues: the voice prompt content fails to reflect specific business types, the voice prompt methods lack personalized and refined control, and the recipients and playback frequency of voice prompts are difficult to manage effectively. By establishing a correspondence between business types and voice files on the server side, and combining multiple voice directories with user voice preferences, the voice content triggered by different business transactions or production processes can be clearly distinguished. Users can determine the specific business type solely by voice, avoiding the problem of coarse-grained uniform prompt information in existing technologies. Simultaneously, based on account permission information, accounts with execution permissions are associated with the accounts that initiated the submission, and the target playback objects are further filtered according to online status. This ensures that voice prompts are only directed to truly relevant and currently online user terminals, solving the problems of indiscriminate prompt targeting and excessive invalid interference. By setting a preset time window for each voice file, playback is allowed only once within a limited time. This prevents the same prompt from being repeatedly triggered when the same business occurs with high concurrency in a short period, reducing interference caused by frequent playback. For services requiring feedback, this solution plays an audio message to the submitting account upon completion of the service. This allows the submitting party to know the processing result without repeatedly checking the interface, thus overcoming the deficiency of existing technologies that lack audio notifications for result feedback. Therefore, this solution works synergistically in terms of content differentiation, accuracy of recipients, controllable playback frequency, and dual-stage process / result notifications, comprehensively addressing the problems of difficulty in differentiating prompts, lack of personalization and fine-grained control, and low efficiency in existing technologies. Attached Figure Description
[0042] Figure 1 A flowchart illustrating a voice prompt method provided in one embodiment of this application;
[0043] Figure 2 This is a flowchart illustrating a voice prompt method provided in another embodiment of this application. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0045] In the description of this application: unless otherwise stated, "a plurality of" means two or more. The terms "first," "second," "third," etc., in this application are intended to distinguish the objects referred to and do not have any special meaning in terms of technical connotation (e.g., they should not be construed as an emphasis on importance or order). Expressions such as "including," "comprising," and "having" also mean "not limited to" (certain units, components, materials, steps, etc.).
[0046] In one embodiment, such as Figure 1 As shown, a voice prompt method is provided. The enterprise management system includes a server and multiple business terminals communicatively connected to the server. The method includes:
[0047] Establish a correspondence between business types and voice files, so that each business type corresponds to at least one voice file. The business types include at least one of business transaction types and production process types.
[0048] Multiple audio directories are preset, and each audio directory includes a set of audio files. The audio files in each set correspond one-to-one with the audio files in other audio directories in terms of file name and audio text content. The difference between each audio directory is that the speaker and / or the timbre are different.
[0049] Determine the target voice directory based on the user's account voice preference information;
[0050] When the server detects a new service, it obtains the service type corresponding to the new service, and based on the service type and the target voice directory, determines the target voice file corresponding to the service type from the target voice directory;
[0051] The server determines a set of accounts associated with the new service based on the service type and account permission information of the new service. The set of accounts includes accounts that have execution permissions for the new service and / or accounts that initiate the submission of the new service.
[0052] The accounts currently online are selected from the account set as the target playback objects; for each target audio file, the target audio file is limited to being played only once within a preset time window;
[0053] A playback command is sent to the service terminal corresponding to the target playback object to play the target audio file on the service terminal.
[0054] In a preferred embodiment, the voice prompt method provided in this embodiment runs on the server side of the enterprise management system. The server communicates with multiple business terminals (such as PC clients, web clients, mobile apps, etc.) via a local area network or the Internet, and different user accounts are logged in on the business terminals. This method can be implemented by program code in the server, and specifically includes the following steps and modules.
[0055] The server has a pre-configured business type management module to maintain the correspondence between business types and voice files.
[0056] Business types include at least one of business transaction types and production process types, for example:
[0057] Business transaction types: payment confirmation, document review, outbound shipment, purchase approval, etc.;
[0058] Production process types: assembly, welding, debugging, quality inspection, etc.
[0059] During the system configuration phase, the administrator assigns at least one voice file identifier for each service type in the backend configuration interface, forming a mapping table of "service type ID → voice file name". This mapping table is stored in a database or configuration file and is called by the voice prompt module.
[0060] The voice file management module has multiple preset voice directories, for example:
[0061] Contents A: Standard Female Voice;
[0062] Contents B: Standard Male Voice;
[0063] Category C: Dialects or other vocal styles.
[0064] Each audio directory contains a set of audio files, and these audio files follow a consistent naming convention across all directories:
[0065] The filenames correspond one-to-one with the business type; for example, "SKQR.wav" means "payment confirmation".
[0066] The file names and audio text content are completely consistent across all directories, with only the speaker, timbre, or speaking speed differing.
[0067] The server records the path information of each voice directory through a directory configuration table, and ensures that when a new service type is added, the corresponding voice file is added synchronously in all voice directories to maintain the consistency of the directory content.
[0068] The system provides voice preference options in the user account settings interface, allowing users to choose from "Default Directory," "Female Voice Directory," "Male Voice Directory," etc. The server stores the voice directory preference field for each account in the user account table.
[0069] When a user logs into the service terminal, the server reads the user's voice preference configuration; if it is not configured or is invalid, the default voice directory can be used.
[0070] When it is detected that a voice prompt needs to be played for a certain account, the server determines the target voice directory corresponding to the account based on the account's preference fields, which is used to select the target voice file later.
[0071] When a new business record is generated in the enterprise management system, such as adding a payment confirmation or generating a production process task, the business processing module sends a business event to the voice prompt module after successfully writing the business data. The business event includes at least: business ID, business type identifier, business initiating account ID, and business execution role information.
[0072] After receiving a business event, the voice prompt module searches for the corresponding voice file name in the business type-voice file mapping table based on the business type identifier; then, combined with the target voice directory (e.g., the current account preference is female voice directory A), it locates the final target voice file path in that voice directory.
[0073] The server settings permissions and account association module is used to manage the relationships between various business types and roles, and between roles and accounts.
[0074] For each new business, the server queries the set of accounts with execution permissions from the permission configuration table based on the business type and the execution role field in the business data;
[0075] The server retrieves the account ID that initiated the service submission from the business data and includes it in the associated account set. It then merges the "execution permission account set" with the "initiating account" to form a business-associated account set. Subsequently, the server accesses the online status management module to obtain the current online / offline status of each of the associated accounts, retaining only accounts with an "online" status as target playback objects, and recording the business terminal connection information or session identifier corresponding to each account.
[0076] The server maintains a "voice playback record table" in the voice prompt module, which records the identifier of the target voice file and the timestamp of the most recent playback.
[0077] When preparing to play a target audio file, the server performs the following judgment:
[0078] Query the most recent playback time of the target audio file in the playback record table;
[0079] If the interval between the current time and the most recent playback time is less than the preset time window (e.g., 5 seconds), then the playback of this audio file will not be triggered this time.
[0080] If the interval is greater than or equal to the preset time window, or if the audio file has no record yet, update the most recent playback time of the audio file in the playback record table to the current time, and allow this playback.
[0081] In this way, the number of times the same audio file is played within a preset time window is limited, thereby controlling the frequency of voice prompts.
[0082] For a target audio file that passes the playback restriction verification, the server iterates through the target playback object set and sends a voice playback command to the business terminal corresponding to each target account.
[0083] The voice playback command includes: the network address or file identifier of the target voice file, the playback method (such as play immediately, add to the playback queue, etc.), and optional service identification information.
[0084] After receiving a playback command, the local voice playback module of the service terminal retrieves the voice file (which can be pre-cached or retrieved on demand) according to the path or identifier in the command, and plays it through the terminal's speaker.
[0085] For business types marked as "requiring feedback" (such as auditing, payment collection, etc.), the server triggers a result event when the business process is completed. The result event includes a status identifier for the business execution result.
[0086] The voice prompt module determines the corresponding result voice file from the preset result voice file mapping table based on the result status identifier.
[0087] The server takes the account that initiated the submission of the service as the receiving object, combines the account's voice directory preferences, selects the above-mentioned result voice file from the corresponding voice directory, performs playback control according to the aforementioned playback restriction rules, and then sends a playback instruction to the business terminal corresponding to the account to play the corresponding result voice file.
[0088] Through the above specific implementation, the voice prompt method implemented in this paper can effectively solve many problems in the prior art, and the main technical effects include, but are not limited to:
[0089] To achieve fine-grained voice prompts differentiated by business type: By establishing a one-to-one correspondence between business types and voice files, and selecting the corresponding target voice file based on the business type when a new business occurs, users can distinguish different business scenarios such as "payment confirmation," "approval processing," "outbound execution," or a specific production process simply by hearing the voice content on the terminal. This avoids the problem in the background technology that "a uniform prompt tone can only indicate that there is a new matter but cannot distinguish the specific business type," which is conducive to improving the pertinence and response efficiency of business processing.
[0090] Personalized and diversified configuration of voice prompts: By pre-setting multiple voice directories and keeping the voice file names and text content completely consistent across directories, only distinguishing the speaker, timbre, or speaking speed, users can select their preferred voice directories in the account settings.
[0091] In actual operation, different users can use voice prompts with different timbres or speakers. The same user can also switch directories when needed to achieve the effect of uniformly changing all prompt sounds, thereby overcoming the limitations of existing technologies where "voice prompts are singular and difficult to switch according to user habits", and enhancing the system's adaptability and user experience.
[0092] Achieve precise push notifications based on account permissions and online status: By identifying accounts with execution permissions for new services through business type, execution role information, and permission configuration, and combining these with the accounts that initiated and submitted the business to form a set of business-related accounts, then filter the target playback objects based on online status, and only send playback instructions to online account terminals that are actually related to the business.
[0093] This triple filtering mechanism of "permissions + association + online status" avoids unrelated personnel receiving voice prompts, reduces invalid interference, and ensures that business executors and submitters can obtain relevant information in a timely manner, thus solving the problem of "coarse prompt targets and excessive or insufficient impact" in the background technology.
[0094] Effective control over audio playback frequency is achieved by introducing an audio playback record table on the server side and setting a restriction policy that allows each type of target audio file to be played only once within a preset time window, such as playing only once within 5 seconds.
[0095] In high-concurrency business scenarios, even if a large number of similar business transactions occur in a short period of time, the same voice file will not be played repeatedly in a short period of time, thus avoiding noise and interference caused by long-term repetitive prompts and improving the availability and stability of the system. This mechanism specifically solves the problem of "multiple consecutive playback of the same prompt sound in a short period of time, causing interference" in the background technology.
[0096] The invention enables phased voice prompts for processes and results: For business types that require result feedback, the invention provides a process prompt when the business is generated, and plays a result voice file based on the execution result when the business is completed. The result voice is pushed to the specific object of the business initiator.
[0097] This phased notification mechanism allows the executor to be notified of tasks immediately, while the submitter receives timely feedback upon completion, ensuring closed-loop management of the workflow. Compared to methods that only provide notifications when tasks arise or rely entirely on interface queries, this invention reduces additional steps for the submitter and improves workflow efficiency.
[0098] A unified voice prompt framework applicable to business transactions and production processes: The implementation method in this embodiment is compatible with both business transactions and production processes.
[0099] For business transactions on the list page, standardized and normalized voice prompts are achieved by pre-setting business type names and corresponding voice files;
[0100] For production process types, a process-level voice configuration strategy can be further combined in other embodiments to form a unified technical framework.
[0101] Therefore, this embodiment can cover "management business + production site business" in enterprise operations under the same voice prompt architecture, which is beneficial to the expansion and maintenance of the system.
[0102] In summary, through specific technical designs such as mapping business types to voice files, multiple voice directories, account permissions and online status filtering, playback frequency control, and result feedback voice mechanisms, this embodiment enables voice prompts to have clear business orientation, configurable and personalized voice presentation, and fine-grained control over the target audience and frequency of prompts. This solves the problems mentioned in the background technology, such as "coarse voice prompt content, lack of personalized configuration, inaccurate prompt targets, and excessive concentration of prompts in a short period of time," and significantly improves the practicality and usability of the enterprise management system in business reminders and production scheduling.
[0103] In this embodiment, the duration of the preset time window is set to 5 seconds, and within the same preset time window, the same target audio file is only allowed to be played once.
[0104] In this embodiment, at least a portion of the business types are list page business transaction types, and the business name of the list page business transaction type is a fixed name preset by the system. The method further includes:
[0105] For the aforementioned list page business transaction type, a voice prompt setting option for list page business transactions is provided. The setting option includes at least one of the following: turn off voice, unified voice, and preset voice directory.
[0106] When selecting a unified voice, all business transaction types on the list page will be bound to the same voice file.
[0107] When selecting a preset voice directory, the voice files corresponding to each list page business transaction type are retrieved from the target voice directory and played according to the preset correspondence between the business transaction types of the list page and the voice files.
[0108] The filenames of the voice files corresponding to the business transaction types on the list page are preset by the system and remain consistent across all voice directories. Independent switching of individual voice files is not supported.
[0109] In this embodiment, the service types are divided into two categories:
[0110] The first type of business involves providing process prompts to the executor when the business occurs;
[0111] The second type of business requires providing process prompts to the executor when the business is generated and providing result prompts to the initiator when the business is completed.
[0112] Specifically, for the first type of business, the target audio file corresponding to the business type is determined and played when the business is generated;
[0113] For the second type of business, the target audio file is played when the business is generated, and the result audio file corresponding to the execution result is played when the business is completed.
[0114] In this embodiment, at least a portion of the business types are production process types, and the method further includes:
[0115] A voice prompt setting interface is provided for each production process. The interface provides four setting options for each production process: voice reading, turn off voice, unified voice, and preset voice directory.
[0116] When selecting voice reading, a voice reading text is generated according to a preset format, and the voice reading text is input into the voice synthesis module for synthesis. The preset format includes:
[0117] The text read aloud is generated by concatenating the text entered by the user, the name selected from the drop-down box, and the name of the production process in a preset order. The name of the production process is called by the system and cannot be modified.
[0118] In this embodiment, depending on the type of production process, the method further includes:
[0119] In the unified settings, you can configure unified voice prompts for all production process types by selecting any of the options: voice reading, turn off voice, or unified voice.
[0120] For each production process, the preset voice directory is set to enable or disable the preset voice directory for that production process. When the preset voice directory is enabled, a preset voice file can be selected as the prompt sound for the current process. When there are multiple preset voice directories, the preset voice directories can be switched to call different reading voice prompt sounds. After the preset voice directory is enabled, the voice in the unified settings will be invalid in the current process.
[0121] When a certain production process enables a preset voice directory and completes the preset voice file settings, the voice prompts for that production process will only determine the target voice file based on the preset voice directory.
[0122] In this embodiment, the server determines the set of accounts associated with the new service based on the service type and account permission information, including:
[0123] Obtain the execution role information and submit role information corresponding to the new business;
[0124] Based on the preset permission configuration, determine the accounts that have execution permissions for this new service;
[0125] Add the account with execution privileges and the account that initiated the submission of the new business to the account set;
[0126] Obtain the online status of each account in the account set, and only use the accounts that are online as the target playback objects.
[0127] In this embodiment, for business transactions that require result feedback, the method further includes: when the business transaction is completed, determining a result audio file corresponding to the execution result based on the execution result, and playing the result audio file to the business terminal corresponding to the account that initiated the submission of the business transaction.
[0128] In one embodiment, such as Figure 2 As shown, the voice prompt control process is described in detail. It should be understood that this embodiment is a specific application of the solution described in the claims, used to help understand the functional modules shown in the figures and their interrelationships, and does not constitute a limitation on the scope of protection of this invention.
[0129] In this embodiment, the enterprise management system is deployed on the server side, and users log in to the system through business terminals such as PCs and mobile phones. As shown in the figure, the flowchart can be divided into three parts: default voice playback rules, voice prompt settings for business transactions on the list page, and voice prompt settings for production processes. These parts work together to achieve unified management of different business scenarios.
[0130] By default, the system only plays voice prompts to currently online accounts, and the same voice prompt is only allowed to play once within 5 seconds. That is, when a service triggers a voice prompt, the server first determines the set of associated accounts based on the service type and permission configuration, then queries the online status of these accounts, and only sends playback instructions to the terminals corresponding to the online accounts. Simultaneously, the server maintains the most recent playback time for each voice file; if less than 5 seconds have passed since the last playback, the server refuses to play the voice prompt again, thus ensuring that voice prompts are not played frequently in succession.
[0131] This embodiment illustrates the specific process of "setting voice prompts for business transactions on the list page". For various business transactions on the list page (e.g., business transaction 1 to business transaction N), the system provides three setting methods in the configuration interface: turn off voice, use unified voice, and set a preset voice directory.
[0132] When "Turn off voice" is selected, the system will no longer trigger voice prompts for list page business transactions, regardless of how many new transactions are generated.
[0133] When "Unified Voice" is selected, all business transactions on the list page share the same voice file. When any business transaction generates a new task, the system calls the unified voice to provide a prompt.
[0134] When "Preset Voice Directory" is selected, the system pre-creates multiple voice directories (shown in the diagram as Preset Voice Directory 1 to Preset Voice Directory X). Each directory contains a set of voice files that correspond one-to-one with the business transaction type. The filenames and text content remain consistent across directories, differing only in the speaker or voice. During configuration, the administrator selects a preset voice directory for the list page, and the system searches for the voice files corresponding to types such as "Business Transaction 1" and "Business Transaction N" within that directory.
[0135] like Figure 2 As shown, when a new business transaction 1 is generated, the system, according to the above configuration, plays a "Business Transaction 1 prompt tone" for the corresponding execution account, and pushes a voice prompt of the execution result to the account that submitted the transaction after the transaction is completed. For business transaction N, the corresponding prompt tone is played when a new business is generated, and an execution result prompt tone is pushed after the execution is completed. In this way, each type of business transaction in the list page can receive a prompt tone corresponding to its own type, and can also receive a separate prompt for the execution result.
[0136] The system provides a "Production Process Voice Prompt Settings" entry point for unified configuration of all production processes. Below this entry are three setting options: voice reading, unified voice, and voice off. When "voice reading" is selected, the system generates reading text and synthesizes speech for all processes using preset text templates and speech synthesis technology.
[0137] When "Unified Voice" is selected, all processes share the same voice file;
[0138] When "Turn off voice" is selected, voice prompts will no longer be triggered during the production process.
[0139] In addition to the unified settings, this embodiment also supports configuring preset voices for each process individually. The diagram illustrates this using "Preset Voice for Process 1" and "Preset Voice for Process N" as examples. Taking Process 1 as an example, in its configuration interface, the user can first set whether to enable preset voices: if "Off" is selected, the process uses the voice mode in the unified settings; if "On" is selected, the user proceeds to the "Select Voice Directory" step, where they select a directory from multiple preset voice directories and choose a specific voice file for Process 1 within that directory as its preset voice. When the preset voice for Process 1 is configured and enabled, the voice prompts for Process 1 will preferentially use the selected voice file from the preset voice directory, no longer subject to the restrictions of voice reading, unified voice, or voice disabling in the unified settings. The phrase "Setting method is the same as Process 1, voice settings are selected individually for each process" in the diagram indicates that other processes (such as Process N) can enable or disable preset voices according to the same process as Process 1, and independently select the corresponding voice directory and voice file.
[0140] Through the above implementation methods, the default rules are responsible for controlling the global playback range and frequency; the business transaction section of the list page implements process prompts and result prompts differentiated by business type; and the production process section combines unified settings with process-level preset settings to achieve differentiated voice prompts for different processes. The overall process works collaboratively, enabling the system to provide refined voice reminders for various business scenarios while ensuring orderly and controllable voice playback.
[0141] This embodiment records one or more corresponding voice prompts based on the name of each business transaction. When multiple voice prompts are recorded, multiple voice directories are created. Each voice directory has the same audio-text content, file name, and number of files; only the voice is different. When a business transaction has multiple voice prompts, the user only needs to switch between voice directories to hear different voice prompts. For example, the voice recording for (payment confirmation) is "Payment needs confirmation." When a new payment confirmation business transaction needs to be executed, this voice prompt is played to the online user with the appropriate permissions. If there are two voice directories (male and female voices), the user can switch between the male / female voice directories. After hearing the "Payment needs confirmation" prompt, the user clearly understands that the payment confirmation business transaction needs to be executed. The voice prompts are efficient and accurate, and the selectable voice allows users to choose their preferred prompt.
[0142] In one embodiment, the prompts are displayed on both the computer and mobile devices. The system's default settings for voice prompt playback are: the voice prompt is only played to logged-in, online accounts; the same voice prompt is played only once within 5 seconds; the relevant accounts are those with execution permissions or those awaiting results after submission; and it is played only once within 5 seconds to prevent continuous playback caused by numerous new business transactions needing to be executed simultaneously.
[0143] Voice prompts are divided into two types: (list page business transaction voice prompt settings and production process voice prompt settings). Each setting has one or more preset voice directories. The preset voice files in each voice directory have the same (voice text content, file name, number of files) but different reading voices. When there are multiple preset voice directories, you only need to switch the path of the preset voice directory to directly switch the voice prompts with different reading voices.
[0144] In the business transaction settings of the list page, the names are fixed. When there are multiple preset voice directories, the voice prompts can switch voice directories. The voice file name is the system default setting and cannot be selected or switched. In the process name settings of the production process, the user-defined name cannot be fixed. Therefore, the voice prompts for each process can be selected and the preset voice file and voice directory can be switched individually. The system has multiple preset voice files for users to query and select.
[0145] In the list page's business transaction voice prompt settings, you can choose to (turn off voice, unify voice, preset voice directory). Selecting "turn off voice" will prevent voice prompts when new business transactions appear on the list page; selecting "unify voice" will prompt the relevant account with the same voice when new business transactions appear on the list page; selecting "preset voice directory" will play the corresponding sound file set in the system's preset voice directory when new business transactions appear on the list page.
[0146] In the voice prompt settings for the production process, you can choose to select (voice reading, turn off voice, unified voice, preset voice directory).
[0147] The settings for (voice reading, voice off, and unified voice) are unified. When voice reading is selected, the voice reading content = input text + name selected from the drop-down menu + input text + process name + input text. The process name is fixed by the system and cannot be modified; the others are optional, allowing for complete customization of voice prompts. When voice is off is selected, if the preset voice directory is also selected to be off, then all voice prompts for the production process will be turned off. When unified voice is selected, if the preset voice directory is selected to be off, then all voice prompts for the production process will be unified voice prompts.
[0148] The preset voice catalog allows for individual voice prompts in each process, which can be enabled or disabled. Enabling the preset voice catalog allows you to select a preset voice file as the prompt for the current process. If multiple preset voice catalogs exist, you can switch between them to use different voice prompts. Disabling the preset voice catalog sets the voice prompts for the current process to a uniform setting. Once the preset voice catalog is enabled and set up, when a new process occurs during production, the selected voice file from the preset voice catalog will be played to notify the relevant account. Enabling the preset voice catalog disables all other settings for (voice reading, disable voice, uniform voice) for the current process, and the setting with the preset voice catalog enabled has the highest priority for process voice prompts.
[0149] Business transactions or processes are divided into two categories. One category consists of business transactions that do not require a push notification of results after execution. These transactions / processes only provide a voice prompt to the relevant account when the transaction occurs, such as outbound shipment, delivery, assembly, or debugging. The other category consists of business transactions that require a push notification of results after execution. In addition to providing a voice prompt to the relevant account when the transaction / process occurs, the execution result also needs to be prompted with a voice prompt to the account that submitted the transaction / process. The execution result prompt is a system setting that cannot be modified. For example, the execution result of payment collection or review needs to be prompted with a voice prompt to the account that submitted the review or the account that submitted the payment collection, with the system-set voice prompts such as "Review passed / Review failed, Payment received / Payment not received".
[0150] In one embodiment, this application also provides a voice prompt system, which includes a server and a plurality of business terminals communicatively connected to the server. The server includes a voice prompt device, which is applied to the server in an enterprise management system. The plurality of business terminals are configured to receive voice playback instructions from the server and play corresponding voice files to execute the voice prompt method described above in the voice prompt system.
[0151] The specific implementation details of each module can be found in the above description of the limitations of the voice prompt method, and will not be repeated here.
[0152] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.
Claims
1. A voice prompt method, applied to an enterprise management system, the enterprise management system including a server and multiple business terminals communicatively connected to the server, characterized in that, The method includes: Establish a correspondence between business types and voice files, so that each business type corresponds to at least one voice file. The business types include at least one of business transaction types and production process types. Multiple audio directories are preset, and each audio directory includes a set of audio files. The audio files in each set correspond one-to-one with the audio files in other audio directories in terms of file name and audio text content. The difference between each audio directory is that the speaker and / or the timbre are different. Determine the target voice directory based on the user's account voice preference information; When the server detects a new service, it obtains the service type corresponding to the new service, and based on the service type and the target voice directory, determines the target voice file corresponding to the service type from the target voice directory; The server determines a set of accounts associated with the new service based on the service type and account permission information of the new service. The set of accounts includes accounts that have execution permissions for the new service and / or accounts that initiate the submission of the new service. The accounts currently online are selected from the account set as the target playback objects; for each target audio file, the target audio file is limited to being played only once within a preset time window; A playback command is sent to the service terminal corresponding to the target playback object to play the target audio file on the service terminal.
2. The voice prompt method according to claim 1, characterized in that, The duration of the preset time window is set to 5 seconds, and within the same preset time window, the same target audio file is only allowed to be played once.
3. The voice prompt method according to claim 1, characterized in that, At least a portion of the business types are list page business transaction types, and the business name of the list page business transaction type is a fixed name preset by the system. The method further includes: For the aforementioned list page business transaction type, a voice prompt setting option for list page business transactions is provided. The setting option includes at least one of the following: turn off voice, unified voice, and preset voice directory. When selecting a unified voice, all business transaction types on the list page will be bound to the same voice file. When selecting a preset voice directory, the voice files corresponding to each list page business transaction type are retrieved from the target voice directory and played according to the preset correspondence between the business transaction types of the list page and the voice files. The filenames of the voice files corresponding to the business transaction types on the list page are preset by the system and remain consistent across all voice directories. Independent switching of individual voice files is not supported.
4. The voice prompt method according to claim 1, characterized in that, The business types are divided into two categories: The first type of business involves providing process prompts to the executor when the business occurs; The second type of business requires providing process prompts to the executor when the business is generated and providing result prompts to the initiator when the business is completed. Specifically, for the first type of business, the target audio file corresponding to the business type is determined and played when the business is generated; For the second type of business, the target audio file is played when the business is generated, and the result audio file corresponding to the execution result is played when the business is completed.
5. The voice prompt method according to claim 1, characterized in that, At least a portion of the business types are production process types, and the method further includes: A voice prompt setting interface is provided for each production process. The interface provides four setting options for each production process: voice reading, turn off voice, unified voice, and preset voice directory. When selecting voice reading, a voice reading text is generated according to a preset format, and the voice reading text is input into the voice synthesis module for synthesis. The preset format includes: The text read aloud is generated by concatenating the text entered by the user, the name selected from the drop-down box, and the name of the production process in a preset order. The name of the production process is called by the system and cannot be modified.
6. The voice prompt method according to claim 5, characterized in that, Depending on the type of production process, the method further includes: In the unified settings, you can configure unified voice prompts for all production process types by selecting any of the options: voice reading, turn off voice, or unified voice. For each production process, the preset voice directory is set to enable or disable the preset voice directory for that production process. When the preset voice directory is enabled, a preset voice file can be selected as the prompt sound for the current process. When there are multiple preset voice directories, the preset voice directories can be switched to call different reading voice prompt sounds. After the preset voice directory is enabled, the voice in the unified settings will be invalid in the current process. When a certain production process enables a preset voice directory and completes the preset voice file settings, the voice prompts for that production process will only determine the target voice file based on the preset voice directory.
7. The voice prompt method according to claim 1, characterized in that, The server determines the set of accounts associated with the new service based on the service type and account permission information, including: Obtain the execution role information and submit role information corresponding to the new business; Based on the preset permission configuration, determine the accounts that have execution permissions for this new service; Add the account with execution privileges and the account that initiated the submission of the new business to the account set; Obtain the online status of each account in the account set, and only use the accounts that are online as the target playback objects.
8. The voice prompt method according to claim 1, characterized in that, For business transactions that require result feedback, the method further includes: when the business transaction is completed, determining the result audio file corresponding to the execution result based on the execution result, and playing the result audio file to the business terminal corresponding to the account that initiated the submission of the business transaction.
9. A voice prompt system, comprising a server and a plurality of business terminals communicatively connected to the server, the server including a voice prompt device, the voice prompt device being applied to the server in an enterprise management system, the plurality of business terminals being configured to receive a voice playback instruction from the server and play a corresponding voice file, so as to execute the voice prompt method as described in any one of claims 1 to 8 in the voice prompt system.