CN111966389A - Software service-based dependency information processing method and device and electronic equipment - Google Patents

Software service-based dependency information processing method and device and electronic equipment Download PDF

Info

Publication number
CN111966389A
CN111966389A CN202010900954.3A CN202010900954A CN111966389A CN 111966389 A CN111966389 A CN 111966389A CN 202010900954 A CN202010900954 A CN 202010900954A CN 111966389 A CN111966389 A CN 111966389A
Authority
CN
China
Prior art keywords
software service
dependency information
data processing
information
service
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
Application number
CN202010900954.3A
Other languages
Chinese (zh)
Inventor
马腾俊
田雪峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Absolute Health Ltd
Original Assignee
Beijing Absolute Health Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Absolute Health Ltd filed Critical Beijing Absolute Health Ltd
Priority to CN202010900954.3A priority Critical patent/CN111966389A/en
Publication of CN111966389A publication Critical patent/CN111966389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a method and a device for processing dependence information based on software service and electronic equipment, relates to the technical field of computers, and solves the technical problem of low convenience degree of checking the dependence information of the software service. The method comprises the following steps: acquiring a software service and dependency information corresponding to the software service; performing data processing through a remote server based on the software service and the dependency information to obtain a data processing result; and searching and displaying target dependent information corresponding to the target software service from the data processing results aiming at the target software service.

Description

Software service-based dependency information processing method and device and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing dependent information based on software services, and an electronic device.
Background
With the increase of the scale and complexity of the software system, the completion process of a certain software service in the software system often requires resource allocation for other software services. The software system stably provides diversified services and improves the efficiency of system design, development and update through combination and cooperation among different software services.
Meanwhile, the complicated dependence relationship in the system causes the software system to be easy to pull around to move the whole body. For example, a failure of a single software service can propagate rapidly through the software system, resulting in a large number of service failures, and the root cause of the failure is difficult to locate. As another example, upgrades and changes to a single software service may affect the proper operation of other software services, resulting in performance degradation or system failure. Therefore, the method can accurately find the dependence information in the software system, not only can timely position the root cause of the fault, effectively reduce the loss caused by the fault, ensure the stability of the service during the iterative update of the system, but also is beneficial to optimizing the deployment strategy of the service according to the service dependence in the system deployment process and reducing the response time of the service.
At present, the dependency information of the software service is relatively complicated, and the developer of the software system has low convenience for checking the dependency information of the software service.
Disclosure of Invention
The invention aims to provide a method and a device for processing dependence information based on software service and electronic equipment, so as to relieve the technical problem of low convenience in checking the dependence information of the software service.
In a first aspect, an embodiment of the present application provides a method for processing dependent information based on a software service, where the method includes:
acquiring a software service and dependency information corresponding to the software service;
performing data processing through a remote server based on the software service and the dependency information to obtain a data processing result;
and searching and displaying target dependent information corresponding to the target software service from the data processing results aiming at the target software service.
In one possible implementation, after the step of searching and presenting the target dependency information corresponding to the target software service from the plurality of data processing results for the target software service, the method further includes:
and if the dependent version in the target dependent information is lower than the preset version, triggering an alarm prompt of dependent upgrade.
In one possible implementation, the step of obtaining the software service and the dependency information corresponding to the software service includes:
and in the packaging process of the software service, acquiring the software service and the dependency information corresponding to the software service through a maven plug-in.
In one possible implementation, the dependency information includes mirror information of the software service and jar package information of a computer programming language service.
In a possible implementation, the step of performing data processing through a remote server based on the software service and the dependency information to obtain a data processing result includes:
performing information integration on the dependency information to obtain first dependency information after the information integration;
and performing data processing on the first dependency information through a remote server to obtain second dependency information after data processing.
In a possible implementation, the step of performing information integration on the dependency information to obtain first dependency information after the information integration includes:
and according to at least one of the dependency name, the dependency version, the service name, the service version and the service packaging time, performing information integration on the dependency information to obtain first dependency information after the information integration.
In a possible implementation, before the step of performing data processing on the first dependency information through the remote service end to obtain second dependency information after the data processing, the method further includes:
and calling a remote service interface, and sending the software service and the first dependency information to the remote service terminal.
In one possible implementation, the step of sending the software service and the first dependency information to the remote server includes:
and sending the software service and the first dependency information to the remote server through the httpclient.
In a possible implementation, the step of performing data processing on the first dependency information through a remote server to obtain second dependency information after data processing includes:
sending the first dependency information to a message queue through a remote server;
and performing data processing on the first dependency information by using the message queue to obtain second dependency information after data processing.
In a possible implementation, the step of performing data processing on the first dependency information by using the message queue to obtain second dependency information after the data processing includes:
and carrying out asynchronous data processing on the first dependency information by using the message queue to obtain second dependency information after asynchronous data processing.
In a possible implementation, after the step of performing data processing on the first dependency information through the remote service end to obtain second dependency information after the data processing, the method further includes:
storing the software service and the second dependency information in a database.
In one possible implementation, the step of searching for target dependency information corresponding to a target software service from a plurality of data processing results for the target software service includes:
and searching the specified software service and target second dependency information corresponding to the specified software service from the plurality of software services and the plurality of second dependency information in the database by using an elastic search engine aiming at the received specified software service.
In one possible implementation, the step of presenting the target dependency information corresponding to the target software service includes:
and displaying the specified software service and the target second dependency information through a visual interface.
In one possible implementation, the method further includes:
and searching second dependent information corresponding to the specified dependent information and a software service corresponding to the specified dependent information from the plurality of software services and the plurality of second dependent information in the database through an elastic search engine aiming at the received specified dependent information.
In one possible implementation, the specified dependency information includes a specified dependency version.
In one possible implementation, the method further includes:
and displaying second dependency information corresponding to the specified dependency information and software services corresponding to the specified dependency information through a visual interface.
In a second aspect, a dependent information processing apparatus based on software service is provided, including:
the acquisition module is used for acquiring software services and dependency information corresponding to the software services;
the processing module is used for processing data through a remote server based on the software service and the dependency information to obtain a data processing result;
and the searching module is used for searching and displaying target dependency information corresponding to the target software service from the data processing results aiming at the target software service.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the method of the first aspect when executing the computer program.
In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the application brings the following beneficial effects:
the method, the device and the electronic equipment for processing the dependency information based on the software service, which are provided by the embodiment of the application, can obtain the dependency information corresponding to the software service based on the acquired software service, the data processing result is obtained by the data processing of the remote server, and then the target dependent information corresponding to the target software service can be searched and displayed from the plurality of data processing results aiming at the target software service, by searching and displaying the target dependency information corresponding to the target software service from the collected and processed dependency information, developers can retrieve the service and the dependency information in real time conveniently, the retrieved service dependency information can be visualized, the convenience of software service dependency information inspection is improved, and the unified and effective management of the global service dependency information relieves the technical problem of low convenience in checking the dependency information of the software service.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings needed to be used in the detailed description of the present application or the prior art description will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a method for processing dependent information based on software services according to an embodiment of the present application;
FIG. 2 is another schematic flow chart of a method for processing dependent information based on software services according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a dependent information processing apparatus based on software services according to an embodiment of the present application;
fig. 4 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprising" and "having," and any variations thereof, as referred to in the embodiments of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, the dependency information of the software service is relatively complicated, and the developer of the software system has low convenience for checking the dependency information of the software service. The current environment lacks a system for uniformly managing global dependence and acquiring corresponding services through corresponding version dependence, when a certain dependent version has problems, the services containing the dependence are difficult to be rapidly checked, and corresponding loss is easily caused. Meanwhile, when pushing the corresponding dependency upgrade, the dependency conditions of all services also need to be mastered in time, so as to push the dependency upgrade in a targeted manner.
Based on this, the embodiments of the present application provide a method and an apparatus for processing dependent information based on a software service, and an electronic device, by which the technical problem of low convenience in checking the dependent information of the software service can be alleviated.
Embodiments of the present invention are further described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a dependent information processing method based on software services according to an embodiment of the present application. As shown in fig. 1, the method includes:
step S110, acquiring the software service and the dependency information corresponding to the software service.
It should be noted that the dependency information may be understood as a resource allocation situation for other services in response to completing a service request.
The software service and the dependency information corresponding to the software service can be mirror image information and jar package information of java service. For example, as shown in FIG. 2, the dependent information handling system may collect service dependent information jar packages and mirror information.
And step S120, performing data processing through the remote server based on the software service and the dependency information to obtain a data processing result.
In this step, the dependent information processing system may process the dependent information of the software service through the remote service end.
Step S130, searching and displaying target dependent information corresponding to the target software service from the plurality of data processing results aiming at the target software service.
The dependency information processing system searches and displays the target dependency information corresponding to the target software service from the plurality of collected and processed dependency information, so that developers can retrieve the service and the dependency information in real time, the retrieved service dependency information can be visualized, the convenience of software service dependency information check is improved, and the global service dependency information is effectively and uniformly managed.
The above steps are described in detail below.
In some embodiments, the dependent information handling system may also provide dynamic alerting functionality based on the dependent version to facilitate the promotion of dependent upgrades. As an example, after step S130, the method may further include the steps of:
step a), if the dependent version in the target dependent information is lower than the preset version, triggering an alarm prompt of dependent upgrade.
In practical application, when the version that the service depends on is lower than the specified version, an alarm mechanism can be triggered to remind the corresponding responsible person of performing the dependency upgrade. Meanwhile, when the corresponding dependency upgrade is promoted, the dependency conditions of all services can be mastered in time, so that the dependency upgrade promotion can be carried out in a targeted manner.
According to the embodiment of the application, the service can be queried according to the dependence of the corresponding version, the corresponding dependence version can be set, and the corresponding service responsible person is dynamically reminded of dependence upgrading. For example, when a certain dependent version has a problem, the service containing the dependency can be quickly checked out, and the corresponding loss is avoided.
In some embodiments, the dependency information handling system may perform collection of dependency information through service item packaging. As an example, the step S110 may include the following steps:
and b), acquiring the software service and the dependency information corresponding to the software service through the maven plug-in the packaging process of the software service.
The role of the maven plug-in is to execute some actions and behaviors in the process of building the project, for example, using the maven plug-in for executing the packing jar. In the embodiment of the application, as shown in fig. 2, the dependency information processing system can collect and acquire the dependency information of the corresponding service more quickly and efficiently through the script in the service item packaging process.
In some embodiments, the dependency information may include mirror information for software services and jar package information for computer programming language services. Illustratively, as shown in FIG. 2, the dependent information handling system may collect service dependent information jar packages and mirror information. By means of the mirror image information of the software service and jar package information of the computer programming language service, more comprehensive information about the software service and the dependency information thereof can be displayed in the subsequent data visualization interface display process.
In some embodiments, before the remote server performs data processing on the first dependency information, information integration may be performed on the dependency information. As an example, the step S120 may include the steps of:
step c), integrating the information of the dependency information to obtain first dependency information after information integration;
and d), performing data processing on the first dependency information through a remote server to obtain second dependency information after data processing.
By integrating the information of the dependent information and processing the integrated information by the remote server, the processed dependent information can be conveniently retrieved and inquired.
Based on the steps c) and d), the step c) may specifically include the following steps:
and according to at least one of the dependency name, the dependency version, the service name, the service version and the service packaging time, performing information integration on the dependency information to obtain first dependency information after the information integration.
In practical application, the dependent information processing system can integrate the dependent information according to the dependent name and the dependent version and by combining the service name, the service version, the service packaging time and the like. A remote service interface may also be called in a Continuous integration (ci) process, and as shown in fig. 2, the collected and information-integrated services and their dependency information are sent to the remote service for processing through an http client (a sub-project under the Apache Jakarta Common).
The integration of the dependency information and the processing of the integrated information by the remote server are carried out according to certain rules such as the dependency version, the service packaging time and the like, so that the processed dependency information is more convenient to retrieve and query.
Based on the steps c) and d), before the step d), the method may further include the steps of: and calling a remote service interface, and sending the software service and the first dependency information to the remote service terminal. The software service and the first dependency information can be sent to the remote server more quickly and efficiently by calling the remote service interface, and the remote server can conveniently perform data processing on the first dependency information.
Based on this, the step of sending the software service and the first dependency information to the remote server may include: and sending the software service and the first dependency information to the remote server through the httpclient.
Among other things, httpclient can be used to provide an efficient, up-to-date, feature-rich client programming toolkit that supports the HTTP protocol, and it supports up-to-date versions and recommendations of the HTTP protocol. The software service and the first dependency information can be sent to the remote server side more quickly, accurately and efficiently through the httpclient.
Based on the above steps c) and d), the dependent information processing system can utilize the message queue to implement the information-dependent data processing process, so as to reduce the server pressure. As an example, the step d) may include the steps of:
step e), the first dependency information is sent to a message queue through a remote server;
and f), carrying out data processing on the first dependency information by using the message queue to obtain second dependency information after data processing.
As shown in fig. 2, by introducing the message queue to perform corresponding data processing, processing and storing of the dependent information are facilitated, and simultaneous multi-service dependent transmission can be avoided. After the processing service receives the dependency information, the information is sent to the message queue first, so that the pressure of the server is reduced, and the efficiency of processing the dependency information is improved.
Based on the steps e) and f), the step f) may specifically include the steps of: and carrying out asynchronous data processing on the first dependency information by using the message queue to obtain second dependency information after asynchronous data processing. For example, as shown in fig. 2, after the message queue is introduced, processing and storing of corresponding data such as dependency information are asynchronously performed, so that simultaneous multi-service dependency transmission can be avoided, and the efficiency of asynchronously processing dependency messages can be improved.
In some embodiments, the dependent information processing system may also persist asynchronously processed dependent information, as shown in FIG. 2. As an example, after the step of the step d), the method may further include the steps of:
step g), storing the software service and the second dependency information in a database.
In the embodiment of the application, the dependent information processing system can persist the dependent information to a database (DB for short), so that the asynchronously processed dependent information can persist, and the dependent information is conveniently searched and queried from the persistent information.
Based on the step g), the dependent information processing system can also introduce an elastic search engine to improve the retrieval performance of the dependent information. As an example, the process of searching for the target dependency information corresponding to the target software service in step S130 may include the following steps:
and h), aiming at the received specified software service, searching the specified software service and target second dependency information corresponding to the specified software service from the plurality of software services and the plurality of second dependency information of the database through an elastic search engine.
For example, as shown in FIG. 2, a relying information processing system can synchronize the near-term data to an elastic search server. Meanwhile, the software service can be refreshed at regular time, and the dependence condition of different environment services can be detected.
It should be noted that the Elasticsearch is a search server, which provides a full text search engine with distributed multi-user capability. It can also be understood that the elastic search is an open-source, highly-extended, distributed full-text search engine that can store and retrieve data in near real-time.
Through the Elasticissearch search engine, the quick and efficient search of the dependent information corresponding to the software service can be supported.
Based on this, the process of presenting the target dependency information corresponding to the target software service in step S130 may include the following steps:
and i), displaying the specified software service and the target second dependency information through a visual interface.
In the embodiment of the application, the retrieved dependency information may be displayed in a plurality of different forms, for example, the retrieved dependency information may be displayed in a form, and the searched and viewed dependency information form is displayed through a visual interface, so as to be displayed to the corresponding service developer more clearly. And viewing of software service jar and mirror image information can be supported through a visual interface.
Based on the step g), the dependent information processing system can also support the back-check of the corresponding service through the dependent information. As an example, the method may further comprise the steps of:
and j), aiming at the received specified dependency information, searching second dependency information corresponding to the specified dependency information and software services corresponding to the specified dependency information from the plurality of software services and the plurality of second dependency information in the database through an elastic search engine.
By searching the second dependency information corresponding to the specified dependency information from the database, the function support of back checking corresponding services through the dependency information can be realized, the query process of workers is facilitated, and the processing process of the dependency information is more flexible.
Based on step j) above, wherein the specified dependency information comprises a specified dependent version. The check of the dependent version realizes the query of the corresponding service according to the dependent version without acquiring all the dependent information, thereby being more convenient for the query process of the corresponding software service.
Based on the step g), the reversely retrieved software service can also be displayed through a legal visualization interface. As an example, the method may further comprise the steps of:
and k), displaying the second dependency information corresponding to the specified dependency information and the software service corresponding to the specified dependency information through a visual interface.
Through the reverse query of the software service machine dependency information and the display of the query result, the service dependency information in more aspects can be checked and seen by workers.
Fig. 3 provides a schematic diagram of a software service-based dependent information processing apparatus. As shown in fig. 3, the software service-based dependent information processing apparatus 300 includes:
an obtaining module 301, configured to obtain a software service and dependency information corresponding to the software service;
a processing module 302, configured to perform data processing through a remote server based on the software service and the dependency information to obtain a data processing result;
the searching module 303 is configured to search for and display target dependency information corresponding to the target software service from the multiple data processing results for the target software service.
In some embodiments, the apparatus further comprises:
and the triggering module is used for triggering an alarm prompt of dependence upgrading if a dependence version in the target dependence information is lower than a preset version after target dependence information corresponding to the target software service is searched and displayed from a plurality of data processing results aiming at the target software service.
In some embodiments, the obtaining module 301 is specifically configured to:
and in the packaging process of the software service, acquiring the software service and the dependency information corresponding to the software service through a maven plug-in.
In some embodiments, the dependency information includes mirror information of the software service and jar package information of a computer programming language service.
In some embodiments, the processing module 302 is specifically configured to:
performing information integration on the dependency information to obtain first dependency information after the information integration;
and performing data processing on the first dependency information through a remote server to obtain second dependency information after data processing.
In some embodiments, the processing module 302 is further configured to:
and according to at least one of the dependency name, the dependency version, the service name, the service version and the service packaging time, performing information integration on the dependency information to obtain first dependency information after the information integration.
In some embodiments, the apparatus further comprises:
and the sending module is used for calling a remote service interface and sending the software service and the first dependency information to the remote service terminal.
In some embodiments, the sending module is specifically configured to:
and sending the software service and the first dependency information to the remote server through the httpclient.
In some embodiments, the processing module 302 is specifically configured to:
sending the first dependency information to a message queue through a remote server;
and performing data processing on the first dependency information by using the message queue to obtain second dependency information after data processing.
In some embodiments, the processing module 302 is further configured to:
and carrying out asynchronous data processing on the first dependency information by using the message queue to obtain second dependency information after asynchronous data processing.
In some embodiments, the apparatus further comprises:
a storage module to store the software service and the second dependency information in a database.
In some embodiments, the search module 303 is specifically configured to:
and searching the specified software service and target second dependency information corresponding to the specified software service from the plurality of software services and the plurality of second dependency information in the database by using an elastic search engine aiming at the received specified software service.
In some embodiments, the search module 303 is specifically configured to:
and displaying the specified software service and the target second dependency information through a visual interface.
In some embodiments, the search module 303 is further configured to:
and searching second dependent information corresponding to the specified dependent information and a software service corresponding to the specified dependent information from the plurality of software services and the plurality of second dependent information in the database through an elastic search engine aiming at the received specified dependent information.
In some embodiments, the specified dependency information includes a specified dependency version.
In some embodiments, the apparatus further comprises:
and the display module is used for displaying the second dependency information corresponding to the specified dependency information and the software service corresponding to the specified dependency information through a visual interface.
The dependent information processing device based on the software service provided by the embodiment of the application has the same technical characteristics as the dependent information processing method based on the software service provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
As shown in fig. 4, an electronic device 400 provided in an embodiment of the present application includes a memory 401 and a processor 402, where the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps of the method provided in the foregoing embodiment.
Referring to fig. 4, the electronic device further includes: a bus 403 and a communication interface 404, the processor 402, the communication interface 404 and the memory 401 being connected by the bus 403; the processor 402 is used to execute executable modules, such as computer programs, stored in the memory 401.
The Memory 401 may include a high-speed Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 404 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 403 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 401 is used for storing a program, and the processor 402 executes the program after receiving an execution instruction, and the method performed by the apparatus defined by the process disclosed in any of the foregoing embodiments of the present application may be applied to the processor 402, or implemented by the processor 402.
The processor 402 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 402. The Processor 402 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 401, and the processor 402 reads the information in the memory 401 and completes the steps of the method in combination with the hardware.
Corresponding to the above dependent information processing method based on the software service, an embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the steps of the above dependent information processing method based on the software service.
The software service-based dependent information processing apparatus provided in the embodiment of the present application may be specific hardware on a device, or software or firmware installed on a device, or the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
For another example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the dependent information processing method based on a software service according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the scope of the embodiments of the present application. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing dependent information based on software service, the method comprising:
acquiring a software service and dependency information corresponding to the software service;
performing data processing through a remote server based on the software service and the dependency information to obtain a data processing result;
and searching and displaying target dependent information corresponding to the target software service from the data processing results aiming at the target software service.
2. The method for processing the dependency information based on the software service according to claim 1, wherein after the step of searching and presenting the target dependency information corresponding to the target software service from the plurality of data processing results for the target software service, the method further comprises:
and if the dependent version in the target dependent information is lower than the preset version, triggering an alarm prompt of dependent upgrade.
3. The method for processing the dependency information based on the software service according to claim 1, wherein the step of obtaining the software service and the dependency information corresponding to the software service comprises:
and in the packaging process of the software service, acquiring the software service and the dependency information corresponding to the software service through a maven plug-in.
4. The method for processing the dependency information based on the software service according to claim 1, wherein the step of performing data processing through a remote server based on the software service and the dependency information to obtain a data processing result comprises:
performing information integration on the dependency information to obtain first dependency information after the information integration;
and performing data processing on the first dependency information through a remote server to obtain second dependency information after data processing.
5. The method for processing the dependency information based on the software service according to claim 4, wherein the step of performing data processing on the first dependency information through a remote service end to obtain second dependency information after data processing comprises:
sending the first dependency information to a message queue through a remote server;
and performing data processing on the first dependency information by using the message queue to obtain second dependency information after data processing.
6. The method for processing the dependency information based on the software service according to claim 4 or 5, wherein after the step of performing data processing on the first dependency information through the remote service end to obtain the second dependency information after the data processing, the method further comprises:
storing the software service and the second dependency information in a database.
7. The method according to claim 6, wherein the step of searching for target dependency information corresponding to the target software service from the plurality of data processing results for the target software service comprises:
and searching the specified software service and target second dependency information corresponding to the specified software service from the plurality of software services and the plurality of second dependency information in the database by using an elastic search engine aiming at the received specified software service.
8. A dependent information processing apparatus based on a software service, comprising:
the acquisition module is used for acquiring software services and dependency information corresponding to the software services;
the processing module is used for processing data through a remote server based on the software service and the dependency information to obtain a data processing result;
and the searching module is used for searching and displaying target dependency information corresponding to the target software service from the data processing results aiming at the target software service.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium having stored thereon computer executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 7.
CN202010900954.3A 2020-08-31 2020-08-31 Software service-based dependency information processing method and device and electronic equipment Pending CN111966389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010900954.3A CN111966389A (en) 2020-08-31 2020-08-31 Software service-based dependency information processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010900954.3A CN111966389A (en) 2020-08-31 2020-08-31 Software service-based dependency information processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111966389A true CN111966389A (en) 2020-11-20

Family

ID=73399509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010900954.3A Pending CN111966389A (en) 2020-08-31 2020-08-31 Software service-based dependency information processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111966389A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145499A1 (en) * 2009-12-16 2011-06-16 International Business Machines Corporation Asynchronous file operations in a scalable multi-node file system cache for a remote cluster file system
US20140207846A1 (en) * 2013-01-23 2014-07-24 International Business Machines Corporation Client-side aggregation of nested resource dependencies
CN108153547A (en) * 2017-12-26 2018-06-12 泰康保险集团股份有限公司 Method for edition management, device, medium and the electronic equipment of micro services
CN110442376A (en) * 2019-07-19 2019-11-12 精硕科技(北京)股份有限公司 A kind of method and device for realizing Software package
CN110704061A (en) * 2017-12-26 2020-01-17 杭州数梦工场科技有限公司 Operation method and device for deploying delivery part based on micro-service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145499A1 (en) * 2009-12-16 2011-06-16 International Business Machines Corporation Asynchronous file operations in a scalable multi-node file system cache for a remote cluster file system
US20140207846A1 (en) * 2013-01-23 2014-07-24 International Business Machines Corporation Client-side aggregation of nested resource dependencies
CN108153547A (en) * 2017-12-26 2018-06-12 泰康保险集团股份有限公司 Method for edition management, device, medium and the electronic equipment of micro services
CN110704061A (en) * 2017-12-26 2020-01-17 杭州数梦工场科技有限公司 Operation method and device for deploying delivery part based on micro-service
CN110442376A (en) * 2019-07-19 2019-11-12 精硕科技(北京)股份有限公司 A kind of method and device for realizing Software package

Similar Documents

Publication Publication Date Title
US10684934B2 (en) Measuring mobile application program reliability across multiple operating systems
US11586697B2 (en) Publishing rest API changes based on subscriber's customized request
CN108521353B (en) Processing method and device for positioning performance bottleneck and readable storage medium
CN103078945B (en) To the method and system that browser crash data processes
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN113268500B (en) Service processing method and device and electronic equipment
CN111046311A (en) Method and device for realizing traceless iteration version of PC (personal computer) end, computer equipment and storage medium
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
CN111737137A (en) Interface test data generation method and device, host and storage medium
CN111309743A (en) Report pushing method and device
CN114090608A (en) Data report generation method and device
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN111694708A (en) Data query method and device, electronic equipment and storage medium
CN114153703A (en) Micro-service exception positioning method and device, electronic equipment and program product
CN113656107A (en) Mobile application loading method and device and electronic equipment
CN111382259A (en) Analysis method and device for APP crash logs
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN106383869B (en) Method and device for acquiring user behavior information
CN111966389A (en) Software service-based dependency information processing method and device and electronic equipment
CN111814041A (en) NPM package recommendation method and device, storage medium and computer equipment
CN109408544B (en) Data aggregation method and device based on engine, storage medium and server
CN111651314A (en) Cloud-based Promethus rule file management method and device
CN106776597B (en) Structured data downloading method and device
CN114866517A (en) Installation file execution method and device and storage medium
CN112732710A (en) Data processing method and device and electronic equipment

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
CB02 Change of applicant information

Address after: 100102 201, 2 / F, block C, No.2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant after: Beijing Shuidi Technology Group Co.,Ltd.

Address before: 100102 201, 2 / F, block C, No.2 lizezhong 2nd Road, Chaoyang District, Beijing

Applicant before: Beijing Health Home Technology Co.,Ltd.

CB02 Change of applicant information