CN114661979A - Information processing method and device, equipment and computer readable storage medium - Google Patents
Information processing method and device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN114661979A CN114661979A CN202210227851.4A CN202210227851A CN114661979A CN 114661979 A CN114661979 A CN 114661979A CN 202210227851 A CN202210227851 A CN 202210227851A CN 114661979 A CN114661979 A CN 114661979A
- Authority
- CN
- China
- Prior art keywords
- information
- target product
- product resource
- scene
- matched
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 44
- 238000003672 processing method Methods 0.000 title claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 44
- 238000012163 sequencing technique Methods 0.000 claims abstract description 21
- 238000004590 computer program Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 239000004065 semiconductor Substances 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses an information processing method, an information processing device, information processing equipment and a computer readable storage medium. The method comprises the following steps: if the input keywords are received in the information scene of the target product resource, first information matched with the keywords is obtained; determining second information matched with the information of the target product resource from the first information, and determining other information except the second information in the first information as third information; sequencing the second information and the third information to obtain a sequencing result; the arrangement position corresponding to the second information in the sequencing result is before the arrangement position corresponding to the third information; and displaying the sequencing result. The method can conveniently and visually acquire the information matched with the keywords and the target product resources and other related information without inputting the search words of the target product resources under the information scene of the target product.
Description
Technical Field
The present application relates to the field of computers, and in particular, to an information processing method and apparatus, a device, and a computer-readable storage medium.
Background
The retrieval information is the basic requirement of the user, and the general user needs to retrieve the information of the target product from a large amount of data through complicated operations, especially the retrieval keyword under the information scene of the information of the target product cannot be accurately matched with the information of the target product resource.
In view of the above, an information processing method is needed to solve the above technical problems.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present application respectively provide an information processing method, an information processing apparatus, an information processing device, and a computer-readable storage medium, so as to improve accuracy of matched target product resources.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided an information processing method including: if an input keyword is received in an information scene of a target product resource, first information matched with the keyword is obtained; determining second information matched with the information of the target product resource from the first information, and determining other information except the second information in the first information as third information; sequencing the second information and the third information to obtain a sequencing 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 sequencing result.
According to an aspect of an embodiment of the present application, there is provided an information processing apparatus including:
the acquisition module is configured to acquire first information matched with a keyword if the input keyword is received in an information scene of a target product resource;
the matching module is configured to determine second information matched with the information of the target product resource from the first information and determine other information except the second information in the first information as third information;
the sorting module 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;
a display module configured to display the ranking result.
In another exemplary embodiment, the obtaining module includes:
the information acquisition unit is configured to acquire interface information and determine whether the target product resource is in an information scene based on the interface information;
the detection unit is configured to detect whether the input keywords are received in the information scene of the target product resource if the information scene of the target product resource is determined to be in the information scene of the target product resource.
In another embodiment, the information obtaining unit includes:
the identification plate is configured to identify character information contained in the interface information;
the label information matching plate is configured to match the text information with label information of a plurality of preset product resources respectively; and if the matching of the text information and the label information of one of the plurality of product resources is successful, determining that the information scene of the target product resource is positioned.
In another embodiment, the tag information includes: a name and a code corresponding to the name; the label information matching plate is specifically configured to match the text information with names contained in label information of a plurality of preset product resources and codes corresponding to the names respectively; and if the character information is successfully matched with the name and the code corresponding to the name, determining that the character information is successfully matched with the label information.
In another embodiment, the first information is a plurality of information, and the matching module further includes:
and the second information matching unit is configured to match the information of the target product resource with the plurality of pieces 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.
In another embodiment, the obtaining module further comprises:
an object attribute acquiring unit configured to acquire an object attribute; wherein the object attribute comprises at least one of a nationality of the object and location information of the object;
an input language confirmation unit configured to determine an official language of a country corresponding to a nationality of an object according to the nationality of the object and adjust an initial input language to the official language if the object information includes the nationality of the object; and if the object information comprises the positioning information of the object, determining the official language of the country corresponding to the positioning information according to the positioning information of the object, and adjusting the initial input language to the official language.
In another embodiment, the information processing apparatus further includes:
a detection module configured to detect whether the third information exists; and if the second information does not exist, displaying the second information.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: a controller; a memory for storing one or more programs which, when executed by the controller, perform the above-described method.
According to an aspect of embodiments of the present application, there is also provided a computer-readable storage medium having stored thereon computer-readable instructions, which, when executed by a processor of a computer, cause the computer to perform the above-mentioned method.
According to an aspect of an embodiment of the present application, there is also provided a computer program product or a computer program comprising computer instructions 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 to cause the computer device to perform the above-described method.
In the technical scheme provided by the embodiment of the application, the input keywords are received in the information scene of the target product resource, and the first information matched with the keywords is obtained; determining second information matched with the target product resources from the first information and third information except the second information in the first information; and finally, arranging the second information before the third information, and displaying the sequencing result. The information processing method can search the information matched with the keywords and the target product resources in the target product information scene, does not need a user to input search words of the target product resources, preferentially displays the information matched with the keywords and the target product resources, and simultaneously displays the information matched with the keywords but not matched with the target product resources, so that the user can conveniently and intuitively acquire the information matched with the keywords and the target product resources and other related information in the target product resource information scene.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 is a schematic illustration of an implementation environment to which the present application relates;
FIG. 2 is a flow chart illustrating a method of information processing according to an exemplary embodiment of the present application;
FIG. 3 is a flow chart of another proposed information processing method based on the embodiment shown in FIG. 2;
FIG. 4 is a flow chart of another proposed information processing method based on the embodiment shown in FIG. 3;
FIG. 5 is a flow chart of another proposed information processing method based on the embodiment shown in FIG. 4;
fig. 6 is a flowchart of another proposed information processing method based on any one of the embodiments shown in fig. 2 to 5;
fig. 7 is a flowchart of another proposed information processing method based on any one of the embodiments shown in fig. 2 to 5;
fig. 8 is a relationship diagram of first information, second information, and third information shown in an exemplary embodiment of the present application
FIG. 9 is a diagram illustrating a search display result under different information scenarios according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of an information processing apparatus shown in an exemplary embodiment of the present application;
fig. 11 is a schematic diagram illustrating a computer system of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Reference to "a plurality" in this application means two or more. "and/or" describe the association relationship of the associated objects, meaning that there may be three relationships, e.g., A and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring first to fig. 1, fig. 1 is a schematic diagram of an implementation environment related to the present application. The implementation environment includes a terminal 100 and a server 200, and communication between the terminal 100 and the server 200 is performed through a wired or wireless network.
The terminal 100 is configured to receive the information of the key word and the target product resource, and transmit the received information of the key word and the target product resource to the server 200; the server 200 performs matching, filtering, sorting and other processing according to the obtained keywords and the information of the target product resource, determines a sorting result of the related information, and sends the determined sorting result of the related information to the terminal 100.
For example, if the server 200 receives an input keyword in an information scene of a target product resource, acquiring first information matched with the keyword; determining second information matched with the information of the target product resource from the first information, and determining other information except the second information in the first information as third information; sequencing the second information and the third information to obtain a sequencing result; the arrangement position corresponding to the second information in the sequencing result is before the arrangement position corresponding to the third information; and displaying the sequencing result.
The user terminal 100 includes, but is not limited to, a mobile phone, a computer, an intelligent voice interaction device, an intelligent appliance, a vehicle-mounted terminal, and the like, and any electronic device capable of implementing image visualization may be, for example, a smart phone, a tablet, a notebook, a computer, and the like, which is not limited in this respect. The server 200 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, where the plurality of servers may form a block chain, and the server is a node on the block chain, and the server 200 may also be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), and a big data and artificial intelligence platform, which is not limited herein.
Referring to fig. 2, fig. 2 is a flowchart illustrating an information processing method according to an exemplary embodiment of the present application, which may be specifically executed by the server 200 in the implementation environment shown in fig. 1. Of course, the method may also be applied to other implementation environments and executed by a server device in other implementation environments, and the embodiment is not limited thereto. As shown in fig. 2, the method at least includes steps S210 to S240, which are described in detail as follows:
s210: if the input keywords are received in the information scene of the target product resource, first information matched with the keywords is obtained.
The product resources of this embodiment may be financial products such as stocks, options, and funds, and the information scene refers to a search page scene, where the information scene includes a global scene and a local scene, for example, when the product resources are options, the information scene includes a single option scene and a global scene, the single option scene refers to a scene where the search page is in a single option, the global scene refers to a scene where the search page is in all options, there are generally a plurality of different options, and all the option scenes constitute a global scene.
In this embodiment, the keywords include types of chinese, english, numbers, characters, and the like, and may be adaptively adjusted according to a specific application scenario, where the specific content is not limited in this embodiment, and the input method of the keywords includes, but is not limited to, input methods such as manual input, voice recognition input, and click option input, and if the input method is the click option input, a plurality of preset option keywords are required for the user to select, and are displayed on the input screen for the user to touch and select, and here, a plurality of ways of inputting the keywords are illustrated, and the input method of the keywords is not limited.
The first information of this embodiment is preset information matched with the keyword, that is, information including the keyword in the preset information is determined as the first information, the first information changes according to the change of the keyword, for example, the keyword is "information", information including the keyword of "information" in the preset information is determined as the first information, if the received input keyword is "report", the information including the keyword of "report" in the preset information is determined as the first information, not information including the keyword of "information".
For example, if the target product resource is a stock, when a "news" keyword is received in a target stock information scene, i.e., when the search page is in a target stock scene, information including "news" is matched in the preset information, and all the information including "news" is determined as the first information. The specific application scenario is as follows: when a user interface inputs a 'news' keyword in a page of target stock information, matching 'news' with preset information, and determining all information containing 'news' as first information.
S220: and determining second information matched with the information of the target product resource from the first information, and determining other information except the second information in the first information as third information.
The information of the target product resource of the present embodiment is information associated with the target product resource, for example, when the target product resource is a target stock, the information associated with the target stock is information such as a target stock code that is closely related to the target stock and corresponds to the target stock one by one.
Specifically, in the process of screening the second information matching the information of the target product resource from the first information in this embodiment, the target feature may be extracted based on the information of the target product resource, for example, the product name, the code, the time to market, the notice announcement, etc. of the target product are taken as the target feature, then traversal matching is performed in the first information sequentially 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:
sim(Cha_aim,Cha_inf)=Cha_aim/a2-Cha_inf/b2
and a and b represent preset first matching factors and second matching factors, and after the correlation coefficient is obtained through calculation, the first information when the correlation coefficient is higher than a set threshold value is selected as the second information. Through the mode, the information related to the target product resource can be screened from the first information and used as the second information, and the information matching relevance and the information display efficiency are improved.
Specifically, the second information of the present 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", the target product resource is stock of company a, the second information includes both "news" and information corresponding to stock of company a, and further, the information corresponding to stock of company a may be a name of stock of company a and/or a code of stock of company a.
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 not related to the information of the target product resource, and may be, for example, preset information that includes a keyword but does not include the information of the target product resource. For example, if the keyword is "price", the target product resource is futures B, and the information corresponding to futures B is a futures name B, the third information is information including the keyword "price" but not including the name of futures B.
The third information in this embodiment is not absolutely existing information, and when the first information and the second information exist but the third information does not exist, it indicates that no other information other than the second information exists in the first information, and implicitly indicates that the first information is the same as the second information, that is, the preset information includes information of the keyword and also includes information of the target product resource.
For example, in a stock information scenario, in S210, first information including a "news" keyword in the preset information is obtained, information of a target individual stock is matched in the preset information including the "news" keyword to obtain second information, and the second information is excluded from the first information, so that preset information including the "news" keyword but not including the information of the target individual stock is obtained as third information, where the third information may be preset information including other individual stock information and keywords, or may not include individual stock information, and only includes the preset information of the keywords.
S230: sequencing the second information and the third information to obtain a sequencing result; and the arrangement position corresponding to the second information in the sequencing result is before the arrangement position corresponding to the third information.
In this embodiment, the positions of the second information and the third information may be sorted by blocks or sorted by the same block, and when the blocks are sorted, the block containing the second information is arranged in front of the block containing the third information; when ordered with the slab, the second information in the slab precedes the third information.
When the information is sorted in the second information and the third information, the information can be sorted according to the calculated correlation coefficient, or sorted according to information such as information type, release account, release time, related amount and the like, so that the information display efficiency is improved.
S240: and displaying the sequencing result.
Second information comprising the keywords and the information of the target product resources is ranked in the front, so that the retrieval requirements of customers are better met.
The information processing method of the embodiment can search the information matched with the keywords and the target product resources in the target product information scene, does not need a user to input search words of the target product resources, preferentially displays the information matched with the keywords and the target product resources, improves the accuracy of the matched target product resources, and simultaneously displays the information matched with the keywords but not matched with the target product resources, so that the user can conveniently and intuitively acquire the information matched with the keywords and the target product resources and other related information in the target product resource information scene.
Referring to fig. 3, fig. 3 is a flowchart of another information processing method according to the embodiment shown in fig. 2. The method further includes steps S310 to S320 before S210 shown in fig. 2, which are described in detail below:
s310: and acquiring interface information, and determining whether the target product resource is in an information scene based on the interface information.
The interface information of the embodiment is user interface information, and the user interface is a medium for interaction and information exchange between the system and the user, and realizes conversion between the internal form of the information and the human acceptable form.
Illustratively, the user interface information is obtained, whether the interface information (i.e., the search page) is in the information scene of the target product resource is determined, for example, the user interface information is obtained in the information scene of the stock information, and whether the interface information is in the information scene of the target stock is determined.
S320: if the target product resource is determined to be in the information scene of the target product resource, whether the input keywords are received in the information scene of the target product resource is detected.
Illustratively, when the user interface is in an information scene of the target product resource, whether a keyword input by a user is received in the information scene is detected. For example, in a stock information scenario, if the user interface is in a target stock information scenario, it is detected whether a keyword input by the user is received in the scenario.
The embodiment further illustrates how to determine the information scene of the target product resource, and determines the type of the information scene according to the interface information, so as to accurately determine the information scene of the target product resource, and detect whether the input keyword is received in the information scene.
Fig. 4 is a flowchart of another proposed information processing method based on the embodiment shown in fig. 3. The method further includes S410 to S430 in S310 shown in fig. 3, which are described in detail below:
s410: and identifying the character information contained in the interface information.
The text information of the present embodiment includes, but is not limited to, Chinese, English, numeric, character, etc.
S420: and respectively matching the text information with the preset label information of a plurality of product resources.
The label information of the plurality of preset product resources of this embodiment is located in a preset database, and the recognized text information is matched with the label information in the database.
Illustratively, when the product resource is a stock, the preset database has label information of a plurality of stocks, the label information is information corresponding to stock tickets one by one, such as a code of the stock, and one stock corresponds to one code; matching the text information identified in S410 with a plurality of stock codes in the database.
S430: and if the matching of the text information and the label information of one of the plurality of product resources is successful, determining that the information scene of the target product resource is located.
Illustratively, when the product resource is a stock and the tag information is a stock code, if the character information in the interface information is successfully matched with the code of one of the stocks, it is determined that the information scene of the target product resource is located, and particularly, the general stock code is composed of numbers and letters, and if the character information includes the code of one of the stocks, it is determined that the information scene is the information scene of the target product resource.
The embodiment illustrates that matching is performed according to the text information and the label information in the interface information, because the label information is closely related to the product resources, the text information and the label information of a plurality of preset product resources are respectively matched, so that whether the information scene of the target product resources is located or not is determined more accurately.
Fig. 5 is a flowchart of another proposed information processing method based on the embodiment shown in fig. 4. The method includes S510 to S520 in S420 shown in fig. 4, where the tag information includes: the name and the code corresponding to the name are described in detail as follows:
s510: and matching the character information with names and codes corresponding to the names contained in the label information of the preset multiple product resources.
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 a stock name and a stock code.
Exemplarily, matching the text information in the interface information 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.
S520: and if the character information is successfully matched with the name and the code corresponding to the name, determining that the character information is successfully matched with the label information.
Illustratively, the text information includes a name of the target product and a code of the target product, and if the name and the code of the target product are matched in the preset database, for example, if the name a of the product resource and the code 001 of the product resource are included in the text information, and the name a of the target product resource and the code 001 of the target product resource a exist in the preset database, it is determined that the matching of the text information and the tag information is successful.
The embodiment further illustrates that the label information of the product resource comprises a name and a code corresponding to the name, and in the matching process of the text information and the label information, only if the code corresponding to the name and the name is matched at the same time, the success in matching the text information and the label information can be determined, and the accuracy of the matching process is improved through double matching.
In another embodiment, the number of the first information is multiple, and in the step S220, determining the second information matched with the information of the target product resource from the first information includes: and matching the information of the target product resource with the plurality of pieces of first information, and taking the first information matched with the information of the target product resource as second information to obtain the second information.
The second information in this embodiment is obtained by matching the first information, and further illustrates that the range and the number of the first information are both greater than or equal to the second information, obviously, if the first information is not obtained in the pre-step, the second information does not exist, and if the first information does not exist, the information processing process is mistaken or the last displayed sorting result is blank.
Fig. 6 is a flowchart of another information processing method proposed based on any one of the embodiments shown in fig. 2 to 5. The method further includes S610 to S620 (including S620A and S620B), which are described in detail below:
s610: acquiring object attributes; wherein the object attribute comprises at least one of nationality of the object and location information of the object.
The object of the embodiment is a user of the terminal 100, the terminal 100 stores an object attribute, that is, account information of the user, where the account information includes basic information such as nationality and gender of the user, and the server 200 can obtain the account information of the user, and in addition, when the user uses the terminal 100, the server 200 can also obtain real-time location information of the terminal 100, that is, location information of the user can be obtained.
S620A: and if the object information comprises the nationality of the object, determining the official language of the country corresponding to the nationality according to the nationality of the object, and adjusting the initial input language to the official language.
The official languages of the countries corresponding to the plurality of nationalities in the embodiment may be preset in the terminal 100, and if the server 200 obtains the nationality information of the user, the server may return a relevant instruction to the terminal 100, so that the initial input language of the terminal 100 is adjusted to the official language of the country corresponding to the nationality of the user.
Illustratively, if the nationality of the acquired object is the united states and the official language of the united states is english, the initial input language is adjusted to english.
S620B: and if the object information comprises the positioning information of the object, determining the official language of the country corresponding to the positioning information according to the positioning information of the object, and adjusting the initial input language to the official language.
Illustratively, if the positioning information of the acquired object is a province city in china and the official language corresponding to the province city in china is chinese, the initial input language is adjusted to chinese.
According to the method and the device, the initial input language is adjusted by acquiring the object attributes, the initial input language is automatically adjusted to the use language which is most likely to be used by the user, the input of the keywords of the user is facilitated, the time for switching the input method is saved, and the good use feeling of the user is improved.
Fig. 7 is a flowchart of another proposed information processing method based on any one of the embodiments shown in fig. 2 to 5. The method further includes S710 to S720, which are described in detail below:
s710: detecting whether the third information exists.
The embodiment detects whether the third information exists before determining the third information, and detects whether the first information contains other information besides the second information, namely detects whether preset information containing keywords but not containing information of target product resources exists.
Exemplarily, fig. 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. As shown in fig. 8(a), a is preset information including a keyword, i.e., first information; b is preset information containing the keywords and information of target product resources, namely second information; c is other preset information in the first information except the second information.
S720: and if not, displaying the second information.
Illustratively, as shown in fig. 8(b), a is preset information containing a keyword, i.e., first information; b is preset information containing the keywords and information of target product resources, namely second information; fig. 8(B) shows that there is no third information, and a and B completely overlap, that is, a is equal to B, which indicates that all preset information including the keyword also includes information of the target product resource. In this case, the method directly displays the second information without the subsequent S230.
The embodiment further illustrates an information processing method when the third information does not exist, further illustrates a relationship among the first information, the second information, and the third information, and simplifies subsequent processing steps when the third information is not detected, so that the information processing method of the embodiment is faster.
Further, if the related second information is not found in the first information, only the third information is displayed.
In another embodiment, the information processing method of the present application is applied to a stock information scenario, i.e. the product resource is a stock, and the information processing is performed according to the above S210 to S240, and when the user searches the related information, the information is divided into a stock information scenario and a global information scenario. Fig. 9 is a schematic diagram illustrating a search display result in different information scenes according to another embodiment of the present application, in which fig. 9(a) shows a global information scene, if a keyword search related information is input in the global information scene, a "price" keyword is input, as shown in fig. 9(b), and if a search button is clicked, a display result is shown in fig. 9(c), which only obtains first information including the input keyword, which does not sort and sort the first information, displays messy information, and has repeated information, such as "gold price" displayed once in each of two slabs.
Clicking on the stock a in fig. 9(a), the display interface becomes fig. 9(d), which is now in the information scene of the target stock, which includes various kinds of detailed information of the stock a, typing in the "price" keyword in its search box, and clicking on the search button, the display results are as shown in fig. 9(e), the second information including the "price" keyword and including the stock a information is ranked at the forefront, the third information including the "price" keyword but not including the stock a information is ranked at the back, the second information and the third information are displayed in blocks, the block and the information with higher matching degree are ranked at the forefront, and there is no duplicate information.
The embodiment further illustrates that the information processing method of the present application can perform fine classification on the target information, and according to the plate display sorting result, the accuracy of the matched target product resource is improved, so that the user can easily obtain the retrieval information that best meets psychological expectation, and other related information is displayed on another plate, thereby expanding the information display range.
Another aspect of the present application also provides an information processing apparatus, as shown in fig. 10, fig. 10 is a schematic structural diagram of the information processing apparatus shown in an exemplary embodiment of the present application. Wherein the information processing apparatus includes:
an obtaining module 1010 configured to obtain first information matched with a keyword if the input keyword is received in an information scene of a target product resource;
the matching module 1030 is configured to determine second information matched with the information of the target product resource from the first information, and determine other information except the second information in the first information as third information;
the sorting module 1050 is configured to sort the second information and the third information to obtain a sorting result; the arrangement position corresponding to the second information in the sequencing result is before the arrangement position corresponding to the third information;
a display module 1070 configured to display the ranking results.
In another exemplary embodiment, the obtaining module 1010 includes:
the information acquisition unit is configured to acquire interface information and determine whether the information scene of the target product resource is in the information scene or not based on the interface information;
the detection unit is configured to detect whether the input keywords are received in the information scene of the target product resource if the information scene of the target product resource is determined to be in the information scene of the target product resource.
In another embodiment, an information acquisition unit includes:
the identification plate is configured to identify character information contained in the interface information;
the label information matching plate is configured to match the text information with label information of a plurality of preset product resources respectively; and if the matching of the text information and the label information of one of the plurality of product resources is successful, determining that the information scene of the target product resource is located.
In another embodiment, the tag information includes: a name and a code corresponding to the name; the label information matching plate is specifically configured to match the text information with names and codes corresponding to the names contained in the label information of a plurality of preset product resources respectively; and if the character information is successfully matched with the name and the code corresponding to the name, determining that the character information is successfully matched with the label information.
In another embodiment, the first information is a plurality of information, and the matching module 1030 further includes:
and the second information matching unit is configured to match the information of the target product resource with the plurality of pieces of first information, and take the first information matched with the information of the target product resource as second information to obtain second information.
In another embodiment, the obtaining module 1010 further comprises:
an object attribute acquiring unit configured to acquire an object attribute; wherein the object attribute comprises at least one of nationality of the object and location information of the object;
an input language confirmation unit configured to determine an official language of a country corresponding to the nationality according to the nationality of the object and adjust an initial input language to the official language if the object information includes the nationality of the object; and if the object information comprises the positioning information of the object, determining the official language of the country corresponding to the positioning information according to the positioning information of the object, and adjusting the initial input language to the official language.
In another embodiment, the information processing apparatus further includes:
a detecting module 1090 configured to detect whether the third information exists; and if not, displaying the second information.
It should be noted that the information processing apparatus provided in the foregoing embodiment and the information processing method provided in the foregoing embodiment belong to the same concept, and specific ways for the modules and units to perform operations have been described in detail in the method embodiment, and are not described again here.
Another aspect of the present application also provides an electronic device, including: a controller; a memory for storing one or more programs, the one or more programs when executed by the controller for performing the above-described method.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a computer system of an electronic device according to an exemplary embodiment of the present application, which illustrates a schematic structural diagram of a computer system suitable for implementing the electronic device according to the embodiment of the present application.
It should be noted that the computer system 1100 of the electronic device shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 11, the computer system 1100 includes a Central Processing Unit (CPU)1101, which can perform various appropriate actions and processes, such as executing the methods in the above-described embodiments, according to a program stored in a Read-Only Memory (ROM) 1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for system operation are also stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An Input/Output (I/O) interface 1105 is also connected to bus 1104.
The following components are connected to the I/O interface 1105: an input portion 1106 including a keyboard, mouse, and the like; an output section 1107 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1108 including a hard disk and the like; and a communication section 1109 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1109 performs communication processing via a network such as the internet. A driver 1110 is also connected to the I/O interface 1105 as necessary. A removable medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1110 as necessary, so that a computer program read out therefrom is mounted into the storage section 1108 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 1109 and/or installed from the 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.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied 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 foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the foregoing information processing method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist separately without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions 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 executes the information processing method provided in the above-described embodiments.
According to an aspect of an embodiment of the present application, there is also provided a computer system including a Central Processing Unit (CPU) that can perform various appropriate actions and processes, such as performing the method in the above-described embodiment, 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). In the RAM, various programs and data necessary for system operation are also stored. The CPU, ROM, and RAM are connected to each other via a bus. An Input/Output (I/O) interface is also connected to the bus.
The following components are connected to the I/O interface: an input section including a keyboard, a mouse, and the like; an output section including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section including a hard disk and the like; and a communication section including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the I/O interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
The above description is only a preferred exemplary embodiment of the present application, and is not intended to limit the embodiments of the present application, and those skilled in the art can easily make various changes and modifications according to the main concept and spirit of the present application, so that the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. An information processing method characterized by comprising:
if an input keyword is received in an information scene of a target product resource, first information matched with the keyword is obtained;
determining second information matched with the information of the target product resource from the first information, and determining other information except the second information in the first information as third information;
sequencing the second information and the third information to obtain a sequencing result; the arrangement position corresponding to the second information in the sequencing result is before the arrangement position corresponding to the third information;
and displaying the sequencing result.
2. The method of claim 1, wherein before the obtaining the first information matching the keyword if the input keyword is received in the information scene of the target product resource, the method further comprises:
acquiring interface information, and determining whether the target product resource is in an information scene based on the interface information;
and if the target product resource is determined to be in the information scene of the target product resource, detecting whether the input keywords are received in the information scene of the target product resource.
3. The method of claim 2, wherein the determining whether the target product resource is in an information scenario based on the interface information comprises:
identifying character information contained in the interface information;
matching the text information with preset label information of a plurality of product resources respectively;
and if the matching of the text information and the label information of one of the plurality of product resources is successful, determining that the information scene of the target product resource is positioned.
4. The method of claim 3, wherein the tag information comprises: a name and a code corresponding to the name; the step of respectively matching the text information with the preset label information of a plurality of product resources comprises the following steps:
matching the text information with names contained in label information of a plurality of preset product resources and codes corresponding to the names respectively;
and if the character information is successfully matched with the name and the code corresponding to the name, determining that the character information is successfully matched with the label information.
5. The method of claim 1, wherein the first information is a plurality; the determining, from the first information, second information that matches the information of the target product resource includes:
and matching the information of the target product resource with the plurality of pieces of first information, and taking the first information matched with the information of the target product resource as the second information to obtain the second information.
6. The method according to any one of claims 1 to 5, further comprising:
acquiring object attributes; wherein the object attribute comprises at least one of a nationality of the object and location information of the object;
if the object information comprises the nationality of the object, determining the official language of a country corresponding to the nationality according to the nationality of the object, and adjusting the initial input language to the official language;
and if the object information comprises the positioning information of the object, determining the official language of the country corresponding to the positioning information according to the positioning information of the object, and adjusting the initial input language to the official language.
7. The method according to any one of claims 1 to 5, wherein before the sorting the second information and the third information to obtain a sorting result, the method further comprises:
detecting whether the third information exists;
and if the second information does not exist, displaying the second information.
8. An information processing apparatus characterized by comprising:
the acquisition module is configured to acquire first information matched with a keyword if the input keyword is received in an information scene of a target product resource;
the matching module is configured to determine second information matched with the information of the target product resource from the first information and determine other information except the second information in the first information as third information;
the sorting module 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;
a display module configured to display the ranking result.
9. An electronic device, comprising:
a controller;
a memory for storing one or more programs that, when executed by the controller, cause the controller to implement the method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210227851.4A CN114661979A (en) | 2022-03-07 | 2022-03-07 | Information processing method and device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210227851.4A CN114661979A (en) | 2022-03-07 | 2022-03-07 | Information processing method and device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114661979A true CN114661979A (en) | 2022-06-24 |
Family
ID=82029751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210227851.4A Pending CN114661979A (en) | 2022-03-07 | 2022-03-07 | Information processing method and device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114661979A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245289A (en) * | 2019-05-20 | 2019-09-17 | 中国平安财产保险股份有限公司 | A kind of information search method and relevant device |
CN111125086A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Method, device, storage medium and processor for acquiring data resources |
CN113268696A (en) * | 2021-06-16 | 2021-08-17 | 广州数智网络科技有限公司 | Method for identifying four-party payment website and analyzing user |
-
2022
- 2022-03-07 CN CN202210227851.4A patent/CN114661979A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111125086A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Method, device, storage medium and processor for acquiring data resources |
CN110245289A (en) * | 2019-05-20 | 2019-09-17 | 中国平安财产保险股份有限公司 | A kind of information search method and relevant device |
CN113268696A (en) * | 2021-06-16 | 2021-08-17 | 广州数智网络科技有限公司 | Method for identifying four-party payment website and analyzing user |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108153901B (en) | Knowledge graph-based information pushing method and device | |
CN106202186B (en) | Service recommendation method and device based on artificial intelligence | |
CN111552870A (en) | Object recommendation method, electronic device and storage medium | |
CN110929125A (en) | Search recall method, apparatus, device and storage medium thereof | |
CN109409419B (en) | Method and apparatus for processing data | |
CN111737443B (en) | Answer text processing method and device and key text determining method | |
CN107633022A (en) | Personnel's portrait analysis method, device and storage medium | |
CN110909222A (en) | User portrait establishing method, device, medium and electronic equipment based on clustering | |
CN110941702A (en) | Retrieval method and device for laws and regulations and laws and readable storage medium | |
CN111104590A (en) | Information recommendation method, device, medium and electronic equipment | |
CN110489032B (en) | Dictionary query method for electronic book and electronic equipment | |
CN111400464B (en) | Text generation method, device, server and storage medium | |
CN111831885B (en) | Internet information retrieval system and method | |
CN108875014B (en) | Precise project recommendation method based on big data and artificial intelligence and robot system | |
CN112328752B (en) | Course recommendation method and device based on search content, computer equipment and medium | |
CN111144122A (en) | Evaluation processing method, evaluation processing device, computer system, and medium | |
CN114661979A (en) | Information processing method and device, equipment and computer readable storage medium | |
CN111078972B (en) | Questioning behavior data acquisition method, questioning behavior data acquisition device and server | |
CN113536788A (en) | Information processing method, device, storage medium and equipment | |
CN113918796A (en) | Information searching method, device, server and storage medium | |
CN111984839A (en) | Method and apparatus for rendering a user representation | |
CN113177116B (en) | Information display method and device, electronic equipment, storage medium and program product | |
CN111881283B (en) | Business keyword library creation method, intelligent chat guiding method and device | |
CN113792124A (en) | Intelligent response method and device, electronic equipment and storage medium | |
CN114385895A (en) | Commodity checking method and device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |