CN112988190B - Application online method, device, computer equipment and storage medium - Google Patents

Application online method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112988190B
CN112988190B CN202110268799.2A CN202110268799A CN112988190B CN 112988190 B CN112988190 B CN 112988190B CN 202110268799 A CN202110268799 A CN 202110268799A CN 112988190 B CN112988190 B CN 112988190B
Authority
CN
China
Prior art keywords
online
service module
module
dependency
modules
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.)
Active
Application number
CN202110268799.2A
Other languages
Chinese (zh)
Other versions
CN112988190A (en
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110268799.2A priority Critical patent/CN112988190B/en
Publication of CN112988190A publication Critical patent/CN112988190A/en
Application granted granted Critical
Publication of CN112988190B publication Critical patent/CN112988190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/101Collaborative creation, e.g. joint development of products or services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to an application online method, an application online device, computer equipment and a storage medium. The method comprises the following steps: acquiring a dependency graph, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules; acquiring an online application, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module; generating a top line graph spectrum corresponding to each service module according to the dependency graph; and enabling each service module to be on line in sequence according to the dependency relationship between each service module in the on-line map. Based on the method, the dependency relationship among the service modules is determined, so that the service modules are online according to the dependency relationship among the service modules, the correctness of the online sequence of the service modules is ensured, and the online fault caused by missing service modules or incorrect online sequence of the service modules is avoided.

Description

Application online method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an application online method, an application online device, a computer device, and a storage medium.
Background
At present, the service of the back end of the application is micro-servitization, a plurality of related service modules are arranged at the back end of the application, different service modules are maintained by different departments, and each service module has an interdependence relationship, but back end developers are directly connected with the service modules which are respectively responsible for maintenance, and the connection faults are easy to generate without considering various dependence conditions among the service modules.
Disclosure of Invention
In order to solve the technical problems, the application provides an application online method, an application online device, computer equipment and a storage medium.
In a first aspect, the present application provides an application online method, including:
acquiring a dependency graph, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules;
acquiring an online application, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module;
generating a top line graph spectrum corresponding to each service module according to the dependency graph;
and enabling each service module to be on line in sequence according to the dependency relationship between each service module in the on-line map.
Optionally, according to the dependency relationship between the service modules in the online map, the enabling the service modules to be online sequentially includes:
determining a front service module and a rear service module of the current service module according to the dependency relationship among the service modules in the online map;
acquiring the status of the upper line of each front-end service module, wherein the status of the upper line comprises the upper line and the lower line;
when a front-end service module with an online state being not online exists and the front-end service module with the online state being online exists, the current service module enters a state to be online;
when the on-line state of each front-end service module is on-line, the current service module is updated according to the on-line result of each front-end service module to obtain the current on-line module,
and the current online module is online.
Optionally, after the online the current online module, the method further includes:
when the current service module is online, changing the online state of the current service module into online state, wherein the online state of the current service module is used for updating the post service module, or enabling the post service module to enter the to-be-online state.
Optionally, after the obtaining the up status of each pre-service module, the method further includes:
when the front-end service module with the online state being not online exists, adding the front-end service module not online into a reminding list, and starting timing;
when the time length is longer than or equal to the preset time length, acquiring the online state of each front-end service module in the reminding list;
when the front-end service module with the online state in the reminding list is online, the front-end service module with the online state in the reminding list is removed,
when the front-end service module with the non-online state exists in the reminding list, a reminding signal is generated, the reminding signal is used for reminding the front-end service module with the non-online state in the reminding list to be online,
and when the front-end service modules with the offline online states do not exist in the reminding list, executing the step of updating the current service module according to the online results of the front-end service modules.
Optionally, the online graph includes a plurality of display nodes, the display nodes are in one-to-one correspondence with the service modules, and after each service module is online in turn, the method further includes:
acquiring the online state of each service module;
and updating the display state of each display node in the online map according to the online state of each service module.
Optionally, the online application carries a corresponding application number, the online status includes online status and offline status, and after the online status of each service module is obtained, the method further includes:
and when the service module corresponding to the application number does not exist, generating an online completion signal.
Optionally, after the acquiring the dependency graph, the method further includes:
acquiring a change instruction;
and modifying the dependency relationship between the dependency modules in the dependency graph and/or each dependency module according to the modification instruction to obtain an updated dependency graph, wherein the updated dependency graph is used for executing the step of obtaining an online graph corresponding to the online application.
In a second aspect, the present application provides an application online device, including:
the system comprises an atlas acquisition module, a dependency atlas acquisition module and a dependency analysis module, wherein the atlas acquisition module is used for acquiring a dependency atlas, and the dependency atlas comprises a plurality of dependency modules and dependency relations among the dependency modules;
the system comprises an application acquisition module, a management module and a management module, wherein the application acquisition module is used for acquiring an online application, the online application comprises a plurality of service modules, and the service modules are any relying modules;
the map generation module is used for generating a line-drawing map corresponding to each service module according to the dependency maps;
and the online module is used for enabling the service modules to be online in sequence according to the dependency relationship among the service modules in the online map.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
acquiring a dependency graph, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules;
acquiring an online application, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module;
generating a top line graph spectrum corresponding to each service module according to the dependency graph;
and enabling each service module to be on line in sequence according to the dependency relationship between each service module in the on-line map.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a dependency graph, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules;
acquiring an online application, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module;
generating a top line graph spectrum corresponding to each service module according to the dependency graph;
and enabling each service module to be on line in sequence according to the dependency relationship between each service module in the on-line map.
The application online method, the device, the computer equipment and the storage medium, wherein the method comprises the following steps: acquiring a dependency graph, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules; acquiring an online application, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module; generating a top line graph spectrum corresponding to each service module according to the dependency graph; and enabling each service module to be on line in sequence according to the dependency relationship between each service module in the on-line map. Based on the method, the dependency relationship among the service modules is determined, so that the service modules are online according to the dependency relationship among the service modules, the correctness of the online sequence of the service modules is ensured, and the online fault caused by missing service modules or incorrect online sequence of the service modules is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart of an embodiment of an online method;
FIG. 2 is a schematic diagram of an upper line map;
FIG. 3 is a schematic diagram of a data storage table;
FIG. 4 is a schematic diagram of a data storage table;
FIG. 5 is a schematic diagram of a data storage table;
FIG. 6 is a schematic diagram of a data storage table;
FIG. 7 is a schematic diagram of a data storage table;
FIG. 8 is a block diagram of an embodiment of an application online device;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In one embodiment, fig. 1 is a schematic flow chart of an application online method in one embodiment, and referring to fig. 1, an application online method is provided, and the embodiment is mainly illustrated by applying the method to a server, where the application online method specifically includes the following steps:
step S110, a dependency graph is obtained, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules.
Specifically, the dependency graph is a knowledge graph generated based on all-link monitoring data, namely, the knowledge graph formed according to the existing multiple dependency modules and the dependency relations among the dependency modules, has universality and is suitable for most of application back-end online scenes. The dependency relationship between the dependent modules is an influence relationship between parameters of the dependent modules, for example, the output parameters of the a-dependent module influence the input parameters of the B-dependent module, and the B-dependent module depends on the a-dependent module.
Step S120, an online application is acquired, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module.
Specifically, the online application is an application for constructing an application, and the online application includes a plurality of service modules for realizing the application function, that is, the application is formed by combining a plurality of service modules, different applications select service modules with different functions to be combined, and the service modules can be any existing dependent module, that is, different applications are formed by combining different dependent modules.
And step S130, generating an online map corresponding to each service module according to the dependency maps.
Specifically, based on the dependency graph, the dependency modules corresponding to the service modules one by one are screened, the dependency relationship among the service modules is determined according to the screened dependency relationship among the service modules, a corresponding online graph is generated based on the service modules and the dependency relationship among the service modules, the online graph is formed by connecting a plurality of module nodes, each module node corresponds to one service module, and the online progress and the dependency relationship of the service modules are known according to the display condition of each module node in the online graph, so that the communication cost among online service personnel is reduced.
And step 140, according to the dependency relationship between the service modules in the online map, enabling the service modules to be online in sequence.
Specifically, according to the dependency relationship between each service module in the online map, the online sequence of each service module is determined, and each service module is sequentially online according to the corresponding online sequence, so that the online correctness of each service module is ensured, and online faults caused by missing service modules or disordered online sequences of each service module are avoided.
For example, if the C service module depends on the D service module, the order of the D service module is prioritized over the C service module, and when the D service module is online, the C service module is modified according to the result of the D service module online, and the C service module after the D service module is online modified.
If a plurality of initial online service modules exist, the initial online service modules are used as initial online modules, each initial online module can synchronously online, and the online sequence can be randomly set among the initial online modules. For example, the C service module depends on the D service module, and the C service module also depends on the E service module, where the D service module and the E service module are initial online modules in the online map, and the D service module and the E service module may be online synchronously, or the D service module may be online before the E service module, or the E service module may be online before the D service module, and only after the D service module and the E service module are online, the C service module is modified according to the online results of the D service module and the E service module, and then the modified C service module is online.
In one embodiment, the enabling each service module to be on line in turn according to the dependency relationship between each service module in the on-line map includes: determining a front service module and a rear service module of the current service module according to the dependency relationship among the service modules in the online map; acquiring the status of the upper line of each front-end service module, wherein the status of the upper line comprises the upper line and the lower line; when a front-end service module with an online state being not online exists and the front-end service module with the online state being online exists, the current service module enters a state to be online; and when the online state of each front service module is online, updating the current service module according to the online result of each front service module to obtain a current online module, and uploading the current online module.
Specifically, the current service module is any service module in the online map, the position of the current service module is determined according to the online map, the front service module and the rear service module of the current service module, the front service module is the service module affecting the current service module, and the rear service module is the service module affected by the current service module. If the current service module is the initial online module, the front service module of the current service module is empty; if the current service module is the ending online module, the post service module of the current service module is empty, and the ending online module is a service module positioned at an ending node in the online graph spectrum.
The method comprises the steps that a current service module acquires the online state of a front service module associated with the current service module in real time, when the online state of any front service module is acquired as online, and when a front service module which is not online exists, the current service module enters the state to be online, the state to be online is used for updating the display state of the current service module and the front service module in an online map, and the display state of a connecting line between the front service module which is online and the current service module is updated according to the state to be online, for example, if the online state of a first front service module is online, the current service module enters the state to be online, and in the online map, the connecting line between the first front service module and the current service module is in a highlight state, so that a business person can learn about to be online; when all the front-end service modules associated with the current service module are online, modifying parameters in the current service module according to the online results of the front-end service modules to obtain the current online module, and online the modified current online module.
In one embodiment, after the current online module is online, the method further comprises: when the current service module is online, changing the online state of the current service module into online state, wherein the online state of the current service module is used for updating the post service module, or enabling the post service module to enter the to-be-online state.
Specifically, after the current service module is online, changing the online state of the current service module into the online state, and sending the online state of the current service module to the post-service module, if the post-service module is only associated with the current service module, or the current service module is the last online service module in the pre-service modules associated with the post-service modules, the online state of the current service module enables the post-service module to update and modify, and the post-service module after the online update is implemented, that is, the post-service module of the current service module is used as a new current service module to execute the step method in the previous embodiment.
In one embodiment, after the obtaining the up status of each of the front-end service modules, the method further includes: when the front-end service module with the online state being not online exists, adding the front-end service module not online into a reminding list, and starting timing; when the time length is longer than or equal to the preset time length, acquiring the online state of each front-end service module in the reminding list; and when the front-end service modules with the online states are online in the reminding list, removing the front-end service modules with the online states in the reminding list, when the front-end service modules with the online states are not online in the reminding list, generating a reminding signal, wherein the reminding signal is used for reminding the front-end service modules with the offline states in the reminding list to be online, and when the front-end service modules with the offline states in the reminding list are not online, executing the step of updating the current service module according to the online results of the front-end service modules.
Specifically, when the front-end service module which is not on line is added into a preset time after the reminding list, removing the reminding list from the front-end service module which is on line, judging whether the front-end service module which is not on line exists in the reminding list at the moment, if the front-end service module which is not on line does not exist in the reminding list at the moment, executing the steps of enabling the current service module to be modified according to the on line results of all the front-end service modules, and enabling the current service module after the on line modification; if the front-end service module which is not on line still exists in the reminding list at this time, a corresponding reminding signal is generated according to the front-end service module in the reminding list, and the reminding signal is used for reminding the front-end service module to be on line as soon as possible, so that business personnel corresponding to the front-end service module which is not on line are prevented from forgetting to record the on line, and the on-line application process is facilitated to be propelled.
In one embodiment, the online graph includes a plurality of display nodes, the display nodes are in one-to-one correspondence with the service modules, and after each service module is online in turn, the method further includes: acquiring the online state of each service module; and updating the display state of each display node in the online map according to the online state of each service module.
Specifically, each display node in the online map corresponds to one service module, each display node is sequentially connected through a connecting wire, and according to the online state of each service module, the display state of each display node in the online map and the display state of the connecting wire between each display node are updated in real time, for example, if the online state of the current service module is updated from offline to online, the display state of the display node corresponding to the current service module in the online map is made to be a highlight state, and the connecting wire between the current service module and the rear service module is made to be a highlight state, so that the online progress of each service module is completely displayed in this way, and the communication cost between service personnel corresponding to each service module is reduced.
In an embodiment, the online application carries a corresponding application number, the online status includes online status and offline status, and after the online status of each service module is obtained, the method further includes: and when the service module corresponding to the application number does not exist, generating an online completion signal.
Specifically, each online application corresponds to an application number, the application numbers are used for distinguishing different online applications, the online states of all service modules corresponding to the application numbers are obtained, if all service modules corresponding to the application numbers are online, an online completion signal corresponding to the application numbers is generated, and business personnel corresponding to each service module are informed of accurately and reliably completing the online of the application corresponding to the online application by the online completion signal.
In one embodiment, after the acquiring the dependency graph, the method further comprises: acquiring a change instruction; and modifying the dependency relationship between the dependency modules in the dependency graph and/or each dependency module according to the modification instruction to obtain an updated dependency graph, wherein the updated dependency graph is used for executing the step of obtaining an online graph corresponding to the online application.
Specifically, although the dependency graph is suitable for most of the application back-end online scenes, the dependency module can be updated according to the change instruction under the personalized customization scene of the service module, so that the updated dependency graph is obtained. The dependency modules can be newly added, deleted and modified according to the change instruction, and/or the dependency relationship among the dependency modules can be modified according to the change instruction, so that personalized updating of the dependency graph is realized, and basic support is provided for the online of the follow-up service module.
In a specific embodiment, fig. 2 is a schematic structural diagram of an uplink map, in which a, b, c, d, e is a module node, and corresponds to a service module respectively, an uplink sequence is obtained according to the uplink map, that is, a or b > c > d, b > e, and the uplink sequence between a and b can be customized, fig. 3 is a schematic data storage table, that is, fig. 3 shows that data is stored in a table manner, and the data storage table is automatically generated according to the uplink map, where the data storage table includes an application number, a name of each module node, a front node and a rear node of each module node, and an uplink state of each module node, where the application number corresponds to the uplink application number in fig. 3, each front node corresponds to a front service module, each rear node corresponds to a rear service module, and obtains the uplink state of each service module, updating the data storage table according to the up state of each service module, referring to fig. 4, updating the data storage table according to the up state of the a module, updating the up state of the a module to be up in fig. 4, but when the up state of the b module is not up, the c module enters the to-be-up state, referring to fig. 5, when the up state of the b module is updated to be up, updating the data in the c module according to the up states of the a module and the b module, updating the data in the e module according to the up states of the b module, and updating the data storage table according to the up states of the c module and the e module, obtaining the table data shown in fig. 6, updating the data in the d module according to the up states of the c module, and updating the data storage table according to the up states of the d module, and obtaining the table data shown in fig. 7, and when the online state of all the service modules corresponding to the online application form numbers is online, indicating that the application corresponding to the online application form numbers is online. And each service module is on line according to the on-line sequence corresponding to the on-line chart, so that the on-line accuracy of each service module is ensured, and on-line faults caused by missed on-line service modules or disordered on-line sequence of each service module are avoided. And updating the display state of the online map according to the data in the data storage table, so that service personnel can clearly know the online progress of the service modules, and the communication cost between the service personnel corresponding to each service module is reduced.
FIG. 1 is a flow chart of an embodiment of an online method. It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In one embodiment, as shown in fig. 8, there is provided an application online device, including:
a graph acquisition module 210, configured to acquire a dependency graph, where the dependency graph includes a plurality of dependency modules and dependency relationships among the dependency modules;
the application acquisition module 220 is configured to acquire an online application, where the online application includes a plurality of service modules, and the service modules are any one of the relying modules;
the map generating module 230 is configured to generate a top-line map corresponding to each service module according to the dependency maps;
and the online module 240 is configured to enable each service module to be online in sequence according to the dependency relationship between each service module in the online map.
In one embodiment, the on-line module 240 includes:
the module determining unit is used for determining a front service module and a rear service module of the current service module according to the dependency relationship among the service modules in the online map;
the first state acquisition unit is used for acquiring the upper state of each front-end service module, wherein the upper state comprises an upper line and an upper line which are not on;
the system comprises a to-be-online unit, a service module management unit and a service module management unit, wherein the to-be-online unit is used for entering a to-be-online state when a pre-service module with an online state being not online exists and the pre-service module with the online state being online exists;
a module updating unit, configured to update the current service module according to the online result of each of the front service modules to obtain a current online module 240 when the online status of each of the front service modules is online,
and an online unit, configured to online the current online module 240.
In one embodiment, the online module 240 further includes:
and the state changing unit is used for changing the online state of the current service module into the online state when the online of the current service module is completed, wherein the online state of the current service module is used for updating the post service module or enabling the post service module to enter the to-be-online state.
In one embodiment, the online module 240 further includes:
the reminding adding unit is used for adding the front-end service module which is not on line into a reminding list and starting timing when the front-end service module which is not on line exists;
the second state acquisition unit is used for acquiring the online state of each front service module in the reminding list when the time length is greater than or equal to the preset time length;
a removing unit, configured to remove a front-end service module with an online status in the alert list when the front-end service module with an online status in the alert list exists,
a reminding unit for generating a reminding signal for reminding the front-end service module which is not on line in the reminding list to be on line when the front-end service module which is not on line exists in the reminding list,
and the online execution unit is used for executing the step of updating the current service module according to the online results of the front service modules when the front service modules with the online states not being online do not exist in the reminding list.
In one embodiment, the upper line graph includes a plurality of display nodes, the display nodes are in one-to-one correspondence with the service modules, and the apparatus further includes:
the state monitoring module is used for acquiring the online state of each service module;
and the display updating module is used for updating the display state of each display node in the online map according to the online state of each service module.
In one embodiment, the online application carries a corresponding application number, the online application includes online and offline, and the apparatus further includes:
and the completion signal generation module is used for generating an online completion signal when the service module with the online state not being online does not exist in the service modules corresponding to the application numbers.
In one embodiment, the apparatus further comprises:
the instruction acquisition module is used for acquiring a change instruction;
and the map updating module is used for modifying the dependency relationship between the dependency modules in the dependency maps and/or each dependency module according to the modification instruction to obtain updated dependency maps, and the updated dependency maps are used for executing the step of obtaining the online maps corresponding to the online application.
FIG. 9 illustrates an internal block diagram of a computer device in one embodiment. The computer device may in particular be a server. As shown in fig. 9, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by a processor, causes the processor to implement an application-on-line method. The internal memory may also store a computer program that, when executed by the processor, causes the processor to perform an application-based on-line method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 9 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, the application online device provided by the present application may be implemented in the form of a computer program, which may be executed on a computer device as shown in fig. 9. The memory of the computer device may store various program modules that make up the application online device, such as the profile acquisition module 210, the application acquisition module 220, the profile generation module 230, and the online module 240 shown in fig. 8. The computer program of each program module causes the processor to carry out the steps in the method for applying an online method of each embodiment of the present application described in the present specification.
The computer apparatus shown in fig. 9 may perform acquisition of a dependency graph including a plurality of dependency modules and a dependency relationship between each of the dependency modules by the graph acquisition module 210 in the application online apparatus as shown in fig. 8. The computer device may execute the online application through the application obtaining module 220, where the online application includes a plurality of service modules, and the service modules are any one of the relying modules. The computer device may perform generating an online graph corresponding to each of the service modules according to the dependency graph through the graph generating module 230. The computer device may execute, via the online module 240, to enable each of the service modules to be online in sequence according to the dependency relationship between each of the service modules in the online map.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of the above embodiments when the computer program is executed.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements a method as described in any of the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program, which may be stored on a non-transitory computer readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a specific embodiment of the application to enable those skilled in the art to understand or practice the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. An application online method, the method comprising:
acquiring a dependency graph, wherein the dependency graph comprises a plurality of dependency modules and dependency relations among the dependency modules;
acquiring an online application, wherein the online application comprises a plurality of service modules, and the service modules are any one dependent module;
generating a top line graph spectrum corresponding to each service module according to the dependency graph;
according to the dependency relationship between the service modules in the online map, enabling the service modules to be online in sequence;
according to the dependency relationship between the service modules in the online map, enabling the service modules to be online in sequence, including:
determining a front service module and a rear service module of the current service module according to the dependency relationship among the service modules in the online map;
acquiring the status of the upper line of each front-end service module, wherein the status of the upper line comprises the upper line and the lower line;
when a front-end service module with an online state being not online exists and the front-end service module with the online state being online exists, the current service module enters a state to be online;
when the on-line state of each front-end service module is on-line, the current service module is updated according to the on-line result of each front-end service module to obtain the current on-line module,
the current online module is online;
after the obtaining the up status of each pre-service module, the method further includes:
when the front-end service module with the online state being not online exists, adding the front-end service module not online into a reminding list, and starting timing;
when the time length is longer than or equal to the preset time length, acquiring the online state of each front-end service module in the reminding list;
when the front-end service module with the online state in the reminding list is online, the front-end service module with the online state in the reminding list is removed,
when the front-end service module with the non-online state exists in the reminding list, a reminding signal is generated, the reminding signal is used for reminding the front-end service module with the non-online state in the reminding list to be online,
and when the front-end service modules with the offline online states do not exist in the reminding list, executing the step of updating the current service module according to the online results of the front-end service modules.
2. The method of claim 1, wherein after the current online module is online, the method further comprises:
when the current service module is online, changing the online state of the current service module into online state, wherein the online state of the current service module is used for updating the post service module, or enabling the post service module to enter the to-be-online state.
3. The method of claim 1, wherein the up-line graph includes a plurality of display nodes, the display nodes being in one-to-one correspondence with the service modules, the method further comprising, after the service modules are sequentially on-line:
acquiring the online state of each service module;
and updating the display state of each display node in the online map according to the online state of each service module.
4. The method of claim 3, wherein the online application carries a corresponding application number, the online application includes online and offline, and the method further comprises, after the obtaining the online status of each service module:
and when the service module corresponding to the application number does not exist, generating an online completion signal.
5. The method of claim 1, wherein after the obtaining the dependency graph, the method further comprises:
acquiring a change instruction;
and modifying the dependency relationship between the dependency modules in the dependency graph and/or each dependency module according to the modification instruction to obtain an updated dependency graph, wherein the updated dependency graph is used for executing the step of obtaining an online graph corresponding to the online application.
6. An application online device, the device comprising:
the system comprises an atlas acquisition module, a dependency atlas acquisition module and a dependency analysis module, wherein the atlas acquisition module is used for acquiring a dependency atlas, and the dependency atlas comprises a plurality of dependency modules and dependency relations among the dependency modules;
the system comprises an application acquisition module, a management module and a management module, wherein the application acquisition module is used for acquiring an online application, the online application comprises a plurality of service modules, and the service modules are any relying modules;
the map generation module is used for generating a line-drawing map corresponding to each service module according to the dependency maps;
the online module is used for enabling the service modules to be online in sequence according to the dependency relationship among the service modules in the online map;
the online module is further configured to:
determining a front service module and a rear service module of the current service module according to the dependency relationship among the service modules in the online map;
acquiring the status of the upper line of each front-end service module, wherein the status of the upper line comprises the upper line and the lower line;
when a front-end service module with an online state being not online exists and the front-end service module with the online state being online exists, the current service module enters a state to be online;
when the on-line state of each front-end service module is on-line, the current service module is updated according to the on-line result of each front-end service module to obtain the current on-line module,
the current online module is online;
after the online status of each front-end service module is obtained, the online module is further configured to:
when the front-end service module with the online state being not online exists, adding the front-end service module not online into a reminding list, and starting timing;
when the time length is longer than or equal to the preset time length, acquiring the online state of each front-end service module in the reminding list;
when the front-end service module with the online state in the reminding list is online, the front-end service module with the online state in the reminding list is removed,
when the front-end service module with the non-online state exists in the reminding list, a reminding signal is generated, the reminding signal is used for reminding the front-end service module with the non-online state in the reminding list to be online,
and when the front-end service modules with the offline online states do not exist in the reminding list, executing the step of updating the current service module according to the online results of the front-end service modules.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 5 when the computer program is executed by the processor.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 5.
CN202110268799.2A 2021-03-12 2021-03-12 Application online method, device, computer equipment and storage medium Active CN112988190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110268799.2A CN112988190B (en) 2021-03-12 2021-03-12 Application online method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110268799.2A CN112988190B (en) 2021-03-12 2021-03-12 Application online method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112988190A CN112988190A (en) 2021-06-18
CN112988190B true CN112988190B (en) 2023-09-05

Family

ID=76336499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110268799.2A Active CN112988190B (en) 2021-03-12 2021-03-12 Application online method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112988190B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870771A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Application builds and upgrade method and system
CN110941446A (en) * 2019-11-06 2020-03-31 苏宁云计算有限公司 Version release method and device based on multi-environment offline task
CN111158730A (en) * 2019-12-31 2020-05-15 北京奇艺世纪科技有限公司 System updating method and device, electronic equipment and readable storage medium
CN111930448A (en) * 2020-09-23 2020-11-13 南京梦饷网络科技有限公司 Method, electronic device, and storage medium for service distribution

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080301669A1 (en) * 2007-05-30 2008-12-04 Google Inc. Dynamically Self-Updating by a Software Application on a Device
US9477497B2 (en) * 2008-09-26 2016-10-25 Juniper Networks, Inc. Methods for determining resource dependency and systems thereof
IL216647A (en) * 2011-11-28 2014-11-30 Meir Peretz Baron Business service management system
US20170344363A1 (en) * 2016-05-26 2017-11-30 Linkedin Corporation Dependency management
US10691577B2 (en) * 2017-03-03 2020-06-23 Snyk Limited Identifying flawed dependencies in deployed applications
JP2020201719A (en) * 2019-06-10 2020-12-17 キヤノン株式会社 Information processing apparatus and method for controlling same, and program therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870771A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Application builds and upgrade method and system
CN110941446A (en) * 2019-11-06 2020-03-31 苏宁云计算有限公司 Version release method and device based on multi-environment offline task
CN111158730A (en) * 2019-12-31 2020-05-15 北京奇艺世纪科技有限公司 System updating method and device, electronic equipment and readable storage medium
CN111930448A (en) * 2020-09-23 2020-11-13 南京梦饷网络科技有限公司 Method, electronic device, and storage medium for service distribution

Also Published As

Publication number Publication date
CN112988190A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN108959059B (en) Test method and test platform
CN113515453B (en) Webpage testing system
CN113448862B (en) Software version testing method and device and computer equipment
CN111949607B (en) Method, system and device for monitoring UDT file
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN111290951A (en) Test method, terminal, server, system and storage medium
CN108399125B (en) Automatic testing method and device, computer equipment and storage medium
CN112988190B (en) Application online method, device, computer equipment and storage medium
CN117290236A (en) Software testing method, device, computer equipment and computer readable storage medium
JP2017016507A (en) Test management system and program
CN115098362B (en) Page test method, page test device, electronic equipment and storage medium
CN116662197A (en) Automatic interface testing method, system, computer and readable storage medium
CN111309371A (en) Query method and device
CN108629699A (en) Data uploading method, data uploading device, storage medium and device
CN112559000A (en) Vehicle software updating method and device
CN112306838A (en) Page layout compatibility testing method, device and equipment and readable storage medium
CN111090819A (en) Thermodynamic diagram generation method, thermodynamic diagram generation device, terminal and computer-readable storage medium
CN116662123B (en) Method and device for monitoring server component, electronic equipment and storage medium
CN113434119A (en) Business processing method and device based on process control
CN117494676A (en) Formula editing method and device, storage medium and electronic equipment
CN115599810A (en) Online examination subject selection control method and device and readable storage medium
CN117591422A (en) Software processing method, electronic device and storage medium
CN116627413A (en) Method, device, equipment and medium for generating active page
CN115952268A (en) Fault solution query method, device and equipment
CN113835747A (en) Method and device for positioning influence of interface on page

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant