CN114661979A - Information processing method and apparatus, device, and computer-readable storage medium - Google Patents
Information processing method and apparatus, device, 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
- computer
- 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.)
- Granted
Links
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)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机领域,具体涉及一种信息处理方法及装置、设备、计算机可读存储介质。The present application relates to the field of computers, and in particular, to an information processing method, apparatus, device, and computer-readable storage medium.
背景技术Background technique
检索资讯是用户的基本需求,一般用户需要从大量数据中通过繁琐的操作才能检索到目标产品的资讯信息,特别是在目标产品资讯的资讯场景下检索关键字,无法准确的匹配到目标产品资源的信息。Retrieval of information is the basic requirement of users. Generally, users need to retrieve the information of the target product through tedious operations from a large amount of data. Especially in the information scene of the target product information, the keywords cannot be accurately matched to the target product resources. Information.
综上,亟需一种信息处理方法用以解决上述技术问题。In conclusion, there is an urgent need for an information processing method to solve the above technical problems.
发明内容SUMMARY OF THE INVENTION
为解决上述技术问题,本申请的实施例分别提供了一种信息处理方法及装置、设备、计算机可读存储介质,用以提升匹配到的目标产品资源的准确性。In order to solve the above technical problems, the embodiments of the present application respectively provide an information processing method, apparatus, device, and computer-readable storage medium, so as to improve the accuracy of matched target product resources.
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。Other features and advantages of the present application will become apparent from the following detailed description, or be learned in part by practice of the present application.
根据本申请实施例的一个方面,提供了一种信息处理方法,包括:若在目标产品资源的资讯场景中接收到输入的关键字,则获取与所述关键字匹配的第一信息;从所述第一信息中确定出与所述目标产品资源的信息匹配的第二信息,并将所述第一信息中除所述第二信息之外的其他信息确定为第三信息;对所述第二信息以及所述第三信息进行排序,得到排序结果;其中,所述排序结果中所述第二信息对应的排列位置在所述第三信息对应的排列位置之前;显示所述排序结果。According to an aspect of the embodiments of the present application, an information processing method is provided, including: if an input keyword is received in an information scene of a target product resource, acquiring first information matching the keyword; determining the 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 the third information; The second information and the third information are sorted 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; and the sorting result is displayed.
根据本申请实施例的一个方面,提供了一种信息处理装置,包括:According to an aspect of the embodiments of the present application, an information processing apparatus is provided, including:
获取模块,配置为若在目标产品资源的资讯场景中接收到输入的关键字,则获取与所述关键字匹配的第一信息;an acquisition module, configured to acquire first information matching the keyword if an input keyword is received in the information scene of the target product resource;
匹配模块,配置为从所述第一信息中确定出与所述目标产品资源的信息匹配的第二信息,并将所述第一信息中除所述第二信息之外的其他信息确定为第三信息;A matching module, configured to determine from the first information second information that matches the information of the target product resource, and to determine other information in the first information except the second information as the first information three information;
排序模块,配置为对所述第二信息以及所述第三信息进行排序,得到排序结果;其中,所述排序结果中所述第二信息对应的排列位置在所述第三信息对应的排列位置之前;a sorting module, configured to 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 in the arrangement position corresponding to the third information Before;
显示模块,配置为显示所述排序结果。A display module configured to display the sorting result.
在另一示例性实施例中,所述获取模块,包括:In another exemplary embodiment, the obtaining module includes:
信息获取单元,配置为获取界面信息,并基于所述界面信息确定是否处于所述目标产品资源的资讯场景中;an information acquisition unit, configured to acquire interface information, and determine whether it is in the information scene of the target product resource based on the interface information;
检测单元,配置为若确定处于所述目标产品资源的资讯场景中,则检测在所述目标产品资源的资讯场景中是否接收到输入的关键字。The detection unit is configured to detect whether an input keyword is received in the information scene of the target product resource if it is determined to be in the information scene of the target product resource.
在另一实施例中,所述信息获取单元,包括:In another embodiment, the information acquisition unit includes:
识别板块,配置为识别所述界面信息中含有的文字信息;an identification plate, configured to identify the text information contained in the interface information;
标签信息匹配板块,配置为将所述文字信息与预置的多个产品资源的标签信息分别进行匹配;若所述文字信息与所述多个产品资源中的其中一个产品资源的标签信息匹配成功,则确定处于目标产品资源的资讯场景。The label information matching section is configured to respectively match the text information with the label information of multiple preset product resources; if the text information is successfully matched with the label information of one of the multiple product resources , then determine the information scene in the target product resource.
在另一实施例中,所述标签信息包括:名称以及所述名称对应的代码;所述标签信息匹配板块,具体配置为将所述文字信息分别与预置的多个产品资源的标签信息含有的名称以及所述名称对应的代码进行匹配;若所述文字信息与所述名称以及所述名称对应的代码均匹配成功,则确定所述文字信息与标签信息匹配成功。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 include the text information with the label information of a plurality of preset product resources respectively. The name of the name and the code corresponding to the name are matched; if the text information is successfully matched with the name and the code corresponding to the name, it is determined that the text information and the label information are successfully matched.
在另一实施例中,所述第一信息为多个,所述匹配模块还包括:In another embodiment, the first information is multiple, and the matching module further includes:
第二信息匹配单元,配置为将所述目标产品资源的信息与所述多个第一信息进行匹配,并将与所述目标产品资源的信息所匹配的第一信息作为所述第二信息,以得到所述第二信息。a second information matching unit, configured to match the information of the target product resource with the multiple 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 includes:
获取对象属性单元,配置为获取对象属性;其中,所述对象属性包括对象的国籍以及对象的定位信息中的至少一个;an object property acquisition unit, configured to acquire an object property; wherein, the object property includes at least one of the nationality of the object and the positioning information of the object;
输入语言确认单元,配置为若所述对象信息包括对象的国籍,则根据所述对象的国籍确定出所述国籍对应的国家的官方语言,并将初始输入语言调整为所述官方语言;若所述对象信息包括对象的定位信息,则根据所述对象的定位信息确定出所述定位信息对应的国家的官方语言,并将所述初始输入语言调整为所述官方语言。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, the official language of the country corresponding to the positioning information is determined according to the positioning information of the object, and the initial input language is adjusted to the official language.
在另一实施例中,所述信息处理装置还包括:In another embodiment, the information processing apparatus further includes:
检测模块,配置为检测是否存在所述第三信息;若不存在,则显示所述第二信息。The detection module is configured to detect whether the third information exists; if not, display the second information.
根据本申请实施例的一个方面,提供了一种电子设备,包括:控制器;存储器,用于存储一个或多个程序,当所述一个或多个程序被所述控制器执行时,以执行上述的方法。According to an aspect of the embodiments of the present application, there is provided an electronic device, comprising: a controller; a memory for storing one or more programs, when the one or more programs are executed by the controller, to execute the above method.
根据本申请实施例的一个方面,还提供了一种计算机可读存储介质,其上存储有计算机可读指令,当所述计算机可读指令被计算机的处理器执行时,使计算机执行上述的方法。According to an aspect of the embodiments of the present application, a computer-readable storage medium is also provided, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by a processor of a computer, the computer is made to execute the above method. .
根据本申请实施例的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述的方法。According to an aspect of the embodiments of the present application, there is also provided a computer program product or computer program, where the computer program product or computer program includes computer instructions, and 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 to cause the computer device to perform the above-described method.
在本申请的实施例所提供的技术方案中,在目标产品资源的资讯场景中接收输入的关键字,获取与关键字匹配的第一信息;从第一信息中确定出匹配目标产品资源的第二信息,以及第一信息中除第二信息之外的第三信息;最后将第二信息排列在第三信息之前,显示排序结果。本申请的信息处理方法能在目标产品资讯场景下检索出与关键字和目标产品资源匹配的信息,不需要用户再输入目标产品资源的搜索词,优先显示与关键字和目标产品资源匹配的信息,同时也显示了与关键字匹配但不匹配目标产品资源的信息,使得用户在目标产品资源的资讯场景下能方便且直观地获取与关键字和目标产品资源匹配的资讯信息,以及其他相关的信息。In the technical solution provided by the embodiments of the present application, the input keyword is received in the information scene of the target product resource, and the first information matching the keyword is obtained; the first information matching the target product resource is determined from the first information. The second information, and the third information except the second information in 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 keywords and target product resources in the target product information scenario, without requiring the user to input the search terms of the target product resources, and preferentially display the information matching the keywords and the target product resources , and also displays the information that matches the keyword but does not match the target product resource, so that the user can conveniently and intuitively obtain the information matching the keyword and the target product resource in the information scenario of the target product resource, as well as other related information. information.
应理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术者来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:
图1是本申请涉及的一种实施环境的示意图;1 is a schematic diagram of an implementation environment involved in the present application;
图2是本申请一示例性实施例示出的一种信息处理方法的流程图;FIG. 2 is a flowchart of an information processing method according to an exemplary embodiment of the present application;
图3是基于图2所示实施例提出的另一信息处理方法的流程图;3 is a flowchart of another information processing method proposed based on the embodiment shown in FIG. 2;
图4是基于图3所示实施例提出的另一信息处理方法的流程图;4 is a flowchart of another information processing method proposed based on the embodiment shown in FIG. 3;
图5是基于图4所示实施例提出的另一信息处理方法的流程图;5 is a flowchart of another information processing method proposed based on the embodiment shown in FIG. 4;
图6是基于图2至图5中任一所示实施例提出的另一信息处理方法的流程图;6 is a flowchart of another information processing method proposed based on any of the embodiments shown in FIGS. 2 to 5;
图7是基于图2至图5中任一所示实施例提出的另一信息处理方法的流程图;7 is a flowchart of another information processing method proposed based on any of the embodiments shown in FIGS. 2 to 5;
图8是本申请一示例性实施例示出的第一信息、第二信息和第三信息的关系图FIG. 8 is a relationship diagram of the first information, the second information and the third information according to an exemplary embodiment of the present application
图9是本申请另一实施例示出的在不同资讯场景下检索显示结果示意图;FIG. 9 is a schematic diagram of retrieval and display results in different information scenarios according to another embodiment of the present application;
图10是本申请一示例性实施例示出的信息处理装置的结构示意图;10 is a schematic structural diagram of an information processing apparatus according to an exemplary embodiment of the present application;
图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.
具体实施方式Detailed ways
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。The description will now be made in detail of exemplary embodiments, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the figures are merely functional entities and do not necessarily necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are only exemplary illustrations and do not necessarily include all contents and operations/steps, nor do they have to be performed 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 be changed according to the actual situation.
在本申请中提及的“多个”是指两个或者两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The "plurality" mentioned in this application means two or more. "And/or" describes the association relationship between associated objects, indicating that there can be three kinds of relationships, for example, A and/or B can indicate that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
首先请参阅图1,图1是本申请涉及的一种实施环境的示意图。该实施环境包括终端100和服务器200,终端100和服务器200之间通过有线或者无线网络进行通信。First, please refer to FIG. 1 , which is a schematic diagram of an implementation environment involved in the present application. The implementation environment includes the terminal 100 and the
终端100用于接收键入关键字和目标产品资源的信息,并将接收到的关键字和目标产品资源的信息传输至服务器200;服务器200根据得到的关键字和目标产品资源的信息进行匹配、过滤、排序等处理,确定出相关信息的排序结果,并将确定出的相关信息的排序结果发送至终端100。The terminal 100 is used to receive the information of the entered keywords and the target product resources, and transmit the received keywords and the information of the target product resources to the
示例性的,服务器200若在目标产品资源的资讯场景中接收到输入的关键字,则获取与关键字匹配的第一信息;从第一信息中确定出与目标产品资源的信息匹配的第二信息,并将第一信息中除第二信息之外的其他信息确定为第三信息;对第二信息以及第三信息进行排序,得到排序结果;其中,排序结果中第二信息对应的排列位置在第三信息对应的排列位置之前;显示排序结果。Exemplarily, if the
其中,用户终端100包括但不限于手机、电脑、智能语音交互设备、智能家电、车载终端等,如可以是智能手机、平板、笔记本电脑、计算机等任意能够实现图片可视化的电子设备,本处不进行限制。服务器200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,其中多个服务器可组成一区块链,而服务器为区块链上的节点,服务器200还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN(Content Delivery Network,内容分发网络)以及大数据和人工智能平台等基础云计算服务的云服务器,本处也不对此进行限制。Wherein, the
请参阅图2,图2是本申请一示例性实施例示出的一种信息处理方法的流程图,该方法可以由图1所示实施环境中的服务器200具体执行。当然,该方法也可以应用于其它实施环境,并由其它实施环境中的服务器设备执行,本实施例不对此进行限制。如图2所示,该方法至少包括S210至S240,详细介绍如下:Please refer to FIG. 2 . FIG. 2 is a flowchart of an information processing method shown in an exemplary embodiment of the present application. The method may be specifically executed by the
S210:若在目标产品资源的资讯场景中接收到输入的关键字,则获取与关键字匹配的第一信息。S210: If the input keyword is received in the information scene of the target product resource, obtain first information matching the keyword.
本实施例的产品资源可以是股票、期权、基金等金融产品,资讯场景指的是检索页面场景,其中,资讯场景包括全局场景和局部场景,例如,当产品资源为期权时,资讯场景包括单个期权场景和全局场景,单个期权场景指的是检索页面处于单个期权的场景,全局场景指的是检索页面处于全部期权的场景,一般存在多个不同期权,所有期权场景组成一个全局场景。The product resources in this embodiment may be financial products such as stocks, options, and funds, and the information scene refers to a retrieval page scene, where the information scene includes a global scene and a local scene. For example, when the product resource is an option, the information scene includes a single Option scenario and global scenario, a single option scenario refers to a scenario where the retrieval page is in a single option, and a global scenario refers to a scenario where the retrieval page is in all options. Generally, there are multiple different options, and all option scenarios form a global scenario.
本实施例中关键字包括中文、英文、数字、字符等类型,可根据具体运用场景做出适应性的调整,本实施例不对其具体内容做限制,另外关键字的输入方法包括但不限于手动输入、语音识别输入、点击选项输入等输入方法,若为点击选项输入,则需要多个预设的选项关键词供用户选择,并显示于输入屏幕待用户触碰选择,这里仅举例说明有多种输入关键字的方式,并不对关键词的输入方式做限制。The keywords in this embodiment include Chinese, English, numbers, characters, etc., and can be adjusted adaptively according to specific application scenarios. This embodiment does not limit its specific content. In addition, the input method of keywords includes but is not limited to manual Input methods such as input, voice recognition input, click option input, etc. If the click option input is used, multiple preset option keywords are required for the user to select, and are displayed on the input screen for the user to touch and select. There is a way of entering keywords, and there is no restriction on the way of entering keywords.
本实施例的第一信息是与关键字匹配的预置信息,即预置信息中包含关键字的信息都被确定为第一信息,第一信息根据关键字的变化而变化,例如,关键字为“资讯”,预置信息中包含“资讯”关键词的信息都被确定为第一信息,若接收到输入的关键字是“报告”,则预置信息中包含“报告”关键词的信息被确定为第一信息,而不是包含“资讯”关键词的信息。The first information in this embodiment is preset information that matches the keyword, that is, the information including 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, the keyword For "information", the information containing the keyword "information" in the preset information is determined as the first information, if the received keyword is "report", the preset information contains the information with the keyword "report" It is determined to be the first information, not the information containing the keyword "information".
示例性地,若目标产品资源为股票,当在目标股票资讯场景中,即当检索页面处于目标股票的场景中,接收到“新闻”关键字,则在预置信息中匹配包含“新闻”的信息,将所有包含“新闻”的信息都确定为第一信息。具体运用场景:当用户界面处于目标股票资讯的页面中输入“新闻”关键字,则将“新闻”与预置信息进行匹配,将所有包含“新闻”的信息都确定为第一信息。Exemplarily, if the target product resource is a stock, in the target stock information scenario, that is, when the retrieval page is in the target stock scenario, the keyword "news" is received, the preset information will be matched with the keyword "news". information, and all information including "news" is determined as the first information. Specific application scenarios: When the user interface is on the target stock information page and the keyword "news" is entered, the "news" is matched with the preset information, and all information containing "news" is determined as the first information.
S220:从第一信息中确定出与目标产品资源的信息匹配的第二信息,并将第一信息中除第二信息之外的其他信息确定为第三信息。S220: Determine the 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 the third information.
本实施例的目标产品资源的信息是与目标产品资源关联的信息,例如,当目标产品资源为目标股票时,目标股票关联的信息是目标股票代码等与目标股票紧密相关且一一对应的信息。The information of the target product resource in this embodiment is the information associated with the target product resource. For example, when the target product resource is the target stock, the information associated with the target stock is the target stock code and other information that is closely related to the target stock and has a one-to-one correspondence. .
具体的,本实施例中在从第一信息中筛选与目标产品资源的信息匹配的第二信息的过程中,可以先基于目标产品资源的信息提取目标特征,例如将目标产品的产品名称、代码、上市时间、通知公告等作为目标特征,之后基于目标特征在第一信息中依次进行遍历匹配,计算目标特征Cha_aim与第一信息中各连续字符特征Cha_inf之间的相关系数sim(Cha_aim,Cha_inf)为: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 may be extracted based on the information of the target product resource, for example, the product name, code of the target product , time to market, notice announcement, etc. as the target features, and then traversal and matching are performed in the first information based on the target features, and the correlation coefficient sim (Cha_aim, Cha_inf) between the target feature Cha_aim and each consecutive character feature Cha_inf in the first message is calculated. for:
sim(Cha_aim,Cha_inf)=Cha_aim/a2-Cha_inf/b2 sim(Cha_aim, Cha_inf)=Cha_aim/a 2 -Cha_inf/b 2
其中,a、b表示预设的第一匹配因子和第二匹配因子,在计算得到相关系数之后,选取相关系数高于设定阈值时的第一信息作为第二信息。通过上述方式,可以从第一信息中筛选得到与目标产品资源相关的信息,以此来作为第二信息,提高了信息匹配的相关性和信息的展示效率。Wherein, a and b represent the preset first matching factor and second matching factor. After the correlation coefficient is obtained by calculation, the first information when the correlation coefficient is higher than the set threshold is selected as the second information. In the above manner, the information related to the target product resource can be obtained by screening the first information as the second information, which improves the relevance of information matching and the display efficiency of the information.
特别地,本实施例的第二信息可以是包含目标产品资源的信息的第一信息,即包含关键字且目标产品资源的信息的预置信息。例如,关键字为“新闻”,目标产品资源为A公司股票,则第二信息是同时包含“新闻”和A公司股票对应的信息,进一步的,A公司股票对应的信息可以是A公司股票名称和/或A公司股票代码。In particular, the second information in 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 company A's stock, the second information includes both "news" and information corresponding to company A's stock. Further, the information corresponding to company A's stock may be the name of company A's stock. and/or Company A ticker symbol.
本实施例的第三信息是不包含目标产品资源的信息的第一信息、或者是与目标产品资源的信息无关的第一信息,例如可以是包含关键字但不包含目标产品资源的信息的预置信息。例如,关键字为“价格”,目标产品资源为B期货,B期货对应的信息为B期货名称时,则第三信息是包含“价格”关键字但不包含B期名称的信息。The third information in this embodiment is the first information that does not include the information of the target product resource, or the first information that is irrelevant to the information of the target product resource. setting information. 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, the third information is information that contains the keyword "price" but does not contain the name of phase B.
本实施例中的第三信息不是绝对存在的信息,当存在第一信息和第二信息但不存在第三信息时,则说明第一信息中没有除第二信息之外的其他信息,隐含说明了第一信息和第二信息相同,即预置信息中包含关键字的信息同时也包含了目标产品资源的信息。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 except the second information in the first information. It is explained that the first information and the second information are the same, that is, the information including the keyword in the preset information also includes the information of the target product resource.
示例性地,在股票资讯场景下,上述S210得到了与预置信息中包含“新闻”关键字的第一信息,在包含“新闻”关键字的预置信息中匹配目标个股的信息,得到第二信息,在第一信息中排除第二信息,即得到包含“新闻”关键字但不包含目标个股的信息的预置信息,将其作为第三信息,第三信息可以是包括其他个股信息和关键字的预置信息,也可以是不包括个股信息,仅包括关键字的预置信息。Exemplarily, in the stock information scenario, the above S210 obtains the first information containing the keyword "news" in the preset information, matches the information of the target stock in the preset information containing the keyword "news", and obtains the first information. Second information, exclude the second information from the first information, that is, get the preset information that contains the "news" keyword but does not contain the information of the target stock, and use it as the third information, and the third information can include other stock information and The preset information of keywords may also be preset information that does not include individual stock information and only includes keywords.
S230:对第二信息以及第三信息进行排序,得到排序结果;其中,排序结果中第二信息对应的排列位置在第三信息对应的排列位置之前。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.
本实施例第二信息和第三信息的位置可以分板块排序或者同板块排序,当分板块排序时,包含第二信息的板块排在包含第三信息的板块前面;当同板块排序时,板块中的第二信息排在在第三信息之前。The positions of the second information and the third information in this embodiment can be sorted by block or by the same block. When sorted by block, the block containing the second information is ranked in front of the block containing the third information; when the block is sorted, the blocks in the block The second information comes before the third information.
在第二信息内和第三信息内进行排序时,可以基于上述计算得到的相关系数来有大到小排序,也可以根据信息类型、发布账户、发布时间、涉及金额等信息进行排序,以提高信息的展示效率。When sorting in the second information and in the third information, it can be sorted from large to small based on the correlation coefficient calculated above, or it can be sorted according to information such as information type, release account, release time, amount involved, etc., so as to improve the Information presentation efficiency.
S240:显示排序结果。S240: Display the sorting result.
将包括关键字和目标产品资源的信息的第二信息排序在前,更好的契合了客户的检索需求。Sorting the second information including the information of the keyword and the target product resource to the front better meets the retrieval needs of the customer.
本实施例的信息处理方法能在目标产品资讯场景下检索出与关键字和目标产品资源匹配的信息,不需要用户再输入目标产品资源的搜索词,优先显示与关键字和目标产品资源匹配的信息,提升了匹配到的目标产品资源的准确性,同时也显示了与关键字匹配但不匹配目标产品资源的信息,使得用户在目标产品资源的资讯场景下能方便且直观地获取与关键字和目标产品资源匹配的资讯信息,以及其他相关的信息。The information processing method of this embodiment can retrieve information matching the keyword and the target product resource in the target product information scenario, without requiring the user to input the search term of the target product resource, and preferentially display the information matching the keyword and the target product resource. information, which improves the accuracy of the matched target product resources, and also displays the information that matches the keywords but does not match the target product resources, so that users can easily and intuitively obtain the relevant keywords in the information scene of the target product resources. Information matching the target product resource, and other related information.
请参阅图3,图3是基于图2所示实施例提出的另一信息处理方法的流程图。该方法在图2所示S210之前还包括S310至S320,下面进行详细介绍:Please refer to FIG. 3 , which is a flowchart of another information processing method proposed based on the embodiment shown in FIG. 2 . The method further includes S310 to S320 before S210 shown in FIG. 2 , which will be described in detail below:
S310:获取界面信息,并基于界面信息确定是否处于目标产品资源的资讯场景中。S310: Acquire interface information, and determine whether it is in the information scene of the target product resource based on the interface information.
本实施例的界面信息为用户界面信息,用户界面是系统和用户之间进行交互和信息交换的媒介,它实现信息的内部形式与人类可以接受形式之间的转换。The interface information in this embodiment is user interface information, and the user interface is a medium for interaction and information exchange between the system and the user, which realizes the conversion between the internal form of information and the form acceptable to humans.
示例性地,获取用户界面信息,确定界面信息(即检索页面)是否处于目标产品资源的资讯场景中,例如,运用于股票信息场景下,获取用户界面信息,确定界面信息是否处于目标个股的资讯场景中。Exemplarily, obtain user interface information, determine whether the interface information (that is, the retrieval page) is in the information scene of the target product resource, for example, in the stock information scene, obtain the user interface information, and determine whether the interface information is in the target stock information in the scene.
S320:若确定处于目标产品资源的资讯场景中,则检测在目标产品资源的资讯场景中是否接收到输入的关键字。S320: If it is determined to be in the information scene of the target product resource, detect whether the input keyword is received in the information scene of the target product resource.
示例性地,当用户界面处于目标产品资源的资讯场景中,检测在此资讯场景下是否接收到了用户输入的关键字。例如,运用于股票信息场景下,若用户界面处于目标个股的资讯场景中,则检测在此场景下是否接收到了用户输入的关键字。Exemplarily, when the user interface is in the information scene of the target product resource, it is detected whether a keyword input by the user is received in the information scene. For example, in the case of stock information, 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.
本实施例进一步阐明了如何确定目标产品资源的资讯场景,根据界面信息确定资讯场景的类型,从而准确确定出目标产品资源的资讯场景,并检测此资讯场景下是否接收到了输入的关键字。This embodiment further clarifies how to determine the information scene of the target product resource, determine 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.
图4是基于图3所示实施例提出的另一信息处理方法的流程图。该方法在如图3所示的S310中还包括S410至S430,下面进行详细介绍:FIG. 4 is a flowchart of another information processing method proposed based on the embodiment shown in FIG. 3 . The method further includes S410 to S430 in S310 as shown in FIG. 3 , which will be described in detail below:
S410:识别界面信息中含有的文字信息。S410: Identify the text information contained in the interface information.
本实施例的文字信息包括但不限于中文、英文、数字、字符等信息。The text information in this embodiment includes, but is not limited to, information such as Chinese, English, numbers, and characters.
S420:将文字信息与预置的多个产品资源的标签信息分别进行匹配。S420: Match the text information with the preset label information of multiple product resources respectively.
本实施例的多个预置的产品资源的标签信息位于预设的数据库中,将识别到的文字信息与数据库中的标签信息进行匹配。The label information of the multiple preset product resources in this embodiment is located in a preset database, and the recognized text information is matched with the label information in the database.
示例性地,当产品资源为股票时,预设的数据库中存在多个股票的标签信息,标签信息是个股票一一对应的信息,例如股票的代码,一支股票对应一个代码;将S410中识别到的文字信息与数据库中的多个股票代码进行匹配。Exemplarily, when the product resource is a stock, the label information of multiple stocks exists in the preset database, and the label information is information that corresponds to each stock one-to-one, for example, the code of the stock, and one stock corresponds to one code; identify the information in S410. The received text information is matched against multiple stock symbols in the database.
S430:若文字信息与多个产品资源中的其中一个产品资源的标签信息匹配成功,则确定处于目标产品资源的资讯场景。S430: If the text information is successfully matched with the label information of one product resource among the multiple product resources, determine the information scene of the target product resource.
示例性地,当产品资源为股票,标签信息为股票代码时,若界面信息中的文字信息与多支股票中的其中一支股票的代码匹配成功,则确定处于目标产品资源的资讯场景,特别地,一般股票代码是数字和字母组成,若文字信息中包括了多支股票中的其中一支股票的代码,则确定此时的资讯场景是目标产品资源的资讯场景。Exemplarily, when the product resource is a stock and the label information is a stock code, if the text information in the interface information is successfully matched with the code of one of the multiple stocks, the information scene of the target product resource is determined, especially Generally, the stock code is 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.
本实施例阐明了根据界面信息中的文字信息与标签信息进行匹配,因为标签信息和产品资源紧密相关,将文字信息与预置的多个产品资源的标签信息分别进行匹配,从而更加精准的确定是否处于目标产品资源的资讯场景。This embodiment clarifies that the text information in the interface information is matched with the label information. Because the label information and product resources are closely related, the text information is matched with the label information of multiple preset product resources respectively, so as to determine more accurately. Whether it is in the information scene of the target product resource.
图5是基于图4所示实施例提出的另一信息处理方法的流程图。该方法在如图4所示的S420中包括S510至S520,其中,标签信息包括:名称以及名称对应的代码,下面进行详细介绍:FIG. 5 is a flowchart of another information processing method proposed based on the embodiment shown in FIG. 4 . The method includes S510 to S520 in S420 as shown in FIG. 4 , wherein the label information includes: a name and a code corresponding to the name, which will be described in detail below:
S510:将文字信息分别与预置的多个产品资源的标签信息含有的名称以及名称对应的代码进行匹配。S510: Match the text information with the names contained in the label information of the preset multiple product resources and the codes corresponding to the names respectively.
本实施例中的标签信息包括产品资源名称和产品资源代码,例如,产品资源为股票时,每支股票的标签信息为股票名称和股票代码。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 stock code.
示例性地,将界面信息中的文字信息与预设数据库中多个产品资源的标签信息进行匹配,其中每个产品资源的标签信息含有名称以及名称对应的代码。Exemplarily, the text information in the interface information is matched with the label information of multiple product resources in the preset database, wherein the label information of each product resource contains a name and a code corresponding to the name.
S520:若文字信息与名称以及名称对应的代码均匹配成功,则确定文字信息与标签信息匹配成功。S520: 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.
示例性地,文字信息中包含了目标产品的名称以及目标产品的代码,若其在预设数据库中匹配到了目标产品的名称和代码,例如,若文字信息中包含产品资源的名称A和产品资源的代码001,在预设数据库中存在目标产品资源的名称A和目标产品资源A的代码001,则确定文字信息与标签信息匹配成功。Exemplarily, the text information contains 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 contains the name A of the product resource and the product resource If there is a name A of the target product resource and a code 001 of the target product resource A in the preset database, it is determined that the text information and the label information are successfully matched.
本实施例进一步阐明了产品资源的标签信息包括名称和名称对应的代码,在文字信息与标签信息的匹配过程中,只有同时匹配到名称和名称对应的代码,才能确定文字信息与标签信息匹配成功,双重匹配提高了匹配过程的精确度。This embodiment further clarifies that the label information of the product resource includes the name and the code corresponding to the name. During the matching process of the text information and the label information, only if the name and the code corresponding to the name are matched at the same time, it can be determined that the text information and the label information are successfully matched. , the double matching improves the accuracy of the matching process.
在另一实施例中,第一信息为多个,上述S220中,从第一信息中确定出与目标产品资源的信息匹配的第二信息,包括:将目标产品资源的信息与多个第一信息进行匹配,并将与目标产品资源的信息所匹配的第一信息作为第二信息,以得到第二信息。In another embodiment, there are multiple pieces of first information. In the above S220, determining the second information matching the information of the target product resource from the first information includes: combining the information of the target product resource with the multiple first pieces of information. The information is matched, and the first information matched with the information of the target product resource is used as the second information to obtain the second information.
本实施例的第二信息是在第一信息里面匹配得到的,进一步说明了第一信息的范围和数量都大于或等于第二信息,显然,如果前置步骤未得到第一信息,则不存在第二信息,若不存在第一信息时,信息处理过程报错或最后显示的排序结果为空白。The second information in this embodiment is obtained by matching 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 pre-step, it does not exist For the second information, if the first information does not exist, an error is reported in the information processing process or the sorting result displayed at the end is blank.
图6基于图2至图5中任一所示实施例提出的另一信息处理方法的流程图。该方法还包括S610至S620(包括S620A和S620B),下面进行详细介绍:FIG. 6 is a flowchart of another information processing method proposed based on any of the embodiments shown in FIGS. 2 to 5 . The method also includes S610 to S620 (including S620A and S620B), which are described in detail below:
S610:获取对象属性;其中,对象属性包括对象的国籍以及对象的定位信息中的至少一个。S610: Acquire an object attribute; wherein the object attribute includes at least one of the nationality of the object and the positioning information of the object.
本实施例的对象是终端100用户,终端100中存储有对象属性,即用户的账户信息,其中,账户信息包括用户的国籍和用户性别等基本信息,服务器200可以获取用户的账户信息,另外,当用户在使用终端100时,服务器200还能获取终端100的实时位置信息,即可获得用户的定位信息。The object of this embodiment is the user of the terminal 100, and the terminal 100 stores object attributes, that is, the user's account information, wherein the account information includes basic information such as the user's nationality and user gender, and the
S620A:若对象信息包括对象的国籍,则根据对象的国籍确定出国籍对应的国家的官方语言,并将初始输入语言调整为官方语言。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.
本实施例的多个国籍对应国家的官方语言可以预设在终端100中,若服务器200获取到了用户的国籍信息,则可返回相关指令到终端100,使终端100的初始输入语言调整为该用户国籍对应国家的官方语言。The official languages of the countries corresponding to multiple nationalities in this embodiment can be preset in the
示例性地,若获取到对象的国籍为美国,美国的官方语言为英语,则将初始输入语言调整为英语。Exemplarily, 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:若对象信息包括对象的定位信息,则根据对象的定位信息确定出定位信息对应的国家的官方语言,并将初始输入语言调整为官方语言。S620B: 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.
示例性地,若获取到对象的定位信息为中国某省市,中国省市对应的官方语言为中文,则将初始输入语言调整为中文。Exemplarily, if the obtained positioning information of the object is a certain province and city in China, and the official language corresponding to the Chinese province and city is Chinese, the initial input language is adjusted to Chinese.
本实施例通过获取对象属性调整初始输入语言,自动将初始输入语言调整为用户最可能习惯的使用语言,方便用户关键字的输入,省去了切换输入法的时间,提升了用户的良好使用感。In this embodiment, the initial input language is adjusted by acquiring object attributes, and the initial input language is automatically adjusted to the language most likely to be used by the user, which facilitates the user to input keywords, saves the time for switching input methods, and improves the user's good sense of use. .
图7是基于图2至图5中任一所示实施例提出的另一信息处理方法的流程图。该方法还包括S710至S720,下面进行详细介绍:FIG. 7 is a flowchart of another information processing method proposed based on any of the embodiments shown in FIGS. 2 to 5 . The method further includes S710 to S720, which are described in detail below:
S710:检测是否存在第三信息。S710: Detect whether there is third information.
本实施例在确定第三信息之前,检测第三信息是否存在,检测第一信息中是否存在包含除第二信息之外的其他信息,即检测是否存在包含关键字但不包含目标产品资源的信息的预置信息。Before determining the third information, this embodiment detects whether the third information exists, and detects whether the first information contains other information except the second information, that is, detects whether there is information that contains keywords but does not contain target product resources preset information.
示例性地,图8是本申请一示例性实施例示出的第一信息、第二信息和第三信息的关系图。如图8(a)所示,A是包含关键字的预置信息,即第一信息;B是包含关键字且包含目标产品资源的信息的预置信息,即第二信息;C是第一信息中除第二信息之外的其他预置信息。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 Figure 8(a), A is the preset information containing keywords, that is, the first information; B is the preset information that contains keywords and information of target product resources, that is, the second information; C is the first information Other preset information except the second information in the information.
S720:若不存在,则显示第二信息。S720: If it does not exist, display the second information.
示例性地,如图8(b)所示,A是包含关键字的预置信息,即第一信息;B是包含关键字且包含目标产品资源的信息的预置信息,即第二信息;图8(b)中未有第三信息,并且A和B完全重叠,即A=B,则说明所有包含关键字的预置信息同时也包含目标产品资源的信息。此种情况下,该方法无后续S230,直接显示第二信息。Exemplarily, as shown in FIG. 8( b ), A is preset information containing keywords, namely first information; B is preset information containing keywords and information of target product resources, namely second information; There is no third information in FIG. 8( b ), and A and B are completely overlapped, ie A=B, it means that all preset information containing keywords also contains information of target product resources. In this case, the method does not follow S230, and the second information is directly displayed.
本实施例进一步说明了不存在第三信息时的信息处理方法,进一步阐明了第一信息、第二信息和第三信息之间的关系,当未检测到第三信息时,简化了后续处理步骤,使得本实施例的信息处理方法更加快捷。This embodiment further describes 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 , so that the information processing method of this embodiment is faster.
进一步的,若在第一信息中未查找到相关的第二信息,则只显示第三信息。Further, if no relevant second information is found in the first information, only the third information is displayed.
在另一实施例中,本申请的信息处理方法运用于股票资讯场景中,即产品资源为股票,按照上述S210至S240进行信息处理,当用户检索相关资讯时,分为个股资讯场景下检索和全局资讯场景下检索。图9是本申请另一实施例示出的在不同资讯场景下检索显示结果示意图,其中图9(a)显示为全局资讯场景,若在全局资讯场景下输入关键字搜索相关信息,输入“价格”关键字,如图9(b)所示,若点击搜索按钮后,显示结果如图9(c)所示,其仅能得到包含输入关键字的第一信息,其未对第一信息进行分类排序,信息显示杂乱,并且存在重复信息,如“黄金价格”在两个板块内各显示了一次。In another embodiment, the information processing method of the present application is applied in a stock information scenario, that is, the product resource is a stock, and the information processing is performed according to the above S210 to S240. When the user retrieves relevant information, it is divided into retrieval in the individual stock information scenario and Search in the global information scenario. Fig. 9 is a schematic diagram of retrieval and display results in different information scenarios according to another embodiment of the present application, wherein Fig. 9(a) shows a global information scenario. If you enter a keyword to search for relevant information in the global information scenario, enter "price" The keyword, as shown in Figure 9(b), if the search button is clicked, the display result is shown in Figure 9(c), which can only obtain the first information containing the input keyword, and does not classify the first information Sorting, the information is displayed cluttered, and there are duplicate information, such as "gold price" displayed once in each of the two panels.
在图9(a)中点击股票A,显示界面变为图9(d),此时处于目标个股的资讯场景中,此资讯场景中包括股票A的多种详细信息,在其搜索框中键入“价格”关键字,并点击搜索按钮,显示结果如图9(e)所示,包含“价格”关键字且包含股票A信息的第二信息排在最前面,包含“价格”关键字但不包含股票A信息的第三信息排在后面,第二信息和第三信息分板块显示,将匹配度更高的板块及信息排在了最前端,并且不存在重复信息。Click on Stock A in Figure 9(a), the display interface changes to Figure 9(d), and you are in the information scene of the target stock. This information scene includes various detailed information of stock A. Type in the search box. "Price" keyword, and click the search button, the display result is shown in Figure 9(e), the second information containing the "price" keyword and including stock A information is ranked at the top, containing the "price" keyword but not The third information containing stock A information is ranked at the back, the second information and the third information are displayed in sub-sections, and the sections and information with a higher degree of matching are ranked at the forefront, and there is no duplicate information.
本实施例进一步说明了本申请的信息处理方法能对目标信息进行精细化分类,并根据板块显示排序结果,提升了匹配到的目标产品资源的准确性,使用户容易获取到最符合心理预期的检索信息,并在另外板块显示了其他相关信息,扩大了信息显示范围。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 plates, which improves the accuracy of the matched target product resources, and makes it easy for users to obtain the most in line with psychological expectations. Retrieved information, and displayed other related information in another section, expanding the scope of information display.
本申请的另一方面还提供了一种信息处理装置,如图10所示,图10是本申请一示例性实施例示出的信息处理装置的结构示意图。其中,信息处理装置包括:Another aspect of the present application further provides an information processing apparatus, as shown in FIG. 10 , which is a schematic structural diagram of an information processing apparatus shown in an exemplary embodiment of the present application. Wherein, the information processing device includes:
获取模块1010,配置为若在目标产品资源的资讯场景中接收到输入的关键字,则获取与关键字匹配的第一信息;The acquiring
匹配模块1030,配置为从第一信息中确定出与目标产品资源的信息匹配的第二信息,并将第一信息中除第二信息之外的其他信息确定为第三信息;The
排序模块1050,配置为对第二信息以及第三信息进行排序,得到排序结果;其中,排序结果中第二信息对应的排列位置在第三信息对应的排列位置之前;The
显示模块1070,配置为显示排序结果。The
在另一示例性实施例中,获取模块1010,包括:In another exemplary embodiment, the obtaining
信息获取单元,配置为获取界面信息,并基于界面信息确定是否处于目标产品资源的资讯场景中;an information acquisition unit, configured to acquire interface information, and determine whether it is in the information scene of the target product resource based on the interface information;
检测单元,配置为若确定处于目标产品资源的资讯场景中,则检测在目标产品资源的资讯场景中是否接收到输入的关键字。The detection unit is configured to detect whether an input keyword is received in the information scene of the target product resource if it is determined to be in the information scene of the target product resource.
在另一实施例中,信息获取单元,包括:In another embodiment, the information acquisition unit includes:
识别板块,配置为识别界面信息中含有的文字信息;The identification plate is configured to identify the text information contained in the interface information;
标签信息匹配板块,配置为将文字信息与预置的多个产品资源的标签信息分别进行匹配;若文字信息与多个产品资源中的其中一个产品资源的标签信息匹配成功,则确定处于目标产品资源的资讯场景。The label information matching section is configured to match the text information with the label information of multiple preset product resources respectively; if the text information and the label information of one of the multiple product resources are successfully matched, it is determined that the target product is in the target product. The information scene of the resource.
在另一实施例中,标签信息包括:名称以及名称对应的代码;标签信息匹配板块,具体配置为将文字信息分别与预置的多个产品资源的标签信息含有的名称以及名称对应的代码进行匹配;若文字信息与名称以及名称对应的代码均匹配成功,则确定文字信息与标签信息匹配成功。In another embodiment, the label information includes: a name and a code corresponding to the name; a label information matching block, which is specifically configured to compare the text information with the names contained in the label information of the preset multiple product resources and the codes corresponding to the names. Matching; if the text information matches the name and the code corresponding to the name successfully, it is determined that the text information and the label information match successfully.
在另一实施例中,第一信息为多个,匹配模块1030还包括:In another embodiment, the first information is multiple, and the
第二信息匹配单元,配置为将目标产品资源的信息与多个第一信息进行匹配,并将与目标产品资源的信息所匹配的第一信息作为第二信息,以得到第二信息。The second information matching unit is configured to match the information of the target product resource with a plurality of first pieces of information, and use the first information matched with the information of the target product resource as the second information to obtain the second information.
在另一实施例中,获取模块1010还包括:In another embodiment, the obtaining
获取对象属性单元,配置为获取对象属性;其中,对象属性包括对象的国籍以及对象的定位信息中的至少一个;an object property acquisition unit, configured to acquire an object property; wherein, the object property includes at least one of the nationality of the object and the positioning information of the object;
输入语言确认单元,配置为若对象信息包括对象的国籍,则根据对象的国籍确定出国籍对应的国家的官方语言,并将初始输入语言调整为官方语言;若对象信息包括对象的定位信息,则根据对象的定位信息确定出定位信息对应的国家的官方语言,并将初始输入语言调整为官方语言。The input language confirmation unit is configured to, if the object information includes the object's nationality, determine the official language of the country corresponding to the nationality according to the object's nationality, and adjust the initial input language to the official language; if the object information includes the object's positioning information, then The official language of the country corresponding to the positioning information is determined according to the positioning information of the object, and the initial input language is adjusted to the official language.
在另一实施例中,信息处理装置还包括:In another embodiment, the information processing apparatus further includes:
检测模块1090,配置为检测是否存在第三信息;若不存在,则显示第二信息。The detection module 1090 is configured to detect whether the third information exists; if not, display the second information.
需要说明的是,上述实施例所提供的信息处理装置与前述实施例所提供的信息处理方法属于同一构思,其中各个模块和单元执行操作的具体方式已经在方法实施例中进行了详细描述,这里不再赘述。It should be noted that the information processing apparatus provided by the above embodiments and the information processing method provided by the above embodiments belong to the same concept, and the specific manner in which the various modules and units perform operations have been described in detail in the method embodiments. No longer.
本申请的另一方面还提供了一种电子设备,包括:控制器;存储器,用于存储一个或多个程序,当一个或多个程序被控制器执行时,以执行上述的方法。Another aspect of the present application also provides an electronic device, comprising: a controller; and a memory for storing one or more programs, when the one or more programs are executed by the controller, to execute the above method.
请参阅图11,图11是本申请的一示例性实施例示出的电子设备的计算机系统的结构示意图,其示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。Please refer to FIG. 11 , which is a schematic structural diagram of a computer system of an electronic device according to an exemplary embodiment of the present application, which shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
需要说明的是,图11示出的电子设备的计算机系统1100仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。It should be noted that the
如图11所示,计算机系统1100包括中央处理单元(Central Processing Unit,CPU)1101,其可以根据存储在只读存储器(Read-Only Memory,ROM)1102中的程序或者从存储部分1108加载到随机访问存储器(Random Access Memory,RAM)1103中的程序而执行各种适当的动作和处理,例如执行上述实施例中的方法。在RAM 1103中,还存储有系统操作所需的各种程序和数据。CPU 1101、ROM 1102以及RAM 1103通过总线1104彼此相连。输入/输出(Input/Output,I/O)接口1105也连接至总线1104。As shown in FIG. 11 , the
以下部件连接至I/O接口1105:包括键盘、鼠标等的输入部分1106;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分1107;包括硬盘等的存储部分1108;以及包括诸如LAN(Local AreaNetwork,局域网)卡、调制解调器等的网络接口卡的通信部分1109。通信部分1109经由诸如因特网的网络执行通信处理。驱动器1110也根据需要连接至I/O接口1105。可拆卸介质1111,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1110上,以便于从其上读出的计算机程序根据需要被安装入存储部分1108。The following components are connected to the I/O interface 1105: an
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的计算机程序。在这样的实施例中,该计算机程序可以通过通信部分1109从网络上被下载和安装,和/或从可拆卸介质1111被安装。在该计算机程序被中央处理单元(CPU)1101执行时,执行本申请的系统中限定的各种功能。In particular, according to embodiments of the present application, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising a computer program for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the
需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的计算机程序。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的计算机程序可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。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 above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable Compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above The combination. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program therein. 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 foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . A computer program embodied on a computer-readable medium may be transmitted using any suitable 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. Wherein, each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the above-mentioned module, program segment, or part of code contains one or more executables for realizing the specified logical function instruction. It should also be noted that, in some alternative implementations, the functions noted in the blocks 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 is also noted that each block of the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or operations, or can be implemented using A combination of dedicated hardware and computer instructions is implemented.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present application may be implemented in software or hardware, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
本申请的另一方面还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如前的信息处理方法。该计算机可读存储介质可以是上述实施例中描述的电子设备中所包含的,也可以是单独存在,而未装配入该电子设备中。Another aspect of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is 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 embodiments, or may exist alone without being assembled into the electronic device.
本申请的另一方面还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各个实施例中提供的信息处理方法。Another aspect of the present 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 methods provided in the above embodiments.
根据本申请实施例的一个方面,还提供了一种计算机系统,包括中央处理单元(Central Processing Unit,CPU),其可以根据存储在只读存储器(Read-Only Memory,ROM)中的程序或者从存储部分加载到随机访问存储器(Random Access Memory,RAM)中的程序而执行各种适当的动作和处理,例如执行上述实施例中的方法。在RAM中,还存储有系统操作所需的各种程序和数据。CPU、ROM以及RAM通过总线彼此相连。输入/输出(Input/Output,I/O)接口也连接至总线。According to an aspect of the embodiments of the present application, a computer system is also provided, including a central processing unit (Central Processing Unit, CPU), which can be based on a program stored in a read-only memory (Read-Only Memory, ROM) or from A program loaded into a random access memory (Random Access Memory, RAM) is stored in part to perform various appropriate actions and processes, for example, to perform the methods in the above-mentioned embodiments. In the RAM, various programs and data required for system operation are also stored. The CPU, ROM, and RAM are connected to each other through a bus. Input/Output (I/O) interfaces are also connected to the bus.
以下部件连接至I/O接口:包括键盘、鼠标等的输入部分;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分;包括硬盘等的存储部分;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分。通信部分经由诸如因特网的网络执行通信处理。驱动器也根据需要连接至I/O接口。可拆卸介质,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器上,以便于从其上读出的计算机程序根据需要被安装入存储部分。The following components are connected to the I/O interface: input section including keyboard, mouse, etc.; output section including cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; including hard disk The storage part, etc.; and the communication part including the network interface card such as LAN (Local Area Network, local area network) card, modem and so on. The communication section performs communication processing via a network such as the Internet. Drives are also connected to the I/O interface as required. Removable media, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are mounted on the drive as needed, so that the computer program read therefrom is installed into the storage section as needed.
上述内容,仅为本申请的较佳示例性实施例,并非用于限制本申请的实施方案,本领域普通技术人员根据本申请的主要构思和精神,可以十分方便地进行相应的变通或修改,故本申请的保护范围应以权利要求书所要求的保护范围为准。The above contents are only preferred exemplary embodiments of the present application, and are not intended to limit the embodiments of the present application. Those of ordinary skill in the art can easily make corresponding changes or modifications according to the main concept and spirit of the present application, Therefore, the protection scope of the present application shall be subject to the protection scope required by the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210227851.4A CN114661979B (en) | 2022-03-07 | 2022-03-07 | Information processing method, device, equipment, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210227851.4A CN114661979B (en) | 2022-03-07 | 2022-03-07 | Information processing method, device, equipment, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114661979A true CN114661979A (en) | 2022-06-24 |
CN114661979B CN114661979B (en) | 2025-02-14 |
Family
ID=82029751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210227851.4A Active CN114661979B (en) | 2022-03-07 | 2022-03-07 | Information processing method, device, equipment, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114661979B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080133449A1 (en) * | 2006-12-01 | 2008-06-05 | Microsoft Corporation | Adaptive help system and user interface |
WO2018150244A1 (en) * | 2017-02-18 | 2018-08-23 | Yogesh Chunilal Rathod | Registering, auto generating and accessing unique word(s) including unique geotags |
CN110245289A (en) * | 2019-05-20 | 2019-09-17 | 中国平安财产保险股份有限公司 | An information search method and related equipment |
CN111125086A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Method, device, storage medium and processor for acquiring data resources |
CN112035511A (en) * | 2020-08-31 | 2020-12-04 | 康键信息技术(深圳)有限公司 | Target data searching method based on medical knowledge graph and related equipment |
CN113268696A (en) * | 2021-06-16 | 2021-08-17 | 广州数智网络科技有限公司 | Method for identifying four-party payment website and analyzing user |
EP3905204A1 (en) * | 2019-02-01 | 2021-11-03 | Huawei Technologies Co., Ltd. | Scene recognition method and apparatus, terminal, and storage medium |
CN114090735A (en) * | 2021-11-18 | 2022-02-25 | 金蝶云科技有限公司 | Text matching method, device, equipment and storage medium |
-
2022
- 2022-03-07 CN CN202210227851.4A patent/CN114661979B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080133449A1 (en) * | 2006-12-01 | 2008-06-05 | Microsoft Corporation | Adaptive help system and user interface |
WO2018150244A1 (en) * | 2017-02-18 | 2018-08-23 | Yogesh Chunilal Rathod | Registering, auto generating and accessing unique word(s) including unique geotags |
CN111125086A (en) * | 2018-10-31 | 2020-05-08 | 北京国双科技有限公司 | Method, device, storage medium and processor for acquiring data resources |
EP3905204A1 (en) * | 2019-02-01 | 2021-11-03 | Huawei Technologies Co., Ltd. | Scene recognition method and apparatus, terminal, and storage medium |
CN110245289A (en) * | 2019-05-20 | 2019-09-17 | 中国平安财产保险股份有限公司 | An information search method and related equipment |
CN112035511A (en) * | 2020-08-31 | 2020-12-04 | 康键信息技术(深圳)有限公司 | Target data searching method based on medical knowledge graph and related equipment |
CN113268696A (en) * | 2021-06-16 | 2021-08-17 | 广州数智网络科技有限公司 | Method for identifying four-party payment website and analyzing user |
CN114090735A (en) * | 2021-11-18 | 2022-02-25 | 金蝶云科技有限公司 | Text matching method, device, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
郭育艳;: "大数据背景下图书馆信息标签检索模式", 信息系统工程, no. 04, 20 April 2018 (2018-04-20) * |
Also Published As
Publication number | Publication date |
---|---|
CN114661979B (en) | 2025-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11561972B2 (en) | Query conversion for querying disparate data sources | |
US20220198327A1 (en) | Method, apparatus, device and storage medium for training dialogue understanding model | |
CN109947788B (en) | Data query method and device | |
US10878044B2 (en) | System and method for providing content recommendation service | |
US11164210B2 (en) | Method, device and computer storage medium for promotion displaying | |
US10713291B2 (en) | Electronic document generation using data from disparate sources | |
CN110909222B (en) | User portrait establishing method and device based on clustering, medium and electronic equipment | |
US20220121668A1 (en) | Method for recommending document, electronic device and storage medium | |
CN110135590B (en) | Information processing method, information processing apparatus, information processing medium, and electronic device | |
CN112115710B (en) | Industry information identification method and device | |
US11507253B2 (en) | Contextual information for a displayed resource that includes an image | |
CN116955817A (en) | Content recommendation method, device, electronic equipment and storage medium | |
CN115587575A (en) | Data table creation method, target data query method, device and equipment | |
CN118964390A (en) | Data query method, device, readable medium, electronic device and program product | |
US11675764B2 (en) | Learned data ontology using word embeddings from multiple datasets | |
CN116594683A (en) | Code annotation information generation method, device, equipment and storage medium | |
CN116226173A (en) | Data query method, device, storage medium and electronic equipment | |
CN112947984B (en) | Application program development method and device | |
CN111126034B (en) | Medical variable relation processing method and device, computer medium and electronic equipment | |
CN116401410B (en) | Method, device, storage medium and equipment for accessing map data to multi-scene graph database | |
CN109597498B (en) | Word stock maintenance management method and device | |
US20220164377A1 (en) | Method and apparatus for distributing content across platforms, device and storage medium | |
CN114661979A (en) | Information processing method and apparatus, device, and computer-readable storage medium | |
CN110796137A (en) | Method and device for identifying image | |
CN111753164A (en) | Link event guidance method, device, electronic device and storage 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |