Information processing method and device
By performing intention analysis and processing of the information entered by the user and matching the target database, obtaining operation instructions and execution sequence, and presenting the operation process in turn, solving the problem that users in the prior art will not use electronic devices, and achieving efficient user guidance and operation automation.
Patent Information
- Application Number
- CN202510234705.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-20
AI Technical Summary
After the existing electronic devices automatically perform operations, they fail to effectively guide users to use them, resulting in the user not using the function again, which affects the user experience.
By obtaining the information entered by the user, performing intention analysis and processing, matching the data in the target database, obtaining operation instructions and execution order, and presenting the operation process in turn to guide the user to use electronic devices.
After clarifying the user's intentions, the process of executing operation instructions for the user is realized in real time, guiding the user to use electronic devices, improving the user experience, and reducing the user's needs for manual operations.
Smart Images

Figure CN120179335A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technologies, and in particular, to an information processing method and apparatus. Background Art
[0002] With the rapid development of electronic devices, many new users are not familiar with the operations of electronic devices. This leads to situations where functions cannot be used during the process of using electronic devices. Although some electronic devices can automatically execute operations according to voice commands or text commands issued by users, currently, after the electronic devices automatically execute operations, they do not play a role in guiding users to use the electronic devices. There is a problem that when users need to use this function again, they still cannot use it, resulting in users needing to repeatedly issue voice commands or text commands to be able to use this function, thus affecting subsequent user experiences. Summary of the Invention
[0003] In view of the above technical problems existing in the prior art, this application provides an information processing method and apparatus.
[0004] An embodiment of this application provides an information processing method, including:
[0005] Obtain first information input by a user;
[0006] Receive a first analysis result obtained after performing intent analysis processing on the first information;
[0007] Match the first analysis result with data in a target database to obtain first target data, where the first target data includes at least one first operation instruction and the execution order of the first operation instruction;
[0008] Based on the execution order of the first operation instruction, sequentially present the operation process of operating a device to execute the first operation instruction.
[0009] In some embodiments, the method further includes:
[0010] In a case where the first analysis result fails to match the data in the target database, update the target database based on the first analysis result, and determine second target data in the target database that satisfies a preset matching relationship with the first analysis result.
[0011] In some embodiments, the receiving a first analysis result obtained after performing intent analysis processing on the first information specifically includes:
[0012] Input the first information into a target model for intent analysis processing; wherein, the target model is configured as a cloud model and / or a local model;
[0013] Receive the first analysis result generated after the target model intention analysis and processing, where the first analysis result includes at least one analysis element, and the analysis element is one or more of the following: intention classification element, action object element, and action target element.
[0014] In some embodiments, after determining the second target data in the target database that satisfies the preset matching relationship with the first analysis result, the method further includes:
[0015] Generate guiding information for guiding the user to adjust the first analysis result based on the second target data;
[0016] Obtain the second information input by the user according to the guiding information;
[0017] Determine the operation instruction of the target data corresponding to the first analysis result based on the second information.
[0018] In some embodiments, after determining the target operation instruction corresponding to the first analysis result based on the second information, the method further includes:
[0019] Transform the first analysis result based on the data structure of the target database to obtain the transformed first analysis result;
[0020] Associatively store the first information input by the user, the operation instruction of the target data, and the transformed first analysis result into the target database.
[0021] In some embodiments, the matching of the first analysis result with the data in the target database specifically includes:
[0022] Match at least one analysis element included in the first analysis result with the data in the target database respectively to obtain the matching result of the first analysis result and the data in the target database.
[0023] In some embodiments, presenting the operation process of the operation device executing the first operation instruction in sequence based on the execution order of the first operation instruction specifically includes:
[0024] Determine at least one of the operation devices based on the execution order of the first operation instruction;
[0025] Sequentially present the display content of at least one of the operation devices executing the first operation instruction in sequence.
[0026] In some embodiments, before receiving the first analysis result obtained after the intention analysis and processing of the first information, the method further includes:
[0027] Match the first information input by the user with the data in the target database to obtain a first matching result;
[0028] In the case where the matching degree included in the first matching result is less than the first threshold, determine to perform intention analysis processing on the first information.
[0029] In some embodiments, the method further includes:
[0030] In the case where the first analysis result includes multiple instruction data, match the multiple instruction data in the first analysis result with the data in the target database respectively to obtain multiple first target data corresponding to the multiple instruction data respectively;
[0031] Determine the execution order of the first operation instructions respectively included in the multiple first target data;
[0032] Based on the execution order of the first operation instructions respectively included in the multiple first target data, sequentially present the operation process of the operating device executing the first operation instructions respectively included in the multiple first target data.
[0033] An embodiment of the present application further provides an information processing device, including:
[0034] An acquisition module configured to acquire the first information input by the user;
[0035] A receiving module configured to receive a first analysis result obtained after performing intention analysis processing on the first information;
[0036] A matching module configured to match the first analysis result with the data in the target database to obtain first target data, where the first target data includes at least one first operation instruction and the execution order of the first operation instruction;
[0037] A display module configured to sequentially present the operation process of the operating device executing the first operation instruction based on the execution order of the first operation instruction. Description of the Drawings
[0038] In the drawings which are not necessarily drawn to scale, the same reference numerals may describe similar components in different views. The drawings generally illustrate various embodiments by way of example and not limitation, and are used together with the description and the claims to explain the disclosed embodiments. Where appropriate, the same reference numerals are used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be an exhaustive or exclusive embodiment of the device or method.
[0039] Figure 1It is the first flowchart of the information processing method according to the embodiments of the present application;
[0040] Figure 2 It is a schematic diagram of the display interface of an electronic device adopting the information processing method according to the embodiments of the present application;
[0041] Figure 3 It is the second flowchart of the information processing method according to the embodiments of the present application;
[0042] Figure 4 It is a schematic diagram for performing intention analysis processing on the target model of the information processing method according to the embodiments of the present application;
[0043] Figure 5 It is the third flowchart of the information processing method according to the embodiments of the present application;
[0044] Figure 6 It is the fourth flowchart of the information processing method according to the embodiments of the present application;
[0045] Figure 7 It is the structural block diagram of the information processing device according to the embodiments of the present application. Detailed implementation manners
[0046] It should be understood that various modifications can be made to the embodiments herein. Therefore, the above description should not be regarded as a limitation, but only as an example of the embodiments. Those skilled in the art will think of other modifications within the scope and spirit of the present application.
[0047] The accompanying drawings included in and forming a part of the specification illustrate the embodiments of the present application, and together with the general description of the present application given above and the detailed description of the embodiments given below are used to explain the principles of the present application.
[0048] By the following description of the preferred forms of the embodiments given as non - limiting examples with reference to the accompanying drawings, these and other features of the present application will become apparent.
[0049] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art can surely implement many other equivalent forms of the present application.
[0050] When combined with the accompanying drawings, in view of the following detailed description, the above and other aspects, features and advantages of the present application will become more apparent.
[0051] Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments are merely examples of the present application and can be implemented in various ways. Well-known and / or repetitive functions and structures are not described in detail to avoid obscuring the present application with unnecessary or redundant details. Therefore, the specific structural and functional details herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in substantially any suitable detailed structure in a variety of ways.
[0052] This specification may use the phrases "in one embodiment", "in another embodiment", "in yet another embodiment", or "in other embodiments", all of which may refer to one or more of the same or different embodiments according to the present application.
[0053] An embodiment of the present application provides an information processing method. The information processing method can be implemented on an electronic device having information acquisition and information processing capabilities. The electronic device may refer to different electronic devices such as a smart phone, a tablet computer, a laptop computer, etc. The present application does not limit what specific device the electronic device is, as long as it can perform information acquisition and information processing.
[0054] As Figure 1 shown, the above-mentioned information processing method includes steps S101 to S104.
[0055] Step S101: Obtain the first information input by the user.
[0056] The way for the user to input the first information can be a combination of one or more of the following ways: voice input, text input, touch input, and gesture recognition.
[0057] As Figure 2 shown, the "voice input" shown on the display interface can be understood as an interface through which the user can perform voice input, and the "please enter content" shown on the display interface can be understood as an area where the user can perform text input.
[0058] Exemplarily, the user can send the first information to the electronic device by selecting "voice input" on the display interface, such as "The music is too noisy", "I want to chat with user B using software A", etc.
[0059] Step S102: Receive the first analysis result obtained after performing intention analysis processing on the first information.
[0060] The above-mentioned intention analysis processing can be executed via a data model to accurately identify the intention of the user to input the first information.
[0061] Step S103: Match the first analysis result with the data in the target database to obtain first target data, where the first target data includes at least one first operation instruction and the execution order of the first operation instruction.
[0062] The above-mentioned target database can be stored locally or in the cloud. This application does not make specific limitations on the storage location of the target database. The target database can store analysis data related to the analysis result obtained after intention analysis and processing, and also stores the association relationship between each analysis data and the operation instruction. The process of matching the first analysis result with the data in the target database can be understood as the process of matching the first analysis result with the analysis data in the target database, and thus the first target data that matches the first analysis result can be determined.
[0063] The first operation instruction included in the above-mentioned first target data can be understood as the operation instruction to be executed for the first information input by the user determined after intention analysis and processing. This operation instruction is consistent with the user's intention to meet the operation purpose of the user inputting the first information.
[0064] After matching the first analysis result and the data in the target database, a specific matching degree can be obtained, such as represented by a matching degree. Of course, the matching result of the first analysis result and the data in the target database can also be determined in the way of matching levels (such as a high match, a medium match, and a low match). This application does not make specific limitations on the way of indicating the matching degree of the first analysis result and the data in the target database, as long as different matching degrees can be clearly distinguished.
[0065] Matching the first analysis result with the data in the target database can obtain a second matching result. Only when the matching degree included in the second matching result is greater than the second threshold can the first target data be determined in the target database. It can be understood that the first target data will be generated only when the first analysis result and the data in the target database reach a preset matching degree. If the first analysis result and the data in the target database fail to match, the first target data cannot be generated. Among them, the value range of the second threshold can be 75% to 85%, preferably 80%.
[0066] The matching method for the first analysis result and the data in the target database can be fuzzy matching, so as to match the same operation instruction for some information with similar but not completely the same intentions. Among them, fuzzy matching can be understood as allowing the matching of incompletely identical data through a certain algorithm or technology. Compared with the exact matching that requires the data to be exactly the same, fuzzy matching tolerates some differences, such as spelling mistakes, word deformations, different formats, etc.
[0067] Exemplarily, the first information input by the user is "The music is too noisy". After intention analysis and processing, "The music is too noisy" can be matched with "Lower the music volume" in the target database to determine that the user intentions of "The music is too noisy" and "Lower the music volume" are the same, so as to determine the first target data matching "Lower the music volume" in the target database.
[0068] Step S104: Based on the execution order of the first operation instruction, sequentially present the operation process of the operating device executing the first operation instruction.
[0069] The electronic device executing the information processing method of this application can have a teaching mode and a non-teaching mode. In the teaching mode, the electronic device can sequentially present the operation process of the operating device executing the first operation instruction, that is, it can fully display the operation process of the first operation instruction to the user, realizing teaching while executing. In the non-teaching mode, after obtaining the first target data, the electronic device can call the program interface to directly display the result of executing the first operation instruction to the user without showing the operation process to the user.
[0070] The above teaching mode and non-teaching mode can be selected by the user or determined by the electronic device based on the current operation scenario. This application does not specifically limit the determination method of the teaching mode and the non-teaching mode. Exemplarily, as Figure 2 shown, the user can select whether to turn on the teaching mode on the display interface.
[0071] After determining the first operation instruction of the first target data, the operating device for executing the first operation instruction can be determined. The operating device can be understood as a device that the user can use to control the electronic device, such as a mouse, keyboard, operation handle, touchpad, etc.
[0072] Specifically, after determining the first operation instruction, the operating device for executing the first operation instruction can be determined according to the attributes of the electronic device, enabling the user to operate through the operating device matching the attributes of the electronic device. Exemplarily, when the electronic device is a laptop computer, it can be determined that the operating devices for executing the first operation instruction are a mouse, keyboard, etc., and thus the operation process of the cursor can be presented; when the electronic device is a game device, it can be determined that the operating devices for executing the first operation instruction are an operation handle, touchpad, etc., and the operation process of using operating devices such as an operation handle and touchpad can be shown to the user. For example, if the first information input by the user is "I want to control the game character to move forward", the process of controlling the game character to move forward through operating devices such as an operation handle and touchpad can be shown to the user to achieve the purpose of teaching and guide the user to use the corresponding operating device.
[0073] Specifically, after determining the first operation instruction, the operation device for executing the first operation instruction can be determined according to the content of the first information, so as to make the determined operation device more in line with the user's intention based on the content of the first information.
[0074] Exemplarily, when the first information is "I want to adjust the brightness of the display", the device capable of adjusting the brightness of the display can be determined as the operation device for executing the first operation instruction. For example, the mouse can be determined as the operation device to execute the adjustment of the display brightness, or the touchpad can be determined as the operation device to execute the adjustment of the display brightness (such as three-finger sliding for adjusting the display brightness). When it is determined that multiple operation devices can all execute the first operation instruction, the processes of the multiple operation devices executing the first operation instruction can be demonstrated one by one, or one of the multiple operation devices can be selected for demonstration.
[0075] Exemplarily, in the case where the first information is "I want to input content using the gesture recognition function", it can be determined that the user's intention is to use the gesture recognition sensor for content input. Therefore, the device capable of turning on the gesture recognition function and the gesture recognition sensor can be determined as the operation device for executing the first operation instruction. Among them, the device for turning on the gesture recognition function can be a mouse, a keyboard, etc. For example, the process of turning on the gesture recognition function by operating the mouse can be presented. After the gesture recognition function is turned on, the process of inputting content through the gesture recognition sensor can be demonstrated, so as to not only guide the user on how to turn on the gesture recognition function, but also guide the user to use the gesture recognition sensor to input content.
[0076] The operation device determined based on the first operation instruction can be different, that is, the operation instruction can be executed by different operation devices. For example, the operation instruction to be executed is to select a certain object, which can be selected by the mouse or can also be selected by the keyboard. This operation device is not fixed. Specifically, the corresponding operation device can be determined according to the user's operation habit, so as to guide the user to use the electronic device while conforming to the user's operation habit.
[0077] The above information processing method can also identify the current operation scenario of the electronic device during the process of matching the first analysis result with the data in the target database, and determine the first target data and / or the operation device for executing the first target data based on the identified operation scenario. It can be understood that different operation scenarios can determine different first operation instructions for the first target data, and / or different operation devices for executing the first target data, so that the determined first target data and / or the operation device for executing the first target data can better conform to the operation scenario of the user's current operation of the electronic device.
[0078] The above-mentioned determination of the first target data based on the recognized operation scenario can be understood as determining the attributes of the first operation instruction for the first target data. The attributes of the first operation instruction may include execution parameters, execution objects, etc.
[0079] Exemplarily, when it is recognized that the current operation scenario of the electronic device is an office scenario, if the first operation instruction indicates adjusting the volume, the execution parameter can be determined as the volume to be adjusted. At this time, the volume can be adjusted to 10% to avoid the problem of excessive volume affecting work in the office scenario.
[0080] Exemplarily, when it is recognized that the current operation scenario of the electronic device is a game scenario, if the first operation instruction indicates adjusting the volume, the volume can be adjusted to 40% to best meet the user's requirements for volume in the game scenario and provide the user with a better gaming experience.
[0081] An example is given for the operation device that executes the first target data determined based on the recognized operation scenario. For example, when it is recognized that the current operation scenario of the electronic device is an office scenario, the operation devices that execute the first target data can be determined as devices such as a mouse and a keyboard; when it is recognized that the current operation scenario of the electronic device is a game scenario, the operation devices that execute the first target data can be determined as an operation handle, a touchpad, etc.
[0082] The above-mentioned information processing method can also identify the attributes of the electronic device, such as the display mode of the electronic device (such as single-screen display, dual-screen display, etc.), the operating system of the electronic device, etc., during the process of matching the first analysis result with the data in the target database, so that the determined first target data can match the attributes of the electronic device.
[0083] The above-mentioned information processing method can also identify the attribute characteristics of the user, such as the user's age, gender, etc., during the process of matching the first analysis result with the data in the target database, so as to match the corresponding first target data for the user. Moreover, the identified attribute characteristics of the user can also be used to adjust the operation process of the operation instruction. For example, when the user is relatively young or old, the operation speed of the operation process can be reduced to more clearly present the operation process to the user.
[0084] By performing intention analysis and processing on the first information input by the user, the present application can obtain a first analysis result. Matching the first analysis result with the data in the target database can obtain first target data. Then, based on the execution order of the first operation instruction included in the first target data, the operation process of the operation device executing the first operation instruction is presented in sequence, realizing that after clarifying the operation intention of the first information input by the user, the process of the operation device executing the first operation instruction is simulated for the user in real time, that is, the operation process of the first operation instruction can be fully displayed to the user, achieving teaching while executing, and achieving the purpose of guiding the user to use the electronic device based on the presented content. Moreover, the purpose of automatically executing the user's instructions can be achieved simultaneously, without the need for the user to manually operate, effectively improving the user's usage experience.
[0085] In some embodiments, the method further includes: in the case where the first analysis result fails to match the data in the target database, updating the target database based on the first analysis result, and determining second target data in the target database that satisfies a preset matching relationship with the first analysis result.
[0086] In this way, in the case where the first analysis result fails to match the data in the target database, the data in the target database can be updated in a timely manner, and the data stored in the updated target database is more in line with the user's personal habit characteristics. In the subsequent usage process, it can respond to the information output by the user faster based on the updated target database, and even may be able to determine the data that is relatively well-matched without intention analysis and processing. In this way, there is no need to perform intention analysis and processing on the information input by the user, which can reduce the computing amount while meeting the user's usage requirements.
[0087] The failure of the above first analysis result to match the data in the target database can be understood as the matching degree between the first analysis result and the data in the target database being not greater than a second threshold. In this case, the first target data cannot be obtained. By updating the target database based on the first analysis result, corresponding target data can be quickly matched for the user in the target database when the same first information is received subsequently.
[0088] The above second target data that satisfies the preset matching relationship can be understood as, in the case where the matching degree between the first analysis result and the data in the target database is not greater than the second threshold, taking the data in the target database with the highest matching degree with the first analysis result as the second target data. The possibility that this second target data can meet the intention of the user inputting the first information is the highest. Therefore, it is preliminarily determined that the operation instruction included in the second target data is the operation instruction to be executed.
[0089] In some embodiments, such as Figure 3As shown, the receiving in step S102 performs intention analysis processing on the first information and obtains a first analysis result, which specifically includes:
[0090] Step S201: Input the first information into a target model for intention analysis processing; wherein, the target model is constructed as a cloud model and / or a local model.
[0091] Step S202: Receive the first analysis result generated after the target model performs intention analysis processing. The first analysis result includes at least one analysis element, and the analysis element is one or more of the following: intention classification element, action object element, and action target element.
[0092] In this way, the first information can be subjected to relatively accurate intention analysis processing through the cloud model and / or the local model, and moreover, a first analysis result containing relatively comprehensive analysis elements can be generated, so that when the first analysis result is matched with the data in the target database subsequently, it can be more accurately and comprehensively matched with the data in the target database to improve the accuracy of the matching result.
[0093] After determining the target model for intention analysis processing, the role of the target model can be set. For example, the role of the target model can be set as "a tool for intention analysis and action understanding classification regarding the operation of electronic devices". And it is set that the first analysis result output by the target model is output in a preset format. The preset format can be understood as being able to list each analysis element in sequence.
[0094] Exemplarily, as Figure 4 shown, when the first information is "The music is too loud", after performing intention analysis processing through the target model, it can be determined that the intention classification is "adjustment", the action object is "audio", and the action target is "turn down"; when the first information is "I want to chat with user B using software A", after performing intention analysis processing through the target model, it can be determined that the intention classification is "open", the action object is "software A", and the action target is "user B".
[0095] In some embodiments, as Figure 5 shown, after determining the second target data in the target database that satisfies the preset matching relationship with the first analysis result, the method further includes steps S301 to S303.
[0096] Step S301: Generate guiding information for guiding the user to adjust the first analysis result based on the second target data.
[0097] Step S302: Obtain the second information input by the user according to the guiding information.
[0098] Step S303: Determine an operation instruction for target data corresponding to the first analysis result based on the second information.
[0099] In this way, according to the second information input by the user based on the guiding information, the target operation instruction matching the user's intention can be accurately determined. Especially when the first analysis result does not match the data in the target database, the user's intention can be more accurately recognized, avoiding the problem that the executed operation instruction does not conform to the user's intention.
[0100] The above guiding information can be understood as information that can be used to directly guide the user to adjust the first information, enabling the electronic device to match the operation instruction corresponding to the first information as much as possible.
[0101] The above guiding information can be associated with the content of the first information. For example, when the first information is "I want to open the most commonly used chat software", the guiding information can present the icons of multiple chat software on the display interface. The user can select the chat software to be opened from the icons of multiple chat software to generate the second information, and based on the selected chat software, determine that opening the chat software can be used as the target operation instruction. After the user subsequently inputs "I want to open the most commonly used chat software", the target operation instruction can be directly matched to directly open the chat software without having to perform intention analysis processing and the matching process between the analysis result and the data in the target database again. Another example is when the first information is "I want to adjust the parameters of the display screen to the eye protection mode", the guiding information can present the content of setting display parameters such as brightness, contrast, and color temperature. The user can adjust and save each display parameter to generate the second information, and use the adjusted display parameters set by the user as the target operation instruction. After the user subsequently inputs "I want to adjust the parameters of the display screen to the eye protection mode", the target operation instruction can be directly matched to directly adjust each display parameter of the display screen to the display parameters set by the user without having to perform intention analysis processing and the matching process between the analysis result and the data in the target database again.
[0102] After receiving the guiding information, the user can input the second information based on this. The second information can be input in the same way as the first information or in a different way from the first information. The present application does not make specific limitations on the input method of the second information.
[0103] In some embodiments, after determining the target operation instruction corresponding to the first analysis result based on the second information in step S303, the method further includes:
[0104] Convert the first analysis result based on the data structure of the target database to obtain the converted first analysis result;
[0105] Associate and store the first information input by the user, the operation instruction of the target data, and the transformed first analysis result in the target database.
[0106] In this way, after associatively storing the first information, the target operation instruction, and the transformed first analysis result, it is possible to continuously supplement the target database with data that better conforms to the user's personal habit characteristics during the user's use of the electronic device. Then, when the user subsequently inputs the first information or information similar to the first information, the corresponding data can be directly matched in the target database, and it may even be possible to determine the relatively matching data without the need for intention analysis processing. In this way, there is no need to perform intention analysis processing on the information input by the user anymore, which reduces the computational workload while meeting the user's usage requirements, effectively saving the computing resources and execution time of the electronic device.
[0107] The analysis data that can be stored in the above-mentioned target database can be understood as the data stored in the target database in the above data structure. After obtaining the information input by the user, the information can be matched with the analysis data in the target database, or the analysis result obtained after intention analysis processing can be matched with the analysis data to better understand the user's intention and make the matched data more in line with the user's intention.
[0108] In some embodiments, the matching the first analysis result with the data in the target database in step S103 specifically includes:
[0109] Match at least one analysis element included in the first analysis result with the data in the target database respectively to obtain the matching result of the first analysis result and the data in the target database.
[0110] In this way, the matching result can be obtained after each analysis element is respectively matched with the data in the target database, so as to improve the matching accuracy of the first analysis result and the data in the target database, and make the obtained matching result more in line with the user's intention.
[0111] The above first analysis result may include all of the following elements: intention classification element, action object element, and action target element, or may include one or two of them. Exemplarily, if the first analysis result is "open software A", then the intention classification can be determined as "open", and the action object is "software A". In this case, there is no action target element.
[0112] In some embodiments, the presenting the operation process of the operating device executing the first operation instruction in sequence based on the execution order of the first operation instruction in step S104 specifically includes:
[0113] Determine at least one of the operating devices based on the execution order of the first operation instruction;
[0114] Sequentially present the display content of the at least one operating device executing the first operation instruction in sequence.
[0115] In this way, the process of each operating device sequentially executing the first operation instruction can be presented continuously, so as to clearly show the changes in the display content after each operating device executes, enabling the user to be more familiar with the display interface after each operation, deepening the user's memory of the interface after the operation, and achieving the purpose of better guiding the user.
[0116] Exemplarily, when the first information is "I want to use software A to send content C to user B", after the intention analysis and processing determines that the intention classification is "open", the action object is "software A", the action target is "user B" and "send content C", after matching the corresponding first operation instruction, the operating device for executing the first operation instruction can be determined, such as selecting software A with the mouse and selecting user B on the interface of software A, and determining to input content C with the keyboard. After determining the operating device, the mouse and the keyboard execute the first operation instruction sequentially, and after the mouse selects user B on the interface of software A, the keyboard can sequentially input content C on this display interface, so as to completely present the operation process corresponding to "I want to use software A to send content C to user B" for the user, achieving the purpose of clearly guiding the user to operate the electronic device.
[0117] In some embodiments, as Figure 6 shown, before receiving the first analysis result obtained by performing intention analysis and processing on the first information in step S102, the method further includes steps S401 to S402.
[0118] Step S401: Match the first information input by the user with the data in the target database to obtain a first matching result.
[0119] Step S402: In the case where the matching degree included in the first matching result is less than the first threshold, determine to perform intention analysis and processing on the first information.
[0120] In this way, when the matching degree between the first information and the data in the target database is relatively high, the matched data can be directly output without performing intention analysis and processing, which can effectively reduce the amount of computation, reduce the invocation of the target model, and save the computing resources of the electronic device.
[0121] The above first threshold can be greater than the second threshold. Specifically, the value range of the first threshold can be 85% to 95%, preferably 90%.
[0122] In some embodiments, the method further includes:
[0123] When the first analysis result contains multiple instruction data, the multiple instruction data in the first analysis result are respectively matched with the data in the target database to obtain multiple first target data respectively corresponding to the multiple instruction data;
[0124] Determine the execution order of the first operation instructions respectively included in the multiple first target data;
[0125] Based on the execution order of the first operation instructions respectively included in the multiple first target data, sequentially present the operation process of the operating device executing the first operation instructions respectively included in the multiple first target data.
[0126] In this way, when the first analysis result contains multiple instruction data, the multiple first operation instructions respectively corresponding thereto can be executed respectively to meet the user's operation requirements when the user's operation requirements are relatively complex, and the operation process of the operating device executing the first operation instructions respectively included in the multiple first target data can be completely presented to the user, enabling the user to see the continuous execution of the operations conforming to his intention and meeting the user's complex operation requirements.
[0127] The instruction data included in the above first analysis result can be understood as the data of the operation instructions conforming to the user's intention included in the first analysis result. When the user's intention only indicates one operation instruction, the instruction data can be one; when the user's intention indicates multiple operation instructions, the instruction data can be multiple. For example, "increase the volume" can be understood as the user's intention only indicating one operation instruction, and "increase the volume and lower the screen brightness" can be understood as the user's intention indicating two operation instructions.
[0128] The following is an example of the case where the first analysis result contains multiple instruction data. For example, when the first analysis result contains three instruction data, such as "open software A", "increase the volume", and "chat with user B using software A", these three instruction data are respectively matched with the data in the target database, and the first target data respectively matched with these three instruction data can be obtained, that is, three first target data. The first operation instructions respectively included in these three first target data will be executed in sequence to completely display the process of the sequential execution of these three instruction data for the user, achieving the purpose of meeting the user's complex operation requirements.
[0129] The execution order of the first operation instructions respectively included in the above-mentioned multiple first target data can be determined based on the content of the first information input by the user, that is, the execution order of each first operation instruction can be determined according to the user's semantic habits, or can be determined based on the execution logic between each first operation instruction, so that the execution order of each first operation instruction can conform to the conventional operation habits to better guide the user to operate the electronic device.
[0130] Exemplarily, when the first analysis result includes three instruction data, such as "open software A", "increase the volume", and "chat with user B using software A", it can be determined that there is an execution logic with a sequence between "open software A" and "chat with user B using software A". The operation instructions of "open software A" and "chat with user B using software A" can be executed first, and then the operation instruction of "increase the volume" can be executed, so that the execution order of the first operation instructions can more conform to the conventional operation habits.
[0131] In some embodiments, the above-mentioned first target data may include multiple first operation instructions and the execution order of the multiple first operation instructions, that is, the first target data obtained by matching the first analysis result with the data in the target database can simultaneously indicate multiple operations. Exemplarily, when the first information is "I want to adjust the parameters of the display screen to the eye protection mode", it can be determined that the first target data matching the first analysis result is related to adjusting the parameters of the display screen. The first target data may include a first operation instruction for adjusting the brightness, a first operation instruction for adjusting the contrast, a first operation instruction for adjusting the color temperature, etc., to adjust the parameters of the display screen.
[0132] The embodiment of the present application also provides an information processing device 100. As Figure 7 shown, the information processing device 100 includes an acquisition module 101, a reception module 102, a matching module 103, and a display module 104. The acquisition module 101 is configured to acquire the first information input by the user. The reception module 102 is configured to receive the first analysis result obtained by performing intention analysis processing on the first information. The matching module 103 is configured to match the first analysis result with the data in the target database to obtain the first target data, and the first target data includes at least one first operation instruction and the execution order of the first operation instruction. The display module 104 is configured to sequentially present the operation process of operating the device to execute the first operation instruction based on the execution order of the first operation instruction.
[0133] Through intention analysis and processing of the first information input by the user, the present application can obtain a first analysis result. By matching the first analysis result with the data in the target database, first target data can be obtained. Then, based on the execution order of the first operation instruction included in the first target data, the operation process of the operation device executing the first operation instruction is presented sequentially. After clarifying the operation intention of the first information input by the user, the present application realizes real-time simulation for the user of the process of the operation device executing the first operation instruction, that is, it can fully display the operation process of the first operation instruction to the user, achieving teaching while executing, so as to guide the user to use the electronic device based on the presented content. Moreover, it can simultaneously achieve the purpose of automatically executing the user's instructions without the user's manual operation, effectively improving the user experience.
[0134] In some embodiments, the information processing device 100 further includes an update module, which is configured to: in the case where the first analysis result fails to match the data in the target database, update the target database based on the first analysis result, and determine second target data in the target database that satisfies a preset matching relationship with the first analysis result.
[0135] In some embodiments, the receiving module 102 is further configured to: input the first information into a target model for intention analysis and processing; wherein, the target model is constructed as a cloud model and / or a local model; receive the first analysis result generated after the intention analysis and processing of the target model, and the first analysis result includes at least one analysis element, and the analysis element is one or more of the following: intention classification element, action object element, and action target element.
[0136] In some embodiments, the information processing device 100 further includes a processing module, which is configured to: after determining second target data in the target database that satisfies a preset matching relationship with the first analysis result, generate guiding information for guiding the user to adjust the first analysis result based on the second target data; obtain second information input by the user according to the guiding information; and determine the operation instruction of the target data corresponding to the first analysis result based on the second information.
[0137] In some embodiments, the processing module is further configured to: after determining the target operation instruction corresponding to the first analysis result based on the second information, transform the first analysis result based on the data structure of the target database to obtain the transformed first analysis result; and associatively store the first information input by the user, the operation instruction of the target data, and the transformed first analysis result in the target database.
[0138] In some embodiments, the matching module 103 is further configured to: respectively match at least one analysis element included in the first analysis result with the data in the target database to obtain a matching result between the first analysis result and the data in the target database.
[0139] In some embodiments, the display module 104 is further configured to: determine at least one of the operating devices based on the execution order of the first operation instruction; sequentially present the display content of the at least one operating device executing the first operation instruction in sequence.
[0140] In some embodiments, the matching module 103 is further configured to: before receiving the first analysis result obtained by performing intention analysis processing on the first information, match the first information input by the user with the data in the target database to obtain a first matching result; in the case where the matching degree included in the first matching result is less than a first threshold, determine to perform intention analysis processing on the first information.
[0141] In some embodiments, the matching module 103 is further configured to: in the case where the first analysis result includes a plurality of instruction data, respectively match the plurality of instruction data in the first analysis result with the data in the target database to obtain a plurality of first target data respectively corresponding to the plurality of instruction data; determine the execution order of the first operation instructions respectively included in the plurality of first target data; based on the execution order of the first operation instructions respectively included in the plurality of first target data, sequentially present the operation process of the operating device executing the first operation instructions respectively included in the plurality of first target data.
[0142] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above information processing method are implemented.
[0143] Note that, according to various embodiments of the present application, each unit can be implemented as computer-executable instructions stored in a memory, which can implement corresponding steps when executed by a processor; it can also be implemented as hardware with corresponding logical computing capabilities; it can also be implemented as a combination of software and hardware (firmware). In some embodiments, the processor can be implemented as any one of FPGA, ASIC, DSP chip, SOC (system on chip), MPU (such as but not limited to Cortex), etc. The processor can be communicatively coupled to the memory and configured to execute the computer-executable instructions stored therein. The memory can include read-only memory (ROM), flash memory, random access memory (RAM), dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM, static memory (e.g., flash memory, static random access memory), etc., on which computer-executable instructions are stored in any format. The computer-executable instructions can be accessed by the processor, read from the ROM or any other suitable storage location, and loaded into the RAM for the processor to execute, so as to implement the wireless communication method according to various embodiments of the present application.
[0144] It should be noted that, among the various components of the system of the present application, the components are logically divided according to the functions to be implemented. However, the present application is not limited thereto, and the components can be re-divided or combined as needed. For example, some components can be combined into a single component, or some components can be further decomposed into more sub-components.
[0145] Each component embodiment of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the system according to the embodiments of the present application. The present application can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing some or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form. In addition, the present application can be implemented by means of hardware including several different elements and by means of a properly programmed computer. In the unit claims listing several devices, several of these devices can be embodied by the same hardware item. The use of the words first, second, and third, etc. does not denote any order. These words can be interpreted as names.
[0146] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application that have equivalent elements, modifications, omissions, combinations (e.g., schemes that cross various embodiments), adaptations, or alterations. The elements in the claims will be broadly interpreted based on the language employed in the claims and are not limited to the examples described in this specification or during the implementation of the present application, and the examples will be construed as non-exclusive.
[0147] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more of their aspects) can be used in combination with each other. For instance, those of ordinary skill in the art can use other embodiments when reading the above description. Additionally, in the above detailed description, various features can be grouped together to simplify the present application. This should not be construed as an intention that a disclosed feature that is not claimed is necessary for any claim. On the contrary, the subject matter of the present application can be less than all the features of a particular disclosed embodiment. Thus, the claims are incorporated herein as examples or embodiments into the detailed description, where each claim independently serves as a separate embodiment, and considering these embodiments, they can be combined with each other in various combinations or permutations. The scope of the present application should be determined with reference to the appended claims and the full scope of equivalent forms empowered by these claims.
[0148] The above embodiments are only exemplary embodiments of the present application and are not used to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art can make various modifications or equivalent replacements within the essence and protection scope of the present application, and such modifications or equivalent replacements should also be regarded as falling within the protection scope of the present application.
Claims
1. An information processing method, comprising: Obtaining first information input by the user; Receiving and performing intent analysis on the first information to obtain a first analysis result; Matching the first analysis result with data in a target database to obtain first target data, where the first target data includes at least one first operation instruction and an execution order of the first operation instruction; Based on the execution order of the first operation instructions, the operation process of the operation device executing the first operation instructions is presented in sequence.
2. The information processing method according to claim 1, further comprising: In the case that the first analysis result fails to match the data in the target database, the target database is updated based on the first analysis result, and second target data that satisfies a preset matching relationship with the first analysis result is determined in the target database.
3. The information processing method according to claim 2, wherein the receiving and performing intent analysis on the first information to obtain a first analysis result specifically comprises: Inputting the first information into a target model for intention analysis processing; wherein the target model is constructed as a cloud model and / or a local model; A first analysis result generated after the target model intention analysis processing is received, wherein the first analysis result includes at least one analysis element, and the analysis element is one or more of the following: an intention classification element, an action object element, and an action target element.
4. The information processing method according to claim 2, after determining in the target database the second target data that satisfies a preset matching relationship with the first analysis result, the method further comprises: generating, based on the second target data, guidance information for guiding the user to adjust the first analysis result; Acquire second information input by the user according to the guide information; An operation instruction of the target data corresponding to the first analysis result is determined based on the second information.
5. The information processing method according to claim 4, after determining the target operation instruction corresponding to the first analysis result based on the second information, the method further comprises: transforming the first analysis result based on the data structure of the target database to obtain a transformed first analysis result; The first information input by the user, the operation instruction of the target data and the converted first analysis result are stored in the target database in association.
6. The information processing method according to claim 3, wherein matching the first analysis result with the data in the target database comprises: At least one analysis element included in the first analysis result is matched with the data in the target database respectively to obtain a matching result between the first analysis result and the data in the target database.
7. The information processing method according to claim 1, wherein the sequentially presenting the operation process of the operating device executing the first operation instruction based on the execution order of the first operation instruction specifically comprises: determining at least one of the operating devices based on the execution order of the first operating instructions; The display contents of at least one of the operating devices executing the first operating instructions in sequence are presented successively.
8. The information processing method according to claim 1, before receiving and performing intention analysis on the first information to obtain a first analysis result, the method further comprises: Matching the first information input by the user with the data in the target database to obtain a first matching result; When the matching degree included in the first matching result is less than a first threshold, it is determined to perform intent analysis processing on the first information.
9. The information processing method according to claim 1, further comprising: In the case where the first analysis result includes a plurality of instruction data, the plurality of instruction data of the first analysis result are matched with the data in the target database respectively to obtain a plurality of first target data respectively corresponding to the plurality of instruction data; Determining an execution order of the first operation instructions respectively included in the plurality of the first target data; Based on the execution order of the first operating instructions respectively included in the plurality of first target data, the operation process of the operating device executing the first operating instructions respectively included in the plurality of first target data is presented in sequence.
10. An information processing device, comprising: An acquisition module configured to acquire first information input by a user; A receiving module, configured to receive a first analysis result obtained after performing intent analysis on the first information; a matching module configured to match the first analysis result with data in a target database to obtain first target data, wherein the first target data includes at least one first operation instruction and an execution order of the first operation instruction; The display module is configured to sequentially present the operation process of the operating device executing the first operation instruction based on the execution order of the first operation instruction.