CN111274271A - An information management device, method, electronic device and storage medium - Google Patents
An information management device, method, electronic device and storage medium Download PDFInfo
- Publication number
- CN111274271A CN111274271A CN202010031817.0A CN202010031817A CN111274271A CN 111274271 A CN111274271 A CN 111274271A CN 202010031817 A CN202010031817 A CN 202010031817A CN 111274271 A CN111274271 A CN 111274271A
- Authority
- CN
- China
- Prior art keywords
- module
- information
- reference relationship
- basic component
- 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
- 238000000034 method Methods 0.000 title claims description 50
- 238000007726 management method Methods 0.000 claims description 42
- 238000012545 processing Methods 0.000 claims description 11
- 238000011835 investigation Methods 0.000 abstract description 3
- 238000004891 communication Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000036299 sexual function Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/75—Structural analysis for program understanding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及互联网技术领域,具体涉及一种信息管理装置、方法、电子设备及存储介质。Embodiments of the present invention relate to the field of Internet technologies, and in particular, to an information management apparatus, method, electronic device, and storage medium.
背景技术Background technique
互联网服务一般都需要众多的服务器端提供各种各样的数据处理和业务接口调用,近年来微服务的思想兴起,使得需要维护的模块数量进一步增加。为了降低维护成本,开发团队一般会将用于实现基础的、通用的功能的代码进行封装,形成一系列的基础组件模块以供各个用于实现业务逻辑的应用模块(通常由应用程序组成)使用,这样一方面基础组件模块可以集成一些基础性功能(比如监控、日志收集等),另一方面由于每一种基础组件模块在不同应用模块里的使用方式统一,可以提升开发效率,而且可以实现基础性问题在基础组件模块里修复,也能降低出错风险和维护成本。Internet services generally require numerous servers to provide various data processing and business interface calls. In recent years, the rise of the idea of microservices has further increased the number of modules that need to be maintained. In order to reduce maintenance costs, the development team generally encapsulates the code used to implement basic and common functions to form a series of basic component modules for each application module (usually composed of applications) used to implement business logic. , so that on the one hand basic component modules can integrate some basic functions (such as monitoring, log collection, etc.), on the other hand, because each basic component module is used in a unified way in different application modules, it can improve development efficiency, and can achieve Basic problems are fixed in the basic component module, which also reduces the risk of errors and maintenance costs.
由于模块数量众多,为了方便模块的使用,需要对模块进行统一的管理,当前比较流行的是通过代码仓库工具(比如java的maven,python的pip等)来管理模块,基础组件模块只需要发布到代码仓库中,即可在应用模块里通过指定基础组件模块的坐标和版本等信息来方便的引用基础组件模块。然而当前已有的代码仓库无法得知一个基础组件模块被哪些应用模块所引用。带来的问题是,一旦基础组件模块需要升级时,无法确切的知道在哪些应用模块里使用了此基础组件模块,需要人工排查大量的应用模块来确认具体需要升级的地方,效率极低。Due to the large number of modules, in order to facilitate the use of modules, the modules need to be managed uniformly. Currently, it is more popular to manage modules through code repository tools (such as java's maven, python's pip, etc.), and the basic component modules only need to be published to In the code repository, the basic component module can be easily referenced in the application module by specifying the coordinates and version of the basic component module. However, the existing code repository cannot know which application modules a basic component module is referenced by. The problem is that once the basic component module needs to be upgraded, it is impossible to know exactly which application modules use the basic component module, and it is necessary to manually check a large number of application modules to confirm the specific areas that need to be upgraded, which is extremely inefficient.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题或者至少部分地解决上述技术问题,本发明实施例提供了一种信息管理装置、方法、电子设备及存储介质。In order to solve the above technical problem or at least partially solve the above technical problem, embodiments of the present invention provide an information management apparatus, method, electronic device, and storage medium.
有鉴于此,第一方面,本发明实施例提供一种信息管理装置,包括:引用关系采集模块、存储模块和查询模块;In view of this, in a first aspect, an embodiment of the present invention provides an information management apparatus, including: a reference relationship collection module, a storage module, and a query module;
所述引用关系采集模块用于采集所述应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,所述应用模块为用于引用基础组件模块来处理业务逻辑的模块;The reference relationship collection module is configured to collect reference relationship information between the application module and the basic component module referenced by the application module, where the application module is a module for processing business logic by referencing the basic component module;
所述存储模块用于对所述引用关系采集模块采集的引用关系信息进行存储;The storage module is configured to store the reference relationship information collected by the reference relationship collection module;
所述查询模块用于根据接收到的查询字段对所述存储模块中存储的所述引用关系信息进行查询。The query module is configured to query the reference relationship information stored in the storage module according to the received query field.
第二方面,本发明实施例还提供了一种信息管理方法,应用于第一方面所述的信息管理装置,所述方法包括:In a second aspect, an embodiment of the present invention further provides an information management method, which is applied to the information management apparatus described in the first aspect, and the method includes:
引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息;The reference relationship collection module collects reference relationship information between the application module and the basic component module referenced by the application module;
所述引用关系采集模块将所述引用关系信息发送至存储模块;The reference relationship collection module sends the reference relationship information to the storage module;
所述存储模块对所述引用关系采集模块发送的所述引用关系信息进行存储;The storage module stores the reference relationship information sent by the reference relationship collection module;
查询模块根据接收的查询字段查询所述存储模块中存储的引用关系信息,得到与所述查询字段对应的引用关系信息。The query module queries the reference relationship information stored in the storage module according to the received query field, and obtains the reference relationship information corresponding to the query field.
在一种可能的实现方式中,引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,包括:In a possible implementation manner, the reference relationship collection module collects reference relationship information between the application module and the basic component module referenced by the application module, including:
所述引用关系采集模块接收到应用模块发送的调用请求时,采集所述应用模块的标识信息和被所述应用模块引用的基础组件模块的标识信息;When the reference relationship collection module receives the call request sent by the application module, it collects the identification information of the application module and the identification information of the basic component module referenced by the application module;
所述引用关系采集模块将采集到的所述应用模块的标识信息和被所述应用模块引用的基础组件模块的标识信息按照预设数据格式进行合并,生成引用关系信息。The reference relationship collection module combines the collected identification information of the application module and the identification information of the basic component module referenced by the application module according to a preset data format to generate reference relationship information.
在一种可能的实现方式中,引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,还包括:In a possible implementation manner, the reference relationship collection module collects reference relationship information between the application module and the basic component module referenced by the application module, and further includes:
所述引用关系采集模块接收到应用模块发送的调用请求时,还采集所述应用模块所在设备的设备标识和当前时间;When the reference relationship collection module receives the call request sent by the application module, it also collects the device identifier and current time of the device where the application module is located;
所述引用关系采集模块将采集到的所述应用模块的标识信息、被所述应用模块引用的基础组件模块的标识信息、所述应用模块所在设备的设备标识和当前时间按照预设数据格式进行合并,生成引用关系信息。The reference relationship collection module will collect the identification information of the application module, the identification information of the basic component module referenced by the application module, the device identification of the device where the application module is located, and the current time according to the preset data format. Merge to generate reference relationship information.
在一种可能的实现方式中,所述引用关系采集模块将所述引用关系信息发送至存储模块,包括:In a possible implementation manner, the reference relationship collection module sends the reference relationship information to the storage module, including:
所述引用关系采集模块调用存储模块预设的数据接口,通过所述数据接口将所述引用关系信息发送至所述存储模块。The reference relationship collection module invokes a data interface preset by the storage module, and sends the reference relationship information to the storage module through the data interface.
在一种可能的实现方式中,引用关系采集模块将所述引用关系信息发送至存储模块,包括:In a possible implementation manner, the reference relationship collection module sends the reference relationship information to the storage module, including:
所述引用关系采集模块将所述引用关系信息发送至预设的分布式消息队列;The reference relationship collection module sends the reference relationship information to a preset distributed message queue;
所述存储模块获取所述分布式消息队列接收到的引用关系信息,并进行存储。The storage module acquires and stores the reference relationship information received by the distributed message queue.
在一种可能的实现方式中,查询模块根据接收的查询字段查询所述存储模块中存储的引用关系信息,得到与所述查询字段对应的引用关系信息,包括:In a possible implementation manner, the query module queries the reference relationship information stored in the storage module according to the received query field, and obtains the reference relationship information corresponding to the query field, including:
所述查询模块接收用户输入的基础组件模块标识信息;The query module receives the basic component module identification information input by the user;
所述查询模块根据所述输入的基础组件模块标识信息对所述存储模块中存储的引用关系信息进行查询,得到包含所述输入的基础组件模块标识信息的引用关系信息。The query module queries the reference relationship information stored in the storage module according to the input basic component module identification information, and obtains reference relationship information including the input basic component module identification information.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
所述引用关系查询模块对得到的与所述查询字段对应的引用关系信息进行展示。The reference relationship query module displays the obtained reference relationship information corresponding to the query field.
第三方面,本发明实施例还提供了一种电子设备,包括:处理器和存储器,所述处理器用于执行所述存储器中存储的信息管理程序,以实现权利要求第二方面所述的信息管理方法。In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory, where the processor is configured to execute an information management program stored in the memory, so as to realize the information described in the second aspect of the claim management method.
第四方面,本发明实施例还提供了一种存储介质,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现第二方面所述的信息管理方法。In a fourth aspect, an embodiment of the present invention further provides a storage medium, where the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the second aspect The described information management method.
第五方面,本发明实施例还提供了一种信息管理系统,所述系统包括应用模块、基础组件模块和第一方面所述的信息管理装置。In a fifth aspect, an embodiment of the present invention further provides an information management system, where the system includes an application module, a basic component module, and the information management apparatus described in the first aspect.
相比现有技术,本发明实施例提出的一种信息管理装置,包括引用关系采集模块、存储模块和查询模块,其中引用关系采集模块用于采集应用模块与基础组件模块之间的引用关系信息,而存储模块则用于将引用关系信息进行存储,查询模块用于根据接收的查询字段对存储模块中存储的引用关系信息进行查询。本方案提供的装置可以存储应用模块与基础组件模块之间的引用关系信息,在对基础组件模块进行修改或更新时,通过查询模块即可查询到引用该基础组件模块的应用模块,与通过人工排查确定引用该基础组件模块的应用模块相比,提高了效率。Compared with the prior art, an information management device proposed by an embodiment of the present invention includes a reference relationship collection module, a storage module and a query module, wherein the reference relationship collection module is used to collect reference relationship information between an application module and a basic component module , and the storage module is used to store the reference relationship information, and the query module is used to query the reference relationship information stored in the storage module according to the received query field. The device provided by this solution can store the reference relationship information between the application module and the basic component module. When the basic component module is modified or updated, the application module that references the basic component module can be queried through the query module, and the application module that references the basic component module can be queried through the query module. Compared with the application module that refers to the basic component module, the efficiency is improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative labor.
图1为本发明实施例提供的一种信息管理装置的框图;1 is a block diagram of an information management apparatus provided by an embodiment of the present invention;
图2为本发明实施例提供的一种信息管理方法的流程图;2 is a flowchart of an information management method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种电子设备框图;3 is a block diagram of an electronic device according to an embodiment of the present invention;
图4为本发明实施例提供的一种信息管理方法的流程图。FIG. 4 is a flowchart of an information management method provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.
图1为本发明实施例提供的一种信息管理装置的框图,如图1所示,该信息管理装置与应用模块和基础组件模块连接,用于对应用模块和基础组件模块之间的引用关系信息进行管理,该系统可以包括:FIG. 1 is a block diagram of an information management apparatus provided by an embodiment of the present invention. As shown in FIG. 1 , the information management apparatus is connected to an application module and a basic component module, and is used for the reference relationship between the application module and the basic component module To manage information, the system can include:
引用关系采集模块、存储模块和查询模块。Reference relationship acquisition module, storage module and query module.
其中引用关系采集模块为用于采集所述应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息的模块。The reference relationship collection module is a module for collecting reference relationship information between the application module and the basic component module referenced by the application module.
所述存储模块为用于对引用关系采集模块采集的引用关系信息进行存储;The storage module is used for storing the reference relationship information collected by the reference relationship collection module;
所述查询模块用于根据接收到的查询字段对存储模块104中存储的所述引用关系信息进行查询。The query module is configured to query the reference relationship information stored in the storage module 104 according to the received query field.
基础组件模块是由一些用于实现基础性功能(比如监控、日志收集等)的代码封装成的模块,其可以被多个应用模块共同使用,一个系统中可以有多个用于实现不同的基础性功能的基础组件。The basic component module is a module encapsulated by some codes for implementing basic functions (such as monitoring, log collection, etc.), which can be used by multiple application modules. Basic components of sexual function.
应用模块为用于处理各种业务逻辑的模块,为了降低开发和维护成本通常会通过引用各种基础组件模块来实现一些基础性功能。Application modules are modules for processing various business logics. In order to reduce development and maintenance costs, some basic functions are usually implemented by referencing various basic component modules.
本实施例提供的信息管理系统可以应用在任何包含应用模块和基础组件模块的系统中。The information management system provided in this embodiment can be applied to any system including application modules and basic component modules.
本发明实施例提出的一种信息管理装置,包括引用关系采集模块、存储模块和查询模块,其中引用关系采集模块用于采集应用模块与基础组件模块之间的引用关系信息,而存储模块则用于将引用关系信息进行存储,查询模块用于根据用户输入的查询字段对存储模块中存储的引用关系信息进行查询。本方案提供的装置可以存储应用模块与基础组件模块之间的引用关系信息,在对基础组件模块进行修改或更新时,通过查询模块即可查询到引用该基础组件模块的应用模块,不再需要人工排查,提高了效率。An information management device proposed by an embodiment of the present invention includes a reference relationship collection module, a storage module, and a query module, wherein the reference relationship collection module is used to collect reference relationship information between an application module and a basic component module, and the storage module uses For storing the reference relationship information, the query module is used to query the reference relationship information stored in the storage module according to the query field input by the user. The device provided by this solution can store the reference relationship information between the application module and the basic component module. When the basic component module is modified or updated, the application module that references the basic component module can be queried through the query module, and no need Manual inspection improves efficiency.
在一种可能的实现方式中,引用关系采集模块包括用于采集数据的采集接口,该采集接口供应用模块和基础组件模块实现,应用模块和基础组件模块通过该采集接口将各自的标识信息提交给引用关系采集模块。In a possible implementation manner, the reference relationship collection module includes a collection interface for collecting data, the collection interface is implemented by the application module and the basic component module, and the application module and the basic component module submit their respective identification information through the collection interface Collect modules for reference relationships.
在一个可能实现方式中,采集接口的伪码如下所示:In a possible implementation, the pseudocode of the collection interface is as follows:
通过如上所示的采集接口,应用模块和基础组件模块可以将各自的模块id和模块分组id、版本等标识信息提交给引用关系采集模块。Through the collection interface shown above, the application module and the basic component module can submit their respective identification information such as the module id, the module group id, and the version to the reference relationship collection module.
引用关系采集模块还提供一个采集接口的注册方法用于基础组件模块和应用模块注册该采集接口的实现,不同的基础组件模块和应用模块里可以对采集接口有不同的实现,以支持定制、扩展采集接口收集的信息,在具体实施时,在信息管理装置运行阶段,基础组件模块和应用模块初始化时,将上述采集接口的实现通过采集接口的注册方法注册到引用关系采集模块里。The reference relationship collection module also provides a collection interface registration method for the basic component module and application module to register the implementation of the collection interface. Different basic component modules and application modules can have different implementations of the collection interface to support customization and expansion. For the information collected by the collection interface, in the specific implementation, in the operation stage of the information management device, when the basic component module and the application module are initialized, the implementation of the above collection interface is registered in the reference relationship collection module through the registration method of the collection interface.
在一个可能的实现方式中,注册方法如下伪码所示:In a possible implementation, the registration method is shown in the following pseudocode:
void addCollecter(ModuleInfoCollector collector);void addCollecter(ModuleInfoCollector collector);
上述引用关系采集模块的addCollecter()方法用于应用模块注册采集接口ModuleInfoCollector的实现,不同的应用模块里可以对此采集接口有不同的实现。The addCollecter() method of the above reference relationship collection module is used for the implementation of the application module registration collection interface ModuleInfoCollector, and different application modules can have different implementations of this collection interface.
在本实施例中,在引用关系采集模块中设置采集接口,通过接口调用的方式完成数据采集,方便、快速,而且根据不同的应用模块和基础组件模块可以为采集接口注册不同的实现,从而实现对要采集的数据的定制和扩展。In this embodiment, a collection interface is set in the reference relationship collection module, and data collection is completed by calling the interface, which is convenient and fast, and different implementations can be registered for the collection interface according to different application modules and basic component modules, thereby realizing Customization and expansion of the data to be collected.
在一个可能的实现方式中,引用关系采集模块还提供一个供应用模块调用的报告方法,在信息管理装置的运行阶段,应用模块调用此方法,引用关系采集模块在此方法内调用已经注册的采集接口的实现,从而采集基础组件模块和应用模块的信息。In a possible implementation manner, the reference relationship collection module also provides a report method to be called by the application module. During the running phase of the information management device, the application module calls this method, and the reference relationship collection module calls the registered collection method in this method. The realization of the interface, so as to collect the information of the basic component modules and application modules.
在本实施例中,在引用关系采集模块中注册报告方法,从而通过应用模块调用该报告方法来启动引用关系采集模块的采集功能,方便、快速。In this embodiment, a report method is registered in the reference relationship collection module, so that the application module invokes the report method to start the collection function of the reference relationship collection module, which is convenient and fast.
在一种可能的实现方式中,查询模块可以设置交互界面用于用户输入查询字段,还可以设置显示界面,用于显示查询到的结果。In a possible implementation manner, the query module may set an interactive interface for the user to input query fields, and may also set a display interface for displaying the query results.
在一种可能的实现方式中,信息管理装置中的引用关系采集模块、存储模块和查询模块可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中,还可以是全部集成在一个单元中。In a possible implementation manner, the reference relationship collection module, storage module, and query module in the information management device may exist physically independently of each module, or two or more modules may be integrated into one unit, or may be All in one unit.
图4为本发明实施例提供一种信息管理方法,该方法应用于信息管理装置,该信息管理装置中的引用关系采集模块、存储模块和查询模块全部集成在一个单元中,如图4所示,该方法包括如下步骤:FIG. 4 provides an information management method according to an embodiment of the present invention. The method is applied to an information management device. The reference relationship collection module, storage module, and query module in the information management device are all integrated into one unit, as shown in FIG. 4 . , the method includes the following steps:
S41.采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息。S41. Collect reference relationship information between an application module and a basic component module referenced by the application module.
S42.存储所述引用关系信息。S42. Store the reference relationship information.
S43.接收查询字段。S43. Receive the query field.
S44.根据所述查询字段查询存储的引用关系信息,得到与所述查询字段对应的引用关系信息。S44. Query the stored reference relationship information according to the query field to obtain reference relationship information corresponding to the query field.
本发明实施例提出的一种信息管理方法,通过采集应用模块与基础组件模块之间的引用关系信息,将引用关系信息进行存储,并根据接收的查询字段对存储的引用关系信息进行查询。本方案提供的方法,通过存储应用模块与基础组件模块之间的引用关系信息,在对基础组件模块进行修改或更新时,通过查询存储的引用关系信息即可查询到引用该基础组件模块的应用模块,进而对相应的应用模块进行更新,与现有的通过人工排查确定引用该基础组件模块的应用模块相比,提高了效率。An information management method provided by the embodiment of the present invention stores the reference relationship information by collecting the reference relationship information between the application module and the basic component module, and queries the stored reference relationship information according to the received query field. In the method provided by this solution, by storing the reference relationship information between the application module and the basic component module, when the basic component module is modified or updated, the application that references the basic component module can be queried by querying the stored reference relationship information module, and then update the corresponding application module, which improves the efficiency compared with the existing application module that references the basic component module through manual investigation.
在一种可能的实现方式中,S41采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,包括:In a possible implementation manner, S41 collects the reference relationship information between the application module and the basic component module referenced by the application module, including:
采集所述应用模块的标识信息和被所述应用模块引用的基础组件模块的标识信息,将采集到的所述应用模块的标识信息和被所述应用模块引用的基础组件模块的标识信息按照预设数据格式进行合并,生成引用关系信息。Collect the identification information of the application module and the identification information of the basic component module referenced by the application module, and classify the collected identification information of the application module and the identification information of the basic component module referenced by the application module according to the preset. Set the data format to be merged to generate reference relationship information.
在本实施例中,通过将应用模块的标识信息和被该应用模块引用的基础组件模块的标识信息合并成一条引用关系信息,保证了后续可以根据基础组件模块的标识信息查找出对应的引用关系信息进而得到引用关系信息中包含的应用模块的标识信息,从而确定出与基础组件模块存在引用关系的应用模块。In this embodiment, by combining the identification information of the application module and the identification information of the basic component module referenced by the application module into one reference relationship information, it is ensured that the corresponding reference relationship can be searched out according to the identification information of the basic component module later. The information further obtains the identification information of the application module included in the reference relationship information, so as to determine the application module that has a reference relationship with the basic component module.
在一种可能的实现方式中,S41采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,还可以包括:In a possible implementation manner, the S41 collection module collects the reference relationship information between the application module and the basic component module referenced by the application module, and may also include:
采集所述应用模块所在设备的设备标识和当前时间,将采集到的所述应用模块的标识信息、被所述应用模块引用的基础组件模块的标识信息、所述应用模块所在设备的设备标识和当前时间按照预设数据格式进行合并,生成引用关系信息。Collect the device identification and current time of the device where the application module is located, and collect the identification information of the application module, the identification information of the basic component module referenced by the application module, the device identification and the device identification of the device where the application module is located. The current time is merged according to the preset data format to generate reference relationship information.
在本实施例中,引用关系采集模块除了采集应用模块的标识信息和被该应用模块引用的基础组件模块的标识信息外,还采集应用模块所在的设备的标识信息和当前时间,因为通常应用模块是安装在设备上的,而在对应用模块进行更新时是需要在其所在的设备上操作的,因此在对应用模块中的基础组件模块进行更新时,需要确定应用模块所在的设备,而在采集数据时也同时采集应用模块所在的设备的标识信息并将该标识信息添加到引用关系信息中,保证了可以根据引用关系信息确定应用模块所在的设备,避免了人工对各台设备进行排查,方便,快速。In this embodiment, the reference relationship collection module not only collects the identification information of the application module and the identification information of the basic component module referenced by the application module, but also collects the identification information and current time of the device where the application module is located, because usually the application module It is installed on the device, and when updating the application module, it needs to be operated on the device where it is located. Therefore, when updating the basic component module in the application module, it is necessary to determine the device where the application module is located, and in the When collecting data, the identification information of the device where the application module is located is also collected and added to the reference relationship information, which ensures that the device where the application module is located can be determined according to the reference relationship information, and avoids manual inspection of each device. Convenient and fast.
在一种可能的实现方式中,S44.根据所述查询字段查询存储的引用关系信息,得到与所述查询字段对应的引用关系信息,可以包括:In a possible implementation, S44. Query the stored reference relationship information according to the query field, and obtain the reference relationship information corresponding to the query field, which may include:
接收用户输入的基础组件模块标识信息,根据所述输入的基础组件模块标识信息对存储的引用关系信息进行查询,得到包含所述输入的基础组件模块标识信息的引用关系信息。Receive the basic component module identification information input by the user, query the stored reference relationship information according to the input basic component module identification information, and obtain reference relationship information including the input basic component module identification information.
在本实施例中,在基础组件模块进行更新后,若想对引用该基础组件模块的应用模块进行更新,则可以将发生更新的基础组件模块的标识信息作为查询字段通过查询模块的交互界面输入到引用关系管理单元中,引用关系管理单元根据用户输入的查询字段生成查询语句,进而根据查询语句对存储的引用关系信息进行查询,即可得到包含该基础组件模块标识的引用关系信息,引用关系信息中包含有引用该基础组件模块的应用模块的标识信息,从而根据应用模块的标识信息即可确定出对应的应用模块,进一步若引用关系信息中还包含有应用模块所在设备的标识信息和采集信息的时间,则可以快速对应用模块及应用模块所在的设备进行定位,从而进行更新,通过该方式可以快速的确定出引用了更新的基础组件模块的应用模块。In this embodiment, after the basic component module is updated, if you want to update the application module that references the basic component module, the identification information of the updated basic component module can be input as a query field through the interactive interface of the query module In the reference relationship management unit, the reference relationship management unit generates a query statement according to the query field input by the user, and then queries the stored reference relationship information according to the query statement, and then the reference relationship information including the basic component module identifier can be obtained. The information contains the identification information of the application module that references the basic component module, so that the corresponding application module can be determined according to the identification information of the application module. Further, if the reference relationship information also includes the identification information and collection information of the device where the application module is located. information time, the application module and the device where the application module is located can be quickly located, so as to be updated. In this way, the application module that references the updated basic component module can be quickly determined.
在一种可能的实现方式中,在上述信息管理方法的基础上,所述方法还可以包括:In a possible implementation manner, on the basis of the above information management method, the method may further include:
对得到的与所述查询字段对应的引用关系信息进行展示。The obtained reference relationship information corresponding to the query field is displayed.
在本实施例中,将查询到的引用关系信息直接通过查询模块进行展示,更加直观。In this embodiment, the queried reference relationship information is directly displayed through the query module, which is more intuitive.
图2为本发明实施例提供的一种信息管理方法的流程图,该方法应用于本发明实施例提供的信息管理装置(如图1所示),如图2所示,该方法包括如下步骤:FIG. 2 is a flowchart of an information management method provided by an embodiment of the present invention. The method is applied to an information management apparatus (as shown in FIG. 1 ) provided by an embodiment of the present invention. As shown in FIG. 2 , the method includes the following steps :
S21.引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息。S21. The reference relationship collection module collects reference relationship information between an application module and a basic component module referenced by the application module.
其中引用关系信息用于表示应用模块与基础组件模块之间的引用关系。The reference relationship information is used to represent the reference relationship between the application module and the basic component module.
S22.所述引用关系采集模块将所述引用关系信息发送至存储模块。S22. The reference relationship collection module sends the reference relationship information to a storage module.
S23.所述存储模块对所述引用关系采集模块发送的所述引用关系信息进行存储。S23. The storage module stores the reference relationship information sent by the reference relationship collection module.
其中存储模块根据具体需求可以采用关系型数据库也可以采用非关系型数据库。The storage module can adopt relational database or non-relational database according to specific requirements.
S24.查询模块根据接收的查询字段查询所述存储模块中存储的引用关系信息,得到与所述查询字段对应的引用关系信息。S24. The query module queries the reference relationship information stored in the storage module according to the received query field, and obtains reference relationship information corresponding to the query field.
本发明实施例提出的一种信息管理方法,通过引用关系采集模块采集应用模块与基础组件模块之间的引用关系信息,通过存储模块将引用关系信息进行存储,并可以通过向查询模块输入查询字段来对存储模块中存储的引用关系信息进行查询。本方案提供的方法,可以存储应用模块与基础组件模块之间的引用关系信息,在对基础组件模块进行修改或更新时,通过查询模块即可查询到引用该基础组件模块的应用模块,进而对相应的应用模块进行更新,与现有的通过人工排查确定引用该基础组件模块的应用模块相比,提高了效率。In an information management method proposed by an embodiment of the present invention, the reference relationship information between the application module and the basic component module is collected by the reference relationship collection module, the reference relationship information is stored by the storage module, and the query field can be input to the query module by inputting the query field. to query the reference relationship information stored in the storage module. The method provided by this solution can store the reference relationship information between the application module and the basic component module. When the basic component module is modified or updated, the application module that references the basic component module can be queried through the query module, and then the application module that references the basic component module can be queried. The corresponding application module is updated, which improves the efficiency compared with the existing application module that references the basic component module through manual investigation.
在一种可能的实现方式中,S21引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,包括:In a possible implementation manner, the S21 reference relationship collection module collects reference relationship information between the application module and the basic component module referenced by the application module, including:
所述引用关系采集模块接收到应用模块发送的调用请求时,采集所述应用模块的标识信息和被所述应用模块引用的基础组件模块的标识信息,所述引用关系采集模块将采集到的所述应用模块的标识信息和被所述应用模块引用的基础组件模块的标识信息按照预设数据格式进行合并,生成引用关系信息。When the reference relationship collection module receives the call request sent by the application module, it collects the identification information of the application module and the identification information of the basic component modules referenced by the application module, and the reference relationship collection module will collect all the collected information. The identification information of the application module and the identification information of the basic component module referenced by the application module are combined according to a preset data format to generate reference relationship information.
其中应用模块发送的调用请求为调用应用关系采集模块中的报告方法的请求,当引用关系采集模块收到该调用请求后,引用关系采集模块中的采集接口采集发送该调用请求的应用模块的标识信息和被该应用模块引用的基础组件模块的标识信息,其中标识信息可以为模块的位置信息和模块的版本号,模块的位置信息可以包括模块的ID和模块的所在的分组的ID,根据这两个ID即可确定模块所在的位置。通过各模板的标识信息即可确定该模块,而由于采集的信息是由应用模块和基础组件模块分别上传的,所以为了体现应用模块与基础组件模块之间的引用关系,可以将应用模块的标识信息和被该应用模块引用的基础组件模块的标识信息组合成一条预设数据格式的可以表示引用关系的信息,将组合成的信息作为引用关系信息。The call request sent by the application module is a request to call the report method in the application relationship collection module. After the reference relationship collection module receives the call request, the collection interface in the reference relationship collection module collects the identifier of the application module that sent the call request. information and the identification information of the basic component module referenced by the application module, wherein the identification information can be the location information of the module and the version number of the module, and the location information of the module can include the ID of the module and the ID of the group where the module is located. Two IDs can determine where the module is located. The module can be determined by the identification information of each template. Since the collected information is uploaded by the application module and the basic component module, in order to reflect the reference relationship between the application module and the basic component module, the identification of the application module can be The information and the identification information of the basic component module referenced by the application module are combined into a piece of information in a preset data format that can represent the reference relationship, and the combined information is used as the reference relationship information.
例如引用关系信息的数据格式如下所示:For example, the data format of reference relationship information is as follows:
其中,app节点存放当前应用模块的标识信息,base_libs存放了两个被当前应用模块引用的基础组件模块的标识信息,根据实际情况base_libs可以存放至少一个被当前应用模块引用的基础组件模块的标识信息。通过将应用模块的标识信息和被该应用模块引用的基础组件模块的标识信息合并成一条引用关系信息,保证了后续可以根据基础组件模块的标识信息查找出对应的引用关系信息进而得到引用关系信息中包含的应用模块的标识信息,从而确定出与基础组件模块存在引用关系的应用模块。Among them, the app node stores the identification information of the current application module, base_libs stores the identification information of two basic component modules referenced by the current application module, and base_libs can store the identification information of at least one basic component module referenced by the current application module according to the actual situation. . By combining the identification information of the application module and the identification information of the basic component module referenced by the application module into one reference relationship information, it is ensured that the corresponding reference relationship information can be searched out according to the identification information of the basic component module and then the reference relationship information can be obtained. The identification information of the application module contained in the module, so as to determine the application module that has a reference relationship with the basic component module.
在一种可能的实现方式中,S21引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息,还可以包括:In a possible implementation manner, the S21 reference relationship collection module collects reference relationship information between the application module and the basic component module referenced by the application module, and may also include:
所述引用关系采集模块接收到应用模块发送的调用请求时,还采集所述应用模块所在设备的设备标识和当前时间,所述引用关系采集模块将采集到的所述应用模块的标识信息、被所述应用模块引用的基础组件模块的标识信息、所述应用模块所在设备的设备标识和当前时间按照预设数据格式进行合并,生成引用关系信息。When the reference relationship collection module receives the call request sent by the application module, it also collects the device identification and current time of the device where the application module is located, and the reference relationship collection module collects the collected identification information of the application module, The identification information of the basic component module referenced by the application module, the device identification of the device where the application module is located, and the current time are combined according to a preset data format to generate reference relationship information.
在本实施例中,引用关系采集模块除了采集应用模块的标识信息和被该应用模块引用的基础组件模块的标识信息外,还采集应用模块所在的设备的标识信息和当前时间,因为通常应用模块是安装在设备上的,而在对应用模块进行更新时是需要在其所在的设备上操作的,因此在对应用模块中的基础组件模块进行更新时,需要确定应用模块所在的设备,而在采集数据时也同时采集应用模块所在的设备的标识信息并将该标识信息添加到引用关系信息中,保证了可以根据引用关系信息确定应用模块所在的设备,避免了人工对各台设备进行排查,方便,快速。In this embodiment, the reference relationship collection module not only collects the identification information of the application module and the identification information of the basic component module referenced by the application module, but also collects the identification information and current time of the device where the application module is located, because usually the application module It is installed on the device, and when updating the application module, it needs to be operated on the device where it is located. Therefore, when updating the basic component module in the application module, it is necessary to determine the device where the application module is located, and in the When collecting data, the identification information of the device where the application module is located is also collected and added to the reference relationship information, which ensures that the device where the application module is located can be determined according to the reference relationship information, and avoids manual inspection of each device. Convenient and fast.
而获取当前时间并将该时间添加到引用关系信息中,是为了便于确定在基础组件模块更新后根据引用关系信息中的时间来确定哪些应用模块是需要更新的,例如基础组件模块是在A时刻更新的,则在对应用模块进行更新时,只需根据引用关系信息中记录的时间,确定出在A时刻之前引用该基础组件模块的应用模块,并进行更新即可,而无需对A时刻之后引用该基础组件模块的应用模块进行更新,因此采集当前时间并将其添加到引用关系信息中可以使在更新应用模块中的基础组件模块时自动排除不需要更新的应用模块。The purpose of obtaining the current time and adding the time to the reference relationship information is to determine which application modules need to be updated according to the time in the reference relationship information after the basic component module is updated. For example, the basic component module is at time A. If it is updated, when updating the application module, it is only necessary to determine the application module that references the basic component module before time A according to the time recorded in the reference relationship information, and update it, without the need to update the application module after time A. The application module that references the basic component module is updated, so collecting the current time and adding it to the reference relationship information can automatically exclude application modules that do not need to be updated when updating the basic component module in the application module.
包含有设备标识信息和当前时间的引用关系信息可以为如下所示的格式:The reference relationship information including the device identification information and the current time can be in the following format:
上述根式只是一种示例,除了上述格式引用关系信息还可以采用其他格式。The above-mentioned radical formula is just an example, and the reference relationship information in the above-mentioned format may also adopt other formats.
在本实施例中,S22在将所述引用关系信息发送至存储模块时可以根据业务需求选取不同的发送方式。In this embodiment, when S22 sends the reference relationship information to the storage module, different sending modes can be selected according to business requirements.
例如可以采用下述两种方式中的任意一种,当然下述两种方式还可以采用其他方式,此处不再一一列举。For example, any one of the following two methods may be adopted. Of course, the following two methods may also adopt other methods, which will not be listed one by one here.
第一种方式:所述引用关系采集模块调用存储模块预设的数据接口,通过所述数据接口将所述引用关系信息发送至所述存储模块。The first way: the reference relationship collection module calls a data interface preset by the storage module, and sends the reference relationship information to the storage module through the data interface.
在本实施例中,引用关系采集模块通过远程接口调用(http,rpc等方式)调用存储模块预设的数据接口,进而将采集的引用关系信息上传至存储模块,通过此种方式将引用关系信息发送至存储模块安全、可靠。In this embodiment, the reference relationship collection module calls the preset data interface of the storage module through a remote interface call (http, rpc, etc.), and then uploads the collected reference relationship information to the storage module, and in this way, the reference relationship information is Safe and secure delivery to the storage module.
第二种方式:所述引用关系采集模块将所述引用关系信息发送至预设的分布式消息队列,所述存储模块获取所述分布式消息队列接收到的引用关系信息,并进行存储。The second way: the reference relationship collection module sends the reference relationship information to a preset distributed message queue, and the storage module acquires the reference relationship information received by the distributed message queue and stores it.
因为有时消息管理系统中存储可能会存在多个存储模块,而采用接口进行数据传输时,针对不同存储模块引用关系采集模块需要采用不同的代码来实现接口的调用,费时费力,而将分布式消息队列作为中间件采用分布式队列的方式进行数据传输时,则不需要考虑代码,省时、省力。Because sometimes there may be multiple storage modules in the message management system, and when using the interface for data transmission, different codes need to be used to implement the interface call for the reference relationship collection module of different storage modules, which is time-consuming and labor-intensive. When a queue is used as a middleware for data transmission in a distributed queue, there is no need to consider the code, which saves time and effort.
在一种可能的实现方式中,S24查询模块根据接收的查询字段查询所述存储模块中存储的引用关系信息,得到与所述查询字段对应的引用关系信息,包括:In a possible implementation manner, the S24 query module queries the reference relationship information stored in the storage module according to the received query field, and obtains the reference relationship information corresponding to the query field, including:
所述查询模块接收用户输入的基础组件模块标识信息,所述查询模块根据所述输入的基础组件模块标识信息对所述存储模块中存储的引用关系信息进行查询,得到包含所述输入的基础组件模块标识信息的引用关系信息。The query module receives the basic component module identification information input by the user, and the query module queries the reference relationship information stored in the storage module according to the input basic component module identification information, and obtains the basic component containing the input. The reference relationship information of the module identification information.
在基础组件模块进行更新后,若想对引用该基础组件模块的应用模块进行更新,则可以将发生更新的基础组件模块的标识信息作为查询字段通过查询模块的交互界面输入到查询模块中,查询模块根据用户输入的查询字段生成查询语句,进而根据查询语句对存储模块中存储的引用关系信息进行查询,即可得到包含该基础组件模块标识的引用关系信息。After the basic component module is updated, if you want to update the application module that references the basic component module, you can input the identification information of the updated basic component module as a query field into the query module through the interactive interface of the query module. The module generates a query statement according to the query field input by the user, and then queries the reference relationship information stored in the storage module according to the query statement, so as to obtain the reference relationship information including the identification of the basic component module.
其中查询语句的格式可以如下所示:The format of the query statement can be as follows:
其对应的查询字段为“demo_lib2”,即查询id为demo_lib2的基础组件模块对应的引用关系信息。The corresponding query field is "demo_lib2", that is, the reference relationship information corresponding to the basic component module whose id is demo_lib2 is queried.
引用关系信息中包含有引用该基础组件模块的应用模块的标识信息,从而根据应用模块的标识信息即可确定出对应的应用模块,进一步若引用关系信息中还包含有应用模块所在设备的标识信息和采集信息的时间,则可以快速对应用模块及应用模块所在的设备进行定位,从而进行更新,通过该方式可以快速的确定出引用了更新的基础组件模块的应用模块。The reference relationship information includes the identification information of the application module that references the basic component module, so that the corresponding application module can be determined according to the identification information of the application module, and further, if the reference relationship information also includes the identification information of the device where the application module is located. and the time of collecting information, the application module and the device where the application module is located can be quickly located, so as to be updated. In this way, the application module that references the updated basic component module can be quickly determined.
在一个可能的方式中,用户还可以在查询模块中输入自己的手机号或邮箱号等,查询模块查询到对应的引用关系信息后,可以对引用关系信息进行打包从而将引用关系信息以短信的形式发送至用户的信息收件箱中,或以邮件的形式发送到用户的邮箱中。In a possible way, the user can also enter his mobile phone number or email number in the query module. After the query module queries the corresponding reference relationship information, the reference relationship information can be packaged so that the reference relationship information can be sent as a text message. sent to the user's message inbox, or sent to the user's mailbox in the form of an email.
通过这种方式将引用关系信息发送给用户安全、而且易保存。Sending reference relationship information to users in this way is safe and easy to save.
在一个可能的实现方式中,所述信息管理方法还可以包括:In a possible implementation, the information management method may further include:
所述引用关系查询模块对得到的与所述查询字段对应的引用关系信息进行展示。The reference relationship query module displays the obtained reference relationship information corresponding to the query field.
在本实施例中,将查询到的引用关系信息直接通过查询模块进行展示,更加直观。In this embodiment, the queried reference relationship information is directly displayed through the query module, which is more intuitive.
本发明实施例还提供了一种电子设备,如图3所示,包括处理器301、通信接口302、存储器303和通信总线304,其中,处理器301,通信接口302,存储器303通过通信总线304完成相互间的通信;An embodiment of the present invention further provides an electronic device, as shown in FIG. 3 , including a
存储器303,用于存放计算机程序;a
处理器301,用于执行存储器303上所存放的程序时,实现如下步骤:When the
引用关系采集模块采集应用模块与被所述应用模块引用的基础组件模块之间的引用关系信息;The reference relationship collection module collects reference relationship information between the application module and the basic component module referenced by the application module;
所述引用关系采集模块将所述引用关系信息发送至存储模块;The reference relationship collection module sends the reference relationship information to the storage module;
所述存储模块对所述引用关系采集模块发送的所述引用关系信息进行存储;The storage module stores the reference relationship information sent by the reference relationship collection module;
查询模块根据接收的查询字段查询所述存储模块中存储的引用关系信息,得到与所述查询字段对应的引用关系信息。The query module queries the reference relationship information stored in the storage module according to the received query field, and obtains the reference relationship information corresponding to the query field.
上述电子设备提到的通信总线304可以是外设部件互连标准(PeripheralComponent Interconnect, 简称PCI)总线或扩展工业标准结构(Extended IndustryStandard Architecture,简称EISA)总线等。该通信总线304可以分为地址总线、数据总线、控制总线等。为便于表示, 图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
通信接口302用于上述计算机设备与其他设备之间的通信。The
存储器303可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The
上述的处理器301可以是通用处理器, 包括中央处理器(Central ProcessingUnit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing ,简称DSP) 、专用集成电路(Application SpecificIntegrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned
在本申请另一实施例中,还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有数据处理方法程序,所述数据处理方法程序被处理器执行时实现上述任一所述的信息管理方法的步骤。In another embodiment of the present application, a computer-readable storage medium is also provided, and a data processing method program is stored on the computer-readable storage medium, and when the data processing method program is executed by a processor, any one of the above-mentioned programs is implemented The steps of the information management method.
在本申请另一个实施例中,还提供了一种信息管理系统,该系统包括应用模块、基础组件模块和信息管理装置。In another embodiment of the present application, an information management system is also provided. The system includes an application module, a basic component module, and an information management device.
其中信息管理装置可以对应用模块与基础组件模块之间的引用关系信息进行采集、存储和查询,在基础组件模块进行升级或更新时,可以通过信息管理装置快速的查找到与该基础组件模块存在引用关系的引用模块。The information management device can collect, store and query the reference relationship information between the application module and the basic component module. When the basic component module is upgraded or updated, the information management device can quickly find the existence of the basic component module. The referenced module for the referenced relationship.
本发明实施例在具体实现时,可以参阅上述各个实施例,具有相应的技术效果。When the embodiments of the present invention are specifically implemented, reference may be made to the above-mentioned embodiments, which have corresponding technical effects.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处 理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSP Device, DSPD), programmable logic Devices (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本文所述功能的单元来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention are essentially, or the parts that make contributions to the prior art or the parts of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied in other related technical fields , are similarly included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010031817.0A CN111274271A (en) | 2020-01-13 | 2020-01-13 | An information management device, method, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010031817.0A CN111274271A (en) | 2020-01-13 | 2020-01-13 | An information management device, method, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111274271A true CN111274271A (en) | 2020-06-12 |
Family
ID=70996884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010031817.0A Pending CN111274271A (en) | 2020-01-13 | 2020-01-13 | An information management device, method, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111274271A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112667690A (en) * | 2021-01-29 | 2021-04-16 | 浪潮通用软件有限公司 | Data reference query method and device |
CN112882746A (en) * | 2021-02-03 | 2021-06-01 | 网易(杭州)网络有限公司 | Application program updating method and device, storage medium and computer equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425495A (en) * | 2013-08-07 | 2013-12-04 | 华为软件技术有限公司 | Method and system for processing service request information |
CN103617271A (en) * | 2013-12-05 | 2014-03-05 | 用友软件股份有限公司 | Method and device for supporting big data basis file uninstalling |
US20160253383A1 (en) * | 2015-02-27 | 2016-09-01 | Fujitsu Limited | Management-information acquiring program, management information acquiring method, and management information acquiring apparatus |
CN107678776A (en) * | 2017-08-09 | 2018-02-09 | 上海壹账通金融科技有限公司 | Multimode version dependence construction method, device, server and storage medium |
CN107870771A (en) * | 2016-09-26 | 2018-04-03 | 平安科技(深圳)有限公司 | Application builds and upgrade method and system |
CN107943504A (en) * | 2017-12-07 | 2018-04-20 | 中国航空工业集团公司西安航空计算技术研究所 | The dynamic update method of software module in a kind of embedded system |
-
2020
- 2020-01-13 CN CN202010031817.0A patent/CN111274271A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103425495A (en) * | 2013-08-07 | 2013-12-04 | 华为软件技术有限公司 | Method and system for processing service request information |
CN103617271A (en) * | 2013-12-05 | 2014-03-05 | 用友软件股份有限公司 | Method and device for supporting big data basis file uninstalling |
US20160253383A1 (en) * | 2015-02-27 | 2016-09-01 | Fujitsu Limited | Management-information acquiring program, management information acquiring method, and management information acquiring apparatus |
CN107870771A (en) * | 2016-09-26 | 2018-04-03 | 平安科技(深圳)有限公司 | Application builds and upgrade method and system |
CN107678776A (en) * | 2017-08-09 | 2018-02-09 | 上海壹账通金融科技有限公司 | Multimode version dependence construction method, device, server and storage medium |
CN107943504A (en) * | 2017-12-07 | 2018-04-20 | 中国航空工业集团公司西安航空计算技术研究所 | The dynamic update method of software module in a kind of embedded system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112667690A (en) * | 2021-01-29 | 2021-04-16 | 浪潮通用软件有限公司 | Data reference query method and device |
CN112667690B (en) * | 2021-01-29 | 2023-07-18 | 浪潮通用软件有限公司 | Data reference query method and device |
CN112882746A (en) * | 2021-02-03 | 2021-06-01 | 网易(杭州)网络有限公司 | Application program updating method and device, storage medium and computer equipment |
CN112882746B (en) * | 2021-02-03 | 2023-07-07 | 网易(杭州)网络有限公司 | Application program updating method and device, storage medium and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100478956C (en) | Method and corresponding system for creating and obtaining report forms | |
CN108153547A (en) | Microservice version management method, device, medium and electronic equipment | |
EP1589420A2 (en) | Integration architecture for non-integrated tools | |
US11288289B2 (en) | Multi-tenant data integration | |
US10545933B2 (en) | Database-driven entity framework for internet of things | |
CN101853437A (en) | Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring | |
CN113204558B (en) | Automatic data table structure updating method and device | |
CN110362337A (en) | Version dissemination method, device, equipment and the storage medium of application program | |
CN115114044B (en) | Message pushing method, device, equipment and medium | |
CN105550325A (en) | Data management method and device | |
CN111274271A (en) | An information management device, method, electronic device and storage medium | |
CN114356991A (en) | Data query method, data aggregation method, device, equipment and medium | |
CN112953994B (en) | Data acquisition method, acquisition device, terminal equipment and readable storage medium | |
CN110716911A (en) | Data processing method and device, electronic equipment and storage medium | |
CN105813102B (en) | Automatic test system and method | |
CN114741261A (en) | A distributed link tracking method, apparatus, device and storage medium | |
CN104572145B (en) | File edition management method and system | |
CN110489326A (en) | HTTPAPI adjustment method device, medium and equipment based on IDS | |
CN117528736A (en) | Energy consumption limiting method, NEF network element, communication system and storage medium | |
CN110019136A (en) | Report generating system and report form generation method | |
CN110134670A (en) | Data storage method and device, electronic equipment and computer readable storage medium | |
CN115455056A (en) | Information retrieval method, device, equipment and storage medium | |
CN115757405A (en) | Data query method, device, equipment and storage medium | |
CN111966389B (en) | Dependency information processing method and device based on software service and electronic equipment | |
CN114036132A (en) | Object information processing method, device, storage medium and electronic device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200612 |