CN115827764A - Platform information searching method and device, storage medium and computer equipment - Google Patents
Platform information searching method and device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN115827764A CN115827764A CN202211649499.XA CN202211649499A CN115827764A CN 115827764 A CN115827764 A CN 115827764A CN 202211649499 A CN202211649499 A CN 202211649499A CN 115827764 A CN115827764 A CN 115827764A
- Authority
- CN
- China
- Prior art keywords
- information
- target
- search
- trigger
- application
- 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
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请公开了一种平台信息搜索方法、装置、存储介质和计算机设备,该方法包括:获取针对所述信息搜索平台的搜索信息;基于所述搜索信息,在所述触发规则中确定所述搜索信息对应的目标触发规则;确定所述目标触发规则中涉及的至少两个目标应用,搜索各所述目标应用实现所述目标触发规则中包括的应用功能所生成的目标信息基于搜索得到的所述目标信息,生成搜索结果。通过上述方法,避免了公司内部不同平台的应用产生的信息彼此孤立,从而导致用户在搜索信息时得刀的信息太片面的现象发生,综上所述本方法可以使得用户搜索出来的信息更加完整和全面,也使得公司内部的信息关联度更加提升。
The present application discloses a platform information search method, device, storage medium and computer equipment. The method includes: acquiring search information for the information search platform; based on the search information, determining the search information in the trigger rule A target triggering rule corresponding to the information; determine at least two target applications involved in the target triggering rule, and search for each of the target applications to implement the application functions included in the target triggering rule. The target information generated is based on the searched Target information to generate search results. Through the above method, the isolation of information generated by applications on different platforms within the company is avoided, resulting in the phenomenon that the information obtained by users is too one-sided when searching for information. In summary, this method can make the information searched by users more complete. And comprehensive, but also make the company's internal information relevance is further improved.
Description
技术领域technical field
本申请涉及计算机技术领域,具体涉及一种平台信息搜索方法、装置、存储介质和计算机设备。The present application relates to the field of computer technology, in particular to a platform information search method, device, storage medium and computer equipment.
背景技术Background technique
对于公司或机构,随着发展,内部使用的平台可能会越来越多,在公司内存在平台之间的数据不互通、分散的现象,导致用户在查询信息的时候,往往查询不到自己想要的结果,或者查询到的结果过于片面。For companies or institutions, with the development, there may be more and more platforms used internally. In the company, the data between the platforms is not interoperable and scattered. As a result, when users query information, they often cannot find what they want. The desired result, or the query result is too one-sided.
发明内容Contents of the invention
本发明实施例提供一种平台信息搜索方法、装置、存储介质和计算机设备,有利于解决相关技术中查询结果片面的问题。Embodiments of the present invention provide a platform information search method, device, storage medium, and computer equipment, which are beneficial to solving the problem of one-sided query results in related technologies.
为了解决上述技术问题,本发明实施例提供一种平台信息搜索方法,应用于信息搜索平台,所述信息搜索平台连接了不同工作平台的应用,在所述不同工作平台的应用之间配置有至少一条应用间的触发规则,其中,一条触发规则指示了至少两个应用之间具有触发关系的应用功能模块,以及触发关系对应的触发条件,该方法包括:In order to solve the above technical problems, an embodiment of the present invention provides a platform information search method, which is applied to an information search platform. The information search platform is connected to applications on different work platforms, and at least A triggering rule between applications, wherein a triggering rule indicates an application function module having a triggering relationship between at least two applications, and a triggering condition corresponding to the triggering relationship, the method includes:
获取针对信息搜索平台的搜索信息;Obtain search information for information search platforms;
基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则;Based on the search information, determine the target trigger rule corresponding to the search information in the trigger rule;
确定目标触发规则中涉及的至少两个目标应用,搜索各目标应用实现目标触发规则中包括的应用功能所生成的目标信息;Determine at least two target applications involved in the target trigger rule, and search for target information generated by each target application to realize the application function included in the target trigger rule;
基于搜索得到的目标信息,生成搜索结果。Generate search results based on the target information obtained from the search.
在本发明的一个实施例中,基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则,包括:In an embodiment of the present invention, based on the search information, determining the target trigger rule corresponding to the search information in the trigger rules includes:
对搜索信息进行分词,从分词结果中确定关键字;Segment the search information and determine the keywords from the word segmentation results;
将关键字与触发规则进行匹配,在匹配成功的触发规则中选择目标触发规则。Match the keyword with the trigger rule, and select the target trigger rule among the successfully matched trigger rules.
在本发明的一个实施例中,确定目标触发规则中涉及的至少两个目标应用,搜索各目标应用实现目标触发规则中包括的应用功能所生成的目标信息,包括:In an embodiment of the present invention, at least two target applications involved in the target triggering rule are determined, and the target information generated by each target application to realize the application function included in the target triggering rule is searched, including:
确定目标触发规则中的至少两个目标应用、具有触发关系的目标应用功能模块以及触发关系对应的目标触发条件;Determine at least two target applications in the target trigger rule, target application function modules with a trigger relationship, and target trigger conditions corresponding to the trigger relationship;
基于目标触发规则,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的应用功能后,生成的目标信息。Based on the target trigger rule, the target information generated after the target application function modules in the target application complete the application function corresponding to each target application function module based on the target trigger condition is acquired.
在本发明的一个实施例中,基于目标触发规则,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的应用功能后,生成的目标信息,包括:In one embodiment of the present invention, based on the target trigger rule, the target information generated after the target application function modules in the target application complete the application functions corresponding to each target application function module based on the target trigger conditions includes:
将应用的应用功能模块生成的信息存储到应用对应的工作平台的数据库;Store the information generated by the application function module of the application in the database of the corresponding working platform of the application;
基于应用对应的工作平台,确定工作平台的网站目录格式;Based on the working platform corresponding to the application, determine the website directory format of the working platform;
基于网站目录格式,确定获取数据库的信息的信息地址的方式;Based on the website directory format, determine the way to obtain the information address of the database information;
基于方式,通过网络爬虫获取数据库的信息。Based on the method, the information of the database is obtained through a web crawler.
在本发明的一个实施例中,基于配置信息,以及信息搜索平台和应用之间的连接关系,对触发规则进行配置,包括:In one embodiment of the present invention, trigger rules are configured based on the configuration information and the connection relationship between the information search platform and the application, including:
基于配置信息,确定每一触发规则中每一应用实现触发规则所需的专属配置信息;Based on the configuration information, determine the exclusive configuration information required by each application in each trigger rule to implement the trigger rule;
基于信息搜索平台和应用之间的连接,将专属配置信息发送给对应的应用,使得接收专属配置信息的应用基于专属配置信息进行配置。Based on the connection between the information search platform and the application, the exclusive configuration information is sent to the corresponding application, so that the application receiving the exclusive configuration information performs configuration based on the exclusive configuration information.
在本发明的一个实施例中,In one embodiment of the invention,
基于配置信息,以及信息搜索平台和应用之间的连接关系,对触发规则进行配置,包括:Based on the configuration information and the connection relationship between the information search platform and the application, configure the trigger rules, including:
基于配置信息,确定每一触发规则中每一应用实现触发规则所需的专属配置信息;Based on the configuration information, determine the exclusive configuration information required by each application in each trigger rule to implement the trigger rule;
将专属配置信息发送给对应的实现触发规则的应用,应用基于专属配置信息自动运行触发规则。Send the exclusive configuration information to the corresponding application that implements the trigger rule, and the application automatically runs the trigger rule based on the exclusive configuration information.
在本发明的一个实施例中,方法还包括:In one embodiment of the invention, the method also includes:
在信息搜索平台中构建应用连接器;获取需要连接到信息搜索平台的应用的应用程序编程接口;基于应用连接器和应用程序编程接口,连接信息搜索平台与应用。Build an application connector in the information search platform; obtain the application programming interface of the application that needs to be connected to the information search platform; based on the application connector and application programming interface, connect the information search platform and the application.
为解决上述技术问题,本发明实施例还提供一种平台信息搜索装置,该装置包括:In order to solve the above technical problems, an embodiment of the present invention also provides a platform information search device, which includes:
搜索信息获取单元,用于获取针对信息搜索平台的搜索信息;A search information acquisition unit, configured to acquire search information for an information search platform;
目标触发规则确定单元,用于基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则;A target trigger rule determining unit, configured to determine, among the trigger rules, a target trigger rule corresponding to the search information based on the search information;
目标信息获取单元,确定目标触发规则中涉及的至少两个目标应用,搜索各目标应用实现目标触发规则中包括的应用功能所生成的目标信息;The target information acquisition unit determines at least two target applications involved in the target trigger rule, and searches for target information generated by each target application to realize the application function included in the target trigger rule;
生成单元,基于搜索得到的目标信息,生成搜索结果。The generating unit generates a search result based on the target information obtained through searching.
在本发明的一些实施例中,还可以提供一种计算机设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行计算机程序时实现如上方法的步骤。In some embodiments of the present invention, a computer device may also be provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the computer program, the above methods are implemented step.
在本发明的一些实施例中,还可以提供一种计算机可读存储介质,其上存储有计算机程序,当计算机程序在计算机上运行时,使得计算机执行如如上方法的步骤。In some embodiments of the present invention, a computer-readable storage medium may also be provided, on which a computer program is stored, and when the computer program is run on the computer, the computer is made to execute the steps of the above method.
在本发明实施例中,通过信息搜索平台将不同的工作平台中的应用进行连接,使得信息搜索平台可以同时对公司内部不同的工作平台中的应用进行控制和操作,并且在不同工作平台的应用之间配置至少一条应用间的触发规则,使得不同的应用之间具有某种触发关系,通过这种触发关系在不同的应用之间产生联系。In the embodiment of the present invention, the applications in different work platforms are connected through the information search platform, so that the information search platform can control and operate the applications in different work platforms within the company at the same time, and the applications in different work platforms Configure at least one trigger rule between applications, so that different applications have a certain trigger relationship, and through this trigger relationship, different applications are linked.
通过获取针对信息搜索平台的搜索信息,在众多已经配置的触发规则中,确定该搜索信息对应的目标触发规则,再根据该目标触发规则确定该目标触发规则中涉及的目标应用,然后获取该目标应用根据该目标触发规则生成的目标信息,基于搜索得到的目标信息,生成搜索结果,最后将搜索结果最终通过信息搜索平台展示给用户,通过本发明实施例这样的方式,使得最终得到的搜索结果不再是一个应用所产生的孤立的信息,而是通过预先配置的触发规则使得不同平台的不同应用彼此之间按照触发规则井然有序地产生和传递信息,当接收到用户的搜索信息时,在相应的数据库里面直接调取信息,并且展示给用户即可。By obtaining the search information for the information search platform, among the many configured trigger rules, determine the target trigger rule corresponding to the search information, and then determine the target application involved in the target trigger rule according to the target trigger rule, and then obtain the target Apply the target information generated according to the target trigger rule, generate search results based on the target information obtained from the search, and finally display the search results to the user through the information search platform. Through the method of the embodiment of the present invention, the finally obtained search results It is no longer isolated information generated by an application, but through pre-configured trigger rules, different applications on different platforms can generate and transmit information in an orderly manner according to the trigger rules. When receiving the user's search information, The information can be directly retrieved from the corresponding database and displayed to the user.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的平台信息搜索方法的流程示意图;FIG. 1 is a schematic flowchart of a platform information search method provided by an embodiment of the present invention;
图2是本发明实施例提供的平台信息搜素装置的结构示意图;Fig. 2 is a schematic structural diagram of a platform information searching device provided by an embodiment of the present invention;
图3是本发明实施例提供的配置页面的平面示意图;Fig. 3 is a schematic plan view of a configuration page provided by an embodiment of the present invention;
图4是本发明实施例提供的计算机设备的结构示意图;FIG. 4 is a schematic structural diagram of a computer device provided by an embodiment of the present invention;
图5是本发明实施例提供的获取信息地址的流程示意图。Fig. 5 is a schematic flow chart of obtaining an information address provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例提供一种平台信息搜索方法、装置、计算机设备和存储介质。Embodiments of the present invention provide a platform information search method, device, computer equipment and storage medium.
以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。Each will be described in detail below. It should be noted that the description sequence of the following embodiments is not intended to limit the preferred sequence of the embodiments.
本发明实施例提供一种平台信息搜索方法,如图1所示,该平台信息搜索方法的流程可以如下:The embodiment of the present invention provides a platform information search method, as shown in Figure 1, the flow of the platform information search method can be as follows:
101、获取针对信息搜索平台的搜索信息;101. Acquiring search information for information search platforms;
在本实施例中,信息搜索平台是一种可视化操作平台,用户可以通过该可视化操作平台对公司内部不同的工作平台中的数据信息进行搜索;搜索信息是指对公司内部不同的工作平台产生的信息进行搜索,得出的搜索结果即是搜索信息。In this embodiment, the information search platform is a visual operation platform through which users can search for data information in different work platforms within the company; search information refers to information generated by different work platforms within the company Information is searched, and the search result obtained is the search information.
在本实施中,对于获取针对信息搜索平台的搜索信息的方式不作限定。In this implementation, there is no limitation on the manner of acquiring the search information for the information search platform.
在一示例中,该信息搜索平台提供一搜索窗口,该搜索窗口用于统一接收用户针对不同平台中应用的搜索信息或搜索信息。In an example, the information search platform provides a search window, and the search window is used to uniformly receive user search information or search information for applications on different platforms.
在本实施例中,应用于信息搜索平台,信息搜索平台连接了不同工作平台的应用,在不同工作平台的应用之间配置有至少一条应用间的触发规则,其中,一条触发规则指示了至少两个应用之间具有触发关系的应用功能模块,以及触发关系对应的触发条件。In this embodiment, it is applied to an information search platform, and the information search platform is connected to applications on different work platforms, and at least one inter-application trigger rule is configured between applications on different work platforms, wherein one trigger rule indicates at least two Application function modules with a trigger relationship between two applications, and trigger conditions corresponding to the trigger relationship.
在一示例中,首先构造应用连接器,用于将应用集合起来到系统中,集合过程中每个应用需要公开该执行模块,用于后续到应用流程规则中执行,其中构造应用连接器就相当于信息搜索平台的底层逻辑。In one example, first construct an application connector to integrate the applications into the system. During the integration process, each application needs to disclose the execution module for subsequent execution in the application process rules. The construction of the application connector is equivalent to It is based on the underlying logic of the information search platform.
在本实施例中,对将公司内部不同工作平台中的应用连接到该信息搜索平台的连接方式不作限定。In this embodiment, there is no limitation on the way of connecting the applications in different working platforms within the company to the information search platform.
在本实施例中,确定触发规则中涉及应用的应用功能模块的应用程序编程接口;调用应用程序编程接口,使得应用通过应用程序编程接口与信息搜索平台连接。In this embodiment, the application programming interface of the application function module involved in the trigger rule is determined; the application programming interface is called, so that the application is connected to the information search platform through the application programming interface.
在一示例中,通过将不同应用功能模块的API(应用程序编程接口)统一封装到该信息搜索平台,包括统一不同应用程序编程接口的标准和确定不同应用程序编程接口之间的交互协议以及鉴权信息。In one example, by uniformly packaging APIs (application programming interfaces) of different application function modules into the information search platform, including unifying the standards of different application programming interfaces and determining the interaction protocols between different application programming interfaces and authentication rights information.
如图3所示,在本实施例中,对工作平台、应用、应用功能模块和触发条件不作限定。As shown in FIG. 3 , in this embodiment, there are no limitations on the working platform, applications, application function modules and trigger conditions.
在一示例中,工作平台可以是企业公司内部的文档平台,应用可以是某文档平台中的可以实现一定功能的程序,应用功能模块在该应用中专门负责执行具体功能,触发条件是指不同平台应用的应用功能模块之间能否产生联系的条件。In one example, the work platform may be an internal document platform of an enterprise company, and the application may be a program in a certain document platform that can realize certain functions. The application function module is responsible for performing specific functions in this application. The condition of whether the application function modules of the application can be connected.
在本实施例中,将不同工作平台的应用中的应用功能模块的执行状态调整为开启状态,这里提到的不同工作平台的应用是指已经连接到信息搜索平台中的应用,并非是公司内部所有平台中的所有应用。In this embodiment, the execution state of the application function modules in the applications of different working platforms is adjusted to the enabled state. The applications of different working platforms mentioned here refer to the applications that have been connected to the information search platform, not the internal ones of the company. All apps on all platforms.
考虑到为了实现应用模块彼此之间可以通过应用功能模块完成信息传递,在本实施例中,在将不同平台的应用连接到信息搜索平台的过程中,保持这些应用的应用功能模块的执行状态处于开启状态。Considering that information transfer between application modules can be completed through application function modules, in this embodiment, during the process of connecting applications on different platforms to the information search platform, the execution status of the application function modules of these applications is kept at On state.
在本实施例中,显示配置页面,基于配置信息,以及信息搜索平台和应用之间的连接关系,对触发规则进行配置,包括:基于配置信息,确定每一触发规则中每一应用实现触发规则所需的专属配置信息;基于信息搜索平台和应用之间的连接,将专属配置信息发送给对应的应用,使得接收专属配置信息的应用基于专属配置信息进行配置。In this embodiment, the configuration page is displayed, and the trigger rules are configured based on the configuration information and the connection relationship between the information search platform and the application, including: based on the configuration information, determining that each application in each trigger rule implements the trigger rule The required exclusive configuration information; based on the connection between the information search platform and the application, the exclusive configuration information is sent to the corresponding application, so that the application receiving the exclusive configuration information is configured based on the exclusive configuration information.
在一示例中,配置信息包括应用的名称、应用功能模块的名称以及应用功能模块之间的触发条件信息,其中应用的名称可以是比如测试应用、告警应用,应用功能名称可以是比如测试应用的测试功能、记录功能,还有触发条件信息可以是比如当测试应用的测试功能测试完成以后,可以触发告警应用的发送功能,那么这里的“当测试应用的测试功能测试完成以后”就是一个触发条件。In an example, the configuration information includes the name of the application, the name of the application function module, and the trigger condition information between the application function modules. The test function, recording function, and trigger condition information can be, for example, when the test function test of the test application is completed, the sending function of the alarm application can be triggered, so the "when the test function test of the test application is completed" here is a trigger condition .
在一示例中,测试应用的测试功能测试完成以后,会在测试应用中产生特定信息,该信息以特定字段的形式存在,该字段如果想要传递到告警应用中,需要对该特定字段建立字段匹配规则,使得告警应用可以接收到测试应用产生的特定字段,并且该特定字段内容与接下来告警应用产生的字段内容之间具有映射关系。In an example, after the test function test of the test application is completed, specific information will be generated in the test application, and the information exists in the form of a specific field. If the field wants to be passed to the alarm application, a field for the specific field needs to be established The matching rule enables the alarm application to receive a specific field generated by the test application, and there is a mapping relationship between the content of the specific field and the content of the field generated by the alarm application next.
在本实施例中,基于配置信息,确定每一触发规则中每一应用实现触发规则所需的专属配置信息;将专属配置信息发送给对应的实现触发规则的应用,应用基于专属配置信息自动运行触发规则。In this embodiment, based on the configuration information, the exclusive configuration information required by each application in each trigger rule to implement the trigger rule is determined; the exclusive configuration information is sent to the corresponding application that implements the trigger rule, and the application automatically runs based on the exclusive configuration information Trigger rules.
其中,专属配置信息指的是触发规则中涉及的应用中的其中一个,该应用在触发规则下生成的信息。Wherein, the exclusive configuration information refers to one of the applications involved in the trigger rule, the information generated by the application under the trigger rule.
102、基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则;102. Based on the search information, determine a target trigger rule corresponding to the search information in the trigger rule;
在本实施例中,搜索信息与触发规则是具有某种对应关系的,即每一条搜索信息都有且仅有一条与之最为匹配的触发规则,那么该触发规则就作为该搜索信息对应的目标触发规则,因此,触发规则与搜索信息二者之间具备映射关系,但是一条触发规则可以由多种搜索信息与之对应。In this embodiment, there is a certain correspondence between the search information and the trigger rule, that is, each piece of search information has one and only one trigger rule that best matches it, then the trigger rule is used as the target corresponding to the search information. Trigger rules, therefore, there is a mapping relationship between the trigger rules and the search information, but one trigger rule can be corresponding to multiple search information.
在本实施例中,根据搜索信息确定最匹配的触发规则的方式,是通过搜索信息与触发规则的重合度来确定哪一条触发规则是该搜索信息最接近的目标触发规则,搜索信息与触发规则的重合度越高的,就是与该搜索信息越接近的目标触发规则。In this embodiment, the method of determining the most matching trigger rule according to the search information is to determine which trigger rule is the closest target trigger rule to the search information based on the degree of overlap between the search information and the trigger rule. The higher the coincidence degree is, the closer the target trigger rule is to the search information.
在本实施例中,对搜索信息进行分词,从分词结果中确定关键字;将关键字与触发规则进行匹配,在匹配成功的触发规则中选择目标触发规则。In this embodiment, word segmentation is performed on the search information, keywords are determined from word segmentation results; keywords are matched with trigger rules, and a target trigger rule is selected from the successfully matched trigger rules.
在本实施例中,对关键字的内容不作明显限定,可以是与触发规则中出现的应用的名称信息、应用功能模块的功能名称信息相关的词语,也可以是与触发条件的条件信息相关的词语。In this embodiment, there is no obvious limitation on the content of keywords, which may be words related to the name information of the application and the function name information of the application function module appearing in the trigger rule, or related to the condition information of the trigger condition words.
在本实施例中,对搜索信息进行分词,从分词结果中确定关键字,如果将关键字和触发规则进行匹配时,无法匹配到预设的触发规则时,则提示该搜索信息无法查询的字样,对于提示的具体内容,本实施例不做明显限定。In this embodiment, word segmentation is performed on the search information, keywords are determined from the word segmentation results, and if the keyword and the trigger rule cannot be matched to the preset trigger rule, the words that the search information cannot be queried will be prompted , the specific content of the prompt is not clearly limited in this embodiment.
在一示例中,如果将关键字和触发规则进行匹配时,无法匹配到预设的触发规则时,则会在用户的搜索页面显示出“该搜索信息无法查询,建议重新确定搜索信息”。In one example, if the preset trigger rule cannot be matched when the keyword is matched with the trigger rule, the user's search page will be displayed "This search information cannot be queried, it is recommended to re-determine the search information".
在本实施例中,对搜索信息进行分词,从分词结果中确定关键字,如果从分词结果中无法确定出关键字,则同样提示该搜索信息无法查询的字样,对于提示的具体内容,本实施例不做明显限定。In this embodiment, word segmentation is performed on the search information, and the keyword is determined from the word segmentation result. If the keyword cannot be determined from the word segmentation result, the words that cannot be queried in the search information are also prompted. For the specific content of the prompt, this implementation The example is not clearly limited.
在一示例中,如果将关键字和触发规则进行匹配时,无法匹配到预设的触发规则时,则会在用户的搜索页面显示出“该搜索信息无法查询,建议重新确定搜索信息”。In one example, if the preset trigger rule cannot be matched when the keyword is matched with the trigger rule, the user's search page will be displayed "This search information cannot be queried, it is recommended to re-determine the search information".
在本实施例中,根据搜索信息中的关键字与触发规则的重合度的大小来确定哪一条触发规则是该搜索信息最接近的目标出发规则,搜索信息中的关键字与触发规则的重合度越大,就是与该搜索信息越接近的目标触发规则。In this embodiment, it is determined which trigger rule is the closest target departure rule for the search information according to the degree of coincidence between the keyword in the search information and the trigger rule, and the degree of coincidence between the keyword in the search information and the trigger rule The larger the value is, the closer the target triggers the rule to the search information.
在本实施例中,信息搜索平台提供配置页面,使得用户可以通过该配置页面对不同工作平台应用间的触发规则进行配置。In this embodiment, the information search platform provides a configuration page, so that the user can configure triggering rules between applications of different work platforms through the configuration page.
在本实施例中,信息搜索平台提供的配置页面除了可以对不同工作平台应用间的触发规则进行配置之外,用户还可以通过该配置页面对以往已经配置好的不同工作平台应用间的触发规则进行重新修改、停用,并且本实施例中对于重新修改和停用的方式不作限定。In this embodiment, the configuration page provided by the information search platform can not only configure the trigger rules between different work platform applications, but also the user can configure the previously configured trigger rules between different work platform applications through this configuration page. Perform re-modification and deactivation, and the methods of re-modification and deactivation are not limited in this embodiment.
在本实施例中,用户在配置页面可以进行配置的内容不作明显限定。In this embodiment, the content that the user can configure on the configuration page is not clearly limited.
在一示例中,用户在配置页面进行配置的内容可以是触发规则中涉及的应用、应用功能模块以及不同应用模块之间的触发条件,并且用户通过该配置页面可以同时配置多个触发规则。In an example, the content configured by the user on the configuration page may be the application involved in the trigger rule, the application function module, and the trigger conditions between different application modules, and the user can simultaneously configure multiple trigger rules through the configuration page.
在本实施例中,API,中文名称是应用程序编程接口,是一些预先定义的函数,目的是提供应用程序与开发人员基于某软件或硬件得以访问一组例程的能力,而又无需访问源码,或理解内部工作机制的细节。In this embodiment, API, the Chinese name is application programming interface, which is some pre-defined functions, the purpose is to provide application programs and developers with the ability to access a set of routines based on certain software or hardware without accessing the source code , or understand the details of the inner workings.
在本实施例中,对于将配置信息转化成触发规则的转化方式不作限定。In this embodiment, there is no limitation on the way of converting configuration information into trigger rules.
在一示例中,信息搜索平台接收到用户通过配置页面配置的信息,由于信息搜索平台预先就连接了不同工作平台的应用以及应用功能模块,所以在接收到用户的配置信息之后,该信息搜索平台直接将不同的应用功能模块的API统一封装,包括确定API标准,确定API交互协议以及鉴权等信息。In one example, the information search platform receives the information configured by the user through the configuration page. Since the information search platform is connected to the applications and application function modules of different work platforms in advance, after receiving the user's configuration information, the information search platform Directly encapsulate the APIs of different application function modules in a unified manner, including determining API standards, determining API interaction protocols, and authentication information.
103、确定目标触发规则中涉及的至少两个目标应用,搜索各目标应用实现目标触发规则中包括的应用功能所生成的目标信息;103. Determine at least two target applications involved in the target trigger rule, and search for target information generated by each target application implementing the application function included in the target trigger rule;
在本实施例中,由于目标规则所涉及的目标应用的个数至少是一个,所以目标应用根据触发规则生成的目标信息也是至少一个。In this embodiment, since there is at least one target application involved in the target rule, the target information generated by the target application according to the trigger rule is also at least one.
在本实施例中,确定目标触发规则中的至少两个目标应用、具有触发关系的目标应用功能模块以及触发关系对应的目标触发条件;基于目标触发规则,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的应用功能后,生成的目标信息。In this embodiment, at least two target applications in the target trigger rule, target application function modules with a trigger relationship, and target trigger conditions corresponding to the trigger relationship are determined; based on the target trigger rule, the target application function modules in the target application are obtained based on The target triggering condition is the target information generated after the application function corresponding to each target application function module is completed.
在本实施例中,目标应用功能模块可能会出现多次应用功能,但是其中只有几次是基于目标触发条件触发的,大部分不是因为触发条件触发的,那么此时就需要在众多的应用功能里面筛选出基于目标触发条件触发的应用功能,本实施例对于上述的筛选方式,不作限定。In this embodiment, the target application function module may have multiple application functions, but only a few of them are triggered based on the target trigger condition, and most of them are not triggered by the trigger condition. The application functions triggered based on the target trigger conditions are screened out. This embodiment does not limit the above screening methods.
在一示例中,目标应用功能模块可能会出现10次应用功能,但是其中只有2次是基于目标触发条件触发的,8次不是因为触发条件触发的,那么此时就需要在这10次应用功能里面筛选出2次基于目标触发条件触发的,本实施例对于上述的筛选方式,不作限定。In an example, the target application function module may have 10 application functions, but only 2 of them are triggered based on the target trigger condition, and 8 times are not triggered by the trigger condition, then it is necessary to apply the function in these 10 times. Two times of triggering based on the target trigger condition are screened out, and this embodiment does not limit the above screening method.
在一示例中,对于上述的筛选方式是如果是通过触发条件触发的应用功能,那么触发应用功能的应用所产生的信息通过该应用功能模块的应用程序编程接口传递到下一个应用的应用功能模块,而如果不是通过触发条件触发的应用功能,那么此时该应用功能所产生的信息、只能够留在该应用的所在平台里面,无法通过应用功能那个模块的应用程序编程接口传递到其他下一个应用的应用功能模块。In an example, for the above screening method, if it is an application function triggered by a trigger condition, then the information generated by the application that triggers the application function is passed to the application function module of the next application through the application programming interface of the application function module , and if the application function is not triggered by the trigger condition, then the information generated by the application function at this time can only stay in the platform where the application is located, and cannot be passed to other next through the application programming interface of the module of the application function The application function module of the application.
在本实施例中,为了实现不同平台的应用彼此之间具有触发关系,使得不同平台的应用之间可以实现信息交互,需要在不同应用之间设置字段匹配规则。In this embodiment, in order to realize that applications on different platforms have a trigger relationship with each other, so that information interaction between applications on different platforms can be realized, field matching rules need to be set between different applications.
在一示例中,将jira系统应用与用例系统应用都连接到信息搜索平台,下面是对于每个系统设置公开的应用功能模块;In an example, both the jira system application and the use case system application are connected to the information search platform, and the following are the application function modules disclosed for each system setting;
Jira系统应用的应用功能模块:创建bug,查询bug,修改bug状态;Application function module of Jira system application: create bug, query bug, modify bug status;
用例系统应用的应用功能模块:增加用例,执行用例,执行结果查看;Application function modules of the use case system application: add use cases, execute use cases, and view execution results;
触发规则配置:当用例系统应用中的执行用例应用功能模块在执行失败的条件下,触发jira系统应用中的创建bug应用功能模块;对于执行过程中失败的原因传递到jira系统应用所属的工作平台,用例系统应用中的功能模块信息以及失败原因在创建bug时候都需要传输进去生成目标信息,这些字段与jira中对应字段需要建立匹配映射关系。Trigger rule configuration: When the execution of the execution use case application function module in the use case system application fails, trigger the creation of bug application function modules in the jira system application; the reason for the failure during execution is passed to the work platform to which the jira system application belongs , the functional module information and failure reasons in the use case system application need to be transmitted to generate target information when creating a bug, and a matching mapping relationship between these fields and the corresponding fields in jira needs to be established.
104、基于目标信息,生成搜索结果。104. Based on the target information, generate a search result.
在本实施例中,对基于目标信息,生成搜索结果的方式不作限定,可以是将搜索到的目标信息,直接作为搜索结果展示给搜索用户,也可以是对搜索到的目标信息进行加工处理,然后再将处理后的目标信息展示给搜索用户。In this embodiment, the method of generating search results based on the target information is not limited. It may be to directly display the searched target information to the search user as a search result, or to process the searched target information. Then the processed target information is displayed to search users.
在本实施例中,对目标信息存储的地方不作明显限定。In this embodiment, there is no obvious limitation on where the target information is stored.
在一示例中,可以是存储到不同的工作平台,即每一个应用产生的目标信息都对应存储到该应用的所属工作平台。In an example, it may be stored in different work platforms, that is, the target information generated by each application is correspondingly stored in the work platform to which the application belongs.
在另一示例中,可以是存储到相同的工作平台,即每一个应用产生的目标信息都统一存储到信息搜索平台中。In another example, it may be stored on the same working platform, that is, the target information generated by each application is uniformly stored on the information search platform.
在本实施例中,基于应用对应的工作平台,确定工作平台的网站目录格式;基于网站目录格式,确定网站目录中各目录的链接地址;通过网络爬虫从链接地址对应的数据中,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的应用功能后,生成的目标信息。In this embodiment, based on the working platform corresponding to the application, the website directory format of the working platform is determined; based on the website directory format, the link address of each directory in the website directory is determined; the target application is obtained from the data corresponding to the link address through a web crawler. Target information generated after the target application function modules in the target application function module complete the application function corresponding to each target application function module based on the target trigger conditions.
在本实施例中,网络爬虫是一个自动提取网页的程序,它为搜索引擎从万维网上下载网页,是搜索引擎的重要组成。传统爬虫从一个或若干初始网页的URL开始,获得初始网页上的URL,在抓取网页的过程中,不断从当前页面上抽取新的URL放入队列,直到满足系统的一定停止条件。聚焦爬虫的工作流程较为复杂,需要根据一定的网页分析算法过滤与主题无关的链接,保留有用的链接并将其放入等待抓取的URL队列。然后,它将根据一定的搜索策略从队列中选择下一步要抓取的网页URL,并重复上述过程,直到达到系统的某一条件时停止。另外,所有被爬虫抓取的网页将会被系统存贮,进行一定的分析、过滤,并建立索引,以便之后的查询和检索;对于聚焦爬虫来说,这一过程所得到的分析结果还可能对以后的抓取过程给出反馈和指导。In this embodiment, the web crawler is a program for automatically extracting web pages, which downloads web pages from the World Wide Web for search engines, and is an important component of search engines. Traditional crawlers start from the URL of one or several initial webpages, obtain the URLs on the initial webpage, and continuously extract new URLs from the current page and put them into the queue during the process of crawling webpages until a certain stop condition of the system is met. The work flow of the focused crawler is relatively complicated. It needs to filter links that have nothing to do with the topic according to a certain webpage analysis algorithm, keep useful links and put them into the URL queue waiting to be crawled. Then, it will select the URL of the web page to be crawled next from the queue according to a certain search strategy, and repeat the above process until it stops when a certain condition of the system is reached. In addition, all webpages crawled by crawlers will be stored by the system, analyzed, filtered, and indexed for later query and retrieval; for focused crawlers, the analysis results obtained in this process may also be Give feedback and guidance on future crawling processes.
在本实施例中,基于目标应用对应的工作平台,确定工作平台的网站目录格式,其中,对网站目录格式的种类不做明显限定,该网站目录格式可以是平级直扑结构格式,也可以是层级目录结构格式。In this embodiment, based on the work platform corresponding to the target application, the website directory format of the work platform is determined, wherein the type of website directory format is not clearly limited. It is a hierarchical directory structure format.
在一示例中,若该网站目录格式是平级直扑结构格式,则可以直接获取数据库中目标信息的信息地址,然后基于该信息地址,通过网络爬虫技术获取该数据库中的目标信息。In an example, if the website directory format is a straight-forward structure format, the information address of the target information in the database can be obtained directly, and then based on the information address, the target information in the database can be obtained through web crawler technology.
在另一示例中,若该网站目录格式是层级目录结构格式,则需要通过模拟点击,点击元素进行获取该数据库中目标信息的信息地址,然后将获取到的该信息地址存入redis,按照数据队列顺序进行爬虫,通过网络爬虫技术获取该数据库中的目标信息。In another example, if the website directory format is a hierarchical directory structure format, it is necessary to obtain the information address of the target information in the database by simulating clicks and clicking elements, and then store the obtained information address into redis, according to the data Crawling is carried out sequentially in the queue, and the target information in the database is obtained through web crawling technology.
在本实施例中,提供一信息搜索平台,该信息搜索平台上设有配置页面与搜索窗口,由于该信息搜索平台连接了所有不同的工作平台中的应用,用户可以通过该搜索窗口对公司内部所有不同的工作平台中的数据信息统一进行搜索,大大提升了用户的搜索体验,之前用户如果需要搜索某些数据信息,需要在公司内部的平台界面找寻该数据信息对应的工作平台与应用,然后到指定的位置去进行一个搜索,但是在本申请中,不管是哪一个工作平台产生的数据信息都可以在信息搜索平台中的搜索窗口进行统一搜索。In this embodiment, an information search platform is provided, and a configuration page and a search window are provided on the information search platform. Since the information search platform is connected to applications in all different work platforms, users can use the search window to search for information within the company. The data information in all different work platforms is searched in a unified manner, which greatly improves the user's search experience. Before, if users need to search for certain data information, they need to find the work platform and application corresponding to the data information on the company's internal platform interface, and then Go to the designated location to conduct a search, but in this application, no matter which work platform generates data information, you can conduct a unified search in the search window in the information search platform.
并且在本实施例中,维护人员可以预先通过配置页面对不同工作平台中的应用之间的触发规则进行设置,使得不同工作平台中的应用之间产生关联性,由此,不同工作平台中的应用之间通过这种关联性实现信息传递,使得用户通过搜索得到的数据信息更加变得全面,对用户搜索提要起到了很大的帮助,并且应用产生的数据信息是存储到对应的工作平台的数据库中,当搜索窗口接收到用户额搜索信息时,直接利用网络爬虫技术直接获取与数据库的连接,然后把需要的目标信息从各个工作平台中统一转移到临时存储区域,然后生成搜索结展示给用户,当用户得到搜索结果以后,该临时存储区域又会及时清除该信息,使得不会造成占用内存的麻烦。And in this embodiment, maintenance personnel can pre-set the triggering rules between applications in different work platforms through the configuration page, so that the applications in different work platforms are related, thus, the applications in different work platforms Information transfer is realized between applications through this association, which makes the data information obtained by users through search more comprehensive, which is of great help to users' search summary, and the data information generated by applications is stored in the corresponding work platform In the database, when the search window receives the user's search information, it directly uses the web crawler technology to directly obtain the connection with the database, and then transfers the required target information from each work platform to the temporary storage area, and then generates a search result to display to the database. For the user, after the user obtains the search result, the temporary storage area will clear the information in time, so that the trouble of occupying memory will not be caused.
总体说来,通过本实施例大大提高了公司内部不同工作平台中数据信息的关联性与整体性,又提供了用户统一的搜索窗口,使得用户在搜索公司内部信息的体验大大提升,搜索信息既方便快捷又全面不遗漏。Generally speaking, this embodiment greatly improves the relevance and integrity of data information in different working platforms within the company, and provides a unified search window for users, which greatly improves the experience of users searching for internal information in the company. Convenient, quick and comprehensive.
信息搜索平台通过配置页面接收到用户的配置信息,然后由于信息搜素平台预先将不同的工作。The information search platform receives the user's configuration information through the configuration page, and then the information search platform pre-installs different tasks.
为了更好地实施以上方法,相应的,本发明实施例还提供一种平台信息搜索装置,该平台信息搜素装置具体集成在终端或服务器中,参考图2,该装置包括:In order to better implement the above method, correspondingly, an embodiment of the present invention also provides a platform information search device, the platform information search device is specifically integrated in a terminal or a server, referring to Figure 2, the device includes:
搜索信息获取单元201,用于获取针对信息搜索平台的搜索信息;A search
目标触发规则确定单元202,用于基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则;A target trigger
目标信息获取单元203,用于确定目标触发规则中涉及的至少两个目标应用,搜索各目标应用实现目标触发规则中包括的应用功能所生成的目标信息;The target
生成单元204,用于基于搜索得到的目标信息,生成搜索结果。The
在本发明的一些实施例中,目标触发规则确定单元202,用于对搜索信息进行分词,从分词结果中确定关键字;将关键字与触发规则进行匹配,在匹配成功的触发规则中选择目标触发规则。In some embodiments of the present invention, the target trigger
在本发明的一些实施例中,目标信息获取单元203,用于确定目标触发规则中的至少两个目标应用、具有触发关系的目标应用功能模块以及触发关系对应的目标触发条件;基于目标触发规则,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的应用功能后,生成的目标信息。In some embodiments of the present invention, the target
在本发明的一些实施例中,目标信息获取单元204,用于基于应用对应的工作平台,确定工作平台的网站目录格式;基于网站目录格式,确定网站目录中各目录的链接地址;通过网络爬虫从链接地址对应的数据中,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的应用功能后,生成的目标信息。In some embodiments of the present invention, the target
在本发明的一些实施例中,平台信息搜索装置还包括:配置单元,用于显示配置页面,配置页面包括已经连接到信息搜索平台的应用和应用功能模块;通过配置页面接收配置信息,配置信息包括配置到触发规则中的至少两个应用,至少两个应用之间具有触发关系的应用功能模块,以及触发关系对应的触发条件;基于配置信息,以及信息搜索平台和应用之间的连接关系,对触发规则进行配置。In some embodiments of the present invention, the platform information search device further includes: a configuration unit, configured to display a configuration page, the configuration page includes applications and application function modules that have been connected to the information search platform; configuration information is received through the configuration page, and the configuration information Including at least two applications configured in trigger rules, application function modules with a trigger relationship between at least two applications, and trigger conditions corresponding to the trigger relationship; based on the configuration information and the connection relationship between the information search platform and the application, Configure trigger rules.
在本发明的一些实施例中,配置单元,用于基于配置信息,确定每一触发规则中每一应用实现触发规则所需的专属配置信息;将专属配置信息发送给对应的实现触发规则的应用,应用基于专属配置信息自动运行触发规则。In some embodiments of the present invention, the configuration unit is configured to determine, based on the configuration information, the exclusive configuration information required by each application in each trigger rule to implement the trigger rule; and send the exclusive configuration information to the corresponding application that implements the trigger rule , the application automatically runs trigger rules based on exclusive configuration information.
在本发明的一些实施例中,平台信息搜索装置还包括:连接单元,用于在信息搜索平台中构建应用连接器;获取需要连接到信息搜索平台的应用的应用程序编程接口;基于应用连接器和应用程序变成接口,连接信息搜索平台与应用。In some embodiments of the present invention, the platform information search device further includes: a connection unit, configured to construct an application connector in the information search platform; obtain an application programming interface of an application that needs to be connected to the information search platform; And the application program becomes an interface, connecting the information search platform and application.
在本发明实施例中的平台信息搜索装置,提供一信息搜索平台,该信息搜索平台上设有配置页面与搜索窗口,由于该信息搜索平台连接了所有不同的工作平台中的应用,用户可以通过该搜索窗口对公司内部所有不同的工作平台中的数据信息统一进行搜索,大大提升了用户的搜索体验,之前用户如果需要搜索某些数据信息,需要在公司内部的平台界面找寻该数据信息对应的工作平台与应用,然后到指定的位置去进行一个搜索,但是在本申请中,不管是哪一个工作平台产生的数据信息都可以在信息搜索平台中的搜索窗口进行统一搜索。并且在本实施例中,维护人员可以预先通过配置页面对不同工作平台中的应用之间的触发规则进行设置,使得不同工作平台中的应用之间产生关联性,由此,不同工作平台中的应用之间通过这种关联性实现信息传递,使得用户通过搜索得到的数据信息更加变得全面,对用户搜索提要起到了很大的帮助,并且应用产生的数据信息是存储到对应的工作平台的数据库中,当搜索窗口接收到用户额搜索信息时,直接利用网络爬虫技术直接获取与数据库的连接,然后把需要的目标信息从各个工作平台中统一转移到临时存储区域,然后生成搜索结展示给用户,当用户得到搜索结果以后,该临时存储区域又会及时清除该信息,使得不会造成占用内存的麻烦。In the platform information search device in the embodiment of the present invention, an information search platform is provided, and a configuration page and a search window are provided on the information search platform. Since the information search platform is connected to applications in all different work platforms, users can use the This search window searches all the data information in different working platforms within the company in a unified manner, which greatly improves the user's search experience. Previously, if users needed to search for certain data information, they needed to find the corresponding data information on the company's internal platform interface. Work platform and application, and then go to the designated location to conduct a search, but in this application, no matter which work platform generates data information, it can be searched in the search window of the information search platform. And in this embodiment, maintenance personnel can pre-set the triggering rules between applications in different work platforms through the configuration page, so that the applications in different work platforms are related, thus, the applications in different work platforms Information transfer is realized between applications through this association, which makes the data information obtained by users through search more comprehensive, which is of great help to users' search summary, and the data information generated by applications is stored in the corresponding work platform In the database, when the search window receives the user's search information, it directly uses the web crawler technology to directly obtain the connection with the database, and then transfers the required target information from each work platform to the temporary storage area, and then generates a search result to display to the database. For the user, after the user obtains the search result, the temporary storage area will clear the information in time, so that the trouble of occupying memory will not be caused.
总体说来,通过本实施例大大提高了公司内部不同工作平台中数据信息的关联性与整体性,又提供了用户统一的搜索窗口,使得用户在搜索公司内部信息的体验大大提升,搜索信息既方便快捷又全面不遗漏。Generally speaking, this embodiment greatly improves the relevance and integrity of data information in different working platforms within the company, and provides a unified search window for users, which greatly improves the experience of users searching for internal information in the company. Convenient, quick and comprehensive.
此外,本发明实施例还提供一种计算机设备,该计算机设备可以为终端或者服务器,如图4所示,本发明实施例所涉及的计算机设备的结构示意图,具体来讲:In addition, the embodiment of the present invention also provides a computer device, which can be a terminal or a server, as shown in FIG. 4 , a schematic structural diagram of the computer device involved in the embodiment of the present invention, specifically:
该计算机设备可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、电源403和输入单元404等部件。本领域技术人员可以理解,图4中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The computer device may include a
处理器401是该计算机设备的控制中心,利用各种接口和线路连接整个计算机设备的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行计算机设备的各种功能和处理数据,从而对计算机设备进行整体监控。可选的,处理器401可包括一个或多个处理核心;优选的,处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。The
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问。The
计算机设备还包括给各个部件供电的电源403,优选的,电源403可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源403还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The computer device also includes a
该计算机设备还可包括输入单元404,该输入单元404可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The computer device can also include an
尽管未示出,计算机设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,计算机设备中的处理器401会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能,如下:Although not shown, the computer device may also include a display unit, etc., which will not be repeated here. Specifically, in this embodiment, the
获取针对信息搜索平台的搜索信息,其中信息搜索平台连接了不同工作平台的应用,在不同工作平台的应用之间配置有至少一条应用间的触发规则,其中,一条触发规则指示了至少两个应用之间具有触发关系的应用功能模块,以及触发关系对应的触发条件;Obtaining search information for an information search platform, where the information search platform is connected to applications on different work platforms, and at least one inter-application trigger rule is configured between applications on different work platforms, wherein one trigger rule indicates at least two applications Application function modules with a trigger relationship between them, and trigger conditions corresponding to the trigger relationship;
基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则;Based on the search information, determine the target trigger rule corresponding to the search information in the trigger rule;
确定目标触发规则中涉及的目标应用,获取目标应用根据目标触发规则生成的目标信息;Determine the target application involved in the target trigger rule, and obtain the target information generated by the target application according to the target trigger rule;
基于目标信息,生成搜索结果。Based on the target information, search results are generated.
一个示例中,基于搜索信息,在触发规则中确定搜索信息对应的目标触发规则,包括:In an example, based on the search information, the target trigger rule corresponding to the search information is determined in the trigger rules, including:
对搜索信息进行分词,从分词结果中确定关键字;将关键字与触发规则进行匹配,在匹配成功的触发规则中选择目标触发规则。Segment the search information, determine the keyword from the word segmentation result; match the keyword with the trigger rule, and select the target trigger rule among the successfully matched trigger rules.
一个示例中,确定目标触发规则中涉及的目标应用,获取目标应用根据目标触发规则生成的目标信息,包括:In an example, the target application involved in the target trigger rule is determined, and the target information generated by the target application according to the target trigger rule is obtained, including:
确定目标触发规则中的目标应用、具有触发关系的目标应用功能模块以及触发关系对应的目标触发条件;基于目标触发规则,获取目标应用中的目标应用功能模块基于目标触发条件完成每个目标应用功能模块对应的功能后,生成的目标信息。Determine the target application in the target trigger rule, the target application function module with the trigger relationship, and the target trigger condition corresponding to the trigger relationship; based on the target trigger rule, obtain the target application function module in the target application and complete each target application function based on the target trigger condition After the function corresponding to the module, the target information is generated.
一个示例中,显示配置页面,配置页面包括已经连接到信息搜索平台的应用和应用功能模块;In an example, a configuration page is displayed, and the configuration page includes applications and application function modules that have been connected to the information search platform;
通过配置页面接收配置信息,配置信息包括需要配置的应用信息、应用功能模块信息以及应用功能模块之间的触发条件信息。The configuration information is received through the configuration page, and the configuration information includes application information to be configured, application function module information, and trigger condition information between application function modules.
一个示例中通过配置页面接收配置信息,配置信息包括需要配置的应用信息、应用功能模块信息以及应用功能模块之间的触发条件信息,还包括:In an example, the configuration information is received through the configuration page. The configuration information includes the application information to be configured, the application function module information, and the trigger condition information between the application function modules, and also includes:
基于接收到的配置信息中的应用信息、应用功能模块信息以及应用功能模块之间的触发条件信息,将配置信息涉及的应用功能模块的API(应用程序编程接口)通过确定API统一标准、交互协议和鉴权信息实现应用功能模块的连接,使得配置信息转化成触发规则。Based on the application information in the received configuration information, the application function module information, and the trigger condition information between the application function modules, the API (application programming interface) of the application function module involved in the configuration information is determined through the unified API standard and interaction protocol. Realize the connection of the application function module with the authentication information, so that the configuration information is converted into a trigger rule.
一个示例中,信息搜索平台连接了不同工作平台的应用之前,还包括:In one example, before the information search platform connects applications of different work platforms, it also includes:
将不同工作平台的应用中的应用功能模块的执行状态调整为开启状态,使得应用通过应用功能模块执行功能和应用功能模块之间可以通过应用功能模块完成信息传递。The execution state of the application function modules in the applications of different working platforms is adjusted to the open state, so that the application can perform functions through the application function modules and the information transmission between the application function modules can be completed through the application function modules.
一个示例中,基于目标信息,生成搜索结果之前,还包括:In an example, based on the target information, before generating search results, it also includes:
将目标信息存储到目标应用对应的工作平台的数据库;storing the target information in the database of the working platform corresponding to the target application;
基于目标应用对应的工作平台,确定工作平台的网站目录格式;Based on the working platform corresponding to the target application, determine the website directory format of the working platform;
基于网站目录格式,确定获取工作平台与网络爬虫的连接方式;Based on the website directory format, determine the connection method between the acquisition work platform and the web crawler;
基于连接方式,通过网络爬虫将数据库中的目标信息发送到临时存储区域。Based on the connection method, the target information in the database is sent to the temporary storage area through the web crawler.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not repeated here.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by instructions controlling related hardware, and the instructions can be stored in a computer-readable storage medium, and loaded and executed by the processor.
为此,本发明实施例还提供一种计算机可读存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本发明实施例中的各种可选实现方式中提供的方法。To this end, an embodiment of the present invention also provides a computer-readable storage medium, which stores a plurality of instructions, and the instructions can be loaded by a processor to execute the instructions provided in various optional implementation modes in the embodiments of the present invention. method.
根据本申请的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述实施例中的各种可选实现方式中提供的方法。According to one aspect of the present application, there is also provided a computer program product or computer program, the 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 instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the methods provided in various optional implementation manners in the foregoing embodiments.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of the above operations, reference may be made to the foregoing embodiments, and details are not repeated here.
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
由于该存储介质中所存储的指令,可以执行本发明实施例所提供的方法中的步骤,因此,可以实现本发明实施例所提供的方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Because the instructions stored in the storage medium can execute the steps in the method provided by the embodiment of the present invention, therefore, the beneficial effects that can be achieved by the method provided by the embodiment of the present invention can be realized, see the previous embodiment for details, I won't repeat them here.
以上对本发明实施例所提供的一种平台信息搜索方法、装置、计算机设备和存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。A platform information search method, device, computer equipment, and storage medium provided by the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments It is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as limiting the invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211649499.XA CN115827764A (en) | 2022-12-21 | 2022-12-21 | Platform information searching method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211649499.XA CN115827764A (en) | 2022-12-21 | 2022-12-21 | Platform information searching method and device, storage medium and computer equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115827764A true CN115827764A (en) | 2023-03-21 |
Family
ID=85517372
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211649499.XA Pending CN115827764A (en) | 2022-12-21 | 2022-12-21 | Platform information searching method and device, storage medium and computer equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115827764A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103020188A (en) * | 2012-11-30 | 2013-04-03 | 北京网秦天下科技有限公司 | Multi-platform application search method and server |
| US20140250106A1 (en) * | 2013-03-01 | 2014-09-04 | Quixey, Inc. | Generating Search Results Containing State Links to Applications |
| CN105589923A (en) * | 2014-11-07 | 2016-05-18 | 洛克威尔自动控制技术股份有限公司 | Dynamic search engine for an industrial environment |
| CN106933873A (en) * | 2015-12-30 | 2017-07-07 | 中国移动通信集团上海有限公司 | A kind of cross-platform data querying method and equipment |
| CN109074523A (en) * | 2016-05-17 | 2018-12-21 | 谷歌有限责任公司 | Unified message search |
-
2022
- 2022-12-21 CN CN202211649499.XA patent/CN115827764A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103020188A (en) * | 2012-11-30 | 2013-04-03 | 北京网秦天下科技有限公司 | Multi-platform application search method and server |
| US20140250106A1 (en) * | 2013-03-01 | 2014-09-04 | Quixey, Inc. | Generating Search Results Containing State Links to Applications |
| CN105589923A (en) * | 2014-11-07 | 2016-05-18 | 洛克威尔自动控制技术股份有限公司 | Dynamic search engine for an industrial environment |
| CN106933873A (en) * | 2015-12-30 | 2017-07-07 | 中国移动通信集团上海有限公司 | A kind of cross-platform data querying method and equipment |
| CN109074523A (en) * | 2016-05-17 | 2018-12-21 | 谷歌有限责任公司 | Unified message search |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2684822C (en) | Data transformation based on a technical design document | |
| US20090204610A1 (en) | Deep web miner | |
| US8244758B1 (en) | State management for user interfaces | |
| US20120124547A1 (en) | Development artifact searching in an integrated development environment | |
| KR20040005913A (en) | Drag and drop technique for building queries | |
| US8196039B2 (en) | Relevant term extraction and classification for Wiki content | |
| US20140101635A1 (en) | Automated generation of two-tier mobile applications | |
| CN112035443B (en) | Big data execution method, system, equipment and storage medium based on Linux platform | |
| EP3738047B1 (en) | Interactive and non-interactive execution and rendering of templates to automate control and exploration across systems | |
| JP7108039B2 (en) | Visual and execution template recommendations to enable system-wide control and automation of data exploration | |
| US20120110448A1 (en) | Seamlessly Share And Reuse Administration-Console User-Interaction Knowledge | |
| JP2017535842A (en) | Simplify calling the import procedure to transfer data from the data source to the data target | |
| CN107704256B (en) | A method for automatic installation of Python-dependent system libraries on Ubuntu | |
| WO2024261735A1 (en) | Development environment integrated with a machine learning-based language model | |
| US8407713B2 (en) | Infrastructure of data summarization including light programs and helper steps | |
| US20200097260A1 (en) | Software application developer tools platform | |
| US20080104080A1 (en) | Method and apparatus to access heterogeneous configuration management database repositories | |
| CN104025089B (en) | The method and system creeped based on situation | |
| CN119669317B (en) | Information display method and device, electronic device, storage medium and program product | |
| EP3901761A2 (en) | Method, apparatus, and electronic device for processing visual data of deep model | |
| CN115827764A (en) | Platform information searching method and device, storage medium and computer equipment | |
| CN112182338A (en) | Monitoring method and device for hosting platform | |
| CN119201885A (en) | Metadata migration method and device between databases, storage medium, and equipment | |
| CN114895884B (en) | Method and system for writing and executing RPA script of terminal equipment | |
| JP2009093633A (en) | Computer-implemented method, data processing system, and computer program for executing a plurality of searches |
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 |
