Information processing method, device, equipment, and computer-readable storage medium

By receiving keywords and sorting information in the target product information scenario, it solves the problem that users find it difficult to accurately retrieve target product resources in redundant data, and achieves more efficient information matching and display.

CN114661979BActive Publication Date: 2025-02-14FUTU NETWORK TECH (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210227851.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2025-02-14
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

In the target product information scenario, it is difficult for users to accurately retrieve target product resource information that matches the keywords, especially when performing cumbersome operations in redundant data.

Method used

By receiving the input keywords in the information scenario of the target product resource, obtaining the first information matching the keywords, determining the second information matching the target product resource, and arranging it in other information other than the second information (Third Information) Before, the sorting result is displayed.

Benefits of technology

Improve the accuracy of search in the target product information scenario, and give priority to display information matching keywords and target product resources. At the same time, it also displays information matching keywords but not target product resources, so as to facilitate users to obtain relevant information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114661979B_ABST
    Figure CN114661979B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose an information processing method and apparatus, device, and computer-readable storage medium. The method includes: if an input keyword is received in the information scenario of the target product resource, then obtaining the first information matching the keyword; determining the second information matching the information of the target product resource from the first information, and determining the other information in the first information except the second information as the third information; sorting the second information and the third information to obtain the sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information; and displaying the sorting result. This method can conveniently and intuitively obtain information information matching the keyword and the target product resource, as well as other related information, in the target product information scenario without having to input the search term for the target product resource.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and specifically to an information processing method and apparatus, equipment, and computer-readable storage medium. Background Art

[0002] Retrieving information is a basic need of users. Generally, users need to go through tedious operations to retrieve information about target products from a large amount of data. In particular, searching for keywords in the information scenario of target product information cannot accurately match the information of target product resources.

[0003] In summary, an information processing method is urgently needed to solve the above technical problems. Summary of the invention

[0004] In order to solve the above technical problems, the embodiments of the present application respectively provide an information processing method and apparatus, a device, and a computer-readable storage medium to improve the accuracy of the matched target product resources.

[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0006] According to one aspect of an embodiment of the present application, there is provided an information processing method, comprising: if an input keyword is received in an information scene of a target product resource, obtaining first information matching the keyword; determining second information matching the information of the target product resource from the first information, and determining other information in the first information except the second information as third information; sorting the second information and the third information to obtain a sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information; and displaying the sorting result.

[0007] According to one aspect of an embodiment of the present application, there is provided an information processing device, including:

[0008] an acquisition module, configured to, if receiving an input keyword in the information scene of the target product resource, acquire first information matching the keyword;

[0009] a matching module, configured to determine second information matching the information of the target product resource from the first information, and determine other information in the first information except the second information as third information;

[0010] a sorting module, configured to sort the second information and the third information to obtain a sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information;

[0011] A display module is configured to display the sorting result.

[0012] In another exemplary embodiment, the acquisition module includes:

[0013] An information acquisition unit, configured to acquire interface information and determine whether the target product resource is in an information scene based on the interface information;

[0014] The detection unit is configured to detect whether the input keyword is received in the information scene of the target product resource if it is determined that the target product resource is in the information scene.

[0015] In another embodiment, the information acquisition unit includes:

[0016] An identification section configured to identify text information contained in the interface information;

[0017] The tag information matching section is configured to match the text information with the tag information of multiple preset product resources respectively; if the text information successfully matches the tag information of one of the multiple product resources, it is determined to be in the information scene of the target product resource.

[0018] In another embodiment, the label information includes: a name and a code corresponding to the name; the label information matching section is specifically configured to match the text information with the names contained in the label information of multiple preset product resources and the codes corresponding to the names; if the text information matches the name and the code corresponding to the name successfully, it is determined that the text information matches the label information successfully.

[0019] In another embodiment, the first information is multiple, and the matching module further includes:

[0020] The second information matching unit is configured to match the information of the target product resource with the multiple first information, and use the first information matched with the information of the target product resource as the second information to obtain the second information.

[0021] In another embodiment, the acquisition module further includes:

[0022] An object attribute acquisition unit configured to acquire object attributes; wherein the object attributes include at least one of the nationality of the object and the location information of the object;

[0023] The input language confirmation unit is configured to, if the object information includes the nationality of the object, determine the official language of the country corresponding to the nationality according to the nationality of the object, and adjust the initial input language to the official language; if the object information includes the positioning information of the object, determine the official language of the country corresponding to the positioning information according to the positioning information of the object, and adjust the initial input language to the official language.

[0024] In another embodiment, the information processing device further includes:

[0025] The detection module is configured to detect whether the third information exists; if not, display the second information.

[0026] According to one aspect of an embodiment of the present application, an electronic device is provided, including: a controller; and a memory for storing one or more programs, wherein when the one or more programs are executed by the controller, the above method is executed.

[0027] According to one aspect of an embodiment of the present application, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the above method.

[0028] According to one aspect of the embodiments of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above method.

[0029] In the technical solution provided in the embodiment of the present application, an input keyword is received in the information scene of the target product resource, and the first information matching the keyword is obtained; the second information matching the target product resource and the third information other than the second information in the first information are determined from the first information; finally, the second information is arranged before the third information, and the sorting result is displayed. The information processing method of the present application can retrieve information matching the keyword and the target product resource in the target product information scene, without the user having to input the search term for the target product resource, and the information matching the keyword and the target product resource is displayed first, while the information matching the keyword but not matching the target product resource is also displayed, so that the user can conveniently and intuitively obtain information matching the keyword and the target product resource, as well as other related information in the information scene of the target product resource.

[0030] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0032] Figure 1 It is a schematic diagram of an implementation environment involved in this application;

[0033] Figure 2 is a flow chart of an information processing method shown in an exemplary embodiment of the present application;

[0034] Figure 3 is based on Figure 2 A flowchart of another information processing method proposed in the illustrated embodiment;

[0035] Figure 4 is based on Figure 3 A flowchart of another information processing method proposed in the illustrated embodiment;

[0036] Figure 5 is based on Figure 4 A flowchart of another information processing method proposed in the illustrated embodiment;

[0037] Figure 6 is based on Figures 2 to 5 A flowchart of another information processing method proposed by any of the embodiments shown in ;

[0038] Figure 7 is based on Figures 2 to 5 A flowchart of another information processing method proposed by any of the embodiments shown in ;

[0039] Figure 8 is a relationship diagram of the first information, the second information and the third information shown in an exemplary embodiment of the present application

[0040] Fig. 9 is a schematic diagram of search and display results in different information scenarios shown in another embodiment of the present application;

[0041] Fig.10 is a structural schematic diagram of an information processing device shown in an exemplary embodiment of the present application;

[0042] Fig.11 An exemplary embodiment of the present application shows a schematic diagram of the structure of a computer system of an electronic device. DETAILED DESCRIPTION

[0043] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0044] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0045] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0046] The term "multiple" as used in this application refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0047] First see Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment involved in the present application. The implementation environment includes a terminal 100 and a server 200, and the terminal 100 and the server 200 communicate with each other via a wired or wireless network.

[0048] Terminal 100 is used to receive information about typed keywords and target product resources, and transmit the received information about keywords and target product resources to server 200; server 200 performs matching, filtering, sorting and other processing based on the obtained information about keywords and target product resources, determines the sorting results of the relevant information, and sends the determined sorting results of the relevant information to terminal 100.

[0049] Exemplarily, if the server 200 receives an input keyword in the information scene of the target product resource, it obtains the first information matching the keyword; determines the second information matching the information of the target product resource from the first information, and determines the other information in the first information except the second information as the third information; sorts the second information and the third information to obtain a sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information; and displays the sorting result.

[0050] Among them, the user terminal 100 includes but is not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, car terminals, etc., such as smart phones, tablets, laptops, computers, and any other electronic devices that can realize image visualization, which are not limited here. The server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, wherein multiple servers can form a blockchain, and the server is a node on the blockchain. The server 200 can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network) and big data and artificial intelligence platforms, which are not limited here.

[0051] See also Figure 2 , Figure 2 is a flowchart of an information processing method shown in an exemplary embodiment of the present application. The method can be Figure 1 The method is specifically performed by the server 200 in the implementation environment shown. Of course, the method can also be applied to other implementation environments and executed by server devices in other implementation environments, and this embodiment does not limit this. Figure 2 As shown, the method at least includes S210 to S240, which are described in detail as follows:

[0052] S210: If an input keyword is received in the information scene of the target product resource, first information matching the keyword is obtained.

[0053] The product resources of this embodiment can be financial products such as stocks, options, funds, etc. The information scenario refers to the search page scenario, where the information scenario includes global scenarios and local scenarios. For example, when the product resource is an option, the information scenario includes a single option scenario and a global scenario. The single option scenario refers to the scenario where the search page is in a single option, and the global scenario refers to the scenario where the search page is in all options. Generally, there are multiple different options, and all option scenarios constitute a global scene.

[0054] In this embodiment, keywords include Chinese, English, numbers, characters and other types, which can be adaptively adjusted according to specific application scenarios. This embodiment does not limit their specific content. In addition, keyword input methods include but are not limited to manual input, voice recognition input, click option input and other input methods. If click option input is used, multiple preset option keywords are required for users to choose from, and are displayed on the input screen for users to touch and select. Here, examples are only given to illustrate that there are multiple ways to input keywords, and there is no limit on the keyword input method.

[0055] The first information of this embodiment is preset information that matches the keyword, that is, the information containing the keyword in the preset information is determined as the first information, and the first information changes according to the change of the keyword. For example, if the keyword is "information", the information containing the keyword "information" in the preset information is determined as the first information. If the input keyword received is "report", the information containing the keyword "report" in the preset information is determined as the first information, rather than the information containing the keyword "information".

[0056] For example, if the target product resource is a stock, when the keyword "news" is received in the target stock information scenario, that is, when the search page is in the target stock scenario, the information containing "news" is matched in the preset information, and all the information containing "news" is determined as the first information. Specific application scenario: When the user interface is in the target stock information page and the keyword "news" is entered, "news" is matched with the preset information, and all the information containing "news" is determined as the first information.

[0057] S220: Determine second information matching the information of the target product resource from the first information, and determine other information in the first information except the second information as third information.

[0058] The target product resource information of this embodiment is information associated with the target product resource. For example, when the target product resource is a target stock, the target stock associated information is information closely related to the target stock and has a one-to-one correspondence with the target stock, such as the target stock code.

[0059] Specifically, in this embodiment, in the process of screening the second information that matches the information of the target product resource from the first information, the target feature can be first extracted based on the information of the target product resource, for example, the product name, code, launch time, notice announcement, etc. of the target product are used as the target feature, and then the first information is traversed and matched in sequence based on the target feature, and the correlation coefficient sim(Cha_aim, Cha_inf) between the target feature Cha_aim and each continuous character feature Cha_inf in the first information is calculated as:

[0060] sim(Cha_aim,Cha_inf)=Cha_aim / a 2 -Cha_inf / b 2

[0061] Wherein, a and b represent the preset first matching factor and second matching factor. After the correlation coefficient is calculated, the first information when the correlation coefficient is higher than the set threshold is selected as the second information. In the above manner, information related to the target product resources can be screened from the first information and used as the second information, thereby improving the relevance of information matching and the efficiency of information display.

[0062] In particular, the second information of this embodiment may be the first information including the information of the target product resource, that is, the preset information including the keyword and the information of the target product resource. For example, if the keyword is "news" and the target product resource is the stock of Company A, then the second information is the information including both "news" and the corresponding information of Company A's stock. Furthermore, the corresponding information of Company A's stock may be the name of Company A's stock and / or the stock code of Company A.

[0063] The third information of this embodiment is the first information that does not include the information of the target product resource, or the first information that is unrelated to the information of the target product resource, for example, it can be preset information that includes a keyword but does not include the information of the target product resource. For example, when the keyword is "price", the target product resource is B futures, and the information corresponding to B futures is the name of B futures, then the third information is information that includes the keyword "price" but does not include the name of B futures.

[0064] The third information in this embodiment is not absolutely existing information. When the first information and the second information exist but the third information does not exist, it means that there is no other information in the first information except the second information, which implicitly indicates that the first information and the second information are the same, that is, the information containing keywords in the preset information also contains information of the target product resources.

[0065] Exemplarily, in the stock information scenario, the above S210 obtains the first information containing the "news" keyword in the preset information, matches the information of the target stock in the preset information containing the "news" keyword, obtains the second information, excludes the second information from the first information, that is, obtains the preset information containing the "news" keyword but not including the information of the target stock, and uses it as the third information. The third information can be preset information including other stock information and keywords, or it can be preset information that does not include stock information but only includes keywords.

[0066] S230: Sort the second information and the third information to obtain a sorting result; wherein, in the sorting result, the arrangement position corresponding to the second information is before the arrangement position corresponding to the third information.

[0067] In this embodiment, the positions of the second information and the third information can be sorted by section or in the same section. When sorted by section, the section containing the second information is placed before the section containing the third information; when sorted in the same section, the second information in the section is placed before the third information.

[0068] When sorting within the second information and the third information, the sorting can be performed from large to small based on the correlation coefficient calculated above, or it can be sorted according to information type, publishing account, publishing time, amount involved, etc., to improve the efficiency of information display.

[0069] S240: Display the sorting result.

[0070] The second information including the information of keywords and target product resources is sorted first, which better meets the search needs of customers.

[0071] The information processing method of this embodiment can retrieve information that matches the keywords and target product resources in the target product information scenario. The user does not need to enter the search term for the target product resources. Information that matches the keywords and target product resources is displayed first, thereby improving the accuracy of the matched target product resources. Information that matches the keywords but does not match the target product resources is also displayed. This allows the user to easily and intuitively obtain information that matches the keywords and target product resources, as well as other related information, in the information scenario of the target product resources.

[0072] See also Figure 3 , Figure 3 is based on Figure 2 The flowchart of another information processing method proposed in the embodiment shown in FIG. Figure 2 The process before S210 also includes S310 to S320, which are described in detail below:

[0073] S310: Obtain interface information, and determine whether the target product resource is in an information scene based on the interface information.

[0074] The interface information of this embodiment is user interface information. The user interface is a medium for interaction and information exchange between the system and the user, and it realizes the conversion between the internal form of information and the form acceptable to humans.

[0075] Exemplarily, user interface information is obtained to determine whether the interface information (i.e., the search page) is in the information scenario of the target product resource. For example, in a stock information scenario, user interface information is obtained to determine whether the interface information is in the information scenario of the target stock.

[0076] S320: If it is determined that the target product resource is in the information scene, then detect whether the input keyword is received in the information scene of the target product resource.

[0077] Exemplarily, when the user interface is in the information scene of the target product resource, it is detected whether the keyword input by the user is received in this information scene. For example, in the stock information scene, if the user interface is in the information scene of the target stock, it is detected whether the keyword input by the user is received in this scene.

[0078] This embodiment further illustrates how to determine the information scene of the target product resource, determine the type of information scene according to the interface information, thereby accurately determining the information scene of the target product resource, and detecting whether the input keyword is received in this information scene.

[0079] Figure 4 is based on Figure 3 The flowchart of another information processing method proposed in the embodiment shown in FIG. Figure 3 The S310 shown also includes S410 to S430, which are described in detail below:

[0080] S410: Identify text information contained in the interface information.

[0081] The text information in this embodiment includes, but is not limited to, Chinese, English, numbers, characters, and other information.

[0082] S420: Match the text information with the preset label information of multiple product resources respectively.

[0083] In this embodiment, the label information of multiple preset product resources is located in a preset database, and the recognized text information is matched with the label information in the database.

[0084] Exemplarily, when the product resource is a stock, there is label information of multiple stocks in a preset database, and the label information is information corresponding to each stock one by one, such as the stock code, where one stock corresponds to one code; the text information recognized in S410 is matched with the multiple stock codes in the database.

[0085] S430: If the text information successfully matches the tag information of one of the multiple product resources, it is determined that the information scene is in the target product resource.

[0086] Exemplarily, when the product resource is a stock and the label information is a stock code, if the text information in the interface information successfully matches the code of one of the multiple stocks, it is determined that the information scene is in the target product resource. In particular, the stock code is generally composed of numbers and letters. If the text information includes the code of one of the multiple stocks, it is determined that the information scene at this time is the information scene of the target product resource.

[0087] This embodiment illustrates matching the text information in the interface information with the label information. Since the label information is closely related to the product resources, the text information is matched with the label information of multiple preset product resources respectively, so as to more accurately determine whether it is in the information scene of the target product resource.

[0088] Figure 5 is based on Figure 4 The flowchart of another information processing method proposed in the embodiment shown in FIG. Figure 4 The S420 shown includes S510 to S520, wherein the tag information includes: a name and a code corresponding to the name, which is described in detail below:

[0089] S510: Match the text information with the names contained in the preset tag information of multiple product resources and the codes corresponding to the names.

[0090] The label information in this embodiment includes a product resource name and a product resource code. For example, when the product resource is a stock, the label information of each stock is the stock name and the stock code.

[0091] Exemplarily, the text information in the interface information is matched with label information of a plurality of product resources in a preset database, wherein the label information of each product resource contains a name and a code corresponding to the name.

[0092] S520: If the text information and the name and the code corresponding to the name all match successfully, it is determined that the text information and the tag information match successfully.

[0093] Exemplarily, the text information includes the name of the target product and the code of the target product. If it matches the name and code of the target product in the preset database, for example, if the text information includes the name A of the product resource and the code 001 of the product resource, and the name A of the target product resource and the code 001 of the target product resource A exist in the preset database, then it is determined that the text information matches the label information successfully.

[0094] This embodiment further illustrates that the label information of a product resource includes a name and a code corresponding to the name. In the process of matching text information with label information, only when the name and the code corresponding to the name are matched at the same time can it be determined that the text information and the label information are successfully matched. The double matching improves the accuracy of the matching process.

[0095] In another embodiment, there are multiple first information. In the above S220, second information matching the information of the target product resource is determined from the first information, including: matching the information of the target product resource with the multiple first information, and using the first information matching the information of the target product resource as the second information to obtain the second information.

[0096] The second information of this embodiment is matched in the first information, which further illustrates that the range and quantity of the first information are greater than or equal to the second information. Obviously, if the first information is not obtained in the previous step, the second information does not exist. If the first information does not exist, the information processing process reports an error or the final displayed sorting result is blank.

[0097] Figure 6 based on Figures 2 to 5 A flowchart of another information processing method proposed in any of the embodiments shown in FIG. The method also includes S610 to S620 (including S620A and S620B), which are described in detail below:

[0098] S610: Acquire object attributes; wherein the object attributes include at least one of the nationality of the object and the location information of the object.

[0099] The object of this embodiment is the user of terminal 100, and the terminal 100 stores object attributes, namely, the user's account information, wherein the account information includes basic information such as the user's nationality and the user's gender. The server 200 can obtain the user's account information. In addition, when the user is using the terminal 100, the server 200 can also obtain the real-time location information of the terminal 100, that is, the user's positioning information.

[0100] S620A: If the object information includes the nationality of the object, determine the official language of the country corresponding to the nationality according to the nationality of the object, and adjust the initial input language to the official language.

[0101] In this embodiment, the official languages ​​of the countries corresponding to the multiple nationalities can be preset in the terminal 100. If the server 200 obtains the nationality information of the user, it can return relevant instructions to the terminal 100 to adjust the initial input language of the terminal 100 to the official language of the country corresponding to the user's nationality.

[0102] For example, if the nationality of the object is obtained as the United States and the official language of the United States is English, the initial input language is adjusted to English.

[0103] S620B: If the object information includes the location information of the object, determine the official language of the country corresponding to the location information according to the location information of the object, and adjust the initial input language to the official language.

[0104] Exemplarily, if the acquired location information of the object is a certain province or city in China, and the official language corresponding to the province or city in China is Chinese, the initial input language is adjusted to Chinese.

[0105] This embodiment adjusts the initial input language by acquiring object attributes, automatically adjusting the initial input language to the language that the user is most likely to be accustomed to, facilitating the user's keyword input, saving the time of switching input methods, and improving the user's good usage experience.

[0106] Figure 7 is based on Figures 2 to 5 A flowchart of another information processing method proposed in any of the embodiments shown in the figure. The method also includes S710 to S720, which are described in detail below:

[0107] S710: Detect whether third information exists.

[0108] Before determining the third information, this embodiment detects whether the third information exists and whether the first information contains other information except the second information, that is, detects whether preset information contains keywords but does not contain information about target product resources.

[0109] For example, Figure 8 is a diagram showing the relationship between the first information, the second information and the third information according to an exemplary embodiment of the present application. Figure 8 As shown in (a), A is preset information containing keywords, that is, the first information; B is preset information containing keywords and information containing target product resources, that is, the second information; C is other preset information in the first information except the second information.

[0110] S720: If it does not exist, display the second information.

[0111] For example, Figure 8 As shown in (b), A is the preset information containing the keyword, i.e., the first information; B is the preset information containing the keyword and the information of the target product resource, i.e., the second information; Figure 8 (b) does not contain the third information, and A and B completely overlap, that is, A=B, which means that all the preset information containing the keyword also contains the information of the target product resource. In this case, the method does not have the subsequent S230, and directly displays the second information.

[0112] This embodiment further illustrates the information processing method when the third information does not exist, further clarifies the relationship between the first information, the second information and the third information, and simplifies the subsequent processing steps when the third information is not detected, making the information processing method of this embodiment faster.

[0113] Furthermore, if the relevant second information is not found in the first information, only the third information is displayed.

[0114] In another embodiment, the information processing method of the present application is applied to a stock information scenario, that is, the product resources are stocks, and information processing is performed according to the above S210 to S240. When the user searches for relevant information, it is divided into retrieval in the individual stock information scenario and retrieval in the global information scenario. Fig. 9 is a schematic diagram of search and display results in different information scenarios shown in another embodiment of the present application, wherein Fig. 9 (a) Displayed as a global information scene. If you enter keywords to search for relevant information in the global information scene, enter the keyword "price". Fig. 9 (b) If you click the search button, the results are as follows: Fig. 9 As shown in (c), it can only obtain the first information containing the input keyword, and it does not classify and sort the first information. The information is displayed in a messy manner and there is repeated information, such as "gold price" is displayed once in each of the two sections.

[0115] exist Fig. 9 Click on stock A in (a), and the display interface changes to Fig. 9 (d) At this time, you are in the target stock information scene, which includes various detailed information of stock A. Type the keyword "price" in its search box and click the search button. The results are displayed as follows: Fig. 9 As shown in (e), the second information containing the keyword "price" and the information of stock A is ranked first, and the third information containing the keyword "price" but not the information of stock A is ranked behind. The second information and the third information are displayed in sections, and the sections and information with higher matching degree are ranked at the front, and there is no duplicate information.

[0116] This embodiment further illustrates that the information processing method of the present application can classify the target information in a refined manner and display the sorting results according to the sections, thereby improving the accuracy of the matched target product resources, allowing users to easily obtain the search information that best meets their psychological expectations, and displaying other relevant information in other sections, expanding the scope of information display.

[0117] Another aspect of the present application also provides an information processing device, such as Fig.10 As shown, Fig.10 : is a schematic diagram of the structure of an information processing device shown in an exemplary embodiment of the present application. The information processing device includes:

[0118] The acquisition module 1010 is configured to acquire first information matching the keyword if an input keyword is received in the information scene of the target product resource;

[0119] A matching module 1030 is configured to determine second information matching the information of the target product resource from the first information, and determine other information in the first information except the second information as third information;

[0120] The sorting module 1050 is configured to sort the second information and the third information to obtain a sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information;

[0121] The display module 1070 is configured to display the sorting result.

[0122] In another exemplary embodiment, the acquisition module 1010 includes:

[0123] An information acquisition unit, configured to acquire interface information and determine whether the target product resource is in an information scene based on the interface information;

[0124] The detection unit is configured to detect whether the input keyword is received in the information scene of the target product resource if it is determined that the target product resource is in the information scene.

[0125] In another embodiment, the information acquisition unit includes:

[0126] A recognition section configured to recognize text information contained in the interface information;

[0127] The tag information matching section is configured to match the text information with the tag information of multiple preset product resources respectively; if the text information successfully matches the tag information of one of the multiple product resources, it is determined to be in the information scene of the target product resource.

[0128] In another embodiment, the label information includes: a name and a code corresponding to the name; a label information matching section, which is specifically configured to match the text information with the names contained in the label information of multiple preset product resources and the codes corresponding to the names; if the text information and the name and the code corresponding to the name are all matched successfully, it is determined that the text information and the label information are matched successfully.

[0129] In another embodiment, the first information is multiple, and the matching module 1030 further includes:

[0130] The second information matching unit is configured to match the information of the target product resource with the plurality of first information, and use the first information matched with the information of the target product resource as the second information to obtain the second information.

[0131] In another embodiment, the acquisition module 1010 further includes:

[0132] An object attribute acquisition unit configured to acquire object attributes; wherein the object attributes include at least one of the nationality of the object and the location information of the object;

[0133] The input language confirmation unit is configured to, if the object information includes the nationality of the object, determine the official language of the country corresponding to the nationality according to the nationality of the object, and adjust the initial input language to the official language; if the object information includes the positioning information of the object, determine the official language of the country corresponding to the positioning information according to the positioning information of the object, and adjust the initial input language to the official language.

[0134] In another embodiment, the information processing device further includes:

[0135] The detection module 1090 is configured to detect whether the third information exists; if not, the second information is displayed.

[0136] It should be noted that the information processing device provided in the above embodiment and the information processing method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here.

[0137] Another aspect of the present application provides an electronic device, including: a controller; and a memory for storing one or more programs, which, when executed by the controller, executes the above method.

[0138] See also Fig.11 , Fig.11 1 is a schematic diagram of the structure of a computer system of an electronic device shown in an exemplary embodiment of the present application, which shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application.

[0139] It should be noted that Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0140] like Fig.11As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 to the random access memory (RAM) 1103, such as executing the method in the above embodiment. In the RAM 1103, various programs and data required for system operation are also stored. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through the bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.

[0141] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.

[0142] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.

[0143] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0144] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0145] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0146] Another aspect 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 above-mentioned information processing method is implemented. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.

[0147] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the information processing method provided in each of the above embodiments.

[0148] According to one aspect of an embodiment of the present application, a computer system is also provided, including a central processing unit (CPU), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage portion into a random access memory (RAM), such as executing the method in the above embodiment. In RAM, various programs and data required for system operation are also stored. CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0149] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed.

[0150] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.

Claims

1. An information processing method, characterized in that: include: Acquire object attributes; wherein the object attributes include at least one of the nationality of the object and the location information of the object; determining an official language according to the object attributes, and adjusting the initial input language to the official language; wherein, when the object attributes include the nationality of the object, the official language includes the official language of the country corresponding to the nationality; and when the object attributes include the location information of the object, the official language includes the official language of the country corresponding to the location information; Acquire interface information, and identify text information contained in the interface information; Matching the text information with label information of a plurality of preset product resources respectively, wherein the label information includes a name and a code corresponding to the name; If the text information matches the name and the code corresponding to the name successfully, it is determined that the text information matches the label information successfully; If the text information successfully matches the tag information of one of the multiple product resources, determining that the target product resource is in an information scene, and detecting whether the input keyword is received in the information scene of the target product resource; If an input keyword is received in an information scenario of a target product resource, first information matching the keyword is obtained, wherein the information scenario refers to a search page scenario; Determine second information matching the information of the target product resource from the first information, and determine other information in the first information except the second information as third information, wherein the second information includes the information of the target product resource; Sorting the second information and the third information to obtain a sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information; The sorting result is displayed.

2. The method according to claim 1, characterized in that: The first information is multiple; the second information matching the information of the target product resource is determined from the first information, including: The target product resource information is matched with the plurality of first information, and the first information matched with the target product resource information is used as the second information to obtain the second information.

3. The method according to any one of claims 1 to 2, characterized in that Before sorting the second information and the third information to obtain a sorting result, the method further includes: Detecting whether the third information exists; If it does not exist, the second information is displayed.

4. An information processing device, characterized in that: include: An acquisition module configured to acquire object attributes; wherein the object attributes include at least one of the nationality of the object and the location information of the object; The acquisition module is further configured to determine an official language according to the object attributes, and adjust the initial input language to the official language; wherein, when the object attributes include the nationality of the object, the official language includes the official language of the country corresponding to the nationality, and when the object attributes include the location information of the object, the official language includes the official language of the country corresponding to the location information; The acquisition module is further configured to acquire interface information and identify text information contained in the interface information; match the text information with label information of a plurality of preset product resources respectively, wherein the label information includes a name and a code corresponding to the name; The acquisition module is further configured to determine that the text information successfully matches the tag information if the text information successfully matches the name and the code corresponding to the name; if the text information successfully matches the tag information of one of the multiple product resources, determine the information scene of the target product resource, and detect whether the input keyword is received in the information scene of the target product resource; The acquisition module is further configured to acquire first information matching the keyword if an input keyword is received in an information scenario of the target product resource, wherein the information scenario refers to a search page scenario; a matching module, configured to determine second information matching the information of the target product resource from the first information, and determine other information in the first information except the second information as third information, wherein the second information includes the information of the target product resource; a sorting module, configured to sort the second information and the third information to obtain a sorting result; wherein the arrangement position corresponding to the second information in the sorting result is before the arrangement position corresponding to the third information; A display module is configured to display the sorting result.

5. An electronic device, characterized in that: include: Controller; A memory for storing one or more programs, which, when executed by the controller, enables the controller to implement the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Information searching method and related device

    CN110245289A