Input method customization method, system, intelligent terminal and storage medium

By extracting the target system environment configuration language plug-in in the input method and automatically configuring it when the application is opened, the problem of not being able to dynamically filter and install language plug-ins in the existing technology is solved, and the componentized management of language plug-ins is realized, reducing storage usage and improving the Response speed.

CN118963565BActive Publication Date: 2024-12-27深圳开鸿数字产业发展有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411443477.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2024-12-27
Estimated Expiration
2044-10-16

AI Technical Summary

Technical Problem

The prior art cannot filter and automatically install language plug-ins in the input method under dynamic conditions, resulting in excessive storage space of the device and affecting performance.

Method used

By extracting the target system environment, configuring the first language plug-in based on the language plug-in management module, and automatically configuring the second language plug-in when the application is opened, identifying language requirements in real time, automatically switching and uninstalling the plug-in, supporting multi-language mixed input scenarios and wifi environments Pre-download.

Benefits of technology

It avoids unnecessary language plug-ins loading in the system, reduces storage space usage, improves device response speed and user experience, and realizes dynamic management and automatic installation of language plug-ins.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963565B_ABST
    Figure CN118963565B_ABST
Patent Text Reader

Abstract

The present invention discloses an input method customization method, system, intelligent terminal and storage medium. The method comprises: extracting a target system environment, configuring a first language plug-in in a language plug-in management module based on the target system environment; when opening a target application, automatically configuring a second language plug-in in a language plug-in management module based on the target application, wherein the second language plug-in is one or more. The present invention can solve the problem that the language plug-ins in the input method cannot be screened and automatically installed in a dynamic manner in the prior art. The language plug-in corresponding to the application can be installed dynamically, which avoids the system from loading a large number of unnecessary language plug-ins, reduces the occupation of device storage space, and improves the response speed of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of input method development, and in particular to an input method customization method, system, intelligent terminal and storage medium. Background Art

[0002] With the acceleration of globalization and the popularization of multilingual environments, input method applications have further expanded their support for different languages ​​on the basis of supporting multiple input keyboards. Currently, input method applications not only provide basic input keyboards such as English letters, numbers and special characters, but also integrate various language keyboards according to regions and user needs. For example, Chinese keyboards are widely used in China, while input methods developed by other countries include their respective language keyboards. Taking OpenHarmony as an example, subsequent versions of its native kikainput input method will also support Chinese keyboards to meet the needs of global users.

[0003] However, with the increase in the number of languages, the challenges faced by input method applications are becoming increasingly prominent. Some existing input method applications provide a variety of language plug-ins for users to choose from, but users usually do not download and install plug-ins for all languages. This is because loading too many language plug-ins will occupy a lot of storage space for no reason and have a certain impact on device performance. In addition, considering that there are only a few commonly used languages ​​for general users, it is not necessary to load all language plug-ins at once. How to filter and automatically install language plug-ins in the input method in a dynamic manner has become a difficult problem that needs to be solved urgently.

[0004] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The main purpose of the present invention is to provide an input method customization method, system, intelligent terminal and storage medium, aiming to solve the problem that there is no dynamic screening and configuration of language plug-ins in the input method in the prior art.

[0006] In order to achieve the above object, the present invention provides an input method customization method in a first aspect, wherein the input method customization method comprises:

[0007] Extracting a target system environment, and configuring a first language plug-in in a language plug-in management module based on the target system environment;

[0008] When the target application is opened, a second language plug-in is automatically configured in the language plug-in management module based on the target application, and the second language plug-in may be one or more.

[0009] In one implementation, configuring the first language plug-in based on the target system environment includes:

[0010] A first language type corresponding to the target system environment is identified, and the first language plug-in is configured based on the first language type, where the first language plug-in is used to identify and input the first language type.

[0011] In one implementation, automatically configuring the second language plug-in in the language plug-in management module based on the target application includes:

[0012] A target internationalization configuration corresponding to the target application is obtained, and the second language plug-in is downloaded and installed based on the target internationalization configuration.

[0013] In one implementation, the input method customization method further includes:

[0014] Identify the language requirements of the current application in real time, and automatically switch the front-end language plug-in when the language requirements change.

[0015] In one implementation, the input method customization method further includes:

[0016] When a mixed input scenario of multiple languages ​​is recognized, the corresponding keyboard language plug-in is automatically switched based on the language input by the user.

[0017] In one implementation, the input method customization method further includes:

[0018] A target language plug-in group is automatically downloaded in a wifi environment, wherein the target language plug-in group is a prepared plug-in group extracted based on user identity and usage habits.

[0019] In one implementation, the input method customization method further includes:

[0020] The usage status of the language plug-in in the target system environment is detected at intervals of a first preset time, and if it is detected that the target language plug-in has not been used for more than a second preset time, the target language plug-in is automatically uninstalled.

[0021] A second aspect of the present invention is an input method customization system, comprising:

[0022] A first configuration module extracts a target system environment and configures a first language plug-in in a language plug-in management module based on the target system environment;

[0023] The second configuration module is used to automatically configure a second language plug-in in the language plug-in management module based on the target application when the target application is opened, and the second language plug-in may be one or more.

[0024] According to a third aspect of the present invention, a smart terminal is provided, wherein the smart terminal comprises: a memory, a processor, and an input method customization program stored in the memory and executable on the processor, wherein the input method customization program implements the steps of the input method customization method as described above when executed by the processor.

[0025] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of any of the above-mentioned input method customization methods.

[0026] Beneficial effects: Compared with the prior art, the present invention provides an input method customization method, system, intelligent terminal and storage medium. In the input method customization method provided by the present invention, when using the target input method, by extracting the target system environment, the first language plug-in is configured in the language plug-in management module based on the target system environment, and the input method is suitable for the language light environment of the current system; when the target application is opened, the second language plug-in is automatically configured in the language plug-in management module based on the target application, and the second language plug-in is one or more. The present invention provides a method for customizing an input method for users, which solves the problem that the language plug-ins in the input method cannot be screened and automatically installed in a dynamic state in the prior art. In the present invention, the language plug-ins of the input method are managed in a componentized manner. The input method plug-in for each language is designed as an independent component, which is downloaded and installed only when the user actually needs it. This design avoids the system from loading a large number of unnecessary language plug-ins, reduces the occupation of device storage space, and improves the response speed of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A flowchart of an embodiment of the input method customization method provided by the present invention;

[0028] Figure 2 A user usage flow chart of an embodiment of the input method customization method provided by the present invention;

[0029] Figure 3 A structural principle diagram of an embodiment of the input method customization system provided by the present invention;

[0030] Figure 4 A schematic diagram of an operating environment of an embodiment of a smart terminal provided by the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0032] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0033] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0034] The input method customization method provided by the present invention can be applied to an intelligent terminal with computing capability. The intelligent terminal can execute the input method customization method provided by the present invention to screen and automatically install language plug-ins.

[0035] Embodiment 1

[0036] With the acceleration of globalization and the popularization of multilingual environments, input method applications have further expanded their support for different languages ​​on the basis of supporting multiple input keyboards. Currently, input method applications not only provide basic input keyboards such as English letters, numbers and special characters, but also integrate various language keyboards according to regions and user needs. For example, Chinese keyboards are widely used in China, while input methods developed by other countries include their respective language keyboards. Taking OpenHarmony as an example, subsequent versions of its native kikainput input method will also support Chinese keyboards to meet the needs of global users.

[0037] However, with the increase in the number of languages, the challenges faced by input method applications are becoming increasingly prominent. Some existing input method applications provide a variety of language plug-ins for users to choose from, but users usually do not download and install plug-ins for all languages. This is because loading too many language plug-ins will occupy a lot of storage space for no reason and have a certain impact on device performance. In addition, considering that there are only a few commonly used languages ​​for general users, it is not necessary to load all language plug-ins at once. How to filter and automatically install language plug-ins in the input method in a dynamic manner has become a difficult problem that needs to be solved urgently.

[0038] In view of this problem, this embodiment provides a method for customizing an input method. In this embodiment, the kikainput input method in the OpenHarmony system is taken as an example for explanation.

[0039] Specifically, Figure 1 As shown, the input method customization method provided in this embodiment includes the steps of:

[0040] S100: extracting a target system environment, and configuring a first language plug-in in a language plug-in management module based on the target system environment.

[0041] Specifically, configuring the first language plug-in based on the target system environment includes:

[0042] A first language type corresponding to the target system environment is identified, and the first language plug-in is configured based on the first language type, where the first language plug-in is used to identify and input the first language type.

[0043] Specifically, in this embodiment, when designing the input method, each language plug-in is designed as an independent plug-in for management, so as to realize dynamic loading and unloading of the language plug-in corresponding to the individual language. When the user starts different applications, the system can automatically identify the internationalization configuration of the application, determine the language environment currently required, and automatically download the corresponding language plug-in for installation. In this way, not only unnecessary waste of storage space is avoided, but also the response speed and performance of the device are improved.

[0044] Specifically, when the user uses the target input method for the first time, the language usage environment of the current system will be extracted. If it is recognized that the system uses the first language type, the first language plug-in corresponding to the first language type will be automatically downloaded and installed.

[0045] In this embodiment, the input method solution can not only dynamically manage language plug-ins, but also deeply integrate with the OpenHarmony system. When the user switches the language setting in the system, the input method will automatically recognize the change in the system language and load the corresponding language plug-in. For example, the system originally uses the first language type, such as Chinese, and uses the language plug-in corresponding to Chinese. When the user switches the system language from the first language type to the third language type, such as English, the system will automatically uninstall the Chinese keyboard plug-in, download and load the English keyboard plug-in.

[0046] Through this deep integration, the user's operating experience in different language environments is optimized, and the system can respond quickly to language changes to ensure the fluency and compatibility of the input method. Specifically, when the user changes the system language setting, the input method will immediately capture this change and automatically adjust the internal configuration to match the new language environment. At the same time, the system will also intelligently recommend language plug-ins that may be needed based on the user's usage habits and history so that the user can quickly start typing in the new language.

[0047] Furthermore, the input method customization method further includes:

[0048] The location of the smart terminal is obtained in real time, and the language plug-in corresponding to the location of the smart terminal is automatically configured based on the current location.

[0049] Specifically, in this embodiment, the language of the input method can also be automatically adjusted according to the user's geographical location and device settings. For example, when a user travels from one country to another, the system can automatically load an input method plug-in adapted to the language of that country according to the geographical location. This international adaptation method can greatly facilitate users to use mobile devices worldwide.

[0050] That is, when a user crosses borders, the system uses GPS to obtain the user's current location and determines the language the user is likely to use based on the location information. Then, the corresponding language plug-in is automatically downloaded and installed so that the user can immediately start typing in the new language. At the same time, the language selection and plug-in loading strategy will be further optimized based on the user's device settings and preferences.

[0051] S200: When a target application is opened, a second language plug-in is automatically configured in a language plug-in management module based on the target application, where the second language plug-in may be one or more.

[0052] The automatically configuring the second language plug-in in the language plug-in management module based on the target application includes:

[0053] A target internationalization configuration corresponding to the target application is obtained, and the second language plug-in is downloaded and installed based on the target internationalization configuration.

[0054] Specifically, refer to Figure 2 When users launch different applications, the system will automatically identify the language to be used based on the internationalization configuration of the application, and automatically download the corresponding language plug-in in the background. This process is transparent to the user and does not require manual operation by the user. For example, if the user opens an English email client, the system will detect that the application requires English input, and automatically download and install the English keyboard plug-in. Similarly, when the user switches to a localized social media application, the system will automatically uninstall the English keyboard plug-in and install the Chinese keyboard plug-in. This intelligent plug-in management method not only saves device resources, but also improves the user experience.

[0055] Furthermore, the input method customization method further includes:

[0056] Identify the language requirements of the current application in real time, and automatically switch the front-end language plug-in when the language requirements change.

[0057] Specifically, when users switch between different applications, the system will identify the language requirements of the current application in real time. For example, when using a social application, a user may need an English keyboard, while when switching to a localized application, a Chinese keyboard is required. The system monitors the background of the application, determines the current language environment, and automatically switches the language plug-in of the input method.

[0058] Furthermore, the input method customization method further includes:

[0059] When a mixed input scenario of multiple languages ​​is recognized, the corresponding keyboard language plug-in is automatically switched based on the language input by the user.

[0060] Specifically, in this embodiment, the system also supports seamless switching of multi-language environments. For example, different members of a multi-lingual family may communicate in different languages. At this time, the system can automatically switch to the appropriate language environment according to the language preference of each member and provide corresponding input support to make communication between family members smoother and unimpeded.

[0061] For example, in a multinational meeting, users may need to communicate and take notes in multiple languages ​​at the same time. At this time, the system can intelligently determine the language type required by the user based on the user's input content and context information, and automatically switch the corresponding keyboard layout. In this way, users can easily switch between different languages ​​without having to manually adjust the input method settings.

[0062] That is to say, in this embodiment, in addition to providing a customized input method for a single language, it also supports scenarios where multiple languages ​​are mixed for input. For example, when a user is writing an email or document, he or she may need to use both Chinese and English input methods. The system can automatically switch the corresponding keyboard plug-in according to the language input by the user, avoiding the tedious operation of the user manually switching the input method.

[0063] Specifically, the system dynamically loads the appropriate language plug-in by identifying the character type input by the user. For example, when the user inputs English characters, the system automatically switches to the English keyboard; when the user continues to input Chinese characters, the system instantly switches to the Chinese keyboard. This multi-language mixed input solution greatly improves the user's input efficiency.

[0064] This embodiment uses advanced natural language processing technology to identify the language type of the user input. By analyzing the vocabulary, grammar, sentence structure and other information in the input text, the system can accurately determine which language the user is using to input and automatically switch to the corresponding keyboard layout accordingly. At the same time, the system also supports a fast switching function between multiple languages, allowing users to easily switch back and forth between different languages ​​without manually adjusting the input method settings.

[0065] In specific implementation, the input method customization solution provided in this embodiment also supports an automatic learning function based on user usage behavior. Specifically, the system can automatically adjust the input method's vocabulary and plug-in loading strategy by recording the user's input habits. For example, if a user often uses a specific language combination in a specific application, the system will automatically recommend the relevant language plug-in and download and install it in the background.

[0066] In addition, the system also supports real-time recommendations for user input preferences. When a user enters a portion of a word, the system automatically associates the words based on historical input records and provides recommended words or phrases. This intelligent recommendation function can significantly improve the user's input efficiency. Specifically, the system uses a machine learning algorithm to analyze the user's input data and extract valuable information from it. By continuously learning and optimizing model parameters, the system can gradually improve the accuracy and practicality of recommendations, thereby providing users with more intimate and efficient input assistance services.

[0067] In this embodiment, the input method customization method further includes:

[0068] A target language plug-in group is automatically downloaded in a wifi environment, wherein the target language plug-in group is a prepared plug-in group extracted based on user identity and usage habits.

[0069] In order to improve the user experience, in this embodiment, a solution for downloading language plug-ins in advance in a wifi environment is also proposed. When the user's device is connected to wifi, the system will pre-judge the user's commonly used languages ​​and silently download input method plug-ins for these languages ​​in the background. When the user needs to use these languages, the system will directly install them locally without waiting for real-time downloads. This method can greatly improve the user experience, especially in poor network environments.

[0070] For example, when users often need to communicate in multiple languages ​​while on business trips, the system will automatically download commonly used language plug-ins, such as English, French, and Spanish, when connected to WIFI. In this way, users can input in these languages ​​fluently even without a network connection. At the same time, the system will also intelligently recommend language plug-ins that may be needed based on the user's usage habits and geographic location information, further improving the user experience.

[0071] In this embodiment, the input method customization method further includes:

[0072] The usage status of the language plug-in in the target system environment is detected at intervals of a first preset time, and if it is detected that the target language plug-in has not been used for more than a second preset time, the target language plug-in is automatically uninstalled.

[0073] Specifically, in this embodiment, in addition to the installation of language plug-ins, dynamic update and uninstallation of installed plug-ins are also supported. For example, when a language plug-in of the input method is updated, the system will automatically download and install the update package in the background according to the user's settings. At the same time, when the system detects that a plug-in has not been used for a long time, it will automatically prompt the user to uninstall it, thereby freeing up storage space.

[0074] Specifically, the system will regularly check the version information of installed plug-ins and compare it with the latest version on the server. If an update package is found to be available, the system will silently download and install it in the background. During the update process, the system will ensure that the user's normal experience is not affected. At the same time, the system will also intelligently decide whether to keep or uninstall certain plug-ins based on the frequency and importance of the plug-ins. For plug-ins that have not been used for a long time, the system will actively prompt the user to uninstall them to free up valuable storage space.

[0075] In addition, the system also supports on-demand loading and dynamic unloading of plug-ins. For example, when a user needs to use an uncommon language for input, the system can temporarily load the corresponding plug-in and automatically unload it after use. This not only meets the user's temporary needs but also avoids the problem of long-term storage space occupation.

[0076] Furthermore, when the user no longer needs a certain language plug-in, the system will automatically uninstall it, thereby optimizing the device's storage resources. Through this dynamic management approach, the input method system can more flexibly adapt to user needs. For example, when the user finishes communicating with a foreign friend, the system will automatically recognize that the user no longer needs the English keyboard, and will automatically uninstall the plug-in to free up storage space.

[0077] Furthermore, the system can also intelligently adjust the loading order and priority of plug-ins according to the frequency and importance of the application. For frequently used applications, the system will prioritize loading the corresponding language plug-in to ensure that users can start typing quickly. For infrequently used applications, the system will silently download the plug-in in the background to reduce the impact on the foreground application.

[0078] At the same time, the system can also optimize the priority and storage management of plug-ins based on the user's frequency of use and habits. For infrequently used language plug-ins, the system will automatically downgrade or uninstall them to ensure that the device's storage space is always sufficient. In this way, the input method system can more flexibly adapt to user needs and provide a more efficient and convenient input experience.

[0079] In order to further optimize the user experience, in this embodiment, a plug-in loading solution that does not require installation is also provided.

[0080] Specifically, when a user needs to use a plug-in in a certain language, the system will directly load the plug-in from the cloud without the need for local installation. This solution is particularly suitable for devices with limited storage space and can effectively reduce the memory usage of the device.

[0081] That is to say, when users need to switch languages, they only need to select the corresponding language in the application, and the system will automatically obtain the relevant language plug-in from the cloud and load it directly in the input method for use. When the user exits the language environment, the plug-in will be automatically uninstalled without any impact on the device storage. This installation-free plug-in loading solution greatly facilitates the user's language switching operation and also reduces the device storage burden, allowing the device to run other applications more smoothly.

[0082] Furthermore, in this embodiment, the cross-device synchronization function of input method settings is also supported. When the user sets the language preference and usage habits of the input method on a certain device, the system will automatically synchronize these settings to the user's other devices. Whether it is a mobile phone, tablet or laptop, the user's input method settings can be seamlessly synchronized to ensure the consistency of the user experience across devices.

[0083] The system synchronizes settings between devices through user accounts. When a user logs in to a new device, the relevant settings of the input method are automatically downloaded and applied. This cross-device synchronization mechanism not only improves the user's convenience, but also enhances the overall consistency of the system. Specifically, when a user changes the input method settings on one device (such as adding a new vocabulary or adjusting the keyboard layout), these changes will be automatically synchronized to all other logged-in devices, allowing users to get a consistent input experience on different devices.

[0084] It can be seen that the core of the input method customization method provided in this embodiment is to manage the language plug-ins of the input method in a componentized manner. The input method plug-in of each language is designed as an independent component, which is downloaded and installed only when the user actually needs it. This design avoids the system from loading a large number of unnecessary language plug-ins, reduces the occupation of device storage space, and improves the response speed of the system.

[0085] In summary, this embodiment provides an input method customization method. When using a target input method, by extracting the target system environment, a first language plug-in is configured in a language plug-in management module based on the target system environment, and the input method is suitable for the language light environment of the current system; when the target application is opened, a second language plug-in is automatically configured in the language plug-in management module based on the target application, and the second language plug-in is one or more. This embodiment provides a method for customizing an input method for users, which solves the problem that the language plug-ins in the input method cannot be screened and automatically installed in a dynamic state in the prior art. In this embodiment, the language plug-ins of the input method are managed in a componentized manner. The input method plug-in for each language is designed as an independent component, which is downloaded and installed only when the user actually needs it. This design avoids the system from loading a large number of unnecessary language plug-ins, reduces the occupation of device storage space, and improves the response speed of the system.

[0086] It should be understood that, although the various steps in the flowcharts given in the accompanying drawings of the present invention are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of the steps in the present invention is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps of the present invention may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0087] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be realized by signaling related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention 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 may include random access memory ( RAM ) or external cache memory. By way of illustration and not limitation, RAM Available in various forms, such as static RAM ( SRAM ),dynamic RAM ( DRAM ),synchronous DRAM ( SDRAM ), Double Data Rate SDRAM ( DDR SDRAM ), Enhanced SDRAM ( ESDRAM ), Synchronous Link ( Synchlink ) DRAM ( SLDRAM )、Memory Bus( Rambus )direct RAM ( RDRAM ), Direct Memory Bus Dynamics RAM ( DRDRAM ), and memory bus dynamics RAM ( RDRAM )wait.

[0088] Embodiment 2

[0089] Based on the above embodiment, the present invention also provides an input method customization system, and its functional module diagram is as follows: Figure 3 As shown, the input method customization system includes:

[0090] A first configuration module extracts a target system environment and configures a first language plug-in in a language plug-in management module based on the target system environment, as described in the first embodiment;

[0091] The second configuration module is used to automatically configure a second language plug-in in the language plug-in management module based on the target application when the target application is opened. The second language plug-in may be one or more, as described in the first embodiment.

[0092] Embodiment 3

[0093] like Figure 4 As shown, based on the above input method customization method, the present invention also provides a smart terminal, which includes a processor 10, a memory 20 and a display 30. Figure 4 Only some components of the smart terminal are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.

[0094] In some embodiments, the memory 20 may be an internal storage unit of the smart terminal, such as a hard disk or memory of the smart terminal. In other embodiments, the memory 20 may also be an external storage device of the smart terminal, such as a plug-in hard disk equipped on the smart terminal, a smart memory card ( Smart Media Card , SMC ), Safety Numbers ( Secure Digital , SD ) card, flash memory card ( Flash Card ) etc. Further, the memory 20 may also include both an internal storage unit of the smart terminal and an external storage device. The memory 20 is used to store application software and various data installed in the smart terminal, such as the program code of the installed smart terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, an input method customization program 40 is stored on the memory 20, and the input method customization program 40 can be executed by the processor 10, thereby implementing the input method customization method in the present application.

[0095] In some embodiments, the processor 10 may be a central processing unit (CPU). Central Processing Unit , CPU ), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the input method customization method, etc.

[0096] The display 30 may be, in some embodiments, LED Display, LCD, touch LCD and OLED ( Organic Light - EmittingDiode , organic light emitting diode) touch device, etc. The display 30 is used to display information on the smart terminal and to display a visual user interface. The components 10-30 of the smart terminal communicate with each other through a system bus.

[0097] In one embodiment, when the processor 10 executes the input method customization program 40 in the memory 20, the following steps are implemented:

[0098] Extracting a target system environment, and configuring a first language plug-in in a language plug-in management module based on the target system environment;

[0099] When the target application is opened, a second language plug-in is automatically configured in the language plug-in management module based on the target application, and the second language plug-in may be one or more.

[0100] Embodiment 4

[0101] The present invention also provides a computer-readable storage medium on which one or more programs are stored. The one or more programs can be executed by one or more processors to implement the steps of the input method customization method described in the above embodiment.

[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for customizing an input method, characterized in that: The input method customization method comprises: Extracting a target system environment, and configuring a first language plug-in in a language plug-in management module based on the target system environment; When the target application is opened, a second language plug-in is automatically configured in the language plug-in management module based on the target application, where the second language plug-in may be one or more; The input method customization method further includes: When a mixed input scenario of multiple languages ​​is recognized, the corresponding keyboard language plug-in is automatically switched based on the language input by the user; The automatic switching of the corresponding keyboard language plug-in based on the language input by the user includes: According to the vocabulary, grammar, sentence structure and context information in the user's input text, the target language type required by the user is determined, and based on the target language type, the corresponding keyboard layout is automatically switched and the language plug-in corresponding to the target language type is loaded.

2. The input method customization method according to claim 1, characterized in that: The configuring the first language plug-in based on the target system environment includes: A first language type corresponding to the target system environment is identified, and the first language plug-in is configured based on the first language type, where the first language plug-in is used to identify and input the first language type.

3. The input method customization method according to claim 1, characterized in that: The automatically configuring the second language plug-in in the language plug-in management module based on the target application includes: A target internationalization configuration corresponding to the target application is obtained, and the second language plug-in is downloaded and installed based on the target internationalization configuration.

4. The input method customization method according to claim 1, characterized in that: The input method customization method further includes: Identify the language requirements of the current application in real time, and automatically switch the front-end language plug-in when the language requirements change.

5. The input method customization method according to claim 1, characterized in that: The input method customization method further includes: A target language plug-in group is automatically downloaded in a wifi environment, wherein the target language plug-in group is a prepared plug-in group extracted based on user identity and usage habits.

6. The input method customization method according to claim 5, characterized in that: The input method customization method further includes: The usage status of the language plug-in in the target system environment is detected at intervals of a first preset time, and if it is detected that the target language plug-in has not been used for more than a second preset time, the target language plug-in is automatically uninstalled.

7. An input method customization system, characterized in that: The system comprises: A first configuration module extracts a target system environment and configures a first language plug-in in a language plug-in management module based on the target system environment; A second configuration module, configured to automatically configure a second language plug-in in the language plug-in management module based on the target application when the target application is opened, wherein the second language plug-in may be one or more; The input method customization system also includes: When a mixed input scenario of multiple languages ​​is recognized, the corresponding keyboard language plug-in is automatically switched based on the language input by the user; The automatic switching of the corresponding keyboard language plug-in based on the language input by the user includes: According to the vocabulary, grammar, sentence structure and context information in the user's input text, the target language type required by the user is determined, and based on the target language type, the corresponding keyboard layout is automatically switched and the language plug-in corresponding to the target language type is loaded.

8. An intelligent terminal, characterized in that: The intelligent terminal includes a memory, a processor, and an input method customization program stored in the memory and executable on the processor. When the input method customization program is executed by the processor, the steps of the input method customization method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an input method customization program, and when the input method customization program is executed by a processor, the steps of the input method customization method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Input method switch method and device

    CN106774976A

  • Resource updating method and system for multi-language translation application and storage medium

    CN118760459A