Operation request response method, apparatus, device, and medium

By obtaining user region configuration information to generate context and performing localization processing, the problem of inaccurate responses in cross-border team collaborations is solved, improving cross-regional collaboration efficiency and user experience consistency.

CN122367410APending Publication Date: 2026-07-10SHENZHEN COOCAA NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610287737.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-10
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

In existing technologies, when cross-border teams collaborate, system operation and information exchange suffer from problems such as language barriers, time zone confusion, inconsistent units of measurement, and varying compliance requirements. This results in poor response accuracy and user experience, and the localization process is fragmented and inaccurate, increasing the burden on users.

Method used

By responding to user operation requests, candidate response information is determined, user region configuration information is obtained, context information is generated, and localization processing is performed based on the context information to generate target response information, including language, time, unit, and compliance adaptation.

Benefits of technology

It has improved the efficiency of cross-regional collaboration and ensured consistency in user experience, guaranteeing that the response content is accurately adapted to regional language habits, cultural context and compliance requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122367410A_ABST
    Figure CN122367410A_ABST
Patent Text Reader

Abstract

The application discloses an operation request response method, device, equipment and medium, the method comprises the following steps: in response to the operation request of a user, candidate response information is determined; based on the candidate response information, the region configuration information of the user is acquired; based on the region configuration information, the context information of the user is generated; based on the context information, the candidate response information is localized; based on the result of the localization, target response information is generated. Through the region configuration information, the context information for the region where the user is located is constructed, and then the candidate response information is localized, so that the response content accurately adapts to the regional language habits, cultural context and compliance requirements, etc., significantly improving the cross-regional collaboration efficiency and user experience consistency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to an operation request response method, apparatus, device, and medium. Background Technology

[0002] With the deepening of economic globalization, more and more companies have established multinational teams distributed around the world, and cross-regional team collaboration has become the norm in business operations. During collaborative work, multinational teams face multiple challenges in system operation and information exchange due to differences in regional characteristics across countries and regions. Issues such as language barriers, time zone discrepancies, inconsistent units of measurement, and varying compliance requirements continuously constrain response accuracy and user experience. Existing technologies typically treat localization adaptation as a passive response, such as only providing language pack replacement and manual time zone setting functions, without forming a unified system-level localization processing framework, thus increasing the user's burden. Therefore, there is an urgent need for a response mechanism that can automatically achieve multi-dimensional regional adaptation. Summary of the Invention

[0003] This invention provides an operation request response method, apparatus, device, and medium to solve the problems of fragmented localization processing, inaccurate adaptation, and cumbersome operation in related technologies.

[0004] In a first aspect, the present invention provides an operation request response method, comprising: In response to a user's action request, determine candidate response information; Based on the candidate response information, obtain the user's region configuration information; Generate user context information based on region configuration information; Based on contextual information, candidate response information is localized. Based on the results of localization processing, target response information is generated.

[0005] In some embodiments, based on candidate response information, the user's region configuration information is obtained, including: Keyword identification is performed on candidate response information to extract semantic keywords from the candidate response information; Based on semantic keywords, determine whether candidate response information has localization attributes; When the candidate response information has localization attributes, the operation request is parsed to obtain the user's client configuration information and / or preset region configuration information; Based on client configuration information and / or preset regional configuration information, determine the regional configuration information.

[0006] In some embodiments, user context information is generated based on region configuration information, including: Semantic parsing is performed on candidate response information to extract corresponding regional feature information; By comparing regional configuration information and regional characteristic information, regional differences in candidate response information are identified. Context information is generated based on regional configuration information and regional difference information.

[0007] In some embodiments, context information is generated based on region configuration information and region difference information, including: Based on regional difference information, the corresponding difference configuration information is determined from the regional configuration information; The differential configuration information is structured to generate context information.

[0008] In some embodiments, candidate response information is localized based on context information to generate target response information, including: Identify the information types of regional differences in candidate response information; Based on contextual information and information type, regional difference information is replaced with localized information to generate target response information.

[0009] In some embodiments, localization processing of regional difference information is performed based on contextual information and information type, including: When the information type is language, the language configuration information in the context information is used to replace the regional difference information with a pre-set language resource library. When the information type is time-based, the regional difference information is converted to time based on the time zone configuration information in the context information and using the preset time zone conversion logic. When the information type is a unit type, the regional difference information is converted into units based on the unit configuration information in the context information, using the unit conversion information and / or real-time exchange rate information. When the information type is a policy type, the policy rule information in the context information is used to adapt the regional difference information for compliance.

[0010] In some embodiments, target response information is generated based on the results of localization processing, including: Perform integrity verification on the results of localization processing to obtain the integrity verification results; When the integrity verification result is successful, the target response information is generated based on the result of localization processing and candidate response information. When the integrity verification result is that the verification fails, based on the integrity verification result, the missing information items in the regional difference information that have not been localized are identified, and the missing information items are localized again.

[0011] Secondly, this disclosure provides an operation request response apparatus, comprising: The candidate information determination module is used to determine candidate response information in response to user operation requests; The configuration information acquisition module is used to acquire the user's regional configuration information based on the candidate response information; The context generation module is used to generate user context information based on region configuration information; The localization processing module is used to perform localization processing on candidate response information based on context information; The response module is used to generate target response information based on the results of localization processing.

[0012] Thirdly, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described operation request response method.

[0013] Fourthly, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described operation request response method.

[0014] The solution implemented by the above-mentioned operation request response method, apparatus, device, and medium includes the following steps: responding to a user's operation request, determining candidate response information; obtaining the user's regional configuration information based on the candidate response information; generating the user's context information based on the regional configuration information; performing localization processing on the candidate response information based on the context information; and generating target response information based on the result of the localization processing. This method constructs context information specific to the user's region through regional configuration information, and then performs localization processing on the candidate response information, ensuring that the response content accurately adapts to regional language habits, cultural context, and compliance requirements, significantly improving cross-regional collaboration efficiency and user experience consistency. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a flowchart of an operation request and response method according to an embodiment of the present invention; Figure 2 This is a flowchart of an operation request and response method according to an embodiment of the present invention; Figure 3This is a flowchart of an operation request and response method according to an embodiment of the present invention; Figure 4 This is a flowchart of an operation request and response method according to an embodiment of the present invention; Figure 5 This is a flowchart of an operation request and response method according to an embodiment of the present invention; Figure 6 This is a schematic block diagram of an operation request response device according to an embodiment of the present invention; Figure 7 This is a schematic block diagram of a computer device according to an embodiment of the present invention. Detailed Implementation

[0017] In one embodiment, such as Figure 1 As shown, an operation request and response method is provided, including: S101, in response to the user's operation request, determine the candidate response information; S102, Based on the candidate response information, obtain the user's region configuration information; S103, Generate user context information based on region configuration information; S104, Based on context information, perform localization processing on candidate response information; S105, Based on the results of localization processing, generate target response information.

[0018] As an example, in step S101, the user can initiate an operation request through the client interface. This operation request could be, for example, data query, file retrieval, system login, or system initialization; this disclosure does not limit the scope of the request. Upon receiving the operation request, the operating system can parse it to determine the requested business type, data retrieval requirements, and response logic. Then, based on the parsing results, it retrieves the corresponding raw business data from the corresponding data storage layer, integrates it according to a pre-defined unified data format to form raw response information, and identifies this raw response information as candidate response information. It should be understood that the entity executing this method can be the client's built-in operating system, a localized module, or a cloud-deployed intelligent response node; this disclosure does not limit the scope of the request.

[0019] Among them, the candidate response information is the original information that has not undergone localization processing, and the candidate response information contains all the original content required to complete the business response, and is the basic data carrier for subsequent localization processing.

[0020] For example, if a user initiates a query request for the cost of a multinational project, the operating system retrieves the original cost amount, the time when the expense occurred, the region where the project was executed, and other data from the data storage layer, and integrates them to form candidate response information (i.e., the original information without unit, time, etc. adaptation).

[0021] As an example, in step S102, the region configuration information corresponding to the candidate response information can be extracted from the user's profile or preset configuration library based on the candidate response information.

[0022] The regional configuration information is used to indicate the user's geographical location or user preferences, such as language preferences, time zone settings, currency units, and date formats that match the user's region, so as to provide a basis for subsequent localization processing.

[0023] In one embodiment, the regional configuration information associated with all candidate response information can be directly obtained, or the candidate response information can be parsed to extract semantic keywords with localization attributes, and the corresponding regional configuration information can be determined based on the semantic features of the keywords (i.e., only the regional configuration information corresponding to a portion of the candidate response information is obtained), thereby improving the accuracy and efficiency of localization processing. The localization attributes refer to the elements in the candidate response information that need to be localized, such as currency units, time formats, units of measurement, or legal compliance clauses.

[0024] In other words, candidate response information may contain information that requires localization, or it may contain information that does not require localization, such as general information like system status codes, technical parameters, or logical identifiers, or information that is consistent with local configuration requirements. Therefore, semantic recognition can be performed on candidate response information to accurately distinguish between information that requires localization (i.e., information with localization attributes) and information that does not require localization, thereby avoiding redundant processing and improving the efficiency of localization processing.

[0025] For example, when the candidate response information contains multiple currency units, the currency preference configuration of the user's region can be directly obtained and identified as the region configuration information. When the candidate response information contains multiple information such as time and currency, the candidate response information can be parsed and identified to determine the specific type of information that needs to be localized. For example, if only time needs to be localized, only the time-related preference configuration (such as time zone) can be extracted and identified as the region configuration information, while ignoring the currency unit preference configuration. This achieves accurate adaptation on demand, reducing computational overhead and response latency.

[0026] As an example, in step S103, context information adapted to the current operation request can be generated for the user based on the acquired regional configuration information and the content characteristics of the candidate response information. This context information can be constructed according to a preset standardized format, so that it can be directly read and called during subsequent localization processing.

[0027] The context information is a localized processing configuration specifically generated for this operation request. Its content matches the regional configuration information of the candidate response information and may include various rules, parameters and other related information required to achieve localization adaptation, which is used to guide the accurate processing of the candidate response information in the future.

[0028] In one embodiment, the regional configuration information can be first structured and broken down into independent configuration units based on different dimensions of regional configuration information. Then, based on the content types that need to be localized in the candidate response information, the matching configuration units can be selected and integrated into the corresponding context information. Alternatively, the complete regional configuration information can be directly converted into a format to form context information that can be recognized by the processing module, so as to adapt to different localization processing scenario requirements.

[0029] In other words, context information can include structured and encapsulated regional configuration information, which is used to indicate the localization rules and processing methods for candidate response information.

[0030] For example, when the candidate response information only needs time-related localization processing, information is extracted and structured based on the time zone, calendar format, etc. in the regional configuration information to generate context information containing time zone conversion logic and calendar rules; when the candidate response information needs to be localized in multiple dimensions such as language, currency, and time, multiple dimensions such as language preference, currency unit, and time zone settings in the regional configuration information can be integrated to generate context information containing full adaptation rules, which can be retrieved by different localization processing modules respectively.

[0031] As an example, in step S104, the generated context information can be used as a unified processing basis to perform corresponding adaptation and adjustment operations on the content in the candidate response information that requires localization, thereby completing the localization processing of the candidate response information. During the processing, only the content in the candidate response information related to localization requirements is adjusted, without changing the core business logic and general data content carried by the candidate response information.

[0032] In one embodiment, candidate response information can be localized according to the configuration dimensions in the context information. The processing operations of different dimensions can be executed in parallel according to the preset resource conditions, or they can be executed sequentially according to the preset business priority. Alternatively, the candidate response information can be split into content first, and all content fragments that need to be localized can be extracted and adapted separately. After the processing is completed, the adapted content fragments can be embedded back into the original information to ensure the overall structural integrity of the candidate response information.

[0033] For example, when the context information contains a Simplified Chinese language configuration and an East 8 time zone configuration, the English business description in the candidate response information is converted to a different language, and the task deadline stored in Coordinated Universal Time (UTC) in the candidate response information is converted to a different time zone to obtain a local time that conforms to East 8, thereby achieving localized processing of the candidate response information.

[0034] As an example, in step S105, target response information can be formed based on the localization processing results of the candidate response information. This target response information is the information requested in response to the user's current operation request and can be directly pushed to the user's client interface for display. During the integration process, the localized parts of the candidate response information can be spliced, merged, and verified with the data that has not undergone localization processing, thereby ensuring that the target response information conforms to the expression habits and business specifications of the user's region in terms of semantics, format, and logic.

[0035] The target response information includes all the core business content of the candidate response information, and also makes the relevant content conform to the usage requirements of the user's region in terms of language, time zone, currency, etc. It is the response data after localization adaptation.

[0036] In one embodiment, the completeness and accuracy of the localization processing results can be verified first. After confirming that all content requiring localization has been localized and the processing results are correct, the processed content can be integrated with the content in the candidate response information that does not require localization. Alternatively, the localized content can be directly integrated with the content in the candidate response information that does not require localization, and then the integrated overall information can be verified using the system's preset verification rules. If adaptation errors or omissions are found, the relevant content can be corrected again to ensure the validity of the target response information.

[0037] In other words, the target response information is composed of the result of localization processing and the part of the candidate response information that did not participate in localization processing.

[0038] For example, when the candidate response information includes the US dollar cost amount of the multinational project, the UTC time of the expense, the English project description and the project execution region, the localized currency amount, the local time in East Eight Zone, the simplified Chinese project description, and the project execution region information that does not need to be localized are integrated to form the target response information.

[0039] In summary, this disclosure proposes an operation request response method, including responding to a user's operation request and determining candidate response information; obtaining the user's regional configuration information based on the candidate response information; generating the user's context information based on the regional configuration information; performing localization processing on the candidate response information based on the context information; and generating target response information based on the result of the localization processing. This method constructs context information specific to the user's region through regional configuration information, and then performs localization processing on the candidate response information, ensuring that the response content accurately adapts to regional language habits, cultural context, and compliance requirements, significantly improving cross-regional collaboration efficiency and user experience consistency.

[0040] In one embodiment, such as Figure 2 As shown, step S102, which involves obtaining the user's region configuration information based on the candidate response information, includes: S201, perform keyword identification on candidate response information and extract semantic keywords from candidate response information; S202, based on semantic keywords, determine whether the candidate response information has localization attributes; S203, when the candidate response information has localization attributes, the operation request is parsed to obtain the user's client configuration information and / or preset regional configuration information; S204, determine the regional configuration information based on the client configuration information and / or the preset regional configuration information.

[0041] As an example, in step S201, semantic recognition algorithms can be used to perform feature recognition and word segmentation on the information content of candidate response information, so as to extract semantic keywords that can represent regional related attributes and may have localization processing needs from the candidate response information.

[0042] Among them, semantic keywords refer to the feature words contained in the candidate response information. They can cover various words related to language, time, currency, units of measurement, regional compliance strategies, etc. Moreover, there is no fixed number or type of semantic keywords, and they change dynamically with the content characteristics of the candidate response information.

[0043] As an example, in step S202, semantic keywords can be analyzed to determine whether they are associated with localization-related dimensional features, such as language expression, time format, currency unit, measurement standard or regional compliance clauses.

[0044] Specifically, the extracted semantic keywords can be matched using a preset localized attribute lexicon. If the keyword belongs to a localized related term in the lexicon (such as "dollar", "UTC time", "imperial units", etc.), the corresponding candidate response information is determined to have localized attributes. If no related term is matched, it is determined that it does not have localized attributes and no further localization processing steps are required.

[0045] It should be understood that candidate response information may have some localization attributes, all localization attributes, or none of them. This disclosure does not limit this; it depends on the specific attributes of the semantic keywords contained in the candidate response information.

[0046] As an example, in step S203, when it is determined that the candidate response information has localization attributes (i.e., when there are semantic keywords in the candidate response information that can be localized), the operation request can be structured and parsed to extract information such as the user identifier, metadata of the client device (such as operating system locale settings and time zone parameters), and IP address of the request source contained in the request.

[0047] Among them, the user identifier can be used to associate the user's personal configuration library to obtain their preset preferences such as language and currency; the client metadata can directly reflect the local configuration of the user's current device; the IP address can help determine the geographical region where the user is located, and then match the corresponding preset regional configuration (such as regional compliance rules, common units of measurement, etc.), thereby realizing the acquisition of client configuration information and / or preset regional configuration information.

[0048] As an example, in step S204, priority determination and fusion processing can be performed on the client configuration information and the preset regional configuration information: if the client configuration information clearly includes the user's self-set localization preferences (such as the language being English and the currency being US dollars), then the client configuration information is given priority as the regional configuration information; if the client configuration information is missing (such as only containing time zone settings and not specifying the currency), then it is supplemented by the preset regional configuration information (such as the common currency unit of the user's IP region being Hong Kong dollars) to form complete regional configuration information; if the client does not provide any valid configuration information, then the preset regional configuration information based on the user's IP address (such as the official language, local time zone, and legal currency unit of the user's location) is directly used as the regional configuration information.

[0049] For example, when a user initiates an operation request through a client without personalized configuration and their IP address shows that they are located in Japan, information such as Japanese language, Japanese Standard Time (JST) time zone, and Japanese yen currency unit can be integrated into regional configuration information to provide a basis for subsequent localization processing.

[0050] In one embodiment, such as Figure 3 As shown, step S103, which generates user context information based on region configuration information, includes: S301, Semantic parsing of candidate response information to extract corresponding regional feature information; S302, compare regional configuration information and regional characteristic information to determine regional difference information in candidate response information; S303 generates context information based on regional configuration information and regional difference information.

[0051] As an example, in step S301, the Named Entity Recognition (NER) algorithm or the Semantic Role Labeling (SRL) method in natural language processing can be used to perform structured parsing of the text content of the candidate response information, identify and extract feature information related to regional attributes.

[0052] Among them, regional characteristic information can cover multiple dimensions such as language type, time zone identification, currency unit, date and time format, and measurement standard.

[0053] For example, if a candidate response contains the statement "The meeting at 14:00 London local time on March 15, 2024 will be settled in pounds sterling," then semantic parsing can extract the regional characteristics: the time zone is Greenwich Mean Time (GMT), the date format is day / month / year, and the currency unit is pounds sterling. Furthermore, for candidate response information containing multi-dimensional regional characteristics, each dimension needs to be extracted, categorized, and stored independently for accurate comparison with subsequent regional configuration information.

[0054] As an example, in step S302, the parameters of each dimension in the regional configuration information (such as language type, time zone identifier, currency unit, date format, etc.) can be matched and compared with the regional feature information extracted in step S301 dimension by dimension. For each dimension, if there is a numerical or formatal inconsistency between the regional feature information and the regional configuration information, the dimension is marked as regional difference information.

[0055] For example, if the time zone in the regional configuration information is East 8 (GMT+8), while the time zone in the regional feature information is Greenwich Mean Time (GMT), then the time zone dimension is a difference item, and the difference information is "Greenwich Mean Time". Similarly, if the currency unit in the regional configuration information is Japanese Yen, while the currency unit in the regional feature information is British Pound, then the currency dimension is a difference item, and the difference information is "British Pound". Furthermore, for dimensions included in the regional configuration information but not explicitly reflected in the regional feature information (such as regional compliance requirements or unit of measurement standards), if this dimension is necessary for the localization adaptation of the candidate response information, it should be marked as a potential difference item to ensure that subsequent processing covers all relevant localization needs. Through the above comparison process, the specific dimensions and content in the candidate response information that require localization adjustments can be accurately identified, providing a clear basis for adjusting subsequent contextual information generation.

[0056] As an example, in step S303, regional difference information can be mapped and associated with corresponding regional configuration information, specific processing rules and target parameters can be generated for each difference dimension, and these rules and parameters can be structurally encapsulated to form context information that can be directly parsed by the localization processing module.

[0057] Specifically, based on regional difference information, the corresponding difference configuration information can be determined from the regional configuration information; the difference configuration information can be structured to generate context information.

[0058] In other words, the context information should include key fields such as the name of the difference dimension, the original value, the target value, the conversion logic, and the applicable scenarios, so as to ensure that the localization processing module can accurately perform operations such as time zone conversion, currency conversion, and date format rearrangement.

[0059] In one embodiment, the context information needs to clearly define the adjustment direction, conversion logic, and verification criteria for each difference dimension. For example, for time zone differences, the conversion formula between the original time zone and the target time zone needs to be specified; for currency differences, the exchange rate acquisition channel (such as real-time financial interface) and rounding rules need to be specified; for date format differences, a format conversion template needs to be defined (such as converting from "day / month / year" to "year / month / day").

[0060] In addition, contextual information can also include generic content identifiers in candidate response information that do not require adjustment, avoiding erroneous operations on non-differentiated parts during localization and ensuring the accuracy and efficiency of localization.

[0061] In one embodiment, such as Figure 4 As shown, step S104, which involves localizing the candidate response information based on context information to generate the target response information, includes: S401, Identify the information type of regional difference information in candidate response information; S402, based on contextual information and information type, performs localized replacement of regional difference information to generate target response information.

[0062] As an example, in step S401, information can be categorized into language, time, currency, unit of measurement, and compliance types based on the characteristics of regional differences.

[0063] For example, if the regional difference information is "English business description," then its information type belongs to the language category; if the difference information is "UTC time," then it belongs to the time category; if the difference information is "USD amount," then it belongs to the currency category; if the difference information is "imperial unit of length (feet)," then it belongs to the measurement category; and if the difference information is "user data display method that does not comply with EU GDPR compliance provisions," then it belongs to the compliance category. Accurate identification of information types provides a clear basis for subsequently selecting appropriate localization processing logic, ensuring that different types of difference information are processed in a targeted manner.

[0064] As an example, in step S402, the localized processing logic of the corresponding type can be invoked according to the identified information type, and the replacement can be performed based on the obtained context information to generate the target response information.

[0065] Specifically, when the information type is language, the language configuration information in the context information is used to replace the regional difference information with a pre-set language resource library. When the information type is time-based, the regional difference information is converted to time based on the time zone configuration information in the context information and using the preset time zone conversion logic. When the information type is a unit type, the regional difference information is converted into units based on the unit configuration information in the context information, using the unit conversion information and / or real-time exchange rate information. When the information type is a policy type, the policy rule information in the context information is used to adapt the regional difference information for compliance.

[0066] In other words, for language-related difference information, a pre-defined multilingual translation model or terminology database can be used to convert non-target language content in the candidate response information into the language specified in the language configuration information, ensuring the accuracy and professionalism of the translation (for example, if the non-target language is English and the language specified in the region configuration information is Chinese, the English in the candidate response information can be converted into Chinese). For time-related difference information, based on the time zone conversion rules and date format template in the context information (i.e., the aforementioned time zone configuration information), the original time data (such as UTC timestamps) is converted into the local time of the target time zone and formatted according to the date and time format configured in the region. For currency-related discrepancies, the latest exchange rate data is obtained through a real-time exchange rate interface. The original currency amount is converted to the target currency unit in the unit configuration information, retaining decimal places consistent with regional conventions. For unit of measurement discrepancies, the original units (e.g., feet, pounds) are converted to commonly used local units (e.g., meters, kilograms) in the unit configuration information according to the regional unit of measurement standards, and the values ​​are updated synchronously (e.g., converting 5 feet to 1.52 meters). For compliance-related discrepancies, the data display method in the candidate response information is adjusted according to the compliance requirements in the policy rules information, such as hiding sensitive personal information fields and adding compliance statement text. After the replacement is completed, the integrity of the processing results for each type of discrepancy information can be verified to ensure that the converted content meets the requirements of the target region in terms of format, value, and compliance, ultimately generating complete and accurate target response information.

[0067] In one embodiment, such as Figure 5 As shown, step S105, which generates target response information based on the result of localization processing, includes: S501, Perform integrity verification on the result of localization processing, and obtain the integrity verification result; S502, when the integrity verification result is that the verification is successful, the target response information is generated based on the result of localization processing and the candidate response information; S503, when the integrity verification result is that the verification fails, based on the integrity verification result, determine the missing information items in the regional difference information that have not been localized, and perform localization processing on the missing information items again.

[0068] As an example, in step S501, the completeness of the localization processing results can be verified from multiple dimensions: for example, comparing the list of regional differences before and after localization processing to confirm whether all marked differences (such as language, time zone, currency, etc.) have been converted; checking whether the format of the converted content is consistent with the preset template in the regional configuration information, such as whether the date format conforms to the target region's "year / month / day" or "day / month / year" specification, and whether the currency symbol is in the correct position of the amount value (such as the RMB symbol "¥" being placed before the USD symbol "$"); verifying the accuracy of numerical conversion results, such as checking whether the exchange rate of currency conversion is correct by reverse calculation, and whether the unit conversion formula of measurement conversion is applied correctly (such as 1 foot = 0.3048 meters, and the numerical error after conversion must be controlled within the allowable range); for compliance-related differences, verifying whether the processed content meets the compliance requirements of the target region, such as whether sensitive personal data fields stipulated by the EU GDPR have been hidden, and whether disclaimers required by local laws and regulations have been added.

[0069] During the integrity verification process, the above verification logic can be automatically executed through a preset rule engine, and an integrity verification report containing verification items, results and exception descriptions can be generated as the basis for judgment in subsequent steps.

[0070] As an example, in step S502, when the integrity verification result is successful, target response information is generated based on the localization processing result and candidate response information. In other words, when the integrity verification result is successful, it means that the localization processing has fully covered all regional differences. At this time, the localization verification result and the information in the original candidate response information that does not require localization processing can be structurally integrated to generate target response information that meets the user's needs. For example, when the operation request is a system login request, the target response information is the system interface with localization processing completed, including login button text adapted to the target region's language and system time displayed in accordance with the local time zone.

[0071] As an example, in step S503, if the integrity check fails, based on the integrity check result, the missing information items in the regional difference information that have not been localized are identified, and the missing information items are localized again.

[0072] In other words, based on the anomaly details in the integrity verification report, the localization dimension to which the missing information item belongs can be located (such as currency amounts that have not been converted, date fields with incorrect formats, and compliance statements that are not adapted). For each missing item, the corresponding localization processing logic is re-executed: if the missing item is a currency difference, the real-time exchange rate interface is reconnected to obtain the latest data and the conversion is completed; if it is a compliance difference, adaptation measures are supplemented according to the latest compliance rules of the target region (such as adding privacy policy links and hiding sensitive data fields); if it is a format difference (such as incorrect date format), the preset format conversion template is reapplied for adjustment. After completing the second localization process, the integrity verification process is restarted. If it still fails, the above location and processing steps are repeated until all missing information items are resolved and the verification passes, ultimately generating target response information that meets all dimensions of the target region's requirements; or the localization process is stopped and an alert is sent to the user to avoid response delays.

[0073] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0074] In one embodiment, an operation request response device is provided, which corresponds one-to-one with the operation request response method in the above embodiments. For example... Figure 6 As shown, the operation request response device includes a candidate information determination module 601, a configuration information acquisition module 602, a context generation module 603, a localization processing module 604, and a response module 605. Detailed descriptions of each functional module are as follows: The candidate information determination module 601 is used to determine candidate response information in response to a user's operation request; The configuration information acquisition module 602 is used to acquire the user's regional configuration information based on the candidate response information; The context generation module 603 is used to generate user context information based on region configuration information; The localization processing module 604 is used to perform localization processing on candidate response information based on context information; The response module 605 is used to generate target response information based on the results of localization processing.

[0075] In one embodiment, the configuration information acquisition module 602 is further configured to perform keyword recognition on the candidate response information and extract semantic keywords from the candidate response information; Based on semantic keywords, determine whether candidate response information has localization attributes; When the candidate response information has localization attributes, the operation request is parsed to obtain the user's client configuration information and / or preset region configuration information; Determine the region configuration information based on client configuration information and / or preset region configuration information. In one embodiment, the context generation module 603 is further configured to perform semantic parsing on the candidate response information and extract the corresponding regional feature information; By comparing regional configuration information and regional characteristic information, regional differences in candidate response information are identified. Context information is generated based on regional configuration information and regional difference information.

[0076] In one embodiment, the context generation module 603 is further configured to determine the corresponding difference configuration information from the region configuration information based on the region difference information; The differential configuration information is structured to generate context information.

[0077] In one embodiment, the localization processing module 604 is further configured to identify the information type of regional difference information in the candidate response information; Based on contextual information and information type, regional difference information is replaced with localized information to generate target response information.

[0078] In one embodiment, the localization processing module 604 is further configured to, when the information type is a language type, replace the regional difference information with a language based on the language configuration information in the context information and using a preset language resource library; When the information type is time-based, the regional difference information is converted to time based on the time zone configuration information in the context information and using the preset time zone conversion logic. When the information type is a unit type, the regional difference information is converted into units based on the unit configuration information in the context information, using the unit conversion information and / or real-time exchange rate information. When the information type is a policy type, the policy rule information in the context information is used to adapt the regional difference information for compliance.

[0079] In one embodiment, the response module 605 is further configured to perform integrity verification on the result of localization processing to obtain an integrity verification result; When the integrity verification result is successful, the target response information is generated based on the result of localization processing and candidate response information. When the integrity verification result is that the verification fails, based on the integrity verification result, the missing information items in the regional difference information that have not been localized are identified, and the missing information items are localized again.

[0080] This invention provides an operation request response device, comprising: a candidate information determination module, used to determine candidate response information in response to a user's operation request; a configuration information acquisition module, used to acquire the user's regional configuration information based on the candidate response information; a context generation module, used to generate the user's context information based on the regional configuration information; a localization processing module, used to perform localization processing on the candidate response information based on the context information; and a response module, used to generate target response information based on the result of the localization processing. This device constructs context information specific to the user's region through regional configuration information, and then performs localization processing on the candidate response information, ensuring that the response content accurately adapts to regional language habits, cultural context, and compliance requirements, significantly improving cross-regional collaboration efficiency and user experience consistency.

[0081] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database is used for data accessed in the request-response method. The network interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements an request-response method.

[0082] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements an operation request response method.

[0083] In one embodiment, a computer-readable storage medium is provided that stores a computer program, which, when executed by a processor, implements an operation request response method.

[0084] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), IAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0085] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0086] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. An operation request and response method, characterized in that, include: In response to a user's action request, determine candidate response information; Based on the candidate response information, the user's region configuration information is obtained; Based on the region configuration information, the user's context information is generated; Based on the context information, the candidate response information is localized. Based on the results of the localization process, target response information is generated.

2. The method according to claim 1, characterized in that, The step of obtaining the user's region configuration information based on the candidate response information includes: Keyword recognition is performed on the candidate response information to extract semantic keywords from the candidate response information; Based on the semantic keywords, determine whether the candidate response information has localization attributes; When the candidate response information has localization attributes, the operation request is parsed to obtain the user's client configuration information and / or preset region configuration information; The region configuration information is determined based on the client configuration information and / or the preset region configuration information.

3. The method according to claim 1, characterized in that, The step of generating the user's context information based on the region configuration information includes: Semantic parsing is performed on the candidate response information to extract the corresponding regional feature information; By comparing the regional configuration information and the regional feature information, regional difference information in the candidate response information is determined; The context information is generated based on the region configuration information and the region difference information.

4. The method according to claim 3, characterized in that, The generation of the context information based on the region configuration information and the region difference information includes: Based on the regional difference information, the corresponding difference configuration information is determined from the regional configuration information; The differential configuration information is processed in a structured manner to generate the context information.

5. The method according to claim 1, characterized in that, The step of localizing the candidate response information based on the context information to generate target response information includes: Identify the information types of regional differences in the candidate response information; Based on the context information and the information type, the regional difference information is replaced with localized information to generate the target response information.

6. The method according to claim 5, characterized in that, The localization processing of the regional difference information based on the context information and the information type includes: When the information type is a language type, the language of the regional difference information is replaced based on the language configuration information in the context information and using a preset language resource library. When the information type is time-based, the regional difference information is converted to time based on the time zone configuration information in the context information and using a preset time zone conversion logic. When the information type is a unit type, the regional difference information is converted into units based on the unit configuration information in the context information, using the unit conversion information and / or real-time exchange rate information; When the information type is a strategy type, the regional difference information is adapted for compliance based on the strategy rule information in the context information and using a preset strategy library.

7. The method according to claim 1, characterized in that, The generation of target response information based on the result of the localization process includes: The integrity of the localization process is verified to obtain the integrity verification result. When the integrity verification result is successful, target response information is generated based on the result of the localization process and the candidate response information. When the integrity verification result is that the verification fails, based on the integrity verification result, the missing information items in the regional difference information that have not been localized are identified, and the missing information items are localized again.

8. An operation request response device, characterized in that, include: The candidate information determination module is used to determine candidate response information in response to user operation requests; The configuration information acquisition module is used to acquire the user's region configuration information based on the candidate response information; The context generation module is used to generate the user's context information based on the region configuration information; A localization processing module is used to perform localization processing on the candidate response information based on the context information; The response module is used to generate target response information based on the results of the localization process.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the operation request response method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the operation request response method as described in any one of claims 1 to 7.