Interactive Processing Method, Apparatus, Device, Medium and Product
By determining scene characteristics in application scenarios and displaying matching candidates, the problems of low efficiency and poor flexibility of content input are solved, and a more efficient and flexible input experience is achieved.
Patent Information
- Application Number
- CN202111536867.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-15
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2041-12-15
AI Technical Summary
In some application scenarios, content input is inefficient and input flexibility is not good.
By starting the operation in response to the input method in the target application, the scene characteristics of the current application scenario are determined, the first candidate matching the current application scenario is determined based on the scene characteristics, and the candidate is displayed in the running interface of the current application scenario, so that the object can select the first candidate based on the option operation button.
It improves the matching between the word output of the input method and user needs, reduces user operation time, improves the input efficiency of application scenarios, and enhances the flexibility and intelligence of the input method.
Smart Images

Figure CN114237406B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technologies, and in particular, to the fields of information processing and input method technologies, and can be applied to interactive processing scenarios. Background Art
[0002] Object interaction has a wide range of applications in different application scenarios. Content input through an input method application is one of the common interactive means. However, in some scenarios, there are phenomena of low content input efficiency and poor input flexibility. Summary of the Invention
[0003] The present disclosure provides an interactive processing method, apparatus, device, medium, and product.
[0004] According to one aspect of the present disclosure, there is provided an interactive processing method, including: in response to an input method startup operation in a target application, determining a scene feature of the current application scene; according to the scene feature, determining a first candidate item that matches the current application scene; and displaying the first candidate item in a running interface of the current application scene, so that an object selects the first candidate item based on an option operation button.
[0005] According to another aspect of the present disclosure, there is provided an interactive processing apparatus, including: a first processing module, configured to determine a scene feature of the current application scene in response to an input method startup operation in a target application; a second processing module, configured to determine a first candidate item that matches the current application scene according to the scene feature; and a third processing module, configured to display the first candidate item in a running interface of the current application scene, so that an object selects the first candidate item based on an option operation button.
[0006] According to another aspect of the present disclosure, there is provided an electronic device, including: at least one processor and a memory communicatively connected to the at least one processor. Wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the interactive processing method according to the embodiments of the present disclosure.
[0007] According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the interactive processing method according to the embodiments of the present disclosure.
[0008] According to another aspect of the present disclosure, there is provided a computer program product, including a computer program, where the computer program, when executed by a processor, implements the interactive processing method according to the embodiments of the present disclosure.
[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The drawings are used to better understand the solution and do not constitute a limitation to the present disclosure. Among them:
[0011] Figure 1 Schematically shows the system architecture of an interaction processing and device according to an embodiment of the present disclosure;
[0012] Figure 2 Schematically shows the flowchart of an interaction processing method according to an embodiment of the present disclosure;
[0013] Figure 3 Schematically shows the schematic diagram of an interaction processing method according to another embodiment of the present disclosure;
[0014] Figure 4A Schematically shows the schematic diagram of the input process in a game application according to an embodiment of the present disclosure;
[0015] Figure 4B Schematically shows the schematic diagram of the input process in a game application according to another embodiment of the present disclosure;
[0016] Figure 5 Schematically shows the block diagram of an interaction processing device according to an embodiment of the present disclosure;
[0017] Figure 6 Schematically shows the block diagram of an electronic device for performing interaction processing according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] The following describes exemplary embodiments of the present disclosure in conjunction with the accompanying drawings. Various details of the embodiments of the present disclosure are included to facilitate understanding and should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0019] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising", etc. used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0020] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0021] In cases where expressions similar to "at least one of A, B, and C, etc." are used, generally, it should be interpreted according to the meaning commonly understood by those of ordinary skill in the art (for example, "a system having at least one of A, B, and C" should include, but not be limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).
[0022] Embodiments of the present disclosure provide an interaction processing method. The interaction processing method includes: in response to an input method startup operation within a target application, determining the scene characteristics of the current application scene, determining a first candidate item that matches the current application scene according to the scene characteristics of the current application scene, and displaying the first candidate item in the running interface of the current application scene, so that an object can select the first candidate item based on an option operation button.
[0023] Figure 1 The system architecture of an interaction processing method and apparatus according to an embodiment of the present disclosure is schematically shown. It should be noted that Figure 1 What is shown is only an example of a system architecture to which the embodiments of the present disclosure can be applied, to help those of ordinary skill in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments, or scenarios.
[0024] The system architecture 100 according to this embodiment may include a target application 101, a network 102, and an input method application 103. The network 102 is used to provide a communication link between the target application 101 and the input method application 103. The target application 101 can be various software applications installed in a smart terminal, such as a social platform software, a game client, an entertainment interaction application, a search application, an instant messaging tool, or a tool application, etc.
[0025] The input method application 103 can be a software application that provides content input services. The input method application 103 can respond to content input operations detected in other applications and feedback the response results (such as data, information, or web pages obtained or generated according to content input requests) to other applications.
[0026] For example, the input method application 103 can respond to the input method startup operation in the target application 101, determine the scene characteristics of the current application scene, determine the first candidate item that matches the current application scene based on the scene characteristics of the current application scene, and display the first candidate item in the current application scene of the target application 101 so that the object selects the first candidate item based on the option operation button.
[0027] It should be understood that Figure 1 The number of target applications, networks and input method applications in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0028] The present disclosure provides an interactive processing method. Figure 1 The system architecture of Figures 2 to 3 , Figures 4A to 4B The interactive processing method according to an exemplary embodiment of the present disclosure is described.
[0029] Figure 2 The flowchart of the interaction processing method according to an embodiment of the present disclosure is schematically shown.
[0030] like Figure 2 As shown, the interaction processing method 200 of the embodiment of the present disclosure may include, for example, operations S210 to S230.
[0031] In operation S210 , in response to an input method start operation within a target application, a scene feature of a current application scene is determined.
[0032] In operation S220, a first candidate item matching the current application scenario is determined according to the scenario characteristics.
[0033] In operation S230, the first candidate item is displayed in the running interface of the current application scenario, so that the object selects the first candidate item based on the option operation button.
[0034] The following example illustrates the example flow of each operation of the interaction processing method of this embodiment.
[0035] For example, the target application may be an application built into the operating system of the smart terminal, or a third-party application installed in the object space of the smart terminal. The target application may include game applications, entertainment interactive applications, instant messaging applications, shopping applications, etc.
[0036] Taking the target application as a game application as an example for illustration. The object can perform game operations through the input device of the smart terminal. For example, game operations can be performed through input devices such as the gamepad, keyboard, and touch screen of the smart terminal. When the game application is in a running state, the game server can render the game scene as an audio-video stream and send the audio-video stream to the terminal display through the data transmission link to display the game screen using the terminal display. The game application can upload game process data through the data transmission link, and the game process data can indicate the current game scene of the game application.
[0037] The input method application responds to the input method startup operation within the target application and obtains the application process data of the target application. Based on the application process data, the scene characteristics of the current application scene of the target application are determined. The input method application can obtain the application process data of the target application from the server or can obtain the application process data of the target application through the implanted SDK (Software Development Kit).
[0038] The application process data can be obtained through various public, legal, and compliant means. For example, it can be obtained from a public dataset or after obtaining user authorization associated with the application process data. The application process data is not the application data of a specific user and does not reflect the personal information of a specific user. The scope of use of the application process data is limited to the scope where the user has the right to know and has authorized the use.
[0039] Taking the target application as a game application as an example for illustration, in response to the input method startup operation within the game application, the game process data is obtained. Exemplarily, the game process data can be obtained from the game server or the game process data of the game application can be obtained by using the SDK implanted in the input method application. The SDK implanted in the input method application can be provided by the game application provider, and the game application also implants an SDK. The input method application can obtain the game process data of the game application through the SDK.
[0040] Before obtaining the application process data of the target application, the input method startup operation can be preprocessed based on the application logic of the target application. Exemplarily, based on the application logic of the target application, it can be determined whether the target application prohibits the startup of the input method. In the case where it is determined that the target application prohibits the startup of the input method, an input method startup request can be sent to the server so that the server determines whether to start the input method according to the input method startup request and the API (Application Programming Interface) call situation of the target application. In response to receiving the input method startup instruction from the server, the application process data of the target application is obtained.
[0041] Determine the scene features of the current application scene based on the obtained application process data of the target application. The scene features may include, for example, information such as application scene identification, object behavior features, application running elements, or application process status.
[0042] Taking the target application as a purchase application as an example for illustration. The purchase application may include shopping software built into the operating system of the smart terminal, or may also include third-party shopping software installed in the object space of the smart terminal. In response to the start operation of the input method in the purchase application, obtain the application process data of the purchase application. Determine the scene features of the current application scene of the purchase application according to the application process data of the purchase application. Exemplarily, according to the application process data of the purchase application, determine that the current application scene of the purchase application is an item search scene. The scene features of the current application scene may include, for example, information such as item search scene identification, item search behavior features, and item categories to be searched.
[0043] Taking the target application as a game application as an example for illustration. In response to the start operation of the input method within the game application, obtain the game process data. Determine at least one of the following information of the current game scene according to the game process data as the scene features: game scene identification, game behavior features, game elements, or game status. The game behavior features include behavior type features, behavior subject features, or behavior object features.
[0044] Exemplarily, the game scene may include, for example, a game lobby scene, a teaming scene, a game character selection scene, a game start scene, a settlement scene, etc. The game behavior features may include behavior type features, behavior subject features, or behavior object features. The game behavior types may include, for example, assist behavior, kill behavior, etc. The game behavior subject may be the game character controlled by the object. The behavior subject features may include, for example, information such as game character type and available skills. The game elements may include, for example, information such as game props and virtual items. The game status may include, for example, information such as battle rounds and battle results.
[0045] Determine the preset option library that matches the current application scene according to the scene features of the current application scene of the target application. Exemplarily, corresponding application scene labels may be set for the option library, and the application scene label indicates the application scene applicable to the option library. Determine the option library that matches the current application scene according to the scene features of the current application scene and the application scene label associated with the option library. Dynamically load the adapted input method option library according to the current application scene of the target application, which can effectively improve the precise adaptability between the input method option library and the target application, and is beneficial to improving the flexibility and accuracy of input method resource configuration.
[0046] Determine the options in the option library whose display priorities meet the preset conditions as the first candidate to be displayed. Display the first candidate in the running interface of the current application scenario so that the object can select the first candidate based on the option operation button. The display priority is positively correlated with the usage frequency of the option. The usage frequency can include the statistical usage frequency and the object usage frequency. The statistical usage frequency is obtained based on the option usage statistical data associated with the scenario characteristics. The option can include at least one of the following information: vocabulary, statement, expression, application setting, or application instruction.
[0047] According to an embodiment of the present disclosure, in response to the input method startup operation in the target application, determine the scenario characteristics of the current application scenario. According to the scenario characteristics, determine the first candidate that matches the current application scenario, and display the first candidate in the running interface of the current application scenario so that the object can select the first candidate based on the option operation button.
[0048] Intelligently recommending the first candidate that matches the current application scenario is beneficial to improving the matching between the input words of the input method and the user's needs, can effectively reduce the user's operation time, and improve the input efficiency of the application scenario. Performing scenario-based input word output for the target application is beneficial to improving the flexibility and intelligence of the input method implementation, and can effectively meet the personalized content input needs in different application scenarios.
[0049] Figure 3 Schematically shows a schematic diagram of an interaction processing method according to another embodiment of the present disclosure.
[0050] As Figure 3 shown, the method 300 may include, for example, operations S210 to S230 and operations S340 to S360.
[0051] In operation S210, in response to the input method startup operation in the target application, determine the scenario characteristics of the current application scenario.
[0052] In operation S220, according to the scenario characteristics, determine the first candidate that matches the current application scenario.
[0053] In operation S230, display the first candidate in the running interface of the current application scenario so that the object can select the first candidate based on the option operation button.
[0054] In operation S340, in response to the input trigger operation in the target application, display the input control of the input method application in the current application scenario.
[0055] In operation S350, in response to the content input operation for the input control, determine the option that matches the input content in the option library as the second candidate to be displayed.
[0056] In operation S360, display a second candidate item within the display area of the input control.
[0057] The following examples illustrate the example processes of the operations of the interaction processing method in this embodiment.
[0058] Exemplarily, in response to an input method startup operation within the target application, obtain the application process data of the target application. According to the application process data, determine the scene characteristics of the current application scene of the target application. According to the scene characteristics of the current application scene, determine and display the first candidate item that matches the current application scene, so that the object can select the first candidate item based on the option operation button.
[0059] Detect an input trigger operation within the target application, for example, detect a trigger operation on a specific position or a specified key in the running interface of the target application. The specific position and the specified key can be set according to the actual situation, and this embodiment does not limit this. Taking the target application as a game application as an example, it can be pre-set that the combination key "Ctrl+Shift" is the content input trigger key. In response to detecting the trigger operation on the combination key "Ctrl+Shift" within the game application, perform content input response processing.
[0060] Exemplarily, in response to an input trigger operation within the target application, according to the scene characteristics of the current application scene, determine the display attributes of the input control, and based on the display attributes, display the input control in the current application scene. The input control can be a sub-window in the running interface of the current application scene, and the sub-window can be a form that supports text editing. When the background color of the input control is a transparent color, the input control can be regarded as a hidden editing control. The display attributes of the input control can include, for example, display position, control size, skin picture, background color, background animation and other attributes.
[0061] Taking the target application as a game application as an example, determining the display position and initial size of the input control based on the game screen can effectively avoid the input control from blocking the content of the game screen. Integrating the special effect skin in the current game scene into the display attributes of the input control is beneficial to enhancing the application sceneization of the input method implementation, and is also beneficial to improving the promotion and application of the display attributes of the input method. Making visual changes to the input method according to the current application scene is beneficial to enhancing the flexibility and intelligence of the input method implementation.
[0062] In response to a content input operation on the input control, in the option library that matches the current application scene, determine the option that matches the input content as the second candidate item to be displayed. Exemplarily, it can be determined in the option library that a preset number of frequently used options that match the input content are used as the second candidate items to be displayed. Display the second candidate item within the display area of the input control, so that the object can select the second candidate item based on the option operation button.
[0063] Highly used options may include options with a usage frequency higher than a preset threshold. The usage frequency includes statistical usage frequency and object usage frequency. The statistical usage frequency is obtained based on option usage statistics associated with scene features. The options in the option library can be sorted in descending order of usage frequency, and a preset number of options ranked at the top of the option library can be used as the second candidate items to be displayed. Intelligent recommendation of options whose usage frequency meets the preset conditions is conducive to improving the matching of input method word output with user usage habits, which can effectively reduce user operation time and improve the input experience of application scenarios.
[0064] Highly used options may also include options whose most recent use time meets preset conditions. Exemplarily, the second candidate items to be displayed may be determined based on the use frequency and most recent use time of the options. M is used to represent the sorting frequency of the options, M = N / [(T1-T2)*X], N represents the use frequency of the options, the use frequency may be a weighted sum of the statistical use frequency and the object use frequency, T1 represents the current time, T2 represents the most recent use time of the option, and X is a preset weight coefficient. The preset number of options with the largest sorting frequency in the option library may be used as the second candidate items to be displayed.
[0065] In response to the content confirmation operation on the input control, a predicted option associated with the confirmed content is determined in the option library as a third candidate item to be displayed. The third candidate item is displayed in the display area of the input control so that the object selects the third candidate item based on the option operation button. In response to the content confirmation operation on the input control, for example, in response to an operation on a preset confirmation control or a designated key, a predicted option associated with the confirmed content is determined. The designated key can be, for example, an enter key or a space key, and the designated key can be set according to actual needs, which is not limited in this embodiment.
[0066] In response to the content confirmation operation for the input control, a predicted option associated with the confirmed content is determined in the option library. Exemplarily, a frequently used option matching the confirmed content can be determined in the option library as the third candidate to be displayed. The frequently used options may include options with a usage frequency higher than a preset threshold, or options with a most recent usage time that meets a preset condition. Intelligent prediction and intelligent association during the input process based on the scenario characteristics of the current application scenario are beneficial to improving the input efficiency of the application scenario.
[0067] Exemplarily, the candidate items in the option library may include at least one of the following information: vocabulary, statements, expressions, application settings, or application instructions. In the case where the target application is a game application, the candidate items may include vocabulary, statements, expressions, game settings, or game instructions, etc. By performing intelligent word output for the current game scenario, it is beneficial to improve the matching degree between the word output of the input method and the current game scenario, which can effectively reduce the user operation time and effectively improve the interaction efficiency in the game application.
[0068] Figure 4A Schematically shows a schematic diagram of the input process in a game application according to an embodiment of the present disclosure.
[0069] In response to the input method startup operation within the game application, determine the scene characteristics of the current game scene. According to the scene characteristics of the current game scene, determine the first candidate items 4A1 that match the current game scene. The first candidate items 4A1 include the first candidate item m1, the first candidate item m2, and the first candidate item m3. Display the first candidate items 4A1 in the game running interface 4A so that the object can select the first candidate items based on the option operation button.
[0070] Figure 4B Schematically shows a schematic diagram of the input process in a game application according to another embodiment of the present disclosure.
[0071] In response to the input trigger operation within the game application, display the input control 4B0 of the input method application in the game running interface 4B. In response to the content input operation for the input control 4B0, determine the option that matches the input content 4B1 in the option library that matches the current game scene as the second candidate items 4B2 to be displayed. The second candidate items 4B2 include the second candidate item n1, the second candidate item n2, and the second candidate item n3. Display the second candidate items 4B2 in the display area of the input control 4B0 so that the object can select the second candidate items based on the option operation button.
[0072] By performing intelligent word output for the current game scenario, it is beneficial to improve the matching degree between the word output of the input method and the current game scene, which can effectively reduce the user operation time and effectively improve the interaction efficiency in the game application.
[0073] Figure 5 Schematically shows a block diagram of an interaction processing device according to an embodiment of the present disclosure.
[0074] As Figure 5 shown, the interaction processing device 500 of the embodiment of the present disclosure, for example, includes a first processing module 510, a second processing module 520, and a third processing module 530.
[0075] The first processing module 510 is configured to determine the scene characteristics of the current application scene in response to an input method startup operation within the target application; the second processing module 520 is configured to determine a first candidate item that matches the current application scene according to the scene characteristics; and the third processing module 530 is configured to display the first candidate item in the running interface of the current application scene, so that an object can select the first candidate item based on an option operation button.
[0076] According to an embodiment of the present disclosure, in response to an input method startup operation within the target application, determine the scene characteristics of the current application scene, determine a first candidate item that matches the current application scene according to the scene characteristics, and display the first candidate item in the running interface of the current application scene, so that an object can select the first candidate item based on an option operation button.
[0077] By intelligently recommending the first candidate item that matches the current application scene, it is beneficial to improve the matching between the input words of the input method and the user's needs, can effectively reduce the user operation time, and improve the input efficiency of the application scenario. Performing scene-based input word output for the target application is beneficial to improving the flexibility and intelligence of the input method implementation, and can effectively meet the personalized content input requirements in different application scenarios.
[0078] According to an embodiment of the present disclosure, the second processing module includes: a first processing sub-module, configured to determine a preset option library that matches the current application scene according to the scene characteristics; and a second processing sub-module, configured to use the options in the option library whose display priorities meet the preset conditions as the first candidate items to be displayed.
[0079] According to an embodiment of the present disclosure, the device further includes a fourth processing module, configured to: in response to an input trigger operation within the target application, display an input control of the input method application within the current application scene; in response to a content input operation for the input control, determine an option that matches the input content in the option library as a second candidate item to be displayed; and display the second candidate item within the display area of the input control.
[0080] According to an embodiment of the present disclosure, the fourth processing module includes: a third processing sub-module, configured to: determine a preset number of frequently used options that match the input content in the option library as the second candidate items to be displayed. The frequently used options include options whose usage frequencies are higher than a preset threshold, and the usage frequency includes a statistical usage frequency and an object usage frequency, and the statistical usage frequency is obtained based on option usage statistical data associated with the scene characteristics.
[0081] According to an embodiment of the present disclosure, the device further includes a fifth processing module, configured to: in response to a content confirmation operation for the input control, determine a predicted option associated with the confirmed content in the option library as a third candidate item to be displayed; and display the third candidate item within the display area of the input control.
[0082] According to an embodiment of the present disclosure, the fourth processing module further includes: a fourth processing sub-module, configured to: in response to an input trigger operation within a target application, determine a display attribute of an input control according to a scene feature of the current application scene; and display the input control within the current application scene based on the display attribute.
[0083] According to an embodiment of the present disclosure, the target application includes a game application, and the first processing module includes a fifth processing sub-module, configured to: in response to an input method startup operation within the game application, obtain game process data; and determine at least one of the following information of the current game scene as a scene feature according to the game process data:
[0084] A game scene identifier, a game behavior feature, a game element, or a game state, where the game behavior feature includes a behavior type feature, a behavior subject feature, or a behavior object feature.
[0085] According to an embodiment of the present disclosure, the candidate items include at least one of the following information: a vocabulary, a sentence, an expression, a game setting, or a game instruction.
[0086] It should be noted that in the technical solution of the present disclosure, the processing of information collection, storage, use, processing, transmission, provision, and disclosure complies with the provisions of relevant laws and regulations and does not violate public order and good customs.
[0087] According to an embodiment of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium, and a computer program product.
[0088] Figure 6 A block diagram of an electronic device for performing interactive processing according to an embodiment of the present disclosure is schematically shown.
[0089] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 600 is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processing, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0090] As Figure 6As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0091] Multiple components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, an optical disc, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0092] The computing unit 601 can be various general-purpose and / or dedicated processing components with processing and computing capabilities. Some examples of the computing unit 601 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 executes the various methods and processes described above, such as the interaction processing method. For example, in some embodiments, the interaction processing method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the interaction processing method described above can be executed. Alternatively, in other embodiments, the computing unit 601 can be configured to execute the interaction processing method in any other appropriate way (e.g., by means of firmware).
[0093] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.
[0094] The program code for implementing the methods of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0095] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0096] To provide interaction with an object, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the object; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the object can provide input to the computer. Other kinds of devices can also be used to provide interaction with the object; for example, the feedback provided to the object can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the object can be received in any form (including acoustic input, voice input, or tactile input).
[0097] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., an object computer having a graphical object interface or a web browser through which the object can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
[0098] A computer system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, or a server of a distributed system, or a server incorporating a blockchain.
[0099] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in this disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this is not limited herein.
[0100] The above specific embodiments do not constitute a limitation on the protection scope of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the protection scope of this disclosure.
Claims
1. An interaction processing method, comprising: When it is determined that the target application prohibits the startup of the input method, sending an input method startup request to the server, so that the server determines whether to start the input method according to the input method startup request and the interface call situation of the target application; In response to the input method startup operation in the target application, obtaining the application process data uploaded by the target application for indicating the current application scenario; and determining the scenario characteristics of the current application scenario based on the application process data; Determining a first candidate item that matches the current application scenario according to the scenario characteristics; Displaying the first candidate item in the running interface of the current application scenario, so that an object selects the first candidate item based on an option operation button; In response to the content input operation for the input control, taking a preset number of options with the largest sorting frequency in the option library that matches the current application scenario as the second candidate item and displaying them; wherein, the sorting frequency is the ratio of the usage frequency to the reference value, the usage frequency is the weighted sum of the statistical usage frequency and the object usage frequency, the reference value is the product of the difference value and the preset weight coefficient, and the difference value is the difference between the current moment and the nearest usage moment of the option; In response to the content confirmation operation for the input control of the input method application, determining a frequently used option that matches the confirmed content in the option library that matches the current application scenario as the third candidate item and displaying it; Wherein, the content confirmation operation includes: an operation on a preset confirmation control or a specified button; the frequently used options include: options with a usage frequency higher than a preset threshold, options whose most recent usage time meets a preset condition, and the usage frequency includes the statistical usage frequency and the object usage frequency, and the statistical usage frequency is obtained based on the option usage statistical data associated with the scenario characteristics.
2. The method according to claim 1, wherein The determining a first candidate item that matches the current application scenario according to the scenario characteristics includes: Determining a preset option library that matches the current application scenario according to the scenario characteristics; and Taking the options in the option library whose display priority meets the preset conditions as the first candidate items to be displayed.
3. The method according to claim 2, further comprising: In response to the input trigger operation in the target application, displaying the input control of the input method application in the current application scenario; In response to the content input operation for the input control, determining an option that matches the input content in the option library as the second candidate item to be displayed; And Displaying the second candidate item in the display area of the input control.
4. The method according to claim 3, wherein, The determining an option that matches the input content in the option library as the second candidate item to be displayed includes: Determining a preset number of frequently used options that match the input content in the option library as the second candidate item to be displayed.
5. The method according to claim 3, further comprising: Displaying the third candidate item in the display area of the input control.
6. The method according to claim 3, wherein The displaying the input control of the input method application in the current application scenario in response to the input trigger operation in the target application includes: In response to an input trigger operation within a target application, determine the display attribute of the input control according to the scene characteristics of the current application scene; and Based on the display attribute, display the input control within the current application scene.
7. The method according to any one of claims 1 to 6, wherein, The target application includes a game application. The determining the scene characteristics of the current application scene in response to an input method startup operation within the target application includes: In response to an input method startup operation within the game application, obtain game process data; and According to the game process data, determine at least one of the following information of the current game scene as the scene characteristics: Game scene identifier, game behavior characteristics, game elements or game states, where the game behavior characteristics include behavior type characteristics, behavior subject characteristics or behavior object characteristics.
8. The method according to claim 7, wherein The candidate items include at least one of the following information: Vocabulary, statements, expressions, game settings or game instructions.
9. An interaction processing device, including: A sending module, configured to send an input method startup request to a server when it is determined that the target application prohibits the startup of the input method, so that the server determines whether to start the input method according to the input method startup request and the interface call situation of the target application; A first processing module, configured to obtain application process data uploaded by the target application for indicating the current application scene in response to an input method startup operation within the target application; and determine the scene characteristics of the current application scene based on the application process data; A second processing module, configured to determine a first candidate item that matches the current application scene according to the scene characteristics; And A third processing module, configured to display the first candidate item in the running interface of the current application scene, so that an object selects the first candidate item based on an option operation button; A fourth processing module, configured to, in response to a content input operation for an input control, use a preset number of options with the largest sorting frequency in an option library that matches the current application scene as a second candidate item and display them; where the sorting frequency is the ratio of the usage frequency to a reference value, the usage frequency is the weighted sum of the statistical usage frequency and the object usage frequency, the reference value is the product of the difference value and a preset weight coefficient, and the difference value is the difference between the current moment and the most recent usage moment of the option; A fifth processing module, configured to, in response to a content confirmation operation for an input control of an input method application, determine a frequently used option that matches the confirmed content in an option library that matches the current application scene as a third candidate item and display it; Wherein, the content confirmation operation includes: an operation on a preset confirmation control or a specified button; the frequently used option includes: an option with a usage frequency higher than a preset threshold, an option whose most recent usage time meets a preset condition, the usage frequency includes the statistical usage frequency and the object usage frequency, and the statistical usage frequency is obtained based on option usage statistical data associated with the scene characteristics.
10. The apparatus according to claim 9, wherein, The second processing module includes: A first processing sub-module, configured to determine a preset option library that matches the current application scene according to the scene characteristics; and A second processing sub-module, configured to use the options in the option library whose display priorities meet the preset conditions as the first candidate options to be displayed.
11. The apparatus according to claim 10, wherein, The fourth processing module is further configured to: In response to an input trigger operation in the target application, display an input control of the input method application in the current application scenario; In response to a content input operation on the input control, determine an option in the option library that matches the input content as the second candidate option to be displayed; And Display the second candidate option in the display area of the input control.
12. The apparatus according to claim 11, wherein, The fourth processing module includes: a third processing sub-module, configured to: Determine a preset number of frequently used options that match the input content in the option library as the second candidate option to be displayed.
13. The apparatus according to claim 11, wherein the fifth processing module is further configured to: Display the third candidate option in the display area of the input control.
14. The apparatus according to claim 11, wherein, The fourth processing module further includes: a fourth processing sub-module, configured to: In response to an input trigger operation in the target application, determine the display attribute of the input control according to the scene feature of the current application scenario; and Based on the display attribute, display the input control in the current application scenario.
15. The device according to any one of claims 9 to 14, wherein, The target application includes a game application, and the first processing module includes a fifth processing sub-module, configured to: In response to an input method startup operation in the game application, obtain game process data; and According to the game process data, determine at least one of the following information of the current game scenario as the scene feature: A game scene identifier, a game behavior feature, a game element, or a game state, where the game behavior feature includes a behavior type feature, a behavior subject feature, or a behavior object feature.
16. The apparatus according to claim 15, wherein, The candidate options include at least one of the following information: Vocabulary, statements, expressions, game settings, or game instructions.
17. An electronic device, comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 8.
19. A computer program product, comprising a computer program, where the computer program, when executed by a processor, implements the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Information communication processing method and mobile terminal
CN107754316A
Input method and device in game process
CN109529344A