CN117632149A - Control method and device of application program, electronic equipment and storage medium - Google Patents

Control method and device of application program, electronic equipment and storage medium Download PDF

Info

Publication number
CN117632149A
CN117632149A CN202311648451.1A CN202311648451A CN117632149A CN 117632149 A CN117632149 A CN 117632149A CN 202311648451 A CN202311648451 A CN 202311648451A CN 117632149 A CN117632149 A CN 117632149A
Authority
CN
China
Prior art keywords
application
application program
target
program
control
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
CN202311648451.1A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311648451.1A priority Critical patent/CN117632149A/en
Publication of CN117632149A publication Critical patent/CN117632149A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a control method and device of an application program, electronic equipment and a storage medium. The method comprises the following steps: determining application entry class information of a target application program in response to application control operation for the target application program, wherein the target application program is any application program in a preset application program cluster; and carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster. According to the technical scheme provided by the embodiment of the invention, the control of the application programs by defining the scripts which can control the application of any application program belonging to the same application program cluster is realized, the coupling degree of script codes is reduced, and the script maintenance cost is reduced.

Description

Control method and device of application program, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a control method and device of an application program, electronic equipment and a storage medium.
Background
For control of applications belonging to the same program application cluster, in the related art, a corresponding control script is typically written for each application. However, the program application cluster often includes a large number of application programs, so that a large number of control scripts need to be written, and the technical problems of high script code coupling degree and high script maintenance cost exist.
Disclosure of Invention
The invention provides a control method, a device, electronic equipment and a storage medium of an application program, which are used for controlling the application program by defining a script capable of carrying out application control on any application program belonging to the same application program cluster, so that the coupling degree of script codes is reduced, and the script maintenance cost is reduced.
According to an aspect of the present invention, there is provided a control method of an application program, the method including:
determining application entry class information of a target application program in response to application control operation for the target application program, wherein the target application program is any application program in a preset application program cluster;
and carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster.
Optionally, the method further comprises: displaying an application control interface, wherein the application control interface displays at least one candidate application identifier, and the candidate application identifier is an identifier of an application program belonging to the preset application program cluster; and responding to a selection triggering operation aiming at the candidate application identification, determining the selected application identification, and taking the application program corresponding to the selected application identification as a target application program.
Optionally, the application control operation includes an application publishing operation, and the performing, based on the application entry class information and a predefined application control script, application control processing on the target application program includes: determining a target program package of the target application program; based on the application entry class information and an application release script corresponding to the application release operation, obtaining an application release flow aiming at the target program package; and carrying out release processing on the target program package according to the application release flow.
Optionally, the publishing the target package according to the application publishing process includes: determining an application release service corresponding to the application release flow; determining a service execution sequence of each application release service under the condition that the number of the application release services is a plurality of; and starting each application release service in turn according to the service execution sequence, and performing release processing on the target program package.
Optionally, the determining the target package of the target application program includes: determining application version information associated with a version update operation for the target application in response to the version update operation; and determining an application program package corresponding to the application version information based on the corresponding relation between the application version information and the application program package, and taking the application program package as a target program package of the target application program.
Optionally, the performing application control processing on the target application program based on the application entry class information and a predefined application control script includes: transmitting the application entry class information as an actual parameter to a form parameter of a predefined application control script; and after the parameter transmission is completed, executing the application control script, and performing application control processing on the target application program.
Optionally, the application control operation includes an application stopping operation, and the performing, based on the application entry class information and a predefined application control script, application control processing on the target application program includes: and stopping the target application program based on the application entry class information and the application stopping script corresponding to the application stopping operation.
According to another aspect of the present invention, there is provided a control apparatus for an application program. The device comprises:
the portal class information determining module is used for determining application portal class information of a target application program in response to application control operation aiming at the target application program, wherein the target application program is any application program in a preset application program cluster;
and the application program control module is used for carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to execute the control method of the application program according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a control method of an application program according to any one of the embodiments of the present invention.
According to the technical scheme, application entry class information of a target application program is determined by responding to application control operation for the target application program, wherein the target application program is any application program in a preset application program cluster; and carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster. The technical scheme of the embodiment of the invention solves the technical problems of higher script code coupling degree and higher script maintenance cost in the related technology application control, realizes the control of any application program belonging to the same application program cluster by defining the script capable of carrying out application control on the application program, reduces the script code coupling degree and reduces the script maintenance cost.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a control method of an application according to a first embodiment of the present invention;
fig. 2 is a flow chart of a control method of an application program according to a second embodiment of the present invention;
fig. 3 is a flowchart of an alternative embodiment of a control method of an application program according to a second embodiment of the present invention;
fig. 4 is a flow chart of a control method of an application program according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a control device for an application program according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Example 1
Fig. 1 is a flow chart of a control method of an application program according to a first embodiment of the present invention, where the method may be performed by a control device of an application program, the control device of the application program may be implemented in hardware and/or software, and the control device of the application program may be configured in an electronic device such as a computer or a server.
As shown in fig. 1, the method of the present embodiment includes:
s110, determining application entry class information of a target application program in response to application control operation for the target application program, wherein the target application program is any application program in a preset application program cluster.
The target application may be understood as any application deployed in a preset application cluster. In the embodiment of the present invention, the preset application cluster may be a Flink cluster. The number of applications included in the preset application cluster may be one, two or more. In practical applications, the number of applications in the preset application cluster is usually plural. The application control operation may be understood as a control operation for performing a control operation on a target application program. The application entry class information may be understood as class information of an entry class of the target application. Alternatively, the application entry class information may include a class identification of the entry class. By way of example, the class identification may include a class name.
Specifically, for any application program deployed in the preset application program cluster, the target application program is determined. Upon receiving an application control operation for a target application, an entry class of the target application among the program classes may be determined. And further obtaining the class information of the entry class, namely obtaining the application entry class information of the target application program.
In the embodiment of the present invention, the manner of determining the entry class of the target application program may specifically be that, for a single program class of the target application program, if a main method is defined in the program class, the program class is determined to be the entry class of the target application program. It will be appreciated that an application exists in an entry class.
In an embodiment of the present invention, the method for determining the target application program may include: displaying an application control interface, wherein the application control interface displays at least one candidate application identifier, and the candidate application identifier is an identifier of an application program belonging to the preset application program cluster; and responding to a selection triggering operation aiming at the candidate application identification, determining the selected application identification, and taking the application program corresponding to the selected application identification as a target application program.
The application control interface may be understood as an interface for controlling an application program in a preset application program cluster. The application control interface may be presented with one or more candidate application identifications. Candidate application identities may be understood as identities belonging to applications in said predetermined application cluster. The candidate application identification may be used to distinguish between different applications in a preset application cluster. The selection triggering operation may be understood as a triggering operation for selecting a candidate application identification.
Specifically, an application control interface is displayed, wherein the application control interface displays at least one candidate application identifier. Upon receiving a selection trigger operation for the candidate application identification, a selected application identification may be determined. After determining the selected application identifier, an application program corresponding to the selected application identifier may be determined according to a correspondence between the application identifier and the application program. And further, the application program corresponding to the selected application identifier can be used as a target application program.
And S120, performing application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for performing application control processing on any application program in the preset application program cluster.
The application control script may be understood as a predefined script for performing application control processing on any application program in the preset application program cluster. The application control script may be a She script. The portal parameters of the application control script may include application portal class information, that is, the form parameters of the application control script may include application portal class information. It should be noted that, in the embodiment of the present invention, the process flow of the application control of each application program belonging to the same preset application program cluster may be the same.
In the embodiment of the present invention, the performing, based on the application entry class information and a predefined application control script, an application control process on the target application program may include: transmitting the application entry class information as an actual parameter to a form parameter of a predefined application control script; and after the parameter transmission is completed, executing the application control script, and performing application control processing on the target application program.
According to the technical scheme, application entry class information of a target application program is determined by responding to application control operation for the target application program, wherein the target application program is any application program in a preset application program cluster; and carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster. The technical scheme of the embodiment of the invention solves the technical problems of higher script code coupling degree and higher script maintenance cost in the related technology application control, realizes the control of any application program belonging to the same application program cluster by defining the script capable of carrying out application control on the application program, reduces the script code coupling degree and reduces the script maintenance cost.
Example two
Fig. 2 is a flow chart of a control method of an application program according to a second embodiment of the present invention, and on the basis of the foregoing embodiment, optionally, the application control operation includes an application publishing operation, and the performing, based on the application entry class information and a predefined application control script, application control processing on the target application program includes: determining a target program package of the target application program; based on the application entry class information and an application release script corresponding to the application release operation, obtaining an application release flow aiming at the target program package; and carrying out release processing on the target program package according to the application release flow. The technical features that are the same as or similar to those of the above embodiments are not described herein.
As shown in fig. 2, the method in this embodiment specifically includes:
s210, determining application entry class information of a target application program in response to application release operation aiming at the target application program, wherein the target application program is any application program in a preset application program cluster.
S220, determining a target program package of the target application program, obtaining an application release flow aiming at the target program package based on the application entry class information and the application release script corresponding to the application release operation, and performing release processing on the target program package according to the application release flow.
The target package may be understood as a package that the target application needs to issue. In practical applications, the target package is usually the latest version package. The application release script is used for carrying out application release processing on any application program in the preset application program cluster. An application publishing process may be understood as a process for publishing any application in a preset application cluster. In the embodiment of the invention, the application publishing flow can be a Flink publishing pipeline written for application nodes configured in the Flink cluster. The application release flow is composed of a plurality of release processing nodes in a preset processing sequence.
In the embodiment of the present invention, obtaining an application publishing process for the target package based on the application entry class information and an application publishing script corresponding to the application publishing operation may include: the application entry class information can be used as an actual parameter to be transmitted to form parameters of an application release script corresponding to the application release operation; after the parameter transfer is completed, the application entry class information and the application release parameters defined in the application release script can be spliced, so that spliced information is obtained; and further, the application release flow aiming at the target program package can be obtained according to the spliced information.
In an embodiment of the present invention, the determining the target package of the target application program may include: determining application version information associated with a version update operation for the target application in response to the version update operation; and determining an application program package corresponding to the application version information based on the corresponding relation between the application version information and the application program package, and taking the application program package as a target program package of the target application program.
The version update operation may be understood as an operation for performing version update of the target program. Application version information may be understood as version information of an application program. Specifically, after receiving a version update operation for the target application program, application version information associated with the version update operation may be determined. And further, the application program package corresponding to the application version information can be determined based on the corresponding relation between the application version information and the application program package. And further, an application package corresponding to the application version information may be used as a target package of the target application.
In the embodiment of the present invention, the publishing the target package according to the application publishing flow may include: determining an application release service corresponding to the application release flow; determining a service execution sequence of each application release service under the condition that the number of the application release services is a plurality of; and starting each application release service in turn according to the service execution sequence, and performing release processing on the target program package.
Among them, an application publishing service may be understood as a service for publishing an application program in an application publishing process. The number of application publication services corresponding to the application publication flow may be one, two, or more than two. In practical applications, the number of application publishing services corresponding to an application publishing process is typically multiple. The service execution order may be understood as an execution order of a plurality of application distribution services corresponding to the application distribution flow.
Specifically, after determining the application release flow, an application release service corresponding to the application release flow (see the service different in starting in fig. 3) may be determined according to the correspondence between the application release flow and the application release service. In the case where the number of the application distribution services is plural, the service execution order of each of the application distribution services may be determined. And further, each application release service can be started in turn according to the service execution sequence, and release processing can be performed on the target program package.
Referring to fig. 3, in the case where the preset application cluster is a Flink cluster, the Flink cluster is deployed with an application, i.e., an application node is configured. When the application release is performed on the target application program (change node) deployed in the link cluster, the application entry class information of the target application program can be determined, and the configuration information of the target application node is obtained. Based on this, a target package (Jar package) of the target application can be determined. And the application entry class information can be used as an actual parameter and transmitted to a predefined script, namely to an application release script, and the application release processing is carried out on the target program package.
According to the technical scheme, the application entry class information of the target application program is determined by responding to the application release operation of the target application program; determining a target program package of the target application program, obtaining an application release flow aiming at the target program package based on the application entry class information and an application release script corresponding to the application release operation, and releasing the target program package according to the application release flow, thereby realizing the function of releasing any application program belonging to the same application program cluster based on the same application release script.
Example III
Fig. 4 is a flowchart of a control method of an application program according to a third embodiment of the present invention, where, on the basis of the foregoing embodiment, optionally, the application control operation includes an application stopping operation, and the performing, based on the application entry class information and a predefined application control script, application control processing on the target application program includes: and stopping the target application program based on the application entry class information and the application stopping script corresponding to the application stopping operation. The technical features that are the same as or similar to those of the above embodiments are not described herein.
As shown in fig. 4, the method in this embodiment specifically includes:
s310, determining application entry class information of a target application program in response to an application stopping operation for the target application program, wherein the target application program is any application program in a preset application program cluster.
Among them, the application stopping operation may be understood as an operation for controlling the target application program to stop running.
S320, stopping the target application program based on the application entry class information and the application stopping script corresponding to the application stopping operation.
The application stopping script is used for stopping running of any application program in the preset application program cluster.
Specifically, after the application entry class information is determined, the application entry class information may be transmitted as an actual parameter to a form parameter of an application stop script corresponding to the application stop operation. After the parameter transmission is completed, the application stopping script can be executed, and then the operating state of the target application program is modified to be stopped through the application stopping script, namely, stopping processing is carried out on the target application program.
According to the technical scheme, the application entry class information of the target application program is determined by responding to the application stopping operation of the target application program; and stopping the target application program based on the application entry class information and the application stopping script corresponding to the application stopping operation, so that the function of stopping running of any application program belonging to the same application program cluster based on the same application stopping script is realized.
Example IV
Fig. 5 is a schematic structural diagram of a control device for an application program according to a fourth embodiment of the present invention. As shown in fig. 5, the apparatus includes: the ingress class information determination module 410 and the application control module 420.
The portal class information determining module 410 is configured to determine application portal class information of a target application in response to an application control operation for the target application, where the target application is any application in a preset application cluster; and an application control module 420, configured to perform application control processing on the target application program based on the application entry class information and a predefined application control script, where the application control script is configured to perform application control processing on any application program in the preset application program cluster.
According to the technical scheme, the portal information determining module is used for determining application portal information of a target application program in response to application control operation aiming at the target application program, wherein the target application program is any application program in a preset application program cluster; and carrying out application control processing on the target application program based on the application entry class information and a predefined application control script through an application program control module, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster. The technical scheme of the embodiment of the invention solves the technical problems of higher script code coupling degree and higher script maintenance cost in the related technology application control, realizes the control of any application program belonging to the same application program cluster by defining the script capable of carrying out application control on the application program, reduces the script code coupling degree and reduces the script maintenance cost.
Optionally, the apparatus further comprises a target application determining module; wherein, the target application program determining module is used for: displaying an application control interface, wherein the application control interface displays at least one candidate application identifier, and the candidate application identifier is an identifier of an application program belonging to the preset application program cluster; and responding to a selection triggering operation aiming at the candidate application identification, determining the selected application identification, and taking the application program corresponding to the selected application identification as a target application program.
Optionally, the application control operation includes an application publishing operation, and the application control module 420 includes an application publishing unit, where the application publishing unit is configured to determine a target package of the target application; based on the application entry class information and an application release script corresponding to the application release operation, obtaining an application release flow aiming at the target program package; and carrying out release processing on the target program package according to the application release flow.
Optionally, the application program publishing unit is used for determining an application publishing service corresponding to the application publishing process; determining a service execution sequence of each application release service under the condition that the number of the application release services is a plurality of; and starting each application release service in turn according to the service execution sequence, and performing release processing on the target program package.
Optionally, the application program publishing unit is used for responding to the version updating operation of the target application program and determining application version information of the version updating operation; and determining an application program package corresponding to the application version information based on the corresponding relation between the application version information and the application program package, and taking the application program package as a target program package of the target application program.
Optionally, the application control module 420 is configured to transfer the application entry class information as an actual parameter to a form parameter of a predefined application control script; and after the parameter transmission is completed, executing the application control script, and performing application control processing on the target application program.
Alternatively, the application control operation includes an application stop operation, and the application control module 420 includes an application stop unit; and the application program stopping unit is used for stopping the target application program based on the application entry class information and the application stopping script corresponding to the application stopping operation.
The control device of the application program provided by the embodiment of the invention can execute the control method of the application program provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, each unit and module included in the control device of the application program are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.
Example five
Fig. 6 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, for example, a control method of an application program.
In some embodiments, the control method of the application program may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method of the application program described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the control method of the application program in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for controlling an application program, the method comprising:
determining application entry class information of a target application program in response to application control operation for the target application program, wherein the target application program is any application program in a preset application program cluster;
and carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster.
2. The method according to claim 1, wherein the method further comprises:
displaying an application control interface, wherein the application control interface displays at least one candidate application identifier, and the candidate application identifier is an identifier of an application program belonging to the preset application program cluster;
and responding to a selection triggering operation aiming at the candidate application identification, determining the selected application identification, and taking the application program corresponding to the selected application identification as a target application program.
3. The method according to claim 1, wherein the application control operation includes an application publishing operation, and the performing an application control process on the target application program based on the application entry class information and a predefined application control script includes:
determining a target program package of the target application program;
based on the application entry class information and an application release script corresponding to the application release operation, obtaining an application release flow aiming at the target program package;
and carrying out release processing on the target program package according to the application release flow.
4. A method according to claim 3, wherein said publishing said target package according to said application publishing process comprises:
determining an application release service corresponding to the application release flow;
determining a service execution sequence of each application release service under the condition that the number of the application release services is a plurality of;
and starting each application release service in turn according to the service execution sequence, and performing release processing on the target program package.
5. A method according to claim 3, wherein said determining a target package for said target application comprises:
determining application version information associated with a version update operation for the target application in response to the version update operation;
and determining an application program package corresponding to the application version information based on the corresponding relation between the application version information and the application program package, and taking the application program package as a target program package of the target application program.
6. The method according to claim 1, wherein the performing application control processing on the target application program based on the application entry class information and a predefined application control script includes:
transmitting the application entry class information as an actual parameter to a form parameter of a predefined application control script;
and after the parameter transmission is completed, executing the application control script, and performing application control processing on the target application program.
7. The method according to claim 1, wherein the application control operation includes an application stop operation, and the performing an application control process on the target application program based on the application entry class information and a predefined application control script includes:
and stopping the target application program based on the application entry class information and the application stopping script corresponding to the application stopping operation.
8. An application program control device, comprising:
the portal class information determining module is used for determining application portal class information of a target application program in response to application control operation aiming at the target application program, wherein the target application program is any application program in a preset application program cluster;
and the application program control module is used for carrying out application control processing on the target application program based on the application entry class information and a predefined application control script, wherein the application control script is used for carrying out application control processing on any application program in the preset application program cluster.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to execute the control method of the application program of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to execute the control method of the application program of any one of claims 1-7.
CN202311648451.1A 2023-12-04 2023-12-04 Control method and device of application program, electronic equipment and storage medium Pending CN117632149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311648451.1A CN117632149A (en) 2023-12-04 2023-12-04 Control method and device of application program, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311648451.1A CN117632149A (en) 2023-12-04 2023-12-04 Control method and device of application program, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117632149A true CN117632149A (en) 2024-03-01

Family

ID=90016112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311648451.1A Pending CN117632149A (en) 2023-12-04 2023-12-04 Control method and device of application program, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117632149A (en)

Similar Documents

Publication Publication Date Title
CN112866391A (en) Message pushing method and device, electronic equipment and storage medium
CN112269706B (en) Interface parameter verification method, device, electronic equipment and computer readable medium
CN114816393B (en) Information generation method, device, equipment and storage medium
CN113766487A (en) Cloud mobile phone information acquisition method, device, equipment and medium
CN113703946B (en) Application recovery method and device, electronic equipment and computer readable storage medium
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN116938953A (en) Block chain-based data processing method and device, electronic equipment and storage medium
CN116627432A (en) Front-end application automatic deployment method, device, equipment and medium
CN117632149A (en) Control method and device of application program, electronic equipment and storage medium
CN113010285B (en) Method, apparatus, device, medium, and article for processing data
CN114500443A (en) Message pushing method, device, system, electronic equipment and storage medium
CN112596922B (en) Communication management method, device, equipment and medium
CN116440504B (en) Game resource processing method, device and storage medium
CN113190439B (en) Execution method and device of test case and electronic equipment
CN117707643A (en) Plug-in building method and device and plug-in running method and device
CN117032746A (en) Data updating method, device, electronic equipment and storage medium
CN116149875A (en) Scheduling method and device of cloud terminal, electronic equipment, storage medium and product
CN115658223A (en) Method and device for determining state information facing edge calculation and electronic equipment
CN113434508A (en) Method and apparatus for storing information
CN113901451A (en) Link detection method and device, electronic equipment and storage medium
CN116938994A (en) Linkage control method, device, equipment and storage medium
CN115061664A (en) Object conversion method and device, electronic equipment and storage medium
CN116628383A (en) Page jump method, device, electronic equipment and storage medium
CN112948246A (en) AB test control method, device, equipment and storage medium of data platform
CN117749656A (en) Cluster operation monitoring method, device, equipment and storage medium

Legal Events

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