Data processing method, device and electronic equipment

By determining and adjusting the association information of the input method, combined with the user's local information, and displaying personalized association options, the problem that the existing input method cannot meet the user's needs is solved, and the input efficiency is improved.

CN112015280BActive Publication Date: 2024-10-22BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910453661.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-28
Publication Date
2024-10-22
Estimated Expiration
2040-04-18

AI Technical Summary

Technical Problem

The association function of existing input methods cannot meet the personalized needs of users, resulting in low user input efficiency. Users need to manually modify or input word by word.

Method used

By determining the association information corresponding to the input information and its local information, the association information is adjusted based on the local information, and the adjusted association information is displayed to meet the user's personalized needs.

Benefits of technology

The input efficiency is improved, allowing users to directly select information that meets their needs from the displayed association information, reducing the need for manual modification and word-for-word input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112015280B_ABST
    Figure CN112015280B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a data processing method, device and electronic device, wherein the method includes: determining associative information corresponding to input information, and determining local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; adjusting the associative information according to the local information; displaying the adjusted associative information; and then the user can directly select an associative sentence that meets the needs from the displayed associative information, thereby improving input efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data processing method, device and electronic equipment. Background Art

[0002] With the development of computer technology, electronic devices such as mobile phones and tablet computers are becoming more and more popular, bringing great convenience to people's life, study and work. These electronic devices are usually installed with input method applications (input methods for short), so that users can use the input methods to input information.

[0003] In order to improve user input efficiency and enhance user experience, the input method provides an association function, that is, to provide association candidates (including words and sentences) based on the information input by the user; among them, the association model corresponding to the sentence association candidate is a popular model, and the sentences associated based on the association model cannot meet the personalized needs of users. For example, the user inputs: "I am resting in the hotel now", and the sentence associated based on the association model is "take the sleeper car back to Zhengzhou in the evening", but user A may take the sleeper car back to Beijing in the evening, user B may take a plane back to Zhengzhou in the afternoon, and user C may take the high-speed rail back to Guangzhou tomorrow morning, etc.; when the associated sentences provided by the input method cannot meet the user's needs, the user can go to the screen to manually modify a certain associated sentence based on the sentence on the screen, or manually enter the information to be replied to word by word, which is inefficient. Summary of the invention

[0004] An embodiment of the present invention provides a data processing method to improve input efficiency.

[0005] Correspondingly, an embodiment of the present invention further provides a data processing device and an electronic device to ensure the implementation and application of the above method.

[0006] In order to solve the above problems, an embodiment of the present invention discloses a data processing method, which specifically includes: determining associative information corresponding to input information, and determining local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; adjusting the associative information based on the local information; and displaying the adjusted associative information.

[0007] Optionally, the associative information includes multiple associative sentences, and determining the local information corresponding to the associative information includes: determining, for each associative sentence in the associative information, a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence based on the semantic keyword; and determining the local information corresponding to the associative sentence based on the semantic analysis result.

[0008] Optionally, the local information corresponding to the associative sentence is determined according to the semantic analysis result in at least one of the following ways: searching for local information matching the associative sentence from the input content according to the semantic analysis result; searching for local information matching the associative sentence from the application according to the semantic analysis result.

[0009] Optionally, searching for local information matching the associative statement from the application based on the semantic analysis result includes: searching for communication information matching the associative statement from the address book based on the semantic analysis result; and / or searching for travel information matching the associative statement from the schedule based on the semantic analysis result; and / or searching for memo information matching the associative statement from the memo based on the semantic analysis result.

[0010] Optionally, the adjusting the associative information according to the local information includes: selecting target information from semantic keywords corresponding to the associative sentence; and adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence.

[0011] Optionally, adjusting the target information in the associative sentence based on local information corresponding to the associative sentence includes: searching for adjustment information matching the target information from the local information corresponding to the associative sentence; and modifying the corresponding target information in the associative sentence based on the matching adjustment information.

[0012] Optionally, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

[0013] Optionally, determining the associative information corresponding to the input information includes: generating a sentence association request based on the input information and sending it to the server, and receiving the associative information returned by the server; and / or matching at least one associative sentence corresponding to the input information based on an associative model, and generating associative information using the associative sentence.

[0014] Optionally, the displaying of the adjusted associative information includes: displaying the associative sentence according to the candidate score of the associative sentence in the adjusted associative information.

[0015] An embodiment of the present invention also discloses a data processing device, which specifically includes: an information determination module, used to determine the associative information corresponding to the input information, and to determine the local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; an information adjustment module, used to adjust the associative information according to the local information; and an information display module, used to display the adjusted associative information.

[0016] Optionally, the information determination module includes: a semantic analysis submodule, used to determine, for each associative sentence in the associative information, the semantic keywords corresponding to the associative sentence, and determine the semantic analysis results corresponding to the associative sentence based on the semantic keywords; and a local information determination submodule, used to determine the local information corresponding to the associative sentence based on the semantic analysis results.

[0017] Optionally, the local information determination submodule includes: a first search unit, used to search for local information matching the associative statement from the input content according to the semantic analysis result; a second search unit, used to search for local information matching the associative statement from the application according to the semantic analysis result.

[0018] Optionally, the second search unit is used to search for communication information that matches the associative statement from the address book based on the semantic analysis result; and / or, to search for travel information that matches the associative statement from the schedule based on the semantic analysis result; and / or, to search for memo information that matches the associative statement from the memo based on the semantic analysis result.

[0019] Optionally, the information adjustment module includes: a target information selection submodule, used to select target information from semantic keywords corresponding to the associative sentence; and a target information adjustment submodule, used to adjust the target information in the associative sentence based on local information corresponding to the associative sentence.

[0020] Optionally, the target information adjustment submodule is used to search for adjustment information matching the target information from local information corresponding to the associative sentence; and modify the target information corresponding to the associative sentence according to the matching adjustment information.

[0021] Optionally, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

[0022] Optionally, the information determination module includes: an associative information receiving submodule, used to generate a sentence association request based on the input information and send it to the server, and receive the associative information returned by the server; an associative information generating submodule, used to match at least one corresponding associative sentence for the input information based on the associative model, and generate associative information using the associative sentence.

[0023] Optionally, the information display module is used to display the associative sentence according to the candidate score of the associative sentence in the adjusted associative information.

[0024] An embodiment of the present invention further discloses a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a data processing method as described in any one of the embodiments of the present invention.

[0025] An embodiment of the present invention also discloses an electronic device, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: determining associative information corresponding to input information, and determining local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; adjusting the associative information based on the local information; and displaying the adjusted associative information.

[0026] Optionally, the associative information includes multiple associative sentences, and determining the local information corresponding to the associative information includes: determining, for each associative sentence in the associative information, a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence based on the semantic keyword; and determining the local information corresponding to the associative sentence based on the semantic analysis result.

[0027] Optionally, the local information corresponding to the associative sentence is determined according to the semantic analysis result in at least one of the following ways: searching for local information matching the associative sentence from the input content according to the semantic analysis result; searching for local information matching the associative sentence from the application according to the semantic analysis result.

[0028] Optionally, searching for local information matching the associative statement from the application based on the semantic analysis result includes: searching for communication information matching the associative statement from the address book based on the semantic analysis result; and / or searching for travel information matching the associative statement from the schedule based on the semantic analysis result; and / or searching for memo information matching the associative statement from the memo based on the semantic analysis result.

[0029] Optionally, the adjusting the associative information according to the local information includes: selecting target information from semantic keywords corresponding to the associative sentence; and adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence.

[0030] Optionally, adjusting the target information in the associative sentence based on local information corresponding to the associative sentence includes: searching for adjustment information matching the target information from the local information corresponding to the associative sentence; and modifying the corresponding target information in the associative sentence based on the matching adjustment information.

[0031] Optionally, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

[0032] Optionally, determining the associative information corresponding to the input information includes: generating a sentence association request based on the input information and sending it to the server, and receiving the associative information returned by the server; and / or matching at least one associative sentence corresponding to the input information based on an associative model, and generating associative information using the associative sentence.

[0033] Optionally, the displaying of the adjusted associative information includes: displaying the associative sentence according to the candidate score of the associative sentence in the adjusted associative information.

[0034] The embodiments of the present invention include the following advantages:

[0035] In an embodiment of the present invention, after determining the associative information corresponding to the input information, the local information corresponding to the associative information can be determined, and then the associative information can be adjusted based on the local information so that the associative information can better meet the personalized needs of the user; the adjusted associative information is then displayed, and the user can directly select an associative sentence that meets the needs from the displayed associative information, thereby improving input efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a flow chart of steps of an embodiment of a data processing method of the present invention;

[0037] Figure 2 is a flowchart of steps of an optional embodiment of a data processing method of the present invention;

[0038] Figure 3 is a structural block diagram of an embodiment of a data processing device of the present invention;

[0039] Figure 4 is a structural block diagram of an optional embodiment of a data processing device of the present invention;

[0040] Figure 5 A structural block diagram of an electronic device for data processing according to an exemplary embodiment;

[0041] Figure 6 It is a structural schematic diagram of an electronic device for data processing according to another exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0043] One of the core concepts of the embodiments of the present invention is that after determining the associative information of the input information, the associative information is adjusted and displayed based on local information, so that the displayed associative information can better meet the user's personalized needs, and then the user can directly select the information that meets the needs from the displayed associative information, thereby improving input efficiency.

[0044] Reference Figure 1 , shows a flow chart of steps of a data processing method embodiment of the present invention, which may specifically include the following steps:

[0045] Step 102: Determine the associative information corresponding to the input information, and determine the local information corresponding to the associative information, wherein the associative information includes at least one associative sentence.

[0046] Step 104: Adjust the association information according to the local information.

[0047] Step 106: Display the adjusted association information.

[0048] In an embodiment of the present invention, after the input method determines the input information, it can associate the input information to obtain corresponding associative information. For example, the input method can associate according to a predetermined associative model; wherein the association can be performed by the client of the input method or by the server of the input method, and the present invention does not limit this. In an embodiment of the present invention, the associative information can include at least one associative sentence, and the input information can refer to the information that has been on the screen, or can refer to the candidate items obtained by converting according to the input sequence, or can refer to the interactive information of the chat scene, and the present invention does not limit this. Since the associative information obtained by the input method through associating the input information cannot well meet the personalized needs of the user; therefore, the local information corresponding to the associative information can be determined, and then the associative information can be adjusted according to the local information, so that the associative information can better meet the personalized needs of the user. Among them, the way to determine the local information can include multiple ways, such as obtaining local information from local applications, and obtaining information from the input content, etc. In an embodiment of the present invention, each associative sentence in the associative information can be adjusted separately, such as adjusting certain information in the associative sentence, such as the target information, and the target information can refer to information with individual differences, such as a person's name, a place name, an account number, etc. Then the adjusted associative information can be displayed in the display area, wherein the display area can include multiple types, such as the associative area of ​​the input method, the candidate area, etc., and the designated display area of ​​the application. Then the associative information is adjusted according to the local information, and the adjusted associative information can well meet the personalized needs of the user, so that the subsequent user can directly select the associative sentence that meets the needs from the displayed associative information to put it on the screen; after the user performs the on-screen operation, the input method can receive the corresponding on-screen instruction, and then can determine the associative sentence corresponding to the on-screen instruction, and put the associative sentence on the screen; thus, there is no need for the user to manually adjust or input word by word, which improves the input efficiency.

[0049] In one example of the present invention, the input method determines the associative information corresponding to the input information such as the information on the screen: "I am getting ready to go out now", such as including two associative sentences: associative sentence 1 "I will take a sleeper car back to location 1 in a while", and associative sentence 2 "I am getting ready to go to scenic spot A for fun". And the local information corresponding to the associative information can be determined, for example, the local information corresponding to associative sentence 1 is determined, such as itinerary information: "Tomorrow 09:45 (location 2)-13:00 (location 3) KN****"; and the local information corresponding to associative sentence 2 is determined, such as ticket information: "Scenic spot B ticket + adult cruise ticket 1 for 30 yuan". Then the associative information can be adjusted according to the local information, such as using itinerary information to adjust associative sentence 1, and the adjusted associative sentence 1 can be obtained: "I will take a plane back to location 3 tomorrow", and using ticket information to adjust associative sentence 2 can be obtained. Adjusted associative sentence 2: "I am getting ready to go to scenic spot B for fun". Then the adjusted associative information is displayed, such as displaying "I will take a plane back to location 3 tomorrow" and "I am getting ready to go to scenic spot B for fun".

[0050] In an example of the present invention, the input method determines the associated information corresponding to the input information such as the candidate item: "Can I meet you?", such as including an associated sentence 3 "My name is Zhang San"; and obtains the local information corresponding to the associated information such as the name of the machine owner "Li Si". Then, the associated information can be adjusted according to the local information, such as adjusting the associated sentence 3 to obtain the adjusted associated sentence 3 "My name is Li Si"; and then the adjusted associated information is displayed, such as displaying "My name is Li Si".

[0051] In one example of the present invention, the input method determines the associative information corresponding to the input information such as the information on the screen: "I don't like singer A", which may include two associative sentences: associative sentence 4 "I like singer M" and associative sentence "I like to listen to song H recently". And determines the local information corresponding to the associative information, such as determining the local information corresponding to associative sentence 4 such as singer information: "Favorite singer: singer B", and determining the local information corresponding to associative sentence 5 such as song information: "The three most frequently played songs recently: song I". Then the associative sentence can be adjusted according to the local information, such as adjusting associative sentence 4 according to the singer information to obtain the adjusted associative sentence 4: "I like singer B"; and adjusting associative sentence 5 according to the song information to obtain the adjusted associative sentence 5: "I like to listen to song I recently". Then display the adjusted associative information, such as displaying "I like singer B" and "I like to listen to song I recently".

[0052] In an embodiment of the present invention, after determining the associative information corresponding to the input information, the local information corresponding to the associative information can be determined, and then the associative information can be adjusted based on the local information so that the associative information can better meet the personalized needs of the user; the adjusted associative information is then displayed, and the user can directly select an associative sentence that meets the needs from the displayed associative information, thereby improving input efficiency.

[0053] There may be information with individual differences in the associative sentence, such as location information, transportation information, time information, etc. For example, if the associative sentence is "Take the train to location 7 tomorrow", and the destination of user A is location 4, the destination of user B is location 5, and the destination of user C is location 6, etc.; then the location information "location 7" in the associative sentence is information with individual differences. For another example, if the associative sentence is "Take the train to Lhasa tomorrow", and the departure time of user D is today, the departure time of user E is tomorrow, and the departure time of user F is the day after tomorrow; then the time information "tomorrow" in the associative sentence is information with individual differences. For another example, if the associative sentence is "This time I took a plane from location 8 to location 9", and the transportation from location 8 to location 9 of user G is a train, the transportation from location 8 to location 9 of user H is a car, and the transportation from location 8 to location 9 of user I is an airplane; then the transportation information "airplane" in the associative sentence is information with individual differences. In the embodiment of the present invention, these information with individual differences can be called target information, so the associative sentence can meet the personalized needs of users by adjusting the target information in the associative sentence.

[0054] Reference Figure 2 , shows a flow chart of steps of an optional embodiment of a data processing method of the present invention, which may specifically include the following steps:

[0055] Step 202: Determine the associative information corresponding to the input information.

[0056] In an embodiment of the present invention, after determining the input information, the input method may associate the input information to determine the corresponding associative information; wherein, the input method may associate in a variety of ways. In one example of the present invention, one associative method may be that the server of the input method performs the association, so the input client may generate a sentence association request based on the input information and send it to the server, and receive the associative information returned by the server. wherein, after the client determines the input information, it may generate a corresponding sentence association request based on the input information, and the sentence association request is used to instruct the server to perform sentence association, and then the client may send the sentence association request to the server; after the server receives the sentence association request, it may perform sentence association on the input information in the sentence association request based on the associative model, and obtain at least one associative sentence. then, the associative sentence may be used to generate associative information and return it to the client, and then the client may obtain the associative information corresponding to the input information.

[0057] In another example of the present invention, another association method may be that the client of the input method performs association, so the client of the input method may match at least one corresponding association sentence for the input information based on an association model, and use the association sentence to generate association information; wherein, the association model may be obtained in advance by the client from the server.

[0058] Step 204: for each associative sentence in the associative information, determine the semantic keyword corresponding to the associative sentence, and determine the semantic analysis result corresponding to the associative sentence according to the semantic keyword.

[0059] Step 206: Determine the local information corresponding to the associative sentence based on the semantic analysis result.

[0060] Then, based on the associative information, local information matching the associative information can be searched locally; wherein, semantic analysis can be performed on each associative sentence in the associative information, and the local information corresponding to the associative sentence can be determined based on the result of the semantic analysis. In an example of the present invention, for each associative sentence in the associative sentence, the semantic keyword corresponding to the associative sentence can be determined, and the semantic analysis result corresponding to the associative sentence can be determined based on the semantic keyword, and the local information corresponding to each associative sentence can be determined based on the semantic analysis result. For example, an associative sentence: "Take the train to location 1 tomorrow", the associative sentence is segmented to obtain the semantic keywords: "I", "tomorrow", "sit", "train", "go" and "location 1", and then the semantic analysis result is determined based on the voice keywords: itinerary information (departure time: "tomorrow", transportation: "train" and destination: "location 1").

[0061] In one example of the present invention, a method for determining the local information corresponding to the associative sentence based on the semantic analysis result may be to search for the local information matching the associative sentence from the application based on the semantic analysis result. Among them, the method for searching for the local information matching the associative sentence from the application based on the semantic analysis result may include multiple methods. In one example, the memo information matching the associative sentence may be searched from the memo based on the semantic analysis result; in another example, the itinerary information matching the associative sentence may be searched from the schedule based on the semantic analysis result; in another example, the memo information matching the associative sentence may be searched from the memo based on the semantic analysis result; of course, local information may also be searched from other applications, such as video applications, game applications, etc., which are not limited by the embodiments of the present invention.

[0062] For example, the associated sentence "I will take the train to location 1 tomorrow" has the following semantic analysis results: itinerary information (departure time: "tomorrow", transportation: "train" and destination: "location 1"). You can search for memo information related to the itinerary from the memo, or from the schedule, or from the chat application, such as from the chat history; for example: "The day after tomorrow 8:00 (location A) - 13:00 (location B) G****". For another example, the associated sentence "I have a bad signal now, and I just called A but couldn't get through. Can you help me call A?" has the following semantic analysis results: communication information (called: A). Therefore, you can search for communication information such as recent calls from the address book, such as "M182****1222". For another example, the associated sentence "I like to play game A" has the following semantic analysis results: game preference information (subject "machine owner" and object "game A"), so you can determine the usage time of each game application from the historical records of each game application, and then determine the matching local information based on the usage time of each game application, for example: "Game M used for 300 hours". For another example, the associative sentence "I like to play game X, and my account is *********" has the following semantic analysis result: favorite game account information (application type "Game X", account: "**********"). User information can be obtained from each game application to determine the corresponding account information, and historical records can be obtained to determine the usage time. Then, based on the usage time and account information of each game application, matching local information can be determined, such as "Game K account: ########".

[0063] In another example of the present invention, when the application is an input method, another way to determine the local information corresponding to the associated sentence based on the semantic analysis result may be to search for local information matching each associated sentence from the input content based on the semantic analysis result. The input content may be content input by the user through the input method, or content input by the user through an editing operation such as pasting; the present invention does not limit this.

[0064] Then, the association sentence can be adjusted according to the local information, as follows:

[0065] Step 208: Select target information from the semantic keywords corresponding to the associative sentence.

[0066] Step 210: Adjust the target information in the associative sentence according to the local information corresponding to the associative sentence.

[0067] In the embodiment of the present invention, the target information can be first selected from the semantic keywords corresponding to the associative sentence, and then the target information in the associative sentence can be adjusted according to the local information corresponding to the associative sentence. For example, an associative sentence: "Take the train to location 1 tomorrow" is segmented to obtain the semantic keywords: "I", "tomorrow", "sit", "train", "go" and "location 1", and the target information "I", "tomorrow", "train" and "location 1" can be selected.

[0068] Among them, at least one of the following types of information can be selected from the semantic keywords: location type, time type, transportation type, account type, application type, person type, and event type as target information; correspondingly, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type; of course, other types such as film and television type, etc. can also be included, and the present invention is not limited to this. Among them, the location-related information may include information related to the location, and may include a specific address such as "Zhongguancun North Street, Haidian District, Beijing" and a place name "Tsinghua University"; the time-related information may include information related to time, such as "year", "month", "day", "hour", "minute", etc., and also for example "today", "tomorrow", "this year", "next year", and also for example "Year of the Dog", "Year of the Rabbit", and also for example "Year of the Xinhai", "Year of the Rat", etc.; the transportation-related information may include information related to the transportation, such as the means of transportation "train", "car", "plane", etc., and of course may also include "walking", "cycling", etc.; the account-related information may include information related to the account, such as a login account, etc.; the application-related information may include information related to the application, such as the name, version, type, etc. of the application; the person-related information may include person-related information, such as the name of the person (contact, celebrity), etc.; the event-related information may include information related to the event, such as the event name, event type, etc.

[0069] The step of adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence may specifically include the following sub-steps:

[0070] Sub-step 82: searching for adjustment information matching the target information from the local information corresponding to the associative sentence.

[0071] Sub-step 84: modify the corresponding target information in the association sentence according to the matched adjustment information.

[0072] In the embodiment of the present invention, the adjustment information matching the target information can be searched from the local information corresponding to the association sentence according to the type corresponding to the target information; for example, if the type corresponding to the target information is a location type, the location information such as address information, place name, etc. can be searched from the corresponding local information; for example, if the type corresponding to the target information is a transportation type, the transportation type such as airplane, train, etc. can be searched from the corresponding local information. Then, the target information and the adjustment information can be compared to determine whether the target information in the association sentence needs to be adjusted. If it is determined that the target information in the association sentence needs to be adjusted, the target information can be adjusted; wherein one adjustment method can be to modify the target information in the association sentence according to the matching adjustment information, and modify the target information in the association sentence to the matching adjustment information, for example, replace the target information in the association sentence with the matching adjustment information. wherein, if the target information in the association sentence is different from the corresponding adjustment information in the corresponding local information, it is determined that the target information in the association sentence needs to be adjusted; if the target information in the association sentence is the same as the corresponding adjustment information in the corresponding local information, it can be determined that the target information in the association sentence does not need to be adjusted. For example, the associative sentence "I like to play game B" corresponds to the local information: "The three most frequently used games recently: Game M"; if the target information corresponding to the associative sentence is determined to be: Game B, and the corresponding type is application, the application information: Game M can be found from the local information. At this time, the "Game M" in the associative sentence can be used to replace the "Game B" in the associative sentence, and the adjusted associative sentence "I like to play game M" can be obtained.

[0073] In an optional embodiment of the present invention, for a target information in an associative sentence, multiple adjustment information may be found from the corresponding local information, for example: the associative sentence "take a sleeper car to return to location X at night", the corresponding local information: "18:00 (location M) -21:15 (location Y) CZ****", if it is determined that the target information in the associative sentence: location X, the corresponding type is a location class, and then two adjustment information can be found from the local information, such as location information "location M" and "location Y"; therefore, it is necessary to filter the matching adjustment information, and then adjust according to the filtered adjustment information. In the embodiment of the present invention, the attribute corresponding to the target information can be determined according to the semantic analysis result corresponding to the associative sentence, and then the multiple adjustment information can be filtered according to the corresponding attribute of the target information. For example: through the semantic analysis result of the associative sentence, it can be determined that the attribute corresponding to the target information "location X" in the associative sentence is "destination", and then the adjustment information "location Y" can be filtered out from the multiple adjustment information; then "location Y" is used to replace "location X" in the associative sentence, and the adjusted associative information "take a sleeper car to return to location Y at night" can be obtained.

[0074] Step 212: display the associative sentence according to the candidate score of the associative sentence in the adjusted associative information.

[0075] The adjusted associative information can then be displayed, wherein the candidate score corresponding to each associative sentence in the adjusted associative information can be determined, and then the associative sentences are sorted in descending order according to the candidate score, and then all or part of the associative sentences are displayed on the first screen of the display area in the sorted order.

[0076] In an embodiment of the present invention, after determining the associative information corresponding to the input information, the local information corresponding to the associative information can be determined, and then the associative information can be adjusted based on the local information so that the associative information can better meet the personalized needs of the user; the adjusted associative information is then displayed, and the user can directly select an associative sentence that meets the needs from the displayed associative information, thereby improving input efficiency.

[0077] Secondly, in the process of determining the local information corresponding to the associative information, the embodiment of the present invention determines the semantic keywords corresponding to each associative sentence in the associative information, determines the semantic analysis results corresponding to the associative sentence based on the semantic keywords; determines the local information corresponding to each associative sentence based on the semantic analysis results; wherein, the local information corresponding to each associative sentence can be determined based on the semantic analysis results in at least one of the following ways: searching for the local information matching each associative sentence based on the semantic analysis results from the input content; searching for the local information matching each associative sentence based on the semantic analysis results from the application. In this way, local information with a high degree of relevance to the user can be obtained, which increases the degree to which the adjusted associative information can meet the personalized needs of the user, thereby further improving the input efficiency.

[0078] Thirdly, in the process of determining the associative information corresponding to the input information, the embodiment of the present invention can generate a sentence association request based on the input information and send it to the server, and receive the associative information returned by the server; since the server has strong computing power, the associative information is more comprehensive. Of course, it is also possible to match at least one associative sentence corresponding to the input information based on the associative model, and use the associative sentence to generate associative information; since there is no need to transmit the associative information through the network, the rate of determining the associative information is improved.

[0079] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0080] Reference Figure 3 , shows a structural block diagram of an embodiment of a data processing device of the present invention, which may specifically include the following modules: an information determination module 302, an information adjustment module 304 and an information display module 306, wherein:

[0081] An information determination module 302, configured to determine associative information corresponding to the input information, and to determine local information corresponding to the associative information, wherein the associative information includes at least one associative sentence;

[0082] An information adjustment module 304, configured to adjust the association information according to the local information;

[0083] The information display module 306 is used to display the adjusted associative information.

[0084] Reference Figure 4 , showing a structural block diagram of an optional embodiment of a data processing device of the present invention.

[0085] In an optional embodiment of the present invention, the information determination module 302 includes: a semantic analysis submodule 3022 and a local information determination submodule 3024, wherein:

[0086] The semantic analysis submodule 3022 is used to determine, for each associative sentence in the associative information, a semantic keyword corresponding to the associative sentence, and determine a semantic analysis result corresponding to the associative sentence according to the semantic keyword;

[0087] The local information determination submodule 3024 is used to determine the local information corresponding to the associative sentence according to the semantic analysis result.

[0088] In an optional embodiment of the present invention, the local information determination submodule 3024 includes:

[0089] A first searching unit 30242 is used to search for local information matching the associative sentence from the input content according to the semantic analysis result;

[0090] The second searching unit 30244 is used to search the local information matching the associative sentence from the application program according to the semantic analysis result.

[0091] In an optional embodiment of the present invention, the second search unit 30244 is used to search for communication information matching the associative statement from the address book based on the semantic analysis result; and / or, to search for travel information matching the associative statement from the schedule based on the semantic analysis result; and / or, to search for memo information matching the associative statement from the memo based on the semantic analysis result.

[0092] In an optional embodiment of the present invention, the information determination module 302 includes: an associative information receiving submodule 3026 and an associative information generating submodule 3028, wherein:

[0093] The association information receiving submodule 3026 is used to generate a sentence association request based on the input information and send it to the server, and receive the association information returned by the server;

[0094] The associative information generation submodule 3028 is used to match at least one corresponding associative sentence for the input information based on the associative model, and generate associative information using the associative sentence.

[0095] In an optional embodiment of the present invention, the information adjustment module 304 includes: a target information selection submodule 3042 and a target information adjustment submodule 3044, wherein:

[0096] The target information selection submodule 3042 is used to select target information from the semantic keywords corresponding to the associative sentence;

[0097] The target information adjustment submodule 3044 is used to adjust the target information in the associative sentence according to the local information corresponding to the associative sentence.

[0098] In an optional embodiment of the present invention, the target information adjustment submodule 3044 is used to search for adjustment information matching the target information from the local information corresponding to the associative sentence; and modify the corresponding target information in the associative sentence based on the matching adjustment information.

[0099] In an optional embodiment of the present invention, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

[0100] In an optional embodiment of the present invention, the information display module 306 is used to display the associated sentence according to the candidate score of the associated sentence in the adjusted associated information.

[0101] In summary, in an embodiment of the present invention, after determining the associative information corresponding to the input information, the local information corresponding to the associative information can be determined, and then the associative information can be adjusted based on the local information so that the associative information can better meet the personalized needs of the user; the adjusted associative information is then displayed, and the user can directly select the associative sentence that meets the needs from the displayed associative information, thereby improving the input efficiency.

[0102] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0103] Figure 5 1 is a block diagram of an electronic device 500 for data processing according to an exemplary embodiment. For example, the electronic device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0104] Reference Figure 5 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0105] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0106] The memory 504 is configured to store various types of data to support operations on the device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0107] The power component 506 provides power to the various components of the electronic device 500. The power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.

[0108] The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0109] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0110] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0111] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the device 500, the relative positioning of components, such as the display and keypad of the electronic device 500, and the sensor assembly 514 can also detect the position change of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0112] The communication component 516 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 514 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 514 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0113] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0114] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an electronic device 500 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0115] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute a data processing method, the method comprising: determining associative information corresponding to input information, and determining local information corresponding to the associative information, the associative information comprising at least one associative sentence; adjusting the associative information according to the local information; and displaying the adjusted associative information.

[0116] Optionally, the associative information includes multiple associative sentences, and determining the local information corresponding to the associative information includes: determining, for each associative sentence in the associative information, a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence based on the semantic keyword; and determining the local information corresponding to the associative sentence based on the semantic analysis result.

[0117] Optionally, the local information corresponding to the associative sentence is determined according to the semantic analysis result in at least one of the following ways: searching for local information matching the associative sentence from the input content according to the semantic analysis result; searching for local information matching the associative sentence from the application according to the semantic analysis result.

[0118] Optionally, searching for local information matching the associative statement from the application based on the semantic analysis result includes: searching for communication information matching the associative statement from the address book based on the semantic analysis result; and / or searching for travel information matching the associative statement from the schedule based on the semantic analysis result; and / or searching for memo information matching the associative statement from the memo based on the semantic analysis result.

[0119] Optionally, the adjusting the associative information according to the local information includes: selecting target information from semantic keywords corresponding to the associative sentence; and adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence.

[0120] Optionally, adjusting the target information in the associative sentence based on local information corresponding to the associative sentence includes: searching for adjustment information matching the target information from the local information corresponding to the associative sentence; and modifying the corresponding target information in the associative sentence based on the matching adjustment information.

[0121] Optionally, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

[0122] Optionally, determining the associative information corresponding to the input information includes: generating a sentence association request based on the input information and sending it to the server, and receiving the associative information returned by the server; and / or matching at least one associative sentence corresponding to the input information based on an associative model, and generating associative information using the associative sentence.

[0123] Optionally, the displaying of the adjusted associative information includes: displaying the associative sentence according to the candidate score of the associative sentence in the adjusted associative information.

[0124] Figure 6: is a schematic diagram of the structure of an electronic device 600 for data processing according to another exemplary embodiment of the present invention. The electronic device 600 may be a server, which may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 622 (for example, one or more processors) and a memory 632, and one or more storage media 630 (for example, one or more mass storage devices) storing application programs 642 or data 644. Among them, the memory 632 and the storage medium 630 may be temporary storage or permanent storage. The program stored in the storage medium 630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processor 622 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the server.

[0125] The server may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input and output interfaces 658, one or more keyboards 656, and / or, one or more operating systems 641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0126] An electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: determining associative information corresponding to input information, and determining local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; adjusting the associative information according to the local information; and displaying the adjusted associative information.

[0127] Optionally, the associative information includes multiple associative sentences, and determining the local information corresponding to the associative information includes: determining, for each associative sentence in the associative information, a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence based on the semantic keyword; and determining the local information corresponding to the associative sentence based on the semantic analysis result.

[0128] Optionally, the local information corresponding to the associative sentence is determined according to the semantic analysis result in at least one of the following ways: searching for local information matching the associative sentence from the input content according to the semantic analysis result; searching for local information matching the associative sentence from the application according to the semantic analysis result.

[0129] Optionally, searching for local information matching the associative statement from the application based on the semantic analysis result includes: searching for communication information matching the associative statement from the address book based on the semantic analysis result; and / or searching for travel information matching the associative statement from the schedule based on the semantic analysis result; and / or searching for memo information matching the associative statement from the memo based on the semantic analysis result.

[0130] Optionally, the adjusting the associative information according to the local information includes: selecting target information from semantic keywords corresponding to the associative sentence; and adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence.

[0131] Optionally, adjusting the target information in the associative sentence based on local information corresponding to the associative sentence includes: searching for adjustment information matching the target information from the local information corresponding to the associative sentence; and modifying the corresponding target information in the associative sentence based on the matching adjustment information.

[0132] Optionally, the target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

[0133] Optionally, determining the associative information corresponding to the input information includes: generating a sentence association request based on the input information and sending it to the server, and receiving the associative information returned by the server; and / or matching at least one associative sentence corresponding to the input information based on an associative model, and generating associative information using the associative sentence.

[0134] Optionally, the displaying of the adjusted associative information includes: displaying the associative sentence according to the candidate score of the associative sentence in the adjusted associative information.

[0135] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0136] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0137] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0138] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0139] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0140] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0141] The data processing method, the data processing device and the electronic device provided by the present invention are introduced in detail above. The principle and implementation mode of the present invention are explained by using specific examples in this article. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation mode and the scope of application. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A data processing method, characterized in that: include: Determine associative information corresponding to the input information, and determine local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; adjusting the association information according to the local information; Displaying adjusted associative information; Wherein, the determining the local information corresponding to the association information includes: For each associative sentence in the associative information, determining a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence according to the semantic keyword; Determine the local information corresponding to the associated sentence according to the semantic analysis result in at least one of the following ways: Searching for local information matching the associative sentence from the input content according to the semantic analysis result; From the application program, local information matching the associative sentence is searched according to the semantic analysis result.

2. The method according to claim 1, characterized in that The searching, from the application program, for local information matching the associative sentence according to the semantic analysis result includes: Searching for communication information matching the associated sentence from the address book based on the semantic analysis result; and / or, Searching the itinerary for the itinerary that matches the associated sentence based on the semantic analysis result; and / or, From the memo, the memo information matching the associative sentence is searched according to the semantic analysis result.

3. The method according to claim 1, characterized in that The adjusting the association information according to the local information includes: Selecting target information from the semantic keywords corresponding to the associative sentences; According to the local information corresponding to the associative sentence, the target information in the associative sentence is adjusted.

4. The method according to claim 3, characterized in that The step of adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence includes: Searching for adjustment information matching the target information from the local information corresponding to the associative sentence; According to the matched adjustment information, the corresponding target information in the associative sentence is modified.

5. The method according to any one of claims 3-4, characterized in that: The target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

6. The method according to claim 1, characterized in that The determining of the associative information corresponding to the input information includes: Generate a sentence association request based on the input information and send it to the server, and receive association information returned by the server; and / or, At least one associative sentence is matched to the input information based on the associative model, and the associative sentence is used to generate associative information.

7. The method according to claim 1, characterized in that The displayed adjusted associative information includes: The associative sentence is displayed according to the candidate score of the associative sentence in the adjusted associative information.

8. A data processing device, characterized in that: include: An information determination module, used to determine the associative information corresponding to the input information, and to determine the local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; An information adjustment module, used for adjusting the association information according to the local information; An information display module, used to display the adjusted association information; Wherein, the information determination module includes: A semantic analysis submodule, for determining, for each associative sentence in the associative information, a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence according to the semantic keyword; The local information determination submodule is used to determine the local information corresponding to the associative sentence according to the semantic analysis result, including: A first search unit, configured to search for local information matching the associative sentence from the input content according to the semantic analysis result; The second searching unit is used to search the local information matching the associative sentence from the application program according to the semantic analysis result.

9. The device according to claim 8, characterized in that The second search unit is used to search for communication information matching the associative sentence from the address book based on the semantic analysis result; and / or, to search for travel information matching the associative sentence from the schedule based on the semantic analysis result; and / or, to search for memo information matching the associative sentence from the memo based on the semantic analysis result.

10. The device according to claim 8, characterized in that The information adjustment module includes: A target information selection submodule, used to select target information from the semantic keywords corresponding to the associative sentence; The target information adjustment submodule is used to adjust the target information in the associative sentence according to the local information corresponding to the associative sentence.

11. The device according to claim 10, characterized in that The target information adjustment submodule is used to search for adjustment information matching the target information from the local information corresponding to the associative sentence; and modify the target information corresponding to the associative sentence according to the matching adjustment information.

12. The device according to any one of claims 10-11, characterized in that: The target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

13. The device according to claim 8, characterized in that The information determination module comprises: The association information receiving submodule is used to generate a sentence association request based on the input information and send it to the server, and receive the association information returned by the server; The associative information generation submodule is used to match at least one corresponding associative sentence for the input information based on the associative model, and generate associative information using the associative sentence.

14. The device according to claim 8, characterized in that The information display module is used to display the associated sentence according to the candidate score of the associated sentence in the adjusted associated information.

15. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the data processing method as described in any one of method claims 1-7.

16. An electronic device, characterized in that: The device includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured so that one or more processors execute the one or more programs to perform the following operations: Determining associative information corresponding to the input information, and determining local information corresponding to the associative information, wherein the associative information includes at least one associative sentence; adjusting the association information according to the local information; Display the adjusted association information. The associative information includes a plurality of associative sentences, and the determining the local information corresponding to the associative information includes: For each associative sentence in the associative information, determining a semantic keyword corresponding to the associative sentence, and determining a semantic analysis result corresponding to the associative sentence according to the semantic keyword; Determine the local information corresponding to the associated sentence according to the semantic analysis result in at least one of the following ways: Searching for local information matching the associated sentence from the input content according to the semantic analysis result; From the application program, local information matching the associative sentence is searched according to the semantic analysis result.

17. The electronic device according to claim 16, characterized in that: The searching, from the application program, for local information matching the associative sentence according to the semantic analysis result includes: Searching for communication information matching the associated sentence from the address book based on the semantic analysis result; and / or, Searching the itinerary for the itinerary that matches the associated sentence based on the semantic analysis result; and / or, From the memo, the memo information matching the associative sentence is searched according to the semantic analysis result.

18. The electronic device according to claim 16, characterized in that: The adjusting the association information according to the local information includes: Selecting target information from the semantic keywords corresponding to the associative sentences; According to the local information corresponding to the associative sentence, the target information in the associative sentence is adjusted.

19. The electronic device according to claim 18, characterized in that: The step of adjusting the target information in the associative sentence according to the local information corresponding to the associative sentence includes: Searching for adjustment information matching the target information from the local information corresponding to the associative sentence; According to the matched adjustment information, the corresponding target information in the associative sentence is modified.

20. The electronic device according to any one of claims 18-19, characterized in that: The target information includes at least one of the following types: location type, time type, transportation type, account type, application type, person type, and event type.

21. The electronic device according to claim 16, characterized in that: The determining of the associative information corresponding to the input information includes: Generate a sentence association request based on the input information and send it to the server, and receive association information returned by the server; and / or, At least one associative sentence is matched to the input information based on the associative model, and the associative sentence is used to generate associative information.

22. The electronic device according to claim 16, characterized in that: The displayed adjusted associative information includes: The associative sentence is displayed according to the candidate score of the associative sentence in the adjusted associative information.