CN112328333A - Built-in program operation method and device, computer equipment and storage medium - Google Patents

Built-in program operation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112328333A
CN112328333A CN202011164083.XA CN202011164083A CN112328333A CN 112328333 A CN112328333 A CN 112328333A CN 202011164083 A CN202011164083 A CN 202011164083A CN 112328333 A CN112328333 A CN 112328333A
Authority
CN
China
Prior art keywords
built
program
target operation
independent process
management system
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.)
Granted
Application number
CN202011164083.XA
Other languages
Chinese (zh)
Other versions
CN112328333B (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.)
Wuhan United Imaging Healthcare Co Ltd
Original Assignee
Wuhan United Imaging Healthcare 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 Wuhan United Imaging Healthcare Co Ltd filed Critical Wuhan United Imaging Healthcare Co Ltd
Priority to CN202011164083.XA priority Critical patent/CN112328333B/en
Publication of CN112328333A publication Critical patent/CN112328333A/en
Application granted granted Critical
Publication of CN112328333B publication Critical patent/CN112328333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The application relates to a built-in program operation method, a device, a computer device and a storage medium, wherein a trigger request for requesting an operation result of a target operation of at least one built-in program is received, the trigger request is generated after a button of the target operation is triggered by a target operation page of a built-in program management system, and the built-in program management system comprises operation pages of various different operations of the built-in program; and then determining a function mechanism corresponding to the target operation of each built-in program in the built-in program management system and used for executing the target operation, creating a built-in program identifier of each built-in program, respectively allocating an independent process to each built-in program according to the built-in program identifier, finally calling each independent process in parallel, executing the function mechanism corresponding to the target operation of each built-in program, and obtaining an operation result of the target operation. The method can efficiently and conveniently carry out the operation of developing, operating and managing a plurality of small programs.

Description

Built-in program operation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for operating a built-in program, a computer device, and a storage medium.
Background
The applet is an application that can be used without downloading and installing, and it realizes the concept of "reach" of the application, and because of its convenience, the applet has become more and more popular since its introduction. However, the development and release of small programs are highly dependent on the platform, the automation is insufficient, and the development and maintenance costs are very high.
At present, most of small programs are deployed by manually packaging small program projects through developers and manually clicking uploading and previewing through developer tools, so that the problems of low manual operation efficiency and easy error are solved, and meanwhile, the fact that who makes a package cannot be tracked cannot be subjected to version management; for the deployment of a plurality of applets, a plurality of developer tools also need to be opened for uploading, so that the occupied resources are large, and the efficiency is low.
Therefore, the prior art lacks an operation that can efficiently and conveniently perform the operation and maintenance management of multiple small program development.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method and an apparatus for operating a built-in program, a computer device, and a storage medium, which can efficiently and conveniently perform operations for developing, operating, and managing a plurality of small programs.
In a first aspect, an embodiment of the present application provides a method for operating a built-in program, where the method includes:
receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of a target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
determining a function mechanism corresponding to the target operation of each built-in program; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various operations of the built-in program;
creating built-in program identifiers of all built-in programs, and respectively allocating an independent process to each built-in program according to the built-in program identifiers; the built-in program identification is used for distinguishing the built-in programs;
and calling each independent process in parallel, and executing a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation.
In one embodiment, the target operation is a login operation, and the function mechanism corresponding to the login operation includes a built-in program platform login protocol;
the parallel calling of each independent process and the execution of the function mechanism corresponding to the target operation of each built-in program to obtain the operation result of the target operation comprises the following steps:
each independent process requests to call a built-in program platform login protocol in parallel;
each independent process receives a login graphic code returned by the built-in program platform through a built-in program platform login protocol; and the login graphic code is used for logging in the built-in program platform.
In one embodiment, the target operation is a packing operation, and the function mechanism corresponding to the packing operation includes a packing function;
the parallel calling of each independent process and the execution of the function mechanism corresponding to the target operation of each built-in program to obtain the operation result of the target operation comprises the following steps:
after each independent process requests to call a connecting plug-in the packing function to connect a remote server of the built-in program in parallel, each independent process executes a preset packing instruction on each built-in program to obtain a packing file of each built-in program;
and each independent process uploads the packaged file of each built-in program to a remote server.
In one embodiment, the method further comprises:
and when each independent process executes a preset packaging instruction on each built-in program, displaying the packaging progress of the packaging file of each built-in program on an interface of the built-in program management system.
In one embodiment, the target operation is an upload operation, and the function mechanism corresponding to the upload operation includes an upload function;
calling each independent process in parallel, executing a function mechanism corresponding to the target operation of each built-in program, and obtaining an operation result of the target operation, wherein the operation result comprises the following steps:
each independent process is connected with a remote server with a built-in program through a connection plug-in an uploading function;
each independent process downloads the packed file of each built-in program from the remote server;
and each independent process uploads the packed file of each built-in program to the built-in program platform in parallel by calling the built-in program platform uploading protocol.
In one embodiment, the target operation is a preview operation, and the function mechanism corresponding to the preview operation includes a preview function;
the parallel calling of each independent process and the execution of the function mechanism corresponding to the target operation of each built-in program to obtain the operation result of the target operation comprises the following steps:
each independent process is connected with a remote server with a built-in program through a connection plug-in the preview function;
each independent process downloads the packed file of each built-in program from the remote server;
each independent process requests a preview graphic code of each built-in program by calling a built-in program platform preview protocol; the preview graphic code is used for previewing the information content in each built-in program.
In one embodiment, the method further comprises:
after receiving a trigger request of target operation of at least one built-in program each time, recording operation information for executing each target operation process; the operation information comprises an operator identifier, an operation type, operation time, a built-in program version number of the operation, a built-in program identifier of the operation and a corresponding process.
In a second aspect, an embodiment of the present application provides a device with a built-in program, where the device includes:
the receiving module is used for receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of a target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
the determining module is used for determining a function mechanism corresponding to the target operation of each built-in program; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various processes of the built-in program;
the creating module is used for creating built-in program identifiers of all built-in programs and distributing an independent process to all built-in programs according to the built-in program identifiers; the built-in program identification is used for distinguishing the built-in programs;
and the output module is used for calling each independent process in parallel and executing the function mechanism corresponding to the target operation of each built-in program to obtain the operation result of the target operation.
In one embodiment, the built-in program management system further includes an operation management page;
the operation management page is used for inquiring the historical operation information of each target operation.
In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of any one of the methods provided in the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the methods provided in the embodiments of the first aspect.
According to the built-in program operation method, the device, the computer equipment and the storage medium, a triggering request for requesting an operation result of target operation of at least one built-in program is received, wherein the triggering request is generated after a button of the target operation is triggered by a target operation page of a built-in program management system, and the built-in program management system comprises operation pages of various different operations of the built-in program; and then determining a function mechanism corresponding to the target operation of each built-in program in the built-in program management system and used for executing the target operation, creating a built-in program identifier of each built-in program, respectively allocating an independent process to each built-in program according to the built-in program identifier, finally calling each independent process in parallel, executing the function mechanism corresponding to the target operation of each built-in program, and obtaining an operation result of the target operation. In the method, the built-in program is taken as an applet as an example, after a trigger request of target operation of at least one applet is received, the independent processes of the function mechanism and the applet are determined, and the target operation of each applet is executed in parallel by each independent process, so that the operations of packaging, deployment and the like of a plurality of applets are improved, the applet maintenance or release efficiency is improved, and the operation of development, operation and maintenance management of the plurality of applets can be efficiently and conveniently carried out.
Drawings
FIG. 1 is a diagram of an application environment for a method for operating a built-in program according to an embodiment;
FIG. 2 is a flowchart illustrating a method for operating a built-in program according to an embodiment;
FIG. 3 is a flowchart illustrating a method for operating a built-in program according to another embodiment;
FIG. 4 is a flowchart illustrating a method for operating a built-in program according to another embodiment;
FIG. 5 is a flow diagram of a packaging and behavior record according to another embodiment;
FIG. 6 is a flowchart illustrating a method for operating a built-in program according to another embodiment;
FIG. 7 is a flowchart of an upload and version management provided by another embodiment;
FIG. 8 is a flowchart illustrating a method for operating a built-in program according to another embodiment;
FIG. 9 is a flowchart of an applet preview provided in another embodiment;
FIG. 10 is a flowchart of a method operations of a built-in program, according to an embodiment;
FIG. 11 is a block diagram of an operating device with a built-in program according to an embodiment;
FIG. 12 is a block diagram that illustrates the internal components of a computing device, according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for operating a built-in program provided by the present application may be applied to an application environment as shown in fig. 1, where the computer device includes, but is not limited to, a personal computer, a notebook computer, a smart phone, a tablet computer, a portable wearable device, and the like, and the embodiment of the present application is not limited thereto. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data for the operation of the built-in program. The network interface of the computer device is used for communicating with other external devices through network connection. The computer program is executed by a processor to implement a built-in program operation method.
The embodiment of the application provides a built-in program operation method and device, computer equipment and a storage medium, which can efficiently and conveniently perform development, operation and maintenance management operation on a plurality of small programs, solve the problems of packaging and deployment of the plurality of small programs, reduce research and development and maintenance costs and improve the release speed. The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. In the method for operating a built-in program provided by the present application, the execution main body in fig. 2 to fig. 10 is a computer device running a built-in program management system, wherein the execution main body may also be a built-in program operating device, and the device may be implemented as part of or all of the computer device by software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In an embodiment, fig. 2 provides a method for operating a built-in program, where this embodiment relates to a computer device creating an identifier for each built-in program according to a trigger request of a target operation of at least one built-in program, determining a function mechanism corresponding to the target operation, and calling an independent process in parallel to execute the function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation, thereby implementing a specific process in which multiple built-in programs operate simultaneously and improving execution efficiency, and as shown in fig. 2, the method includes:
s101, receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation; the triggering request is generated after a target operation page of the built-in program management system triggers a button of a target operation; the built-in program management system comprises operation pages of a plurality of different operations of the built-in program.
The built-in program may be an applet, for example, a common WeChat applet, a Paibao applet, and the like, which is not limited in this embodiment of the application. In the following examples, the internal program is described as an applet.
The target operation comprises, but is not limited to, packaging, uploading, previewing and the like of the applet codes, and when the target operation of the applet needs to be executed, a triggering request of the target operation can be sent to the computer device. The trigger request is generated after a target operation page in a built-in program management system triggers a button of a target operation, wherein the built-in program management system is a management platform and comprises a plurality of operation pages of different operations of a built-in program. For example, in use, a user can log in the built-in program management system and can see operation pages of various operations in the built-in program management system, for example, a program code packaging page of an applet, a program code uploading page of the applet, a program code preview page of the applet, and the like; optionally, the built-in program management system further includes an operation management page; the operation management page is used for inquiring historical operation information of each target operation, for example, the operation management page comprises a historical operation inquiry button and a historical operation editing button, detailed operation information (including operators, operation time, operation content and the like) of each historical operation can be inquired through the historical operation inquiry button, the historical operation information can be edited through the historical operation editing button, for example, historical operations are deleted, marks are made and the like, in addition, in order to ensure the information accuracy and traceability, an operation editing record can be set, and in addition, the operation editing record can be used for checking which operation information is edited at what time, so that the information traceability is convenient. Of course, the built-in program management system may further include a version management page, where the version management page is used to manage various operations and version numbers of the applets, such as editing, modifying, deleting, and the like.
Optionally, after receiving a trigger request of a target operation of at least one built-in program each time, recording operation information for executing each target operation process; the operation information comprises an operator identifier, an operation type, operation time, a built-in program version number of the operation, a built-in program identifier of the operation and a corresponding process. The operation information in the target operation process of each built-in program is executed each time, so that the historical operation information of each target operation can be conveniently inquired in the built-in program management system in the follow-up process. Therefore, the automatic small program packaging and deploying method and system can be provided for manually packaging and deploying small programs by using a developer tool singly at present through the built-in program management system, automatic packaging and deploying are achieved, the problems of low manual operation efficiency and easiness in error are solved, meanwhile, operation record mark leaving and version management can be achieved, and operators can be tracked and version management can be carried out.
After logging in the built-in program management system, a user triggers a target operation button on a corresponding operation page according to the target operation of the built-in program to be operated currently, and then a trigger request of the target operation can be sent. The manner in which the target operation button is triggered includes, but is not limited to, clicking the button using an external input device, and inputting using voice. Alternatively, an automatic program and a trigger condition may be created in advance, and once the built-in program satisfies the set trigger condition, the trigger request for triggering the target operation by the automatic program is automatically started. The embodiment of the present application does not limit the generation manner of the trigger request.
When a built-in program management system is constructed, a development operation and maintenance module can be created through Koa (a Web development framework) and a scaffold command, and the development operation and maintenance module is mainly used for creating a system for displaying a front-end visual interface and realizing functions of the small program management system, including packaging and deployment engineering realization and providing the front-end visual interface. The implementation process comprises the following steps: (1) installing the Node and providing a Node operation environment; (2) mounting Koa the frame via a command line; (3) the method comprises the steps of building packaging, uploading and previewing an operation page and operating management and version management pages. In the whole process, developers need to build an environment first, build an environment and install a Web development framework well, and after the Web development framework is installed, the compiled codes are run and compiled to realize a visual operation and management interface. The above process is the same as the existing management platform construction process, and the description of this embodiment is omitted here.
In the received trigger request of the target operation of at least one built-in program, the target operations of the built-in programs may be the same or different, for example, there are three applets: the system comprises an applet 1, an applet 2 and an applet 3, wherein the target operation of the applet 1 is a program code packaging operation, the target operation of the applet 2 is an uploading operation of the program code, and the target operation of the applet 3 is a previewing operation of the program code.
S102, determining a function mechanism corresponding to the target operation of each built-in program; the function mechanism is a mechanism preset in the built-in program management system for executing various operations of the built-in program.
In the built-in program management system, different functional mechanisms are correspondingly established for different operations, and the functional mechanisms are mechanisms for executing the corresponding operations, are configured in the built-in management program in advance and are called when in use. For example, if the target operation is a login operation, the function mechanism corresponding to the login operation includes a built-in program platform login protocol; or if the target operation is a packing operation, the function mechanism corresponding to the packing operation comprises a packing function; alternatively, the target operation is an upload operation, the function mechanisms corresponding to the upload operation include an upload function, and the like, and each target operation corresponds to one function mechanism, which is not listed here.
After the function mechanisms of each operation are established, different operations are stored corresponding to the respective function mechanisms during storage, and index information is set, so that the corresponding function mechanisms can be conveniently searched. When determining the function mechanism corresponding to the target operation of each built-in program, the computer device may determine the corresponding function mechanism according to index information such as an identifier and a keyword of the target operation.
Optionally, in addition to the function mechanism preset in the built-in program management system provided in this embodiment, a neural network model may be constructed, and a neural network is trained in advance, where the function of the neural network model is to generate a function mechanism with the most suitable current condition from resource conditions in the computer device in real time according to a target operation after receiving a trigger request of the target operation, for example, the target operation is an upload operation of applet codes, and then the neural network model obtains the current resource conditions of the computer device after receiving the upload operation request, where the current conditions include, but are not limited to, an available memory of the computer device, CPU resources, network conditions, a connection condition with an applet server, a code upload function, and the like, and the neural network model generates the function mechanism in real time according to the resource conditions.
S103, creating built-in program identifiers of the built-in programs, and respectively allocating an independent process to each built-in program according to the built-in program identifiers; the built-in program identifier is used to distinguish the built-in program.
After receiving the trigger request of the target operation, in addition to the operation of the above-mentioned function determining mechanism, it is also necessary to create a built-in program identifier of each built-in program, that is, to assign a applet ID to each applet for distinguishing each applet. Different built-in program identifications are allocated to different built-in programs, wherein the identifications are not limited to characters, numbers and letters or a combination mode of the characters, the numbers and the letters.
After the applet ID is established for each applet, an independent process is distributed to each applet ID, so that each process can be independently responsible for the target operation of each applet, the operations of packaging and deployment of a plurality of applets and the like are solved, and the maintenance or release efficiency of the applets is improved.
And S104, calling each independent process in parallel, executing a function mechanism corresponding to the target operation of each built-in program, and obtaining an operation result of the target operation.
After determining the function mechanism and the independent process of each built-in program, the computer device can call each independent process in parallel according to the identifier of each built-in program, execute the function mechanism corresponding to the target operation of each built-in program, and obtain the operation results respectively.
For example, there are three applets: applet 1, applet 2, applet 3; the target operation of the small program 1 is program code packaging operation, the distributed independent processes are process 1, the target operation of the small program 2 is program code uploading operation, the distributed independent processes are process 2, the target operation of the small program 3 is program code previewing operation, and the distributed independent process is process 3; the computer device calls a function mechanism that the process 1 executes the packaging operation of the applet 1, a function mechanism that the process 2 executes the uploading operation of the applet 2, and a function mechanism that the process 3 executes the previewing operation of the applet 3, and the three processes are executed in parallel without mutual influence, so that the operations such as packaging deployment and the like of a plurality of applets are improved, and the maintenance or release efficiency of the applets is improved.
In the method for operating the built-in program provided in the embodiment of the application, a trigger request for requesting an operation result of a target operation of the target operation of at least one built-in program is received, the trigger request is generated after a button of the target operation is triggered by a target operation page of a built-in program management system, and the built-in program management system includes operation pages of a plurality of different operations of the built-in program; and then determining a function mechanism corresponding to the target operation of each built-in program in the built-in program management system and used for executing the target operation, creating a built-in program identifier of each built-in program, respectively allocating an independent process to each built-in program according to the built-in program identifier, finally calling each independent process in parallel, executing the function mechanism corresponding to the target operation of each built-in program, and obtaining an operation result of the target operation. In the method, the built-in program is taken as an applet as an example, after a trigger request of target operation of at least one applet is received, the independent processes of the function mechanism and the applet are determined, and the target operation of each applet is executed in parallel by each independent process, so that the operations of packaging, deployment and the like of a plurality of applets are improved, the applet maintenance or release efficiency is improved, and the operation of development, operation and maintenance management of the plurality of applets can be efficiently and conveniently carried out.
In addition, in this embodiment, the triggering request of the target operation of the multiple applets is triggered through each operation page in the built-in program management system, the built-in program management system has comprehensive functions, and an automatic package and automatic deployment applet system can be provided for manually packaging and deploying the applets by using a developer tool singly at present.
The process of determining the operation result as described above for the specific operation of the target operation will be described in detail below. As shown in fig. 3, in an embodiment, the step S104 includes:
s201, each independent process requests to call a built-in program platform login protocol in parallel.
In this embodiment, a target operation is taken as a login operation, and a function mechanism corresponding to the login operation includes a built-in program platform login protocol.
The login operation is a precondition of all operations, that is, the subsequent packaging, uploading and previewing operations are performed on the premise that a login built-in program platform is connected, and applets of different platforms depend on a protocol interface related to the platform, for example, a wechat is a wechat applet platform, a pay pal is a pay pal applet platform, and the like, which is not limited in the embodiment of the present application.
Illustratively, each independent process requests to call a built-in program platform login protocol, and each independent process requests to call an applet platform login protocol, wherein each process can request to call the applet platform login protocol from the applet platform through a miniprogam-ci plug-in, the miniprogam-ci plug-in is pre-installed in a built-in program operation and maintenance management database when a built-in program management system is established, and the miniprogam-ci plug-in can be directly called from the operation and maintenance management database when the mini-progam-ci plug-in is used. It should be noted that, in the following embodiments, various plug-ins may be involved, for example, plug-ins ssh2, node-cmd, ftp, and the like, which are all plug-ins that have been installed in advance, where functions of each plug-in may refer to functions of usage steps in the following embodiments, and this embodiment will not be described herein again.
S202, each independent process receives a login graphic code returned by a built-in program platform through a built-in program platform login protocol; and the login graphic code is used for logging in the built-in program platform.
After a built-in program platform login protocol calling request is sent, the built-in program platform returns a corresponding login graphic code; the login graphic codes of different built-in programs are different, so that each independent process receives the login graphic code of the built-in program responsible for each independent process and displays the login graphic code in a built-in program management system interface so as to indicate a user to login the built-in program platform through the login graphic code.
For example, after each process requests the wechat applet platform to call a wechat applet platform login protocol, the wechat applet platform returns a wechat login two-dimensional code corresponding to each applet, after each process receives the wechat login two-dimensional code, the wechat login two-dimensional code is displayed on a front-end page of the applet management system, and a user can log in the wechat applet platform by scanning the login two-dimensional code through the wechat.
It should be noted that, since each applet may be an applet of a different platform, when each independent process requests to invoke a login protocol of a built-in program platform, it sends a request to a different built-in program platform according to the platform to which the applet belongs.
In addition, after the user logs in the built-in program platform through the login graphic code, the built-in program management system can detect whether the applet logs in for the first time, if so, the information such as the identification, the name, the function and the like of the applet is stored in an operation and maintenance management database of the system, and if not, the information changes, the built-in program management system can update the stored information of the applet so as to ensure the freshness and the accuracy of the applet information stored in the built-in program management system.
In the embodiment, a built-in program platform login protocol is called through parallel requests of independent processes, and then login graphic codes which are returned by the built-in program platform through the built-in program platform login protocol and are used for logging in the built-in program platform are respectively received; in the process of executing the login operation, all the processes execute the login operation of the built-in programs which are respectively responsible in parallel, and the multiple built-in programs can simultaneously carry out the quick login of the built-in program platform.
After the login operation is performed, a packaging operation, an upload operation, and a preview operation of the applet code may be performed. In one embodiment, a process description is provided for multiple applets performing a packing operation in parallel, as shown in FIG. 4, which includes
S301, after each independent process requests to call a connection plug-in the packing function to connect with a remote server of the built-in program in parallel, each independent process executes a preset packing instruction on each built-in program to obtain a packing file of each built-in program.
In this embodiment, a target operation is taken as a packing operation, and a function mechanism corresponding to the packing operation includes a packing function as an example. The packaging operation is a process of packaging the information of the applet into the remote server.
Each independent process firstly needs to acquire a packaged file of each built-in program, firstly clones the small program project from the warehouse profiles stored in the codes through a preset plug-in Git, and then adds the small program project as a subfolder to a root directory of a packaging system project. The process is carried out automatically according to programs for each independent process, then, when computer equipment receives a packaging page in a built-in program management system, a packaging request triggered after a [ packaging ] button is clicked by a user is triggered, a system internal event is triggered, a packaging function is executed, a remote server of the built-in program is connected in the packaging function through an ssh2 plug-in, each independent process is called through a node-cmd plug-in to execute a preset packaging instruction, and a packaging file of each built-in program is obtained from a root directory of system engineering.
And S302, uploading the packaged file of each built-in program to a remote server by each independent process.
After the independent processes are connected with the remote server with the built-in programs and the packaged files of the built-in programs are obtained, the packaged files of the built-in programs are uploaded to the remote server. Specifically, the packaged file is uploaded to a remote server through a built-in ftp plug-in.
Optionally, in an embodiment, when each independent process executes a preset packaging instruction on each built-in program, a packaging progress of a packaging file of each built-in program is displayed on an interface of the built-in program management system.
During packaging operation, for a user, after a [ packaging ] button is clicked on a packaging page of the built-in program management system, the packaging process performed in the built-in program management system is automatically and seamlessly completed in the background, in order to enable the user to clearly and quickly know the progress of the current packaging operation, when each independent process executes a packaging instruction on the built-in program, the packaging progress of the packaging files of each built-in program can be displayed on an interface of the built-in program management system, for example, one packaging progress bar can be displayed, the full progress is 100%, the corresponding progress is displayed on a display interface according to the packaging progress of the background packaging files, each built-in program corresponds to one progress bar, parallel display is realized, mutual non-influence is realized, the user can timely and accurately know the progress of the packaging operation, and the operation interaction intelligence is improved.
Certainly, after the packaging operation is completed, the built-in program management system records the operator, time and times of the packaging operation, stores the operator, time and times into the operation and maintenance management database of the packaging system, realizes operation behavior record trace keeping, and can conveniently perform corresponding operation query on an operation management page.
Based on this embodiment, a packaging and behavior recording flowchart is also provided, and a specific process may be shown in fig. 5, where the packaging and behavior recording process includes the following steps:
s31, installing the node-cmd plug-in. Specifically, a node-cmd plug-in is installed in the in-house program management system in advance.
And S32, calling a login interface.
S33, whether to log in for the first time.
And S34, if yes, saving the user information.
And S35, storing the user information in the storage module.
And S36, if not, triggering a triggering instruction of the packing button. Specifically, a starting instruction generated by a user at a packing button triggered by a packing page of the built-in program management system is received.
And S37, automatically outputting the package according to the triggering instruction. Specifically, after receiving the trigger instruction, the above packing process is automatically executed.
S38, recording the operation information.
And S39, operation management. Specifically, operation management is performed in the built-in program management system based on the recorded operation information.
For details of the implementation of each step in the above packaging and behavior recording process, reference may be made to the description of the foregoing embodiments, which are not described herein again.
In this embodiment, after the connection plug-in the packing function is called by parallel requests of the independent processes to connect to the remote server of the built-in program, the independent processes execute preset packing instructions on the built-in programs to obtain packing files of the built-in programs, and then the independent processes upload the packing files of the built-in programs to the remote server. In the whole packaging operation process, all processes execute the packaging operation of the internal programs which are respectively responsible in parallel, so that the packaging operation of a plurality of internal programs is realized simultaneously, and the packaging efficiency of the plurality of internal programs is improved.
As shown in fig. 6, an embodiment is provided to explain a process of a code upload operation of an applet, and the embodiment includes the following steps:
s401, each independent process is connected with a remote server with a built-in program through a connection plug-in the uploading function.
In this embodiment, a target operation is taken as an upload operation, and a function mechanism corresponding to the upload operation includes an upload function as an example for description. The uploading operation refers to a process of uploading relevant files of the built-in program to a built-in program platform for management.
When the built-in program management system is constructed, a path for uploading a built-in program code, an identifier of the built-in program, a version number to be uploaded of the built-in program, installation time of the built-in program, updating time and other description information can be configured in advance in an uploading page of the built-in program management system. In actual application, a user enters an uploading page of the built-in program management system and clicks an uploading button to trigger an internal event of the system, so that a trigger request of uploading operation is triggered. The in-built program management system may automatically build the in-built program to the in-built program platform based on the trigger request. Specifically, each independent process is called to connect to the remote server of the built-in program through a connection plug-in the preconfigured upload function, for example, the connection plug-in may be an ssh2 plug-in.
S402, each independent process downloads the packaged file of each built-in program from the remote server.
After establishing a connection with a remote server of the built-in program, each independent process downloads the packaged file of each built-in program from the remote server, for example, from the remote server to the built-in program management system through an ftp plug-in.
And S403, each independent process uploads the packed files of each built-in program to the built-in program platform in parallel by calling the built-in program platform upload protocol.
Based on the downloaded packaging files of the built-in programs, the independent processes call a built-in program platform uploading protocol so as to respectively upload the packaging files of the built-in programs which are respectively responsible to the built-in program platform. Specifically, each independent process refers to the pre-configured path for uploading the built-in program code, the identifier of the built-in program, the version number to be uploaded of the built-in program, the installation time of the built-in program, the updating time and other description information in the step S401, calls a built-in program platform upload protocol through a miniprogram-ci plug-in request, and uploads the package file to the built-in program platform through the built-in program platform upload protocol.
Of course, in practical application, as with the packaging operation, the uploading progress can also be displayed in the front-end interface of the built-in program management system, so that the user can know the uploading progress in time. After the uploading operation is completed, the uploading time and the version number of each uploading operation are stored in the operation and maintenance management database of the built-in program management system, so that the version management of the built-in program is realized, and the follow-up version lookup in a version management page is facilitated.
Based on this embodiment, a flowchart of uploading and version management is also provided, and a specific process is shown in fig. 7, where the uploading and version management process includes the following steps:
and S41, entering an uploading page.
S42, click the upload button. Specifically, the user clicks an upload button on an upload page in the built-in program management system to trigger a trigger instruction of the upload operation.
And S43, configuring corresponding parameters. Specifically, the configured parameters include, but are not limited to, a path of the code, an identifier of the applet, a version number to be uploaded by the applet, and description information such as the installation time and the update time of the applet.
And S44, uploading a plurality of small programs. I.e. uploading multiple applets simultaneously.
And S45, calling an uploading interface. Specifically, the process corresponding to each applet calls the upload interface in parallel.
And S46, recording the version information. Specifically, the version information of each uploaded applet is recorded and stored in the storage module.
And S47, storing the module.
And S48, uploading to the applet platform. Specifically, the processes corresponding to the applets are uploaded to the applet platform in parallel.
And S49, version management. Specifically, applet version management is performed in the built-in program management system based on the stored version information.
For details of the implementation of each step in the uploading and version management process, reference may be made to the description of the foregoing embodiments, which are not described herein again.
In this embodiment, each independent process is connected to the remote server with the built-in program through the connection plug-in the upload function, the package file of each built-in program is downloaded from the remote server, and then each independent process uploads the package file of each built-in program to the built-in program platform in parallel by calling the built-in program platform upload protocol. In the whole uploading operation process, each process executes the uploading operation of the internal programs which are respectively responsible in parallel, so that the uploading operation of a plurality of internal programs is realized simultaneously, and the uploading efficiency of the plurality of internal programs is improved.
After the upload operation is performed, a preview operation may also be performed, where a preview operation process is similar to the process of the upload operation, please refer to fig. 8, which provides an embodiment to explain a process of a code preview operation of an applet, where the embodiment includes the following steps:
s501, each independent process is connected with a remote server with a built-in program through a connection plug-in the preview function.
In this embodiment, a target operation is taken as a preview operation, and a function mechanism corresponding to the preview operation includes a preview function. The preview operation refers to a process of downloading a related file of the built-in program into the built-in program management system, outputting the preview two-dimensional code through the built-in program management system, and facilitating a user to log in the preview two-dimensional code to enter a built-in program page for internal test and genuine machine test.
Similarly, when the built-in program management system is constructed, the path of the built-in program code to be previewed, the identifier of the built-in program, the version number to be previewed of the built-in program, the installation time of the built-in program, the update time and other description information can be configured in advance in the preview page of the built-in program management system. In actual application, a user enters a preview page of a built-in program management system, and clicks a [ preview ] button, so that an internal event of the system is triggered, and a trigger request of a preview operation is triggered. The built-in program management system can automatically display the preview two-dimensional code of the built-in program in the display interface according to the trigger request of the preview operation. Specifically, each independent process is called to connect to the remote server of the built-in program through a connection plug-in the preview function, for example, the connection plug-in may be a ssh2 plug-in.
And S502, downloading the packaged file of each built-in program from the remote server by each independent process.
After establishing a connection with a remote server of the built-in program, each independent process downloads the packaged file of each built-in program from the remote server, for example, from the remote server to the built-in program management system through an ftp plug-in. This process is the same as the download process of the upload operation described above.
S503, each independent process requests the preview graphic code of each built-in program by calling a built-in program platform preview protocol; the preview graphic code is used for previewing the information content in each built-in program.
Based on the downloaded packaged file of each built-in program, each independent process calls a built-in program platform preview protocol to request a preview graphic code of the built-in program which is responsible for each independent process. Specifically, each independent process refers to the pre-configured description information such as the path of the built-in program code to be previewed, the identifier of the built-in program, the version number to be previewed of the built-in program, the installation time of the built-in program, the update time and the like in the step S501, calls a built-in program platform preview protocol through a miniprogram-ci plug-in, then the built-in program platform returns the preview graphic code of each built-in program, and after each independent process receives the preview graphic code, the preview graphic code of each built-in program is displayed in a display interface, and the preview graphic code is used for previewing the information content in each built-in program.
For example, taking a preview graphic code as an applet preview two-dimensional code as an example, after each independent process receives the preview two-dimensional code of each applet returned by the wechat platform, the preview two-dimensional code is displayed on an interface of the applet management system, and then a user can enter a corresponding applet page through a wechat scan to browse display contents inside the applet, so that the use test of the applet can be effectively and conveniently completed.
Based on the present embodiment, there is also provided an applet preview flowchart, and a specific process may be shown in fig. 9, where the applet preview process includes the following steps:
s51, proceed to the preview page.
S52, click the preview button. Specifically, the user clicks a preview button on a preview page in the built-in program management system to trigger a trigger instruction of a preview operation.
And S53, configuring corresponding parameters. Specifically, the configured parameters include, but are not limited to, a path of the code, an identifier of the applet, a version number to be uploaded by the applet, and description information such as the installation time and the update time of the applet.
S54, multiple applet previews.
I.e. previewing several applets simultaneously.
S55, call preview interface. Specifically, the process corresponding to each applet calls the preview interface in parallel.
And S56, displaying the current preview two-dimensional code on the side surface of the page. Specifically, version information of each previewed applet is recorded and stored in a storage module.
S57, internal test and real machine test. Specifically, according to the version information of the stored small program, the page content of the preview small program in the two-dimensional code entering small program is logged in for internal test and real machine test.
For details of the implementation of each step in the applet preview process, reference may be made to the description of the foregoing embodiment, which is not described herein again.
In this embodiment, each independent process is connected to a remote server of a built-in program through a connection plug-in a preview function, a packaged file of each built-in program is downloaded from the remote server, and then each independent process requests a preview graphic code of each built-in program for previewing information content in each built-in program by calling a built-in program platform preview protocol. In the process of the preview operation, each process executes the preview operation of the built-in program in charge of the process in parallel, so that the multiple built-in programs can preview simultaneously, and the preview efficiency of the multiple built-in programs is improved.
In an embodiment, taking the built-in program as the wechat applet as an example, the present application further provides an embodiment of a method for operating the built-in program, as shown in fig. 10, where the embodiment includes:
and S1, creating an applet management system and providing a visual operation and management interface.
The applet management system completes development, operation and maintenance of a plurality of applets, and comprises a preconfigured ssh2, a node-cmd, an ftp, a miniprogram-ci plug-in, a login page, a packaging page, an upload page and a preview page;
and S2, after the login button is triggered on the login page of the applet management system, the applet management system background calls the applet platform login protocol through a miniprogram-ci plug-in request.
And S3, receiving the wechat login two-dimensional code returned by the request result, displaying the two-dimensional code on a front-end page, and indicating a user to log in the wechat applet platform through the wechat login two-dimensional code.
And S4, after the packaging button is triggered on the packaging page of the applet management system, executing a packaging function, wherein in the packaging function, firstly, the ssh2 plug-in is connected with a remote server of the applet, and then, the node-cmd plug-in calls the cmd of the window to execute a packaging instruction on the applet project, thereby completing automatic packaging.
And S5, outputting the packaging progress to a packaging page of the applet management system for display.
And S6, after the upload button is triggered on the upload page of the applet management system, executing an upload function, wherein in the upload function, the remote server is connected through the ssh2 plug-in, and the applet package file is downloaded from the remote server to the applet management system through the ftp plug-in.
And S7, quoting the configured small program path small program, AppID, uploading version number and description, and calling a small program platform uploading protocol through a miniprogam-ci plug-in request to realize the small program uploading to the small program platform.
And S8, after the preview button is triggered on the preview page of the applet management system, executing a preview function, wherein in the preview function, the remote server is connected through the ssh2 plug-in, and the applet package file is downloaded from the remote server to the applet management system through the ftp plug-in.
And S9, quoting the configured small program path small program, AppID, uploading version number and description, calling a small program platform preview protocol through a miniprogram-ci plug-in request, requesting to return a preview two-dimensional code, and displaying the preview two-dimensional code on a preview page.
And S10, logging in the content of the small program preview small program page according to the preview two-dimensional code.
The login operation, the packaging operation, the uploading operation and the previewing operation can be sequentially executed one by one, and in each operation, a plurality of small programs can be automatically completed in parallel and simultaneously, so that the operation and maintenance management efficiency of the small programs is improved.
The implementation principle and technical effect of each step in the operating method of the built-in program provided in this embodiment are similar to those in the foregoing embodiments of the image loading method, and are not described herein again. The implementation manner of each step in the embodiment of fig. 10 is only an example, and is not limited to this, and the order of each step may be adjusted in practical application as long as the purpose of each step can be achieved.
It should be understood that although the various steps in the flow charts of fig. 2-10 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-10 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 11, there is provided a built-in program operating apparatus including: a receiving module 10, a determining module 11, a creating module 12 and an outputting module 13, wherein the apparatus comprises:
a receiving module 10, configured to receive a trigger request for a target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of a target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
a determining module 11, configured to determine a function mechanism corresponding to a target operation of each built-in program; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various processes of the built-in program;
a creating module 12, configured to create a built-in program identifier for each built-in program, and allocate an independent process to each built-in program according to the built-in program identifier; the built-in program identification is used for distinguishing the built-in programs;
and the output module 13 is configured to invoke each independent process in parallel, execute a function mechanism corresponding to the target operation of each built-in program, and obtain an operation result of the target operation.
In one embodiment, the built-in program management system further includes an operation management page;
the operation management page is used for inquiring the historical operation information of each target operation.
In one embodiment, the target operation is a login operation, and the function mechanism corresponding to the login operation includes a built-in program platform login protocol; the output module 13 includes:
the request login unit is used for requesting to call a built-in program platform login protocol in parallel by each independent process;
the login unit is used for receiving login graphic codes returned by the built-in program platform through a built-in program platform login protocol by each independent process; and the login graphic code is used for logging in the built-in program platform.
In one embodiment, the target operation is a packing operation, and the function mechanism corresponding to the packing operation includes a packing function; the output module 13 includes:
the request packing unit is used for enabling each independent process to parallelly request to call a connecting plug-in a packing function to connect a remote server with a built-in program, and then each independent process executes a preset packing instruction on each built-in program to obtain a packing file of each built-in program;
and the uploading unit is used for uploading the packaged files of the built-in programs to the remote server by each independent process.
In one embodiment, the apparatus further comprises: and the display unit is used for displaying the packaging progress of the packaging files of the built-in programs on an interface of the built-in program management system when the independent processes execute preset packaging instructions on the built-in programs.
In one embodiment, the target operation is an upload operation, and the function mechanism corresponding to the upload operation includes an upload function; the output module 13 includes:
the first connection unit is used for connecting each independent process with a remote server with a built-in program through a connection plug-in an uploading function;
the first downloading unit is used for downloading the packaging files of the built-in programs from the remote server by each independent process;
and the uploading and calling unit is used for uploading the packed files of the built-in programs to the built-in program platform in parallel by calling the built-in program platform uploading protocol by each independent process.
In one embodiment, the target operation is a preview operation, and the function mechanism corresponding to the preview operation includes a preview function; the output module 13 includes:
the second connecting unit is used for connecting the independent processes with the remote server with the built-in program through the connecting plug-in the preview function;
the second downloading unit is used for downloading the packaged file of each built-in program from the remote server by each independent process;
the preview request unit is used for requesting the preview graphic code of each built-in program by calling a built-in program platform preview protocol in each independent process; the preview graphic code is used for previewing the information content in each built-in program.
In one embodiment, the apparatus further comprises: the recording module is used for recording operation information for executing each target operation process after receiving a trigger request of target operation of at least one built-in program each time; the operation information comprises an operator identifier, an operation type, operation time, a built-in program version number of the operation, a built-in program identifier of the operation and a corresponding process.
In one embodiment, the built-in program management system further includes an operation management page; the operation management page is used for inquiring the historical operation information of each target operation.
For the specific limitations of the device for operating the built-in program, reference may be made to the above limitations of the method for operating the built-in program, which are not described herein again. The modules in the above-mentioned built-in program operating device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a built-in program operation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like. The processor in the computer device may also be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of a target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
determining a function mechanism corresponding to the target operation of each built-in program; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various operations of the built-in program;
creating built-in program identifiers of all built-in programs, and respectively allocating an independent process to each built-in program according to the built-in program identifiers; the built-in program identification is used for distinguishing the built-in programs;
and calling each independent process in parallel, and executing a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of a target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
determining a function mechanism corresponding to the target operation of each built-in program; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various operations of the built-in program;
creating built-in program identifiers of all built-in programs, and respectively allocating an independent process to each built-in program according to the built-in program identifiers; the built-in program identification is used for distinguishing the built-in programs;
and calling each independent process in parallel, and executing a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile 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 Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of operating a built-in program, the method comprising:
receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of the target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
determining a function mechanism corresponding to the target operation of each built-in program; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various operations of the built-in program;
creating built-in program identifiers of the built-in programs, and respectively allocating an independent process to the built-in programs according to the built-in program identifiers; the built-in program identification is used for distinguishing the built-in program;
and calling each independent process in parallel, and executing a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation.
2. The method of claim 1, wherein the target operation is a login operation, and wherein the functional mechanism corresponding to the login operation comprises a built-in program platform login protocol;
the parallel calling of each independent process executes a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation, and the method comprises the following steps:
all the independent processes request to call the built-in program platform login protocol in parallel;
each independent process receives a login graphic code returned by a built-in program platform through a built-in program platform login protocol; the login graphic code is used for logging in the built-in program platform.
3. The method of claim 1, wherein the target operation is a packing operation, and wherein the functional mechanism corresponding to the packing operation comprises a packing function;
the parallel calling of each independent process executes a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation, and the method comprises the following steps:
after each independent process requests to call a connection plug-in the packing function to connect with the remote server of the built-in program in parallel, each independent process executes a preset packing instruction on each built-in program to obtain a packing file of each built-in program;
and each independent process uploads the packaged file of each built-in program to the remote server.
4. The method of claim 1, wherein the target operation is an upload operation, and wherein the functional mechanism corresponding to the upload operation comprises an upload function;
the parallel calling of each independent process executes a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation, and the method comprises the following steps:
each independent process is connected with the remote server of the built-in program through a connecting plug-in the uploading function;
downloading the packaged file of each built-in program from the remote server by each independent process;
and each independent process uploads the packed file of each built-in program to the built-in program platform in parallel by calling the built-in program platform uploading protocol.
5. The method of claim 1, wherein the target operation is a preview operation, and wherein the functional mechanism corresponding to the preview operation comprises a preview function;
the parallel calling of each independent process executes a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation, and the method comprises the following steps:
each independent process is connected with a remote server of the built-in program through a connection plug-in the preview function;
downloading the packaged file of each built-in program from the remote server by each independent process;
each independent process requests a preview graphic code of each built-in program by calling the built-in program platform preview protocol; the preview graphic code is used for previewing the information content in each built-in program.
6. The method according to any one of claims 1-5, further comprising:
after receiving a trigger request of target operation of the at least one built-in program each time, recording operation information for executing each target operation process; the operation information comprises an operator identifier, an operation type, operation time, a built-in program version number of the operation, a built-in program identifier of the operation and a corresponding process.
7. An apparatus for operating a built-in program, the apparatus comprising:
the receiving module is used for receiving a trigger request of target operation of at least one built-in program; the trigger request is used for requesting an operation result of the target operation;
the triggering request is generated after a target operation page of the built-in program management system triggers a button of the target operation; the built-in program management system comprises operation pages of various different operations of the built-in program;
a determining module configured to determine a function mechanism corresponding to the target operation of each of the built-in programs; the function mechanism is a mechanism which is preset in the built-in program management system and is used for executing various processes of built-in programs;
the creating module is used for creating built-in program identifiers of the built-in programs and distributing an independent process to the built-in programs according to the built-in program identifiers; the built-in program identification is used for distinguishing the built-in program;
and the output module is used for calling each independent process in parallel and executing a function mechanism corresponding to the target operation of each built-in program to obtain an operation result of the target operation.
8. The apparatus of claim 7, further comprising an operations management page in the built-in program management system;
the operation management page is used for inquiring the historical operation information of each target operation.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202011164083.XA 2020-10-27 2020-10-27 Built-in program operating method and device, computer equipment and storage medium Active CN112328333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011164083.XA CN112328333B (en) 2020-10-27 2020-10-27 Built-in program operating method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011164083.XA CN112328333B (en) 2020-10-27 2020-10-27 Built-in program operating method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112328333A true CN112328333A (en) 2021-02-05
CN112328333B CN112328333B (en) 2023-03-17

Family

ID=74296911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011164083.XA Active CN112328333B (en) 2020-10-27 2020-10-27 Built-in program operating method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112328333B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114154526A (en) * 2021-12-02 2022-03-08 京东科技信息技术有限公司 Two-dimensional code processing method and system, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110246547A1 (en) * 2010-03-30 2011-10-06 Qualcomm Incorporated Methods and Apparatus For Device Applet Management on Smart Cards
CN105323285A (en) * 2014-07-28 2016-02-10 上海指游网络技术有限公司 APP-product multi-platform release method
CN110471663A (en) * 2018-05-11 2019-11-19 杭州海康威视数字技术股份有限公司 A kind of code compiling method, device and electronic equipment
CN111124576A (en) * 2019-12-23 2020-05-08 焦点科技股份有限公司 Multi-platform applet and H5 page adaptation method and system
CN111367565A (en) * 2020-03-20 2020-07-03 成都药王科技股份有限公司 Program release system
CN111459541A (en) * 2020-04-09 2020-07-28 武汉联影医疗科技有限公司 Application program packaging method and device, computer equipment and storage medium
CN111478956A (en) * 2020-04-01 2020-07-31 百度在线网络技术(北京)有限公司 Deployment and preview method and device of small program package
CN111694569A (en) * 2019-03-15 2020-09-22 北京奇虎科技有限公司 Method and device for constructing small program public component library and computing equipment
CN111752587A (en) * 2020-06-28 2020-10-09 北京百度网讯科技有限公司 Batch processing method and device of small programs, electronic equipment and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110246547A1 (en) * 2010-03-30 2011-10-06 Qualcomm Incorporated Methods and Apparatus For Device Applet Management on Smart Cards
CN105323285A (en) * 2014-07-28 2016-02-10 上海指游网络技术有限公司 APP-product multi-platform release method
CN110471663A (en) * 2018-05-11 2019-11-19 杭州海康威视数字技术股份有限公司 A kind of code compiling method, device and electronic equipment
CN111694569A (en) * 2019-03-15 2020-09-22 北京奇虎科技有限公司 Method and device for constructing small program public component library and computing equipment
CN111124576A (en) * 2019-12-23 2020-05-08 焦点科技股份有限公司 Multi-platform applet and H5 page adaptation method and system
CN111367565A (en) * 2020-03-20 2020-07-03 成都药王科技股份有限公司 Program release system
CN111478956A (en) * 2020-04-01 2020-07-31 百度在线网络技术(北京)有限公司 Deployment and preview method and device of small program package
CN111459541A (en) * 2020-04-09 2020-07-28 武汉联影医疗科技有限公司 Application program packaging method and device, computer equipment and storage medium
CN111752587A (en) * 2020-06-28 2020-10-09 北京百度网讯科技有限公司 Batch processing method and device of small programs, electronic equipment and readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PYTHONISTA DAILY: "微信小程序批量管理部署", 《HTTPS://MP.WEIXIN.QQ.COM/S/8NVX6PXF9-HK7_0TSY5WRA》 *
WINBZ企业转型: "微必知小程序打包、预览、发布流程", 《HTTPS://WWW.SOHU.COM/A/193285745_457657》 *
黑马程序员: "《解析Python网络爬虫 核心技术、Scrapy框架、分布式爬虫》", 1 August 2018, 中国铁道出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114154526A (en) * 2021-12-02 2022-03-08 京东科技信息技术有限公司 Two-dimensional code processing method and system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112328333B (en) 2023-03-17

Similar Documents

Publication Publication Date Title
CN108920354B (en) Embedded point management method and device, computer equipment and storage medium
CN108363587B (en) Application program operation monitoring method and device, computer equipment and storage medium
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN108304201B (en) Object updating method, device and equipment
WO2022170801A1 (en) Ios application program construction method and apparatus, electronic device, and storage medium
CN108829477B (en) Interface jump method, device, computer equipment and storage medium
US11449348B2 (en) Pre/post deployment customization
CN110688598B (en) Service parameter acquisition method and device, computer equipment and storage medium
CN108829485A (en) Update method, device, storage medium and the computer equipment of application interface layout
CN111563220A (en) Business website project construction method and device, computer equipment and storage medium
CN110032519A (en) Cloud function adjustment method, device, computer equipment and storage medium
CN112464623A (en) RPA flow file generation method and device, computer equipment and storage medium
CN111459541B (en) Application program packaging method and device, computer equipment and storage medium
CN113569541A (en) Message generation method, device, equipment and medium
CN112328333B (en) Built-in program operating method and device, computer equipment and storage medium
CN109254765A (en) Timing task management method, apparatus, computer equipment and storage medium
CN112650487A (en) Hybrid application development method, system, computer device and storage medium
CN111222153A (en) Application program authority management method and device and storage medium
CN110597552A (en) Configuration method, device and equipment of project continuous integration pipeline and storage medium
CN110232018A (en) Interface test method, device, computer equipment
CN109711124B (en) Method, apparatus, computer device and storage medium for managing mobile device
CN112068820A (en) Configuration processing method and device of microservice, computer equipment and storage medium
CN110943866B (en) Identification method and device of third-party equipment, computer equipment and storage medium
CN112527377B (en) Application program generation processing method, device, computer equipment and storage medium
CN114564385A (en) Software testing method and device, computer 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
GR01 Patent grant
GR01 Patent grant