A voice model hotline navigation service method for a high concurrency scenario
By combining streaming semantic representation and long context modeling of large language models with generative semantic reasoning, the problem of accurate intent recognition in hotline systems under high concurrency scenarios is solved, achieving efficient user intent recognition and service path decision-making, and improving system response efficiency and quality.
Patent Information
- Application Number
- CN202611424183.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2046-09-15
AI Technical Summary
Existing hotline navigation systems struggle to accurately identify user intent in high-concurrency scenarios, leading to mis-navigation, invalid transfers, and repetitive interactions, thus reducing system response efficiency and throughput.
We employ streaming semantic representation and large language models for speech stream analysis, combined with long context modeling and generative semantic reasoning, to perform open intent recognition and semantic disambiguation, dynamically determine processing strategies, and execute service paths through tool calls and dynamic service orchestration.
It improves the accuracy of intent recognition and the stability of navigation decisions, reduces misnavigation and repetitive interactions, and enhances the response efficiency and service quality of the hotline system.
Smart Images

Figure CN122952098B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of artificial intelligence and communication technology, and more specifically, to a voice model hotline navigation service method for high-concurrency scenarios. Background Technology
[0002] With the increasing volume of calls to government, public services, and enterprise customer service hotlines, promotional activities or emergencies can easily generate a large number of concurrent calls in a short period of time. If the caller's intent cannot be identified and the service path cannot be predicted early in the call, requests will flood the same service nodes, causing prolonged queuing, interface delays, or even service unavailability. Therefore, it is necessary to build an intelligent navigation intent recognition mechanism for high-concurrency hotline scenarios to shorten the interaction chain and provide a basis for the orderly scheduling of backend resources.
[0003] Existing hotline navigation methods mostly employ button-based interactive voice responses, or perform voice recognition and intent classification after collecting relatively complete expressions, and then map service nodes according to preset rules. The former relies on fixed menus and multi-turn selections, lacking semantic understanding capabilities for colloquial, abbreviated, and ambiguous expressions; the latter, while employing voice recognition and intent classification, is limited by closed label sets and short window contexts, making it difficult to accurately identify incomplete expressions, implicit requests, and complex intents, and lacks the ability to understand and reason about open semantics, failing to effectively handle complex intents, intent shifts, and implicit requests, leading to increased misnavigation, invalid transfers, and repetitive interactions. Furthermore, traditional methods typically rely on static mapping tables and fixed routing rules to convert recognition results into service paths after intent recognition, lacking the ability to dynamically select service paths based on business knowledge, user status, and session context. When users express strong emotions, complaints, or potential public opinion risks, fixed-rule routing may also lead to mis-routing and untimely handling of high-risk sessions. Under concurrency surges, due to insufficient accuracy in intent recognition and a lack of dynamic service orchestration capabilities, a large number of sessions need to undergo multiple transfers and repeated confirmations before reaching the correct service node, further exacerbating the system load pressure and reducing overall throughput and service response efficiency.
[0004] Therefore, an optimized intelligent navigation intent recognition scheme for high-concurrency, hot-wire scenarios is desired. Summary of the Invention
[0005] This application provides a method for a voice model hotline navigation service for high-concurrency scenarios, which includes: S1, perform streaming semantic representation on the incoming voice stream, and continuously construct and update the conversation state representation containing the semantic features of the current utterance and cross-turn contextual association features by combining the current utterance and at least part of the historical context. S2, based on the long context modeling, instruction following and generative semantic reasoning capabilities of the large language model, combined with the business knowledge and service node descriptions obtained through retrieval enhancement, performs open intent recognition and semantic disambiguation on the session state representation, and generates a structured decision result containing at least one candidate intent and its confidence representation, key entities, semantic basis and service path parameters according to a predefined structured output pattern. S3, based on confidence calibration and semantic uncertainty judgment, performs uncertainty assessment on the distribution of candidate intent, candidate interval, contextual consistency and key slot integrity in the structured decision results, and determines the handling strategy of direct execution, further clarification or manual intervention. S4, based on the service path parameters in the handling strategy and structured decision results, performs service node matching and service path execution through tool invocation or dynamic service orchestration, and updates the session state representation according to the tool return value.
[0006] The voice model hotline navigation service method for high-concurrency scenarios provided in this application utilizes a unified large language model as the core inference engine. It performs streaming semantic representation of the incoming voice stream and continuously constructs a session state representation. Through retrieval enhancement, it introduces business knowledge and service node descriptions as external evidence. Based on generative semantic reasoning, it performs open intent recognition on users' colloquial, incomplete, ambiguous, and complex intent expressions. It generates candidate intents and their confidence levels, key entities, semantic basis, and service path parameters according to a predefined structured output pattern. Combined with semantic uncertainty calibration, it dynamically determines the handling strategy: direct execution, generating clarification questions, or manual intervention. Service path matching and execution are completed through tool invocation and dynamic service orchestration, and the session state is continuously updated based on tool return values. This enables accurate intent judgment and service path decision-making in the early stages of the session by leveraging the long context modeling and generative reasoning capabilities of the large language model. This significantly improves the accuracy of hotline intent recognition and the stability of navigation decisions, reduces invalid rounds caused by mis-navigation and repeated interactions, and enhances the response efficiency and service quality of the hotline system. Attached Figure Description
[0007] Various other advantages and benefits of this application will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiments below. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. Furthermore, the same reference numerals denote the same parts throughout the drawings.
[0008] Figure 1This is a flowchart of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application; Figure 2 This is a flowchart of step S2 of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application; Figure 3 This is a flowchart of step S3 of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application; Figure 4 This is a flowchart of step S5 of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application; Figure 5 This document presents a flowchart illustrating an embodiment of a voice model hotline navigation service method for high-concurrency scenarios, which involves adaptive delay calculation and action encapsulation of the allocation parameter set and the current queue congestion level to obtain the asynchronous time window delay constant and the queuing delivery action instruction. Detailed Implementation
[0009] Hereinafter, exemplary embodiments according to this application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments of this application. It should be understood that this application is not limited to the exemplary embodiments described herein.
[0010] Existing intelligent navigation systems for hotlines often rely on fixed menus or traditional intent classification methods based on closed tag sets to identify user intent. These methods lack the ability to understand the semantics of colloquial, incomplete, ambiguous, and complex expressions, resulting in low intent recognition accuracy, frequent misnavigation and invalid transfers, increased interaction rounds, and reduced processing efficiency of the hotline system. Therefore, the technical solution of this application proposes a voice model hotline navigation service method for high-concurrency scenarios. First, it extracts acoustic semantics from the incoming voice stream based on streaming speech coding, and continuously constructs and updates the session state representation by combining the current utterance and historical context. Then, a unified large language model, based on long context modeling and generative semantic reasoning capabilities, combined with business knowledge and service node descriptions obtained through retrieval enhancement, performs open intent recognition and semantic disambiguation on the session state representation. According to a predefined structured output pattern, it generates a structured decision result containing candidate intents, confidence representations, key entities, semantic basis, risk identifiers, and service path parameters. Subsequently, based on confidence calibration and semantic uncertainty judgment, it determines the handling strategy of direct execution, further clarification, or manual intervention. Accordingly, it completes service path matching and execution through tool invocation or dynamic service orchestration, and updates the session state representation based on the tool return value. In high-concurrency scenarios, an asynchronous queue scheduler can be used to pre-allocate requests based on the real-time load of each professional service queue. Incoming calls can be routed to the target professional service queue and backend call requests can be released in batches according to capacity thresholds, thereby reducing instantaneous call peaks and improving the response efficiency and throughput of the hotline system.
[0011] Figure 1 This is a flowchart illustrating a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application. Figure 1As shown, a method for a voice model hotline navigation service for high-concurrency scenarios according to an embodiment of this application includes the following steps: S1, performing streaming semantic representation on the incoming voice stream, and continuously constructing and updating a conversation state representation containing the semantic features of the current utterance and cross-turn contextual association features, in conjunction with the current utterance and at least part of the historical context; S2, based on the long context modeling, instruction following, and generative semantic reasoning capabilities of a large language model, and combined with business knowledge and service node descriptions obtained through retrieval enhancement generation, performing open intent recognition and semantic disambiguation on the conversation state representation, and generating a structured decision result containing at least one candidate intent and its confidence representation, key entities, semantic basis, and service path parameters according to a predefined structured output pattern; S3, based on Confidence calibration and semantic uncertainty judgment assess the uncertainty of candidate intent distribution, candidate interval, contextual consistency, and key slot integrity in the structured decision results to determine the handling strategy of direct execution, further clarification, or manual intervention; S4, based on the handling strategy and service path parameters in the structured decision results, perform service node matching and service path execution through tool invocation or dynamic service orchestration, and update the session state representation according to the tool return value; S5, in high-concurrency scenarios, based on the asynchronous queue scheduler, pre-allocate requests according to the service path execution results generated in step S4 and the real-time load of each professional service queue, connect the incoming call session to the target professional service queue, and release the backend call requests in batches according to the capacity threshold of the target professional service queue.
[0012] Specifically, in step S1, the incoming voice stream is subjected to streaming semantic representation, and a session state representation containing the semantic features of the current utterance and cross-turn contextual features is continuously constructed and updated by combining the current utterance and at least part of the historical context. It should be noted that since incoming voice in high-concurrency hotlines arrive in the form of continuous voice frames, and the user's current expression may contain omissions, punctuation breaks, and semantically similar situations, it is difficult to form a complete basis for intent recognition based solely on the voice features at a single moment. Based on this, the technical solution of this application first performs acoustic semantic extraction on the incoming voice stream based on streaming speech coding to form a session state representation that is incrementally updated as voice frames continuously arrive, and optionally combines user historical service information for feature fusion. Through the above processing, incremental semantic representation construction can be completed during the continuous transmission of incoming voice, thereby effectively shortening the feature preparation time required for subsequent intent recognition and improving the completeness of input data.
[0013] More specifically, in a specific example of this application, step S1 includes: performing time alignment on the incoming voice stream based on frame timestamps and call round identifiers, and performing identity index retrieval based on de-identified numbers in the caller ID data to obtain an aligned voice frame sequence and a historical service attribute vector; performing acoustic semantic extraction on the aligned voice frame sequence based on streaming speech coding to obtain a conversation semantic feature matrix, and performing nonlinear mapping on the historical service attribute vector to obtain a hotline historical profile vector; performing dimensional alignment and adaptive weighting on the conversation semantic feature matrix and the hotline historical profile vector to obtain a weighted result, and encapsulating the weighted result to obtain a conversation state representation.
[0014] More specifically, the incoming voice stream includes voice sampling frames collected at a 16 kHz sampling rate, frame timestamps marking the collection time of each voice sampling frame, and call round identifiers distinguishing the user's interaction with the hotline. After processing, these form a conversation semantic feature matrix, which serves as the core component of the conversation state representation and is used as input to the subsequent large language model. Optionally, caller ID data includes the number and its location, which have undergone irreversible anonymization processing, used to retrieve the user's historical service attributes and integrate them into the conversation state representation.
[0015] First, the frame timestamps and call round identifiers corresponding to each voice sampling frame in the incoming voice stream are read. The voice sampling frames are sorted according to the order of their timestamps, and duplicate frames with the same timestamp are removed. Frame intervals for different rounds are then divided according to the call round identifier. If the time interval between adjacent voice sampling frames exceeds a preset frame shift, silent frames are added according to the corresponding missing duration to maintain the continuity of voice sampling frames within the same call round, thus obtaining an aligned voice frame sequence. In an optional implementation, when caller ID data is available, the de-identified number in the caller ID data is read as an ID index key. Historical service records corresponding to this ID index key are retrieved from the historical service database, and the number's location is written as an additional attribute into the search results. Historical call frequency, service category distribution, complaint ratio, average session duration, and the most recent processing result are extracted from the historical service records within the last 90 days. Numerical attributes are normalized, and categorical attributes are encoded. The historical service attribute vector is obtained by combining the data according to a preset field order. This historical service attribute vector is then fused into the session state representation after nonlinear mapping, providing supplementary information on user historical behavior characteristics for the large language model.
[0016] Subsequently, the aligned speech frame sequence was segmented into frames with a frame length of 25 milliseconds and a frame shift of 10 milliseconds. Pre-emphasis, windowing, short-time Fourier transform, and Mel filtering were performed on each frame to obtain a temporally ordered acoustic feature sequence. This acoustic feature sequence was then projected into a query matrix, a key matrix, and a value matrix, respectively. A causal mask was set to allow only the current speech frame to access the current frame and its preceding frames. Streaming attention operations were used to extract the contextual acoustic semantic features corresponding to each speech frame, which were then arranged in temporal order to form a conversational semantic feature matrix. The calculation formula is as follows:
[0017] Where M represents the conversation semantic feature matrix, Q represents the query matrix, K represents the key matrix, T represents the transpose operation, d represents the dimension of the key features, C represents the causal mask matrix, V represents the value matrix, and softmax represents the normalization exponent operation. The causal mask matrix sets the corresponding position after the current speech frame to a negative value, so that the streaming encoding process only uses the speech frames that have already arrived, avoiding waiting for the entire call to end before feature extraction.
[0018] For the historical service attribute vector, the numerical scale is unified according to the statistical parameters of each attribute in the training samples. Then, it is transformed into the preset profile feature space through fully connected mapping and nonlinear activation to obtain the hotline historical profile vector, the calculation formula of which is:
[0019] Where P represents the historical profile vector of the hotline, and x represents the historical service attribute vector. This represents the historical attribute mapping weight matrix. Let f represent the historical attribute mapping bias vector, and let f represent the non-linear activation function, which is ReLU activation function in this example. This non-linear mapping is used to characterize the combined relationship between historical call frequency, service category distribution, and complaint ratio, so that different types of historical service attributes can form a profile representation of uniform length.
[0020] Finally, based on the feature dimension of the conversation semantic feature matrix, a linear projection is performed on the hotline historical profile vector, and the projection result is copied according to the number of voice frames contained in the conversation semantic feature matrix to form an aligned profile matrix with the same number of rows and columns as the conversation semantic feature matrix. The calculation formula is as follows:
[0021] Where R represents the alignment image matrix. Let P represent the dimension projection weight matrix, and let P represent the hotline historical profile vector. represents the dimensional projection bias vector, N represents the number of speech frames contained in the conversation semantic feature matrix, and repeat represents the operation of copying along the speech frame dimension. The conversation semantic feature matrix and the aligned profile matrix are concatenated along the feature dimension. An adaptive gating weight is calculated based on the concatenation result, and this gating weight is used to perform element-wise weighting on the two types of features. The calculation formulas are as follows:
[0022]
[0023] Where G represents the adaptive gating weight matrix, and sigmoid represents the activation operation that maps each weight to the interval between 0 and 1. Let M represent the gate weight matrix, M represent the conversation semantic feature matrix, and R represent the alignment profile matrix. This represents the gated bias vector, the semicolon indicates concatenation along the feature dimension, A represents the weighted result, and 1 represents a matrix of all 1s with the same dimension as the gated weight matrix. This indicates element-wise multiplication. (Combined term) This represents the weighted features corresponding to the semantics of the current session, and the combined terms. This represents the weighted features corresponding to the historical service profile. After weighting, the weighted result, the conversation semantic feature matrix, and the hotline historical profile vector are associated and encapsulated according to the preset field order, and the dimension, number of voice frames, and call round identifier of each field are recorded to obtain the conversation semantic state data.
[0024] Specifically, in step S2, based on the long context modeling, instruction following, and generative semantic reasoning capabilities of the large language model, combined with business knowledge and service node descriptions obtained through retrieval enhancement, open intent identification and semantic disambiguation are performed on the conversation state representation. A structured decision result containing at least one candidate intent and its confidence representation, key entities, semantic basis, and service path parameters is generated according to a predefined structured output pattern. It should be noted that, given the characteristics of user expressions in high-concurrency hotline scenarios, such as colloquialism, incompleteness, semantic ambiguity, and complex intents, traditional classification methods relying on closed label sets cannot identify implicit requests, intent transfers, and open semantics. Therefore, the technical solution of this application further utilizes a large language model fine-tuned from hotline scenario corpus, combined with conversation state representations and business knowledge obtained through retrieval enhancement, to perform open intent inference and semantic disambiguation on user expressions using the long context modeling and generative semantic reasoning capabilities of the large language model. This identifies explicit intents, implicit requests, complex intents, and intent transfers, and generates a structured decision result containing candidate intents, confidence representations, key entities, semantic basis, risk indicators, and service path parameters according to a predefined structured output pattern. Through the above processing, the multi-step reasoning capabilities of the large language model can be used in the early stages of interaction to simultaneously form user demand judgment, semantic uncertainty assessment and service path suggestions, improve the accuracy of intent recognition under colloquial and ambiguous expressions, shorten the interaction rounds, and provide a data foundation for subsequent confidence calibration and service path execution.
[0025] Figure 2 This is a flowchart of step S2 of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application. Figure 2 As shown, step S2 includes: S21, performing long context modeling and incremental semantic representation update on the session state representation based on the large language model, and reusing the intermediate representation of the processed context using key-value caching to obtain a session state representation that integrates cross-round contexts; S22, retrieving business rules, service node descriptions, and historical cases from the business knowledge base as external evidence based on retrieval queries related to the current candidate intent, and concatenating the external evidence with the session state representation to form an enhanced context; S23, performing open intent inference on the enhanced context based on the instruction compliance and generative semantic reasoning capabilities of the large language model, identifying explicit intents, implicit requests, composite intents, and intent migrations, and generating structured decision results according to a predefined structured output pattern. The structured decision results include at least one candidate intent identifier, confidence representation of each candidate intent, key entities, semantic basis, risk identifiers, and service path parameters.
[0026] In step S21, long-context modeling and incremental semantic representation updates are performed on the conversation state representation based on the large language model. The intermediate representations of the processed context are reused using key-value caching to obtain a conversation state representation that integrates cross-round contexts. It should be noted that, due to omissions, sentence breaks, and cross-round referencing in user expressions in high-concurrency hotlines, the large language model needs to understand the association between the current utterance and historical context based on its long-context modeling capabilities to form a complete semantic representation. Based on this, the technical solution of this application further performs sliding window truncation and incremental semantic completion on the conversation semantic state data based on the large language model to obtain the conversation state representation matrix. Through the above processing, the long-context modeling capabilities of the large language model can be fully utilized to preserve cross-round semantic associations, providing a complete semantic representation foundation for subsequent generative intent reasoning.
[0027] More specifically, in a specific example of this application, the processing generally follows the order of hotline conversation feature sorting, key-value cache incremental update, and hidden layer semantic completion. First, the features, frame timestamps, and call round identifiers corresponding to each voice frame are read from the conversation semantic state data. The features of each frame are arranged according to the frame timestamps to form a complete feature sequence from the start of the conversation to the current moment. The large language model reuses the intermediate representations of the processed context based on the key-value cache mechanism to achieve incremental inference without recalculating historical features. In an optional implementation, to control the inference latency, a sliding window of no more than a preset number of rounds (e.g., 2 rounds) can be used to extract the historical context. When a new round of features enters the window and the window coverage exceeds the preset number of rounds, the feature corresponding to the earliest round in the time sequence is deleted. Subsequently, the features of the newly entered window are input into a large language model fine-tuned from the hotline scenario corpus. Key-value caching reuses intermediate representations of the processed context, generating the current query matrix, current key matrix, and current value matrix, respectively. The historical key matrix and historical value matrix retained from the previous calculation are also read. The current key matrix and current value matrix are appended to the corresponding historical matrices along the time dimension. Out-of-range cached content is pruned according to the context window capacity, resulting in the current cached key matrix and current cached value matrix. Semantic relevance is calculated based on the current query matrix and the current cached key matrix. A causal mask is used to mask features after the current speech frame. The current cached value matrix is then weighted according to the obtained attention weights, establishing semantic associations between the current speech segment and the preceding keywords, incomplete expressions, and historical service profiles within the window. The incremental attention calculation formula is as follows:
[0028] in, Indicates the current increment calculation time. This represents the query matrix obtained from the newly added feature mapping. This represents the current cached key matrix, obtained by concatenating the historical key matrix and the current key matrix and then cropping it using a window. This represents the current cached value matrix, obtained by concatenating the historical value matrix and the current value matrix and then clipping it using a window. Indicates matrix transpose. This represents the dimension of the key vector. Represents the causal mask matrix. This represents the normalized exponent operation. This represents the session state representation matrix formed at the current moment. (Combined terms) This indicates the semantic relevance between the newly added feature and the features already reached within the window, divided by... Used to control the numerical range of the dot product result, add This is used to exclude speech frames after the current time step. After weighting, the hidden layer representations corresponding to each current speech frame are arranged in chronological order and nonlinearly transformed through the feedforward layer of the large language model to obtain a conversation state representation matrix that fuses cross-turn context. Simultaneously, the current cache key matrix and current cache value matrix, after window clipping, are retained for incremental calculation when the next speech frame arrives. Semantic completion here supplements incomplete contextual semantics within the hidden layer feature space without generating independent completed text.
[0029] In step S22, based on a retrieval query related to the current candidate intent, business rules, service node descriptions, and historical cases are retrieved from the business knowledge base as external evidence. This external evidence is then concatenated with the session state representation to form an enhanced context. It should be noted that because the business rules, service node functions, and handling procedures involved in the hotline scenario are continuously updated with business development, relying solely on the parameterized knowledge of the large language model may not cover the latest business rules and handling solutions. Therefore, the technical solution of this application further introduces external business knowledge through retrieval enhancement generation, enabling the large language model to combine the latest business rules and service node descriptions for intent recognition and service path suggestion during reasoning.
[0030] More specifically, in a concrete example of this application, the processing generally follows the order of query construction, knowledge retrieval, and enhanced context concatenation. First, the hidden states arranged chronologically from the speech frame in the session state representation matrix are read. Average pooling is performed on the hidden states corresponding to valid speech frames to obtain the session representation vector, and the influence of silence filler frames on the aggregation results is masked. Key semantic features are extracted based on the session representation vector to construct the query vector. Then, the similarity between the query vector and pre-encoded knowledge entry vectors in the business knowledge base is calculated. The top K knowledge entries with the highest similarity are selected as the search results. These knowledge entries include descriptions of business rules, service node functions, common problem handling solutions, and historical similar cases. The search results are arranged from highest to lowest similarity and concatenated with the session state representation to form an enhanced context, which serves as the input for subsequent generative intent reasoning.
[0031] In step S23, based on the instruction-following and generative semantic reasoning capabilities of the large language model, open-ended intent inference is performed on the enhanced context, and a structured decision result is generated according to a predefined structured output pattern. It should be noted that outputting only a single intent category cannot characterize the diversity of user demands, the uncertainty of intent distribution, and the basis for service path selection. Therefore, the technical solution of this application further uses the large language model to generate a structured decision result containing multi-dimensional information according to a predefined structured output pattern (Schema), enabling subsequent handling strategy decisions and service path execution to be directly based on the structured fields.
[0032] More specifically, in a specific example of this application, the processing generally follows the order of instruction construction, generative reasoning, and structured output parsing. First, based on the system instruction template, the enhanced context, predefined structured output schema, and task description are assembled into input prompts for the large language model. The predefined structured output schema defines the following field structure: business_intent: at least one candidate business intent identifier and its natural language description, the business intent including but not limited to open set business categories such as order inquiry, after-sales service, complaint handling, repair reporting, and appointment; confidence: confidence representation of each candidate intent, indicating the degree of confidence of the large language model in each candidate intent; key_entities: key entities and slot values extracted from user expression, such as order number, product name, fault description, time range, etc.; reasoning: semantic basis, i.e., the reasoning link description of the large language model for intent determination; risk_flag: risk identifier, including the assessment results of emotional risk level, complaint tendency, and public opinion risk; service_path_params: service path parameters, including the suggested target service node identifier, the type of tool to be called, and the tool call parameters.
[0033] Subsequently, the large language model, based on its instruction-following ability, performs generative semantic reasoning on the enhanced context to identify the user's explicit intent, implicit requests, complex intents, and intent shifts, and generates structured text output according to a predefined schema. The generated structured text undergoes format validation and field parsing, extracting the values of each field and encapsulating them into a structured decision result data object.
[0034] In an optional implementation, the large language model can also output the probability distribution of each candidate intent, and calculate the semantic ambiguity index based on the information entropy of the probability distribution to assist in subsequent semantic uncertainty assessment. The calculation formula is as follows:
[0035] in, The first term in the initial intent probability vector represents the probability vector of the first term. The probability of each intent category This represents the session representation vector obtained by aggregating the session state representation matrices. Indicates the first The classification weight vector corresponding to each intent category This indicates the transpose operation. Indicates the first The bias value corresponding to each intent category. Indicates the total number of business intent categories. Indicates the intent category summation index. This represents the exponential operation. Subsequently, the information entropy is calculated on the initial intent probability vector. The probability of each intent category is summed and its base-2 logarithmic product is negatively calculated to obtain the semantic ambiguity index, which is calculated as follows:
[0036] in, Indicates the semantic ambiguity index. Indicates the first The probability of each intent category Indicates the total number of business intent categories. This represents a base-2 logarithmic operation. The semantic ambiguity index is low when the probability is concentrated in a single intent category; it is high when the probability is distributed across multiple intent categories. Simultaneously, the conversation representation vector is input into the emotion risk classification layer. The latent features related to expressions of impatience, complaint tendencies, and high-risk demands are linearly mapped and normalized to obtain an emotion risk score ranging from 0 to 1, calculated as follows:
[0037] in, Indicates emotional risk score, This represents the emotional risk classification weight vector. Represents the session representation vector. This indicates the transpose operation. This represents the bias value for the emotional risk classification. This represents an exponential operation; the closer the sentiment risk score is to 1, the higher the likelihood of triggering high-risk service intervention in the current session. After completing the joint inference, the preliminary intent probability vector, semantic ambiguity index, and sentiment risk score are associated according to a preset field order, serving as the basic data required for subsequent hotline intent prediction data encapsulation.
[0038] In another alternative implementation, the risk label in the structured decision result also includes an emotional risk score, which is inferred by a large language model from the semantic features related to impatient expressions, complaint tendencies and high-risk demands in the conversation state representation. The score ranges from 0 to 1, with the closer to 1 indicating a higher probability of triggering high-risk actions in the current conversation.
[0039] Specifically, in step S3, based on confidence calibration and semantic uncertainty judgment, the uncertainty assessment of the candidate intent distribution, candidate interval, contextual consistency, and key slot completeness in the structured decision results is performed to determine the handling strategy of direct execution, further clarification, or manual intervention. It should be noted that, given that the generative inference results of large language models may be affected by colloquial expressions, insufficient semantic information, and user emotional fluctuations, when the confidence differences between candidate intents are not significant, key slot information is incomplete, or retrieval evidence is inconsistent, directly executing the service path corresponding to the preferred intent can easily lead to misnavigation. Based on this, the technical solution of this application further performs multi-dimensional semantic uncertainty assessment on the candidate intent distribution in the structured decision results, comprehensively considering candidate intent interval, contextual consistency, key slot completeness, and retrieval evidence consistency to dynamically determine the handling strategy: directly executing the service path for sessions with high confidence and complete information; generating targeted clarification questions for sessions with high uncertainty but which can be resolved through follow-up questions; and transferring high-risk or persistently high-uncertainty sessions to manual intervention. Through the above processing, we can avoid misdirection of ambiguous requests, reduce unnecessary manual transfers, and ensure that high-risk sessions are handled in a timely manner, thereby effectively improving the reliability and flexibility of navigation decisions.
[0040] Figure 3 This is a flowchart of step S3 of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application. Figure 3As shown, step S3 includes: S31, calculating the semantic uncertainty measure of the candidate intent distribution based on the confidence representation of each candidate intent in the structured decision results, wherein the semantic uncertainty measure is determined by combining at least one of candidate intent interval, contextual consistency, key slot completeness, and retrieval evidence consistency; S32, when the semantic uncertainty measure is lower than a preset confidence threshold, the handling strategy is determined to be direct execution, and the candidate intent with the highest confidence and its service path parameters are selected as the execution basis; when the semantic uncertainty measure is higher than the preset confidence threshold and the key slot is incomplete, the handling strategy is determined to be continued clarification, and the large language model generates targeted clarification questions, and updates the session state representation and posterior intent distribution based on the user's subsequent answers; when the risk indicator is triggered or the semantic uncertainty continues to be higher than the preset upper limit, the handling strategy is determined to be manual intervention; S33, associating and encapsulating the selected candidate intent, handling strategy, and service path parameters to obtain the navigation decision result.
[0041] In step S31, based on the confidence level of each candidate intent in the structured decision result, a semantic uncertainty measure of the candidate intent distribution is calculated. This semantic uncertainty measure is determined by combining at least one of candidate intent interval, contextual consistency, key slot completeness, and retrieval evidence consistency. It should be noted that since the structured decision result may contain multiple candidate intents with similar confidence levels, and key slots may not be fully filled, relying solely on the confidence value of the preferred candidate intent cannot comprehensively assess the reliability of the navigation decision. Therefore, the technical solution of this application further integrates multiple dimensions to calculate the semantic uncertainty measure, in order to comprehensively assess the certainty of the current navigation decision.
[0042] More specifically, in a particular example of this application, the processing generally follows the order of multidimensional uncertainty index calculation and weighted fusion. First, the confidence representation of each candidate intent is extracted from the structured decision results, and the candidates are ranked from highest to lowest confidence. The confidence interval between the preferred candidate intent and the second-best candidate intent is calculated. Key entity fields are extracted from the structured decision results, and the ratio of the number of filled key slots to the total number of key slots required for service path execution is calculated. The highest-ranking evidence entry is extracted from the search results generated by search enhancement, and the semantic similarity between this evidence entry and the preferred candidate intent is calculated. The current candidate intent is compared with the historical information confirmed in the session state representation to obtain a contextual consistency score.
[0043] Subsequently, a semantic uncertainty measure was calculated based on the aforementioned indicators. The formula for its calculation is:
[0044] in, The normalized information entropy represents the distribution of candidate intent confidence. This represents the confidence interval between the preferred candidate intent and the second-best candidate intent. This represents the ratio of the number of filled critical slots to the total number of critical slots required. This indicates the semantic similarity between the retrieved evidence and the preferred candidate intent. to The weighting coefficients are preset, and the sum of the weights is 1. The semantic uncertainty measure U ranges from 0 to 1, with a higher value indicating greater uncertainty in the current navigation decision.
[0045] In step S32, when the semantic uncertainty measure is lower than a preset confidence threshold, the handling strategy is determined to be direct execution, selecting the candidate intent with the highest confidence and its service path parameters as the basis for execution; when the semantic uncertainty measure is higher than the preset confidence threshold and the key slot is incomplete, the handling strategy is determined to be continued clarification, with the large language model generating targeted clarification questions and updating the session state representation and posterior intent distribution based on the user's subsequent answers; when a risk indicator is triggered or the semantic uncertainty continues to exceed a preset upper limit, the handling strategy is determined to be manual intervention. It should be noted that different sources of uncertainty correspond to different handling methods: incomplete information can be resolved through follow-up questions, high risk requires manual intervention, and high confidence allows for direct execution; a single threshold cannot distinguish between these situations. Therefore, the technical solution of this application further uses a three-way handling strategy decision based on semantic uncertainty measure and risk indicator.
[0046] More specifically, in a specific example of this application, the handling strategy decision is executed according to the following rules: Rule 1: When the risk indicator in the structured decision result indicates a high emotional risk (emotional risk level exceeds the preset risk threshold), a clear complaint tendency, or potential public opinion risk, regardless of the semantic uncertainty measure, the handling strategy is determined to be manual intervention (handling_strategy = human_escalation), and the business intent identified in the structured decision result is selected as the reference information for the human agent; Rule 2: When the risk indicator is not triggered and the semantic uncertainty measure U is lower than the preset confidence threshold... When the handling strategy is determined to be direct execution, the candidate intent with the highest confidence and its service path parameters are selected as the basis for subsequent service path execution; Rule 3: When the risk identifier is not triggered and semantic uncertainty measurement Higher than the preset reliability threshold At that time, further assessment of the integrity of key slots is required. Is it below the preset slot threshold? ,like Below The handling strategy is determined to be continued clarification. The large language model generates targeted clarification questions based on unfilled key slots and semantic ambiguities, raises follow-up questions to the user, and injects new information into the session state representation after obtaining the user's response, returning to step S2 to re-perform intent reasoning; if Not less than However, U is still higher than the preset upper limit threshold. The determined handling strategy is manual intervention; if Between and Since the key slots are basically complete, the determined disposal strategy is to execute directly with a low confidence level indicator.
[0047] In a specific numerical scenario, a confidence threshold is pre-set. The value is 0.3, and the preset upper limit threshold is [value missing]. The preset slot threshold is 0.7. The threshold is 0.6, and the preset risk threshold is 0.75. The decision-making process here dynamically selects the most suitable approach based on the multidimensional assessment results of semantic uncertainty, rather than making a binary judgment based solely on a single threshold.
[0048] In step S33, the selected candidate intents, handling strategies, and service path parameters are associated and encapsulated to obtain the navigation decision result. It should be noted that the field structure of the navigation decision result independently distinguishes between business intents (business_intent) and handling strategies (handling_strategy), so that business intent categories (such as order inquiries, after-sales service, repair requests, appointments, complaint handling, etc.) and handling strategies (direct execution, further clarification, manual intervention) are not confused.
[0049] More specifically, in a concrete example of this application, the encapsulation of the navigation decision result is performed according to the following field structure: the selected preferred candidate intent identifier and its natural language description are written to the `business_intent` field; the handling strategy type is written to the `handling_strategy` field; the key entities and slot values extracted from the user expression are written to the `key_entities` field; the service path parameters (including the target service node identifier, the required tool type, and the tool invocation parameters) are written to the `service_path_params` field; and the risk identifier is written to the `risk_flag` field. After encapsulation, the format of each field is validated to confirm that the field values conform to the predefined data types, thereby obtaining the navigation decision result, which can be directly used by the tool invocation and dynamic service orchestration in the subsequent step S4.
[0050] Specifically, in step S4, based on the handling strategy and service path parameters in the structured decision results, service node matching and service path execution are performed through tool invocation or dynamic service orchestration, and the session state representation is updated according to the tool return value. It should be noted that traditional methods rely on static mapping tables to map intent categories to fixed service nodes, and cannot dynamically adjust service paths based on business knowledge, user status, and tool return values. Therefore, the technical solution of this application further uses the handling strategy and service path parameters in the navigation decision results to dynamically execute service paths through tool invocation or dynamic service orchestration, and continuously updates the session state according to the tool return value, forming a closed loop of "intent recognition—knowledge enhancement—structured decision—tool execution—state update". Through the above processing, different service actions such as querying, creating work orders, knowledge retrieval, or manual transfer can be flexibly selected according to the actual business scenario, and the service path is continuously optimized in multi-step interactions, thereby effectively improving the accuracy and flexibility of service path matching.
[0051] More specifically, in a specific example of this application, the processing generally follows the order of tool selection and call request construction, tool execution and return value processing, and service path status update. Step S4 includes: determining the target service node or business tool to be called based on the service path parameters in the navigation decision result, and constructing a tool call request; executing the tool call and obtaining the tool return value, wherein the tool includes at least one of a business system query interface, a work order creation interface, a knowledge base retrieval interface, or a human agent transfer interface; determining whether the service path has been completed based on the tool return value, if not completed, injecting the tool return value into the session state representation and returning to step S2 to continue intent reasoning and service decision-making, and if completed, generating a service execution confirmation result.
[0052] First, the handling strategy and service path parameters are read from the navigation decision results. When the handling strategy is direct execution, the target service node identifier and required tool type are extracted from the service path parameters. A matching business tool is selected from the pre-registered tool set, and the key entity is used as the tool call parameter to construct the tool call request. The pre-registered tool set includes, but is not limited to: a business system query tool: used to query order status, account information, service records, etc., receiving parameters such as order number and user identifier, and returning query results; a work order creation tool: used to create service work orders and assign them to corresponding processing personnel or skill groups, receiving parameters such as business type, problem description, and priority, and returning work order number and estimated processing time; a knowledge base deep retrieval tool: used to obtain specific business processing procedures, policy descriptions, or operation guidelines, receiving query keywords, and returning detailed business knowledge content; and a human agent transfer tool: used to transfer the session to a human agent in a specified skill group, receiving the business type, risk level, and session context summary, and returning the transfer status and queue position.
[0053] When the handling strategy is manual intervention, a request to invoke the human agent transfer tool is directly constructed, passing the business intent, risk identifier, session context summary, and key entities as parameters, so that the human agent can understand the user's needs and risk situation before answering the call. When the handling strategy is further clarification, step S4 does not execute the tool invocation, and waits for the user to answer the clarification questions before step S2 regenerates the structured decision result.
[0054] Execute the constructed tool invocation request and retrieve the tool's return value. The tool's return value includes the execution status (success, failure, partial completion, or further action required), business data (such as query results, work order number, knowledge content, transfer status, etc.), and optional follow-up action suggestions (such as suggesting to continue querying related information, suggesting to confirm the operation with the user, etc.). Perform format validation on the tool's return value to confirm that both the execution status field and the business data field can be parsed correctly.
[0055] The execution status returned by the tool determines whether the current service path has been completed. If the execution status is successful and there are no subsequent action suggestions, the service path is considered complete, a service execution confirmation result is generated, and the current navigation process ends. This confirmation result includes a summary of the executed business actions, business data results, and a session end indicator. If the execution status requires further operation (e.g., user confirmation, calling the next tool, or supplementary information), the tool's return value is injected into the session state representation. Specifically, the business data and subsequent action suggestions returned by the tool are concatenated with the existing session state representation as new context information, and the process returns to step S2 where the large language model continues reasoning and decision-making based on the tool's return value. If the execution status is failed, the reason for the failure is recorded, and a decision is made based on the failure type: retry, switch to an alternative tool, or initiate manual intervention.
[0056] In one optional implementation, when the hotline system adopts a queue-based backend service architecture, the tool invocation result may include the target professional service queue identifier and routing priority for use by the subsequent high-concurrency queue scheduling module (step S5). In another optional implementation, to ensure compatibility with the existing system's static routing architecture, the target service node identifier in the tool invocation result can also be converted into the corresponding logical service node number through a service node mapping table, and then the routing parameters can be determined through priority routing rules to generate service queue routing instructions.
[0057] Specifically, in step S5, under high-concurrency scenarios, based on the asynchronous queue scheduler, requests are pre-allocated according to the service path execution results generated in step S4 and the real-time load of each professional service queue. Incoming calls are connected to the target professional service queue, and backend call requests are released in batches according to the capacity threshold of the target professional service queue. It should be noted that, given that incoming calls to high-concurrency hotlines may arrive in a concentrated manner within a short period of time, directly initiating calls to the corresponding backend service nodes can easily cause congestion in the professional service queue and overload of the backend interface. Based on this, the technical solution of this application further pre-allocates requests under high-concurrency scenarios based on the asynchronous queue scheduler, according to the service path execution results generated in step S4 and the real-time load of each professional service queue. Incoming calls are connected to the target professional service queue, and backend call requests are released in batches according to the capacity threshold of the target professional service queue. Through the above processing, incoming calls can be matched with professional service resources, and the peak of backend calls can be leveled out, thereby effectively reducing instantaneous concurrency pressure and improving request processing capacity under high concurrency conditions.
[0058] Figure 4 This is a flowchart of step S5 of a voice model hotline navigation service method for high-concurrency scenarios according to an embodiment of this application. Figure 4 As shown, step S5 includes: S51, parsing parameters and calculating capacity ratios for the service queue routing instructions and the real-time load of each professional service queue to obtain the allocation parameter set and the current queue congestion level; S52, based on the capacity trigger threshold and routing priority weight, performing segmented delay calculation and action encapsulation on the allocation parameter set and the current queue congestion level to obtain the asynchronous time window delay constant and the queuing delivery action instruction; S53, based on the asynchronous queue scheduler, suspending the incoming call session request according to the asynchronous time window delay constant, and releasing the backend call request to the target professional service queue in batches according to the queuing delivery action instruction, generating backend queue allocation confirmation feedback.
[0059] In step S51, the service queue routing instructions and the real-time load of each professional service queue are parsed and their capacity ratios are calculated to obtain the set of allocation parameters and the current queue congestion level. It should be noted that since the service queue routing instructions use serialized data to carry routing parameters, and the available capacity of each professional service queue continuously changes with the incoming call processing status, static routing results cannot directly reflect the current load. Therefore, the technical solution of this application further parses the service queue routing instructions and the real-time load of each professional service queue and calculates their capacity ratios to obtain the set of allocation parameters and the current queue congestion level. Through the above processing, the target professional service queue and its current capacity status can be determined, thereby effectively providing data basis for subsequent request delay calculation and batch delivery.
[0060] More specifically, in a specific example of this application, the processing generally follows the order of routing instruction verification, routing parameter parsing, real-time load reading, and capacity ratio calculation. First, the protocol version, parameter length, routing load, and cyclic redundancy check (CRC) fields in the service queue routing instruction are read. The CRC value of the routing load is recalculated using the same generator polynomial as in the instruction generation stage, and the calculation result is compared with the received CRC field. If the verification matches, the routing load is deserialized according to the field order specified by the routing protocol. The logical service node number, routing priority weight, and queue insertion judgment result are extracted sequentially. The data type and value range of each parameter are checked, and the parameters that pass verification are associated and encapsulated into a set of allocation parameters according to a fixed field order. Subsequently, the corresponding target professional service queue is determined based on the logical service node number, and the number of requests being processed, the number of requests waiting, and the capacity threshold of each professional service queue at the current sampling time are read. The sum of the number of requests being processed and the number of requests waiting in the target professional service queue is determined as the real-time load. Then, the ratio of the real-time load to the capacity threshold is calculated to obtain the queue congestion level at the current time, calculated as follows:
[0061] in, This indicates the current queue congestion level. This represents the sum of the number of requests being processed and the number of requests waiting in the target professional service queue. This represents the capacity threshold of the target professional service queue, which is an integer greater than 0. When the real-time load of the after-sales service queue is 680 and the capacity threshold is 800, the current queue congestion level is 0.85. When the real-time load exceeds the capacity threshold, the current queue congestion level is greater than 1, indicating that the target professional service queue is already overloaded. Finally, the current queue congestion level and its load sampling time are correlated with the allocation parameter set and output, enabling subsequent processing to calculate the request delivery timing based on the logical service node number, routing priority weight, queue insertion judgment result, and current capacity status.
[0062] In step S52, based on the capacity trigger threshold and routing priority weight, segmented delay calculations and action encapsulation are performed on the allocation parameter set and the current queue congestion level to obtain the asynchronous time window delay constant and queuing delivery action instruction. It should be noted that since the load of the target professional service queue varies with inbound traffic, a fixed delivery interval cannot simultaneously consider the queue capacity status and the routing priority of different inbound sessions. Therefore, the technical solution of this application further performs segmented delay calculations and action encapsulation on the allocation parameter set and the current queue congestion level based on the capacity trigger threshold and routing priority weight to obtain the asynchronous time window delay constant and queuing delivery action instruction. Through the above processing, the request suspension duration can be determined according to the queue load, providing a scheduling basis for subsequent batch release of backend call requests.
[0063] More specifically, in a specific example of this application, the processing generally follows the order of reading allocation parameters, determining load intervals, calculating delays, and encapsulating delivery actions. First, the logical service node number, routing priority weight, and queue-jumping determination result are read from the allocation parameter set. The target professional service queue is determined based on the logical service node number, where the routing priority weight is set to a value greater than 0; the larger the value, the shorter the corresponding delay. Then, the current queue congestion level is compared with the capacity trigger threshold. When the queue-jumping determination result allows pre-delivery, the asynchronous time window delay constant is set to 0, allowing incoming calls triggering high security priority to immediately access the target professional service queue. When the queue-jumping determination result is queuing by arrival time and the current queue congestion level does not exceed the capacity trigger threshold, the asynchronous time window delay constant is also set to 0. When the queue-jumping determination result is queuing by arrival time and the current queue congestion level exceeds the capacity trigger threshold, the asynchronous time window delay constant is calculated based on the congestion excess, routing priority weight, and the baseline time window. The calculation formula is as follows:
[0064] Where t represents the asynchronous time window delay constant, f represents the queue insertion judgment result, f=1 indicates that early delivery is allowed, f=0 indicates that queuing is based on arrival time, c represents the queue congestion level at the current moment, h represents the capacity trigger threshold, w represents the routing priority weight, and b represents the base time window. Indicates that any condition is true, symbol This indicates that both conditions are true simultaneously. (Combined term) This indicates the congestion level of the target professional service queue when it exceeds the capacity trigger threshold; the combined term... This is used to convert congestion levels into request suspension durations under corresponding routing priorities. When the capacity trigger threshold is 0.85, the current queue congestion level is 0.95, the routing priority weight is 1, and the baseline time window is 1000 milliseconds, the asynchronous time window delay constant is 100 milliseconds; when the routing priority weight is 2, the asynchronous time window delay constant is 50 milliseconds. After calculation, the logical service node number, routing priority weight, queue-jumping judgment result, asynchronous time window delay constant, and queuing delivery action type are associated and encapsulated according to a preset field order to obtain the queuing delivery action instruction. A delay of 0 indicates immediate access to the target professional service queue, but does not mean bypassing subsequent capacity control to directly call the backend service; a delay greater than 0 indicates that the corresponding inbound session request is suspended first, and the subsequent batch release process begins after the delay duration expires.
[0065] In the above implementation, the asynchronous time window delay constant is mainly determined based on the current queue congestion level, capacity trigger threshold, and routing priority weight, and is suitable for performing request delays and batch delivery based on the current queue status. To further adapt to the sudden increase in requests from hotline services such as food ordering, after-sales service, and complaints during specific periods, as well as changes in the backend service completion rate, in another implementation, based on the obtained allocation parameter set and the current queue congestion level, a queue status sampling sequence within a continuous sampling window is further obtained. Predictive delay calculation is performed based on the request arrival rate, service completion rate, upper bound of traffic fluctuation, and future queue congestion level. The target queue congestion threshold is determined by combining the routing priority weight, and the asynchronous time window delay constant, degradation flag, and queuing delivery action instruction are generated, as detailed below.
[0066] Figure 5 This document describes a flowchart illustrating an adaptive delay calculation and action encapsulation process for an allocation parameter set and the current queue congestion level, based on an embodiment of this application, to obtain an asynchronous time window delay constant and a queuing delivery action instruction. Figure 5As shown, step S52 includes: S521, based on the queue state sampling sequence of the target professional service queue, calculating the current request arrival rate and the current service completion rate, performing exponential sliding prediction on the current request arrival rate and the current service completion rate, and then correcting the upper bound of fluctuation based on the prediction deviation of the request arrival rate to obtain the conservative upper bound of the request arrival rate and the predicted service completion rate; S522, based on the queue congestion at the current time, the conservative upper bound of the request arrival rate and the predicted service completion rate, predicting the queue congestion of the candidate delivery time slots, determining the target queue congestion threshold based on the capacity trigger threshold and the routing priority weight, and then selecting the earliest deliverable time slot according to the predicted queue congestion of each candidate delivery time slot; S523, calculating the asynchronous time window delay constant based on the earliest deliverable time slot and the queue front-end insertion identifier, generating a degradation identifier based on the predicted queue congestion corresponding to the earliest deliverable time slot, and then associating and encapsulating the allocation parameter set, the asynchronous time window delay constant and the degradation identifier to obtain the queuing delivery action instruction.
[0067] In step S521, based on the queue state sampling sequence of the target professional service queue, the current request arrival rate and the current service completion rate are calculated. An exponential sliding prediction is performed on the current request arrival rate and the current service completion rate. Then, based on the prediction deviation of the request arrival rate, a fluctuation upper bound is applied to obtain a conservative upper bound for the request arrival rate and a predicted service completion rate. It should be noted that calculating latency solely based on the current queue congestion level and routing priority weight cannot reflect sudden increases in requests from ordering, after-sales, and complaint hotlines during lunch, dinner, or peak customer complaint periods, nor can it reflect the continuous queue backlog caused by a decrease in the backend service completion rate. Therefore, the technical solution of this application further calculates the current request arrival rate and the current service completion rate based on the queue state sampling sequence of the target professional service queue, performs an exponential sliding prediction on the current request arrival rate and the current service completion rate, and then applies a fluctuation upper bound based on the prediction deviation of the request arrival rate to obtain a conservative upper bound for the request arrival rate and a predicted service completion rate. Through the above processing, the request growth trend can be identified before the queue reaches its capacity threshold, thereby providing a basis for subsequent prediction of queue congestion and determination of the asynchronous time window delay constant.
[0068] More specifically, in a concrete example of this application, the queue status sampling sequence of the target professional service queue is first continuously acquired according to a fixed sampling period. Each sampling period records at least the number of new requests, the number of completed requests, the number of active requests, the sampling time, and the rated concurrent capacity threshold. The number of new requests represents the number of inbound call session requests entering the target professional service queue within the current sampling period; the number of completed requests represents the number of requests that have been processed and released from the queue within the current sampling period; the number of active requests represents the number of requests in a waiting or processing state at the sampling time; and the rated concurrent capacity threshold represents the number of concurrent requests that the target professional service queue can handle. The continuous sampling records are sorted according to the sampling time, and the most recent m sampling periods before the current scheduling time are selected to form a sliding sampling window for rate statistics.
[0069] Within the sliding sampling window, the number of new requests in each sampling period is summed and divided by the total time length corresponding to the window to obtain the current request arrival rate. Similarly, the number of completed requests in each sampling period is summed and divided by the same total time length to obtain the current service completion rate. The calculation formula is as follows:
[0070] in, This indicates the current request arrival rate of the target professional service queue at the current scheduling moment. This indicates the current service completion rate of the target professional service queue at the current scheduling moment. This indicates the number of sampling periods contained in the sliding sampling window. Indicates the duration of a single sampling period. This represents the number of new requests entering the target professional service queue during the j-th sampling period. This represents the number of requests processed by the target professional service queue within the j-th sampling period. Indicates the current scheduling time. This represents the sampling period number. The summation operation accumulates the sampled data within the sliding sampling window, and the fractional expression converts the accumulated request count into the request count per unit time. By averaging across multiple sampling periods, the impact of occasional inbound calls or occasional processing completion events in a single sampling period on the rate result can be reduced, while preserving the overall inflow and processing trend of the target professional service queue.
[0071] Subsequently, exponential sliding predictions are performed on the current request arrival rate and the current service completion rate. The current actual statistical results are weighted with the prediction results from the previous scheduling time according to a preset smoothing coefficient to obtain the current predicted request arrival rate and the current predicted service completion rate. The calculation formulas are as follows:
[0072] in, This indicates the current predicted request arrival rate. This represents the predicted service completion rate at the current scheduling moment. The predictive smoothing coefficient represents the rate of arrival of requests. The predictive smoothing coefficient represents the rate of service completion. and The value range is from 0 to 1. This indicates the predicted request arrival rate at the previous scheduling time. This indicates the predicted service completion rate at the previous scheduling time. Indicates the current request arrival rate. Indicates the current service completion rate. (Combined item) This represents the impact of the current actual flow on the forecast result; the combined term. This represents the retained portion of historical forecast results; combined terms. This represents the impact of the current actual processing rate on the predicted service completion rate; the combined term. This represents the retained portion of the historical predicted service completion rate. By adjusting the smoothing coefficient, recent sampling results are given a higher weight in the prediction results, allowing the prediction results to follow changes in hotline traffic during lunch, dinner, holidays, or peak complaint periods.
[0073] After completing the exponential sliding forecast, the variance of the requested arrival rate forecast is calculated based on the deviation between the current requested arrival rate and the current predicted requested arrival rate. This variance is then converted into a conservative upper bound for the requested arrival rate. The calculation formula is as follows:
[0074] in, This represents the variance of the predicted request arrival rate at the current scheduling moment. The smoothing coefficient representing the variance of the fluctuation. The value range is from 0 to 1. This represents the variance of the predicted arrival rate of requests at the previous scheduling time. Indicates the current request arrival rate. This indicates the current predicted request arrival rate. This indicates that a conservative approach, taking into account traffic fluctuations, has reached the upper bound of the rate. This represents the risk coefficient corresponding to the preset confidence level, and the square root operation represents the square root of the variance of the predicted volatility of the request arrival rate. (Combined term) Indicates the degree to which the current request arrival rate deviates from the predicted request arrival rate; combined item. This represents the safety reserve increased based on the degree of traffic fluctuation. By adding the predicted request arrival rate to the traffic fluctuation safety reserve, a conservative upper bound for the request arrival rate, higher than the predicted average inflow rate, is obtained, allowing subsequent queue congestion predictions to be calculated based on the potentially higher request inflow.
[0075] Finally, the conservative request arrival rate upper bound, predicted service completion rate, current queue congestion, number of active requests, and rated concurrent capacity threshold are correlated according to the target professional service queue identifier and sampling time to form the input data required for the next stage of predicting queue congestion calculation. The current request arrival rate, current service completion rate, predicted request arrival rate, and predicted fluctuation variance of request arrival rate are used as intermediate calculation results in subsequent predictions and fluctuation upper bound corrections, respectively. The conservative request arrival rate upper bound and predicted service completion rate are used as the output results of this step to predict queue load changes within candidate delivery slots.
[0076] For example, in a scenario where the food ordering hotline experiences a peak inbound call period at 12:00, using a 5-second sampling period as a single sampling period, and selecting the most recent 6 sampling periods to form a sliding sampling window, the number of new requests to the target professional service queue within these 6 sampling periods are 60, 65, 80, 95, 110, and 130 respectively, and the number of completed requests are 50, 52, 55, 58, 60, and 62 respectively. Therefore, the current request arrival rate is 18 requests per second, and the current service completion rate is approximately 11.23 requests per second. Assuming a smoothing coefficient of 0.6 for both the request arrival rate and the service completion rate, and given that the predicted request arrival rate at the previous scheduling time was 14 requests per second and the predicted service completion rate at the previous scheduling time was 12 requests per second, the current predicted request arrival rate is 16.4 requests per second, and the current predicted service completion rate is approximately 11.54 requests per second. Assuming a variance smoothing coefficient of 0.5, a predicted variance of 4 for the request arrival rate at the previous scheduling time, and a risk coefficient of 2, the predicted variance of the current request arrival rate is 3.28, and the conservative upper bound for the request arrival rate is approximately 20.02 requests per second. This result indicates that the subsequent request inflow to the target professional service queue should be predicted based on a capacity of approximately 20.02 requests per second, rather than simply releasing backend requests based on the current average inflow rate of 18 requests per second. The resulting conservative upper bound for the request arrival rate and the predicted service completion rate will continue to be used for the next stage of candidate delivery slot selection and asynchronous time window delay calculation.
[0077] In step S522, based on the current queue congestion level, the upper bound of the conservative request arrival rate, and the predicted service completion rate, queue congestion is predicted for candidate delivery slots. The target queue congestion threshold is determined based on the capacity trigger threshold and routing priority weights. Then, the earliest available delivery slot is selected based on the predicted queue congestion of each candidate delivery slot. It should be noted that relying solely on the current queue congestion level for delivery judgment cannot reflect the continuous increase in the number of requests, the decrease in backend processing speed, and the competition for available capacity among different service priorities. Therefore, the technical solution of this application further predicts the queue congestion of candidate delivery slots based on the current queue congestion level, the upper bound of the conservative request arrival rate, and the predicted service completion rate. The target queue congestion threshold is determined based on the capacity trigger threshold and routing priority weights. Then, the earliest available delivery slot is selected based on the predicted queue congestion of each candidate delivery slot. Through the above processing, the delivery timing can be determined before the target professional service queue reaches an overload state, thus providing dynamic delay basis for concentrated inbound call scenarios such as food ordering, after-sales service, and complaints.
[0078] More specifically, in a specific example of this application, the current queue congestion level, the upper bound of the conservative request arrival rate, and the predicted service completion rate obtained from the previous processing stage are first read. The rated concurrent capacity threshold and the set of candidate delivery slots for the target professional service queue are also read. The set of candidate delivery slots is arranged in chronological order from the current scheduling time, with the slot numbers increasing from 0. The estimated number of active requests for the target professional service queue is calculated based on the current queue congestion level and the rated concurrent capacity threshold. To avoid decimals after conversion of the current congestion level, the calculation result is rounded up. The queue load for each candidate delivery slot is then calculated based on the estimated number of active requests, the upper bound of the conservative request arrival rate, and the predicted service completion rate. The calculation formula is as follows:
[0079] in, This represents the estimated number of active requests in the target professional service queue at the current moment. This indicates the current congestion level of the target professional service queue. This represents the rated concurrent capacity threshold of the target professional service queue. Indicates the number of times from the current moment. The predicted queue congestion level corresponding to each candidate delivery slot This indicates that a conservative approach, taking into account traffic fluctuations, has reached the upper bound of the rate. This indicates the predicted service completion rate at the current moment. Indicates the sequence number of the candidate delivery slot. This indicates the duration of a single candidate delivery slot. Denotes the positive part function, whose value is Larger values than 0 This indicates the rounding up operation. This indicates the operation of taking the smaller value. (Combined terms) This represents the predicted increase in requests per unit of time; a combination item. Indicates from the current moment to the [number]th [time]. The predicted net request increment for each candidate delivery slot, the positive part function is used to avoid the predicted number of active requests being less than 0, and the outer layer... The operation is used to limit the predicted queue congestion level to between 0 and 1. Higher than At that time, the predicted queue congestion increases as the candidate delivery slot is delayed. Below At that time, the predicted queue congestion decreases as the candidate delivery slot is delayed.
[0080] Subsequently, the route priority weights are read from the allocation parameter set and normalized according to a preset priority weight range. The normalization result is mapped to the adjustment range of the basic queue congestion threshold. Then, boundary constraints are applied using the minimum and maximum thresholds to obtain the target queue congestion threshold after priority adjustment. The calculation formula is as follows:
[0081] in, This represents the target queue congestion threshold after priority adjustment. This represents the minimum allowed target queue congestion threshold. This represents the maximum allowed target queue congestion threshold. This represents the basic queue congestion threshold for regular business operations. This indicates the adjustment range of the priority on the target queue congestion threshold. This represents the route priority weight extracted from the set of allocation parameters. and These represent the minimum and maximum values within the preset priority weight range, respectively. This represents a constant greater than 0 that is divided by zero. This indicates that the input value is restricted to... and Truncation operation between terms. Combined terms. This represents the normalized result of the dynamic routing priority weights within a preset priority weight range. The larger the normalized result, the closer the obtained target queue congestion threshold is to the target queue congestion threshold. This provides a higher available capacity range for high-priority services such as after-sales processing and order inquiries that do not require manual intervention.
[0082] Finally, the predicted queue congestion is retrieved from the candidate delivery slot set in ascending order of slot number. The first candidate delivery slot whose congestion is not higher than the target queue congestion threshold is determined as the earliest available delivery slot. When the predicted queue congestion for all candidate delivery slots is higher than the target queue congestion threshold, the preset maximum candidate delivery slot is determined as the minimum available delivery slot. The calculation formula is as follows:
[0083] in, This indicates the earliest available delivery slot number selected. This indicates the preset maximum candidate delivery slot number. Indicates the first The predicted queue congestion level corresponding to each candidate delivery slot This represents the target queue congestion threshold after priority adjustment, with the symbol... Indicates a membership relation, symbol Indicates that the condition is met, symbol Indicates less than or equal to, symbol This indicates the merging of sets. This indicates selecting the smallest index. (Combined item) This represents the set of candidate delivery slots whose predicted queue congestion does not exceed the target queue congestion threshold; add them to the set. This is used to provide the maximum waiting time slot as a backup result when none of the candidate delivery time slots meet the capacity condition.
[0084] For example, in a scenario where the after-sales hotline enters the mitigation phase at 2 PM, the current queue congestion level is 0.95, the conservative upper limit of the request arrival rate is 8 requests per second, the predicted service completion rate is 12 requests per second, the duration of a single candidate delivery slot is 5 seconds, and the target queue congestion threshold obtained after priority adjustment is 0.9. Based on the current queue congestion level and the rated concurrent capacity threshold, the estimated number of active requests is 760. The predicted queue congestion level for the 0th candidate delivery slot is 0.95, the predicted number of active requests for the 1st candidate delivery slot is 740, and the predicted queue congestion level is 0.925. The predicted number of active requests for the 2nd candidate delivery slot is 720, and the predicted queue congestion level is 0.9. Since the predicted queue congestion of the 0th and 1st candidate delivery slots is higher than the target queue congestion threshold, the 2nd candidate delivery slot is determined as the earliest available delivery slot, with a corresponding waiting time of 10 seconds. This allows order requests to bypass the current capacity pressure before entering the backend order processing queue. If a high-priority manual intervention request occurs at the same time, the subsequent asynchronous time window calculation will perform zero-latency processing based on the queue front-end insertion flag.
[0085] In step S523, the asynchronous time window delay constant is calculated based on the earliest deliverable time slot and the queue front-end insertion flag. A degradation flag is generated based on the predicted queue congestion corresponding to the earliest deliverable time slot. Then, the allocation parameter set, the asynchronous time window delay constant, and the degradation flag are associated and encapsulated to obtain the queuing delivery action instruction. It should be noted that, since calculating the delay based solely on the queue congestion at the current moment cannot reflect situations such as sudden increases in inbound calls, decreases in backend processing speed, and overload during the longest waiting time, the technical solution of this application further calculates the asynchronous time window delay constant based on the earliest deliverable time slot and the queue front-end insertion flag, generates a degradation flag based on the predicted queue congestion corresponding to the earliest deliverable time slot, and then associates and encapsulates the allocation parameter set, the asynchronous time window delay constant, and the degradation flag to obtain the queuing delivery action instruction. Through the above processing, it is possible to distinguish between security requests, deferred requests, and continuously overloaded requests, thereby effectively preventing ordinary requests from being released in a concentrated manner under overload conditions and preserving the priority access capability of manually backed-up requests.
[0086] More specifically, in a specific example of this application, the logical service node number, dynamic routing priority weight, and queue pre-queueing identifier corresponding to the target professional service queue are first read from the allocation parameter set. The earliest deliverable time slot number determined in the previous processing stage, the predicted queue congestion degree corresponding to the time slot, the target queue congestion degree threshold, the time length of a single candidate delivery time slot, and the maximum allowed delayed delivery duration are also read. Here, a queue pre-queueing identifier of 1 indicates that the current inbound call session needs to be accessed first, while a value of 0 indicates that the current inbound call session is delivered with a delay according to the predicted capacity status.
[0087] For high-priority requests with a queue front-end insertion flag of 1, the asynchronous time window delay constant is set to 0. For ordinary business requests with a queue front-end insertion flag of 0, the waiting time is calculated based on the earliest available delivery slot number and the duration of a single candidate delivery slot, and the waiting time is capped by the maximum allowed delayed delivery duration. The formula for calculating the asynchronous time window delay constant is as follows:
[0088] in, This represents the asynchronous time window delay constant. This indicates a flag indicating that the queue has been preempted. Indicates the maximum allowed delay in delivery. This indicates the earliest available delivery slot number selected. This indicates the duration of a single candidate delivery slot. This indicates that the operation takes the smaller value. This indicates the result of delay gating based on the queue front insertion flag. This indicates the estimated waiting time calculated based on the earliest available delivery slot. When it is 1, =0, Setting it to 0 allows high-risk complaints, calls with severe emotional fluctuations, and calls requiring manual backup to bypass the normal peak-shaving waiting process and enter the target professional service queue; when When it is 0, Pick and The smaller value in the range is used to prevent the waiting time for ordinary services from exceeding the preset limit.
[0089] Subsequently, the predicted queue congestion level corresponding to the earliest available delivery slot is compared with the target queue congestion threshold. When the queue pre-intervention flag is 0 and the predicted queue congestion level is higher than the target queue congestion threshold, the degradation flag is set to 1; otherwise, the degradation flag is set to 0. The degradation flag is calculated as follows:
[0090] in, Indicates a downgrade indicator. This indicates a flag indicating whether an item should be inserted at the front of the queue. 'I' represents an indicator function that takes the value 1 if the condition within the parentheses is true, and 0 otherwise. This indicates the predicted queue congestion level corresponding to the earliest available delivery slot. This represents the target queue congestion threshold after routing priority adjustment, 1- This indicates that security-related pre-requests will be downgraded and blocked. This occurs when the earliest deliverable time slot has reached the maximum of the preset candidate time slot set, and the corresponding predicted queue congestion level is still higher than the target queue congestion level threshold. A value of 1 indicates that a queue capacity sufficient for safe delivery has not been formed within the maximum allowed waiting time. In this case, subsequent delivery processes will execute delayed message retries, service degradation, or simply wait, based on the queuing delivery action instructions, to avoid a concentrated influx of ordinary requests calling the backend interface after the maximum waiting time has expired. For security-class requests of 1, even if the predicted queue congestion is higher than the target queue congestion threshold, It remains at 0 to ensure that manual intervention requests are not blocked by predictive capacity control.
[0091] After completing the delay calculation and degradation determination, the allocation parameter set, asynchronous time window delay constant, and degradation flag are associated and encapsulated according to a preset field structure to obtain the queuing delivery action instruction. The encapsulation relationship is as follows:
[0092] in, This indicates a queuing and delivery action instruction. This indicates an operation that encapsulates multiple scheduling and control data in a structured manner. This represents the set of assigned parameters. This represents the asynchronous time window delay constant. This indicates a degradation flag. The allocation parameter set is used to determine the target professional service queue, dynamic routing priority weight, and queue pre-queue status. The asynchronous time window delay constant is used to determine the hang time for inbound session requests. The degradation flag is used to determine whether to execute normal delivery, delayed retry, or degradation waiting after the longest wait. By encapsulating the above data into a single queuing delivery action instruction, subsequent processing executes backend slot allocation based on the same set of routing, delay, and degradation parameters, avoiding inconsistencies in delivery decisions caused by reading routing parameters and queue status separately.
[0093] Specifically, in a scenario where after-sales hotlines experience concentrated access during midday, the target professional service queue has a rated concurrent capacity threshold of 800, and the current queue congestion level is 0.95. The earliest available delivery slot number is determined through predictive calculations. The maximum allowed delivery delay is 2, the duration of a single candidate delivery slot (dt) is 5 seconds, and the maximum allowed delivery delay duration is 2. The queue time is 30 seconds, with a queue-jumping flag at the front. A value of 0 indicates the predicted queue congestion level corresponding to the earliest available delivery slot. The target queue congestion threshold is 0.9. The value is 0.9. Since the predicted queue congestion level is not higher than the target queue congestion threshold, a downgrade flag is displayed. The value is 0, the asynchronous time window delay constant is 10 seconds, forming a queuing delivery action instruction that includes after-sales service nodes, routing priority weights, 10-second delay parameters, and normal delivery status. If the predicted queue congestion is still 0.98 after all candidate delivery slots have expired, and the target queue congestion threshold is still 0.9, then... The largest candidate time slot number is selected, the asynchronous time window delay constant is limited to 30 seconds, and a degradation flag is set. If the value is 1, subsequent actions will follow the queuing and delivery instructions, either by delaying retry or downgrading the process. If an incoming call is determined to require manual intervention due to severe emotional fluctuations, If the value is 1, the asynchronous time window delay constant is 0, the degradation flag is 0, and the incoming call session directly enters the human service queue.
[0094] In step S53, based on the asynchronous queue scheduler, incoming call session requests are suspended according to the asynchronous time window delay constant, and backend call requests are released in batches to the target professional service queue according to the queuing delivery action instruction, generating backend queue allocation confirmation feedback. It should be noted that since multiple incoming call sessions in a high-concurrency hotline will generate backend call requests at similar times, direct synchronous delivery can easily cause the target professional service queue to exceed its capacity threshold. Therefore, the technical solution of this application further uses an asynchronous queue scheduler to suspend incoming call session requests according to the asynchronous time window delay constant, and releases backend call requests in batches to the target professional service queue according to the queuing delivery action instruction, generating backend queue allocation confirmation feedback. Through the above processing, the number of requests entering the target professional service queue per unit time can be controlled, thereby effectively reducing backend call peaks.
[0095] More specifically, in a specific example of this application, the processing generally follows the order of asynchronous task registration, expiring task retrieval, capacity verification, batch delivery, and feedback generation. First, the logical service node number, routing priority weight, queue-jumping judgment result, asynchronous time window delay constant, and delivery action type in the queuing delivery action instruction are parsed. The incoming call session identifier, target professional service queue identifier, and the above parameters are associated and registered in the asynchronous waiting queue, and the planned delivery time is determined based on the request arrival time and the asynchronous time window delay constant. For incoming call session requests with an asynchronous time window delay constant greater than 0, their backend call tasks are paused using a non-blocking timed method, maintaining the voice connection and session state during the waiting period without occupying backend service threads; for incoming call session requests with an asynchronous time window delay constant of 0, they directly enter the task set to be delivered. After reaching the planned delivery time, tasks pointing to the same target professional service queue are retrieved and arranged in order of high security priority first, then regular security priority, and tasks of the same priority are further arranged according to the request arrival time. Subsequently, the current load and capacity threshold of the target professional service queue are reread, and the release quantity for this batch is determined based on the number of undelivered requests and remaining capacity. The calculation formula is as follows:
[0096] Where m represents the number of requests released in this batch, q represents the number of backend call requests that have not yet been released in the current set of tasks to be delivered, k represents the capacity threshold of the target professional service queue, n represents the current load before executing this batch delivery, min represents the smaller value, max represents the larger value, and the combined term kn represents the remaining capacity of the target professional service queue at the current moment. When the capacity threshold of the after-sales service queue is 800, the current load is 760, and the number of backend call requests that have not yet been released is 100, 40 backend call requests are released in this batch. After the delivery of this batch is completed, the occupied capacity is atomically recorded. When 25 of these requests are processed and the capacity is released, another 25 requests are released from the remaining 60 requests. If the current load reaches the capacity threshold, the number of requests released in this batch is 0, the unreleased requests are kept in the asynchronous waiting queue, and the capacity is re-verified at the next scheduling moment. After each batch of deliveries is completed, based on the reception result returned by the target professional service queue, the incoming call session identifier, target professional service queue identifier, queue sequence number, released quantity, remaining waiting quantity, allocation status, and feedback time are associated and encapsulated to generate a backend queue allocation confirmation feedback. For duplicate incoming call session requests, idempotency verification is performed based on the incoming call session identifier to avoid duplicate occupation of queue capacity. This backend queue allocation confirmation feedback indicates that the incoming call session has been received by the target professional service queue or has entered the waiting release state, but does not indicate that the corresponding business request has been processed.
[0097] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the application to the necessity of employing the aforementioned specific details for implementation.
[0098] The block diagrams of devices, apparatuses, devices, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Words such as “comprising,” “including,” “having,” etc., are open-ended terms meaning “including but not limited to,” and are used interchangeably with them. The terms “or” and “and” as used herein refer to the terms “and / or,” and are used interchangeably with them unless the context clearly indicates otherwise. The term “such as” as used herein refers to the phrase “such as but not limited to,” and is used interchangeably with it.
[0099] It should also be noted that in the apparatus, equipment, and methods of this application, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of this application.
[0100] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this application. Therefore, this application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0101] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A method for providing a voice model hotline navigation service in high-concurrency scenarios, characterized in that, include: S1, perform streaming semantic representation on the incoming voice stream, and continuously construct and update the conversation state representation containing the semantic features of the current utterance and cross-turn contextual association features by combining the current utterance and at least part of the historical context. S2, based on the long context modeling, instruction following and generative semantic reasoning capabilities of the large language model, combined with the business knowledge and service node descriptions obtained through retrieval enhancement, performs open intent recognition and semantic disambiguation on the session state representation, and generates a structured decision result containing at least one candidate intent and its confidence representation, key entities, semantic basis, risk identifier and service path parameters according to a predefined structured output mode. S3. Based on the confidence distribution of candidate intents, the confidence interval between the preferred candidate intent and the second-best candidate intent, the consistency of retrieval evidence, and the completeness of key slots in the structured decision results, a semantic uncertainty metric is calculated. Based on the semantic uncertainty metric, the risk identifier, and the completeness of key slots, a handling strategy of direct execution, further clarification, or manual intervention is determined. The consistency of retrieval evidence refers to extracting the highest-ranking evidence item from the retrieval results generated by retrieval enhancement and calculating the semantic similarity between this evidence item and the preferred candidate intent. The handling strategy of direct execution refers to selecting the candidate intent with the highest confidence and its service path parameters as the basis for execution. S4, based on the service path parameters in the handling strategy and structured decision results, performs service node matching and service path execution through tool invocation or dynamic service orchestration, and updates the session state representation according to the tool return value.
2. The voice model hotline navigation service method for high-concurrency scenarios according to claim 1, characterized in that, Also includes: S5. In high-concurrency scenarios, based on the asynchronous queue scheduler, requests are pre-allocated according to the service path execution results generated in step S4 and the real-time load of each professional service queue. Incoming calls are connected to the target professional service queue, and backend call requests are released in batches according to the capacity threshold of the target professional service queue.
3. The voice model hotline navigation service method for high-concurrency scenarios according to claim 1, characterized in that, Step S1 includes: Based on frame timestamps and call round identifiers, the incoming voice stream is time-aligned, and identity index retrieval is performed based on the de-identified numbers in the caller identity data to obtain the aligned voice frame sequence and historical service attribute vector. Acoustic semantic extraction is performed on aligned speech frame sequences based on streaming speech coding to obtain a conversation semantic feature matrix, and a hotline historical profile vector is obtained by nonlinear mapping of historical service attribute vectors. The conversation semantic feature matrix and the hotline historical profile vector are dimensionally aligned and adaptively weighted to obtain a weighted result, and the weighted result is encapsulated to obtain a conversation state representation.
4. The voice model hotline navigation service method for high-concurrency scenarios according to claim 1, characterized in that, The incoming voice stream includes voice sampling frames, frame timestamps, and call round identifiers; the large language model is a large language model fine-tuned from the hotline scenario corpus. During the inference process, it uses key-value caching to reuse intermediate representations of the processed context to achieve incremental inference.
5. The voice model hotline navigation service method for high-concurrency scenarios according to claim 4, characterized in that, Step S2 includes: Based on the large language model, long context modeling and incremental semantic representation update are performed on the conversation state representation. The intermediate representation of the processed context is reused by key-value caching to obtain the conversation state representation that integrates cross-round context. Based on the search query related to the current candidate intent, business rules, service node descriptions and historical cases are retrieved from the business knowledge base as external evidence. The external evidence is then combined with the session state representation to form an enhanced context. Based on the instruction following and generative semantic reasoning capabilities of the large language model, open intent inference is performed on the enhanced context to identify explicit intent, implicit appeal, compound intent and intent transfer. Structured decision results are generated according to the predefined structured output pattern. The structured decision results include at least one candidate intent identifier, confidence representation of each candidate intent, key entities, semantic basis, risk identifier and service path parameters.
6. The voice model hotline navigation service method for high-concurrency scenarios according to claim 5, characterized in that, Step S3 includes: When the semantic uncertainty measure is lower than the preset reliability threshold, the handling strategy is to execute directly; when the semantic uncertainty measure is higher than the preset reliability threshold and the key slots are incomplete, the handling strategy is to continue clarification, with the large language model generating targeted clarification questions and updating the session state representation and posterior intent distribution based on the user's subsequent answers; when the risk indicator is triggered or the semantic uncertainty continues to exceed the preset upper limit, the handling strategy is to intervene manually. The selected candidate intents, handling strategies, and service path parameters are associated and encapsulated to obtain navigation decision results.
7. The voice model hotline navigation service method for high-concurrency scenarios according to claim 6, characterized in that, Step S4 includes: Based on the service path parameters in the navigation decision results, determine the target service node or business tool that needs to be called, and construct the tool call request; Execute the tool call and obtain the tool return value. The tool includes at least one of the following: business system query interface, work order creation interface, knowledge base retrieval interface or human agent transfer interface. The tool's return value determines whether the service path has been completed. If not, the tool's return value is injected into the session state representation and the process returns to step S2 to continue intent reasoning and service decision-making. If completed, a service execution confirmation result is generated.
8. The voice model hotline navigation service method for high-concurrency scenarios according to claim 2, characterized in that, Step S5 includes: The service queue routing instructions and the real-time load of each professional service queue are parsed and the capacity ratio is calculated to obtain the set of allocation parameters and the queue congestion level at the current time. Based on the capacity trigger threshold and routing priority weight, the allocation parameter set and the current queue congestion are segmented and delayed, and the action is encapsulated to obtain the asynchronous time window delay constant and the queuing delivery action instruction. Based on the asynchronous queue scheduler, the incoming call session request is suspended according to the asynchronous time window delay constant, and the backend call request is released to the target professional service queue in batches according to the queuing delivery action instruction, generating backend queue allocation confirmation feedback.
9. The voice model hotline navigation service method for high-concurrency scenarios according to claim 8, characterized in that, Based on the capacity trigger threshold and routing priority weight, segmented delay calculations and action encapsulation are performed on the allocation parameter set and the current queue congestion level to obtain the asynchronous time window delay constant and queuing delivery action instructions, including: Based on the queue state sampling sequence of the target professional service queue, the current request arrival rate and the current service completion rate are calculated. The current request arrival rate and the current service completion rate are then predicted by exponential sliding. Finally, the upper bound of fluctuation is corrected based on the prediction deviation of the request arrival rate to obtain the conservative upper bound of the request arrival rate and the predicted service completion rate. Based on the current queue congestion level, the upper bound of the conservative request arrival rate, and the predicted service completion rate, the queue congestion level of the preset candidate delivery time slots is predicted. The target queue congestion level threshold is determined based on the capacity trigger threshold and the routing priority weight. Then, the earliest available delivery time slot is selected according to the predicted queue congestion level of each candidate delivery time slot. The asynchronous time window delay constant is calculated based on the earliest deliverable time slot and the queue front insertion identifier. A degradation identifier is generated based on the predicted queue congestion corresponding to the earliest deliverable time slot. The allocation parameter set, the asynchronous time window delay constant and the degradation identifier are then associated and encapsulated to obtain the queuing delivery action instruction.
10. The voice model hotline navigation service method for high-concurrency scenarios according to claim 3, characterized in that, The conversation semantic feature matrix and the hotline historical profile vector are dimensionally aligned and adaptively weighted to obtain a weighted result, which is then encapsulated to obtain a conversation state representation, including: Based on the feature dimension of the conversation semantic feature matrix and the number of voice frames, the hotline historical profile vector is linearly projected and copied along the voice frame dimension to obtain the aligned profile matrix. The conversation semantic feature matrix and the aligned profile matrix are concatenated by feature dimensions and gating mapping is performed to obtain an adaptive gating weight matrix; Based on the adaptive gating weight matrix, the conversation semantic feature matrix and the aligned profile matrix are weighted element by element to obtain the weighted result. The weighted result, the conversation semantic feature matrix and the hotline historical profile vector are associated and encapsulated according to the preset field order to obtain the conversation state representation.
Citation Information
Patent Citations
Intelligent airport data processing method and device and electronic equipment
CN121031646A
Method and system for realizing multi-round questions and answers under security consultation based on large model
CN121365726A
