CN112187841B - Service hosting method and device based on SaaS platform, electronic equipment and storage medium - Google Patents

Service hosting method and device based on SaaS platform, electronic equipment and storage medium Download PDF

Info

Publication number
CN112187841B
CN112187841B CN201910596858.1A CN201910596858A CN112187841B CN 112187841 B CN112187841 B CN 112187841B CN 201910596858 A CN201910596858 A CN 201910596858A CN 112187841 B CN112187841 B CN 112187841B
Authority
CN
China
Prior art keywords
mirror image
customization
request
service
saas platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910596858.1A
Other languages
Chinese (zh)
Other versions
CN112187841A (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.)
Xiamen Zhonglian Century Co ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910596858.1A priority Critical patent/CN112187841B/en
Publication of CN112187841A publication Critical patent/CN112187841A/en
Application granted granted Critical
Publication of CN112187841B publication Critical patent/CN112187841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

According to the service hosting method and device, the electronic equipment and the storage medium based on the SaaS platform, an interactive service hosting device is provided for a user, so that the user can respectively trigger a customizing request and an assembly packaging request on a service customizing interface and a mirror image assembly combined interface, the SaaS platform responds to the customizing request, and whether a target mirror image container corresponding to the customizing request is prestored in a current mirror image warehouse or not is judged according to the customizing request; if so, directly calling a target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container; and if not, enabling the SaaS platform to respond to the component packaging request, and installing and packaging the mirror image component selected by the user according to the component packaging request to obtain a target mirror image container corresponding to the customization request, so that the SaaS platform calls the target mirror image container to execute service hosting processing, a user-defined scheme of service hosting is provided for the user, and the actual requirements of the user are met.

Description

Service hosting method and device based on SaaS platform, electronic equipment and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to a service hosting method and apparatus based on a SaaS platform, an electronic device, and a storage medium.
Background
Software-as-a-Service (SaaS) refers to a new model for providing Software services via the internet. Under the SaaS mode, a manufacturer uniformly deploys application software on a server of the manufacturer, a customer can order required application software services from the manufacturer through the Internet according to actual requirements of the customer, pay the cost to the manufacturer according to the amount and time of the ordered services, and obtain the services provided by the manufacturer through the Internet.
In existing SaaS containerization hosting schemes, only specific language framework-based service hosting is supported. However, in the actual software as a service (SaaS) -based service hosting application process, in addition to the SaaS platform itself having various development languages, versions and frameworks, the languages, versions and frameworks of plug-ins that the SaaS platform needs to use are also very different, and a single SaaS containerization hosting scheme that only supports a specific language framework is difficult to meet the actual requirements of enterprise SaaS hosting.
Disclosure of Invention
In order to solve the above problems, the present disclosure provides a service hosting method and apparatus based on a SaaS platform, an electronic device, and a storage medium.
In a first aspect, the present disclosure provides a service hosting method based on a SaaS platform, including:
responding to a customization request triggered by a user at a service customization interface of the SaaS platform, and judging whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse according to the customization request;
if so, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container;
if not, responding to an assembly packaging request triggered by a mirror assembly combination interface of the SaaS platform of the user, and installing and packaging the mirror assembly selected by the user according to the assembly packaging request to obtain a target mirror container corresponding to the customization request; and storing the generated target mirror image container to a mirror image warehouse so that the SaaS platform calls the target mirror image container from the mirror image warehouse to execute service hosting processing.
In an optional example of the present disclosure, the responding to the customization request triggered by the user at the service customization interface of the SaaS platform includes:
providing an operable service customization interface;
receiving one or more customization entries selected by a user from a plurality of customizable options provided by a service customization interface, and taking the one or more customization entries as the customization request; or receiving one or more pieces of customization information input by a user in an information input area provided by the service customization interface, and taking the one or more pieces of customization information as the customization request.
In an optional example of the present disclosure, the determining, according to the customization request, whether a target mirror container corresponding to the customization request is prestored in a current mirror repository includes:
acquiring the container configuration of each mirror image container prestored in a mirror image warehouse;
and determining whether a target mirror container meeting the customization request exists according to the container configuration.
In an optional example of the present disclosure, the responding to a component packaging request triggered by a mirror component combination interface of the SaaS platform of a user, and installing and packaging a mirror component selected by the user according to the component packaging request to obtain a target mirror container corresponding to the customization request includes:
providing an operable mirror component assembly interface;
receiving at least one mirror image component selected by a user on the mirror image component combination interface;
installing the at least one mirror image component, and verifying and debugging each installed mirror image component;
and packaging all the debugged mirror image components to obtain the target mirror image container.
In an optional example of the present disclosure, the verifying and debugging each installed mirror image component includes:
and when the installed mirror image components cannot run, determining and installing the basic mirror image components related to the mirror image components until the mirror image components run normally.
In an optional example of the present disclosure, the customization request is used to indicate attribute information of the target image container, and the attribute information includes at least one of an operating system type, a language type, and a framework type.
In an optional example of the present disclosure, the service hosting method further comprises:
responding a monitoring alarm request triggered by a user on a monitoring alarm interface of the SaaS platform, and monitoring and alarming log information and/or request information generated when the SaaS platform executes service hosting processing according to a monitoring target and an alarm triggering threshold value in the monitoring alarm request.
In a second aspect, the present disclosure provides a service hosting apparatus based on a SaaS platform, including:
the system comprises an interaction unit, a service customization interface and a mirror image component combination interface, wherein the interaction unit is used for providing the service customization interface and the mirror image component combination interface on a SaaS platform;
the system comprises a processing unit, a service customization interface and a service customization unit, wherein the processing unit is used for responding to a customization request triggered by a user on the service customization interface of the SaaS platform and judging whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse according to the customization request; if so, directly calling the target mirror image container to enable the hosting unit to execute service hosting processing by using the target mirror image container; if not, responding to an assembly packaging request triggered by a mirror assembly combination interface of the SaaS platform of the user, and installing and packaging the mirror assembly selected by the user according to the assembly packaging request to obtain a target mirror container corresponding to the customization request; and storing the generated target image container to an image warehouse so that the SaaS platform calls the target image container from the image warehouse to execute service hosting processing.
In a third aspect, the present disclosure provides an electronic device comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as in any preceding claim.
In a fourth aspect, the present disclosure provides a storage medium containing computer-executable instructions for performing the method of any one of the preceding claims when executed by a computer processor.
According to the SaaS platform-based service hosting method, device, electronic equipment and storage medium, an interactive SaaS platform is provided for a user, so that the user can respectively trigger a customization request and an assembly packaging request at a service customization interface and a mirror image assembly combined interface, the SaaS platform responds to the customization request, and whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse or not is judged according to the customization request; if so, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container; if not, enabling the SaaS platform to respond to the component packaging request, and installing and packaging the mirror image component selected by the user according to the component packaging request to obtain a target mirror image container corresponding to the customization request; and storing the generated target mirror image container to a mirror image warehouse so that the SaaS platform calls the target mirror image container from the mirror image warehouse to execute service hosting processing, thereby providing a user-defined scheme of service hosting for users and meeting diversified actual use requirements of the users.
Drawings
FIG. 1 is a schematic diagram of a network architecture upon which the present disclosure is based;
fig. 2 is a schematic flowchart of a service hosting method based on a SaaS platform according to the present disclosure;
fig. 3 is an interface schematic diagram of a service hosting method based on a SaaS platform according to the present disclosure;
fig. 4 is a schematic flowchart of another SaaS platform-based service hosting method provided by the present disclosure;
fig. 5 is a schematic structural diagram of a service hosting device based on a SaaS platform according to the present disclosure;
fig. 6 is a schematic diagram of a hardware structure of an electronic device provided in the present disclosure.
Detailed Description
To make the purpose, technical solutions and advantages of the disclosed examples clearer, the technical solutions in the disclosed examples will be clearly and completely described below with reference to the drawings in the disclosed examples.
Software-as-a-Service (SaaS) refers to a new model for providing Software services via the internet. Under the SaaS mode, a manufacturer uniformly deploys application software on a server of the manufacturer, a customer can order required application software services from the manufacturer through the Internet according to actual requirements of the customer, pay the cost to the manufacturer according to the amount and time of the ordered services, and obtain the services provided by the manufacturer through the Internet.
In existing SaaS containerization hosting schemes, only service hosting based on a specific language framework is supported. However, in the actual software as a service (SaaS) -based service hosting application process, in addition to the SaaS platform itself having various development languages, versions and frameworks, the languages, versions and frameworks of plug-ins that the SaaS platform needs to use are also very different, and a single SaaS containerization hosting scheme that only supports a specific language framework is difficult to meet the actual requirements of enterprise SaaS hosting.
In addition, different event attributes and event name templates are adopted for texts to be processed of different event types, so that language fluency and semantic integrity of event names of the generated texts to be processed are higher, and actual use requirements are met.
Fig. 1 is a schematic diagram of a network architecture on which the present disclosure is based, and as shown in fig. 1, the network architecture on which the present disclosure is based may include a SaaS platform 1, a network, and a SaaS platform-based service hosting apparatus 2, where the SaaS platform-based service hosting apparatus 2 may be used to execute a service hosting method described in each embodiment below, so as to implement execution and management of service hosting.
The network is a medium for providing a communication link between the SaaS platform 1 and the SaaS platform-based service hosting apparatus 2, and may include various connection types, such as a wired connection, a wireless communication link, or an optical fiber cable.
The SaaS platform 1 may be a cloud server group or a server cluster having a logic processing function, and may provide functions of storing, searching, calculating, processing, and the like of data. The service hosting device 2 based on the SaaS platform can be installed on the electronic device, and interacts with the SaaS platform 1 through the electronic device.
Furthermore, the service hosting apparatus 1 based on the SaaS platform may also be implemented as a plurality of software or software modules (for example, for providing distributed services), or may also be implemented as a single software or software module, which is not specifically limited herein.
In one aspect, an example of the present disclosure provides a service hosting method based on a SaaS platform, and fig. 2 is a flowchart illustrating the service hosting method based on the SaaS platform provided by the present disclosure.
As shown in fig. 2, the service hosting method based on the SaaS platform includes:
step 101, responding to a customization request triggered by a user on a service customization interface of a SaaS platform, and judging whether a target mirror container corresponding to the customization request is prestored in a current mirror warehouse according to the customization request;
if yes, go to step 102; if not, go to step 103.
Step 102, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container;
103, responding to a component packaging request triggered by a mirror image component combination interface of the SaaS platform of a user, and installing and packaging a mirror image component selected by the user according to the component packaging request to obtain a target mirror image container corresponding to the customization request;
and step 104, storing the generated target image container to an image warehouse so that the SaaS platform calls the target image container from the image warehouse to execute service hosting processing.
Specifically, an execution subject of the example of the present disclosure is the foregoing service hosting apparatus, in order to facilitate receiving a personalized customization request of a user, in the service hosting method provided by the present disclosure, a service customization interface may be provided for the user, and fig. 3 is an interface schematic diagram of a service hosting method based on a SaaS platform provided by the present disclosure, as shown in fig. 3.
In an example of the present disclosure, the service hosting device is to provide an operable service customization interface, and receive one or more customization entries selected by a user from a plurality of customizable options provided by the service customization interface, and use the one or more customization entries as the customization request; or receiving one or more pieces of customization information input by a user in an information input area provided by the service customization interface, and taking the one or more pieces of customization information as the customization request.
The customization request is used for representing attribute information of the target image container, and the attribute information comprises at least one of an operating system type, a language type and a framework type.
That is, the service hosting device receives a user-required rating request for an operating system type, a language type, a framework type, and the like through the service customization interface.
In the SaaS platform, a mirror repository is generally provided, in which a large number of mirror containers are pre-stored, and a part of the mirror containers are pre-stored by developers, and another part of the mirror containers are generated according to historical requests of users, that is, historically generated mirror containers.
The service hosting device may store, in the image repository, container configurations of the image containers, which may be, for example, a range of types of operating systems, a range of types of languages, a range of types of frameworks, and the like that can be carried or supported by the image containers, in particular, when the image containers are stored in the image repository, the service hosting device may store the container configurations of the image containers together.
The service hosting device can acquire the container configuration of each mirror image container prestored in the mirror image warehouse and determine whether a target mirror image container meeting the customization request exists according to the container configuration.
When the existing mirror image container can meet the customization request, the service hosting device can directly call the target mirror image container so that the SaaS platform executes service hosting processing by using the target mirror image container, and the process is similar to that in the prior art and is not described herein again.
Different from the prior art, when an existing mirror image container cannot meet a customization request, a service hosting device responds to a component packaging request triggered by a mirror image component combination interface of the SaaS platform of a user, and installs and packages a mirror image component selected by the user according to the component packaging request so as to obtain a target mirror image container corresponding to the customization request.
Specifically, the service hosting device may also provide an operational mirror component assembly interface; and finally, packaging all the debugged mirror image components to obtain the target mirror image container.
The mirror image components are selected by the user, so that the mirror image components can not be ensured to normally operate after the mirror image components are installed. That is, when a user selects a mirror component, some basic mirror components may be missing to be selected and installed, and the installed mirror components may not function properly due to the missing basic mirror components. In order to avoid this situation, in an alternative example of the present disclosure, the verifying and debugging of each installed mirror component may be performed as follows: and when the installed mirror image components cannot run, determining and installing the basic mirror image components related to the mirror image components until the mirror image components run normally.
Subsequently, in order to facilitate the next call to the target image container, the service hosting device further stores the generated target image container to an image repository, so that the SaaS platform calls the target image container from the image repository to execute service hosting processing.
According to the SaaS platform-based service hosting method, an interactive SaaS platform is provided for a user, so that the user can respectively trigger a customization request and an assembly packaging request at a service customization interface and a mirror image assembly combined interface, the SaaS platform responds to the customization request, and whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse or not is judged according to the customization request; if so, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container; if not, enabling the SaaS platform to respond to the component packaging request, and installing and packaging the mirror image component selected by the user according to the component packaging request to obtain a target mirror image container corresponding to the customization request; and storing the generated target mirror image container to a mirror image warehouse so that the SaaS platform calls the target mirror image container from the mirror image warehouse to execute service hosting processing, thereby providing a user-defined scheme of service hosting for users and meeting diversified actual use requirements of the users.
With reference to the foregoing implementation manners, fig. 4 is a schematic flow diagram of another SaaS platform-based service hosting method provided by the present disclosure, and as shown in fig. 4, the SaaS platform-based service hosting method includes:
step 201, responding to a customization request triggered by a user at a service customization interface of a SaaS platform, and judging whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse according to the customization request;
if yes, go to step 202; if not, go to step 203.
Step 202, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container;
step 203, responding to a component packaging request triggered by a mirror image component combination interface of the SaaS platform of a user, and installing and packaging a mirror image component selected by the user according to the component packaging request to obtain a target mirror image container corresponding to the customization request;
step 204, storing the generated target image container to an image warehouse so that the SaaS platform calls the target image container from the image warehouse to execute service hosting processing;
step 205, responding to a monitoring alarm request triggered by a user on a monitoring alarm interface of the SaaS platform, and triggering a threshold value according to a monitoring target and an alarm in the monitoring alarm request;
and step 206, monitoring and alarming log information and/or request information generated when the SaaS platform executes service hosting processing.
Steps 201 to 204 in this embodiment are similar to the implementation manners of steps 101 to 104 in the foregoing embodiment, and are not described herein again.
In order to facilitate supervision of a hosting process of the SaaS platform when executing service hosting processing by a user, on the basis of the above example, the service hosting apparatus of the service hosting method of the present disclosure further provides an operable monitoring alarm interface, in which the user can input a monitoring target and/or an alarm trigger threshold, so that the service hosting apparatus can monitor and alarm the SaaS platform when executing the service hosting processing based on the monitoring target and/or the alarm trigger threshold, the generated log information, and/or the request information. Wherein the monitoring target is entered, and/or the alarm trigger threshold may be, for example: how many requests are received per second, whether the number of request processing failures exceeds a threshold, whether there is an abnormal log, whether the request processing time is overtime, a time threshold for overtime, and the like. Once the alarm triggering threshold is triggered or reached, alarm information or monitoring information can be displayed in a monitoring alarm interface in a graphical mode.
That is to say, the service hosting device will respond to a monitoring alarm request triggered by a user on a monitoring alarm interface of the SaaS platform, and monitor and alarm log information and/or request information generated when the SaaS platform executes service hosting processing according to a monitoring target and an alarm triggering threshold in the monitoring alarm request.
On the basis of the foregoing embodiment, after the deployment of the service hosting is completed, the service hosting device may further provide a corresponding service port to support user-defined log monitoring and alarm triggering, so as to implement real-time monitoring and graphical presentation of the log information of the service hosting.
In a second aspect, an example of the present disclosure provides a service hosting apparatus based on a SaaS platform, and fig. 5 is a schematic structural diagram of the service hosting apparatus based on the SaaS platform according to the present disclosure, as shown in fig. 5, the service hosting apparatus based on the SaaS platform includes:
the system comprises an interaction unit 10, a service customization interface and a mirror image component combination interface, wherein the interaction unit is used for providing the service customization interface and the mirror image component combination interface on a SaaS platform;
the processing unit 20 is configured to respond to a customization request triggered by a user at a service customization interface of the SaaS platform, and determine whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse according to the customization request; if so, directly calling the target mirror image container to enable the hosting unit to execute service hosting processing by using the target mirror image container; if not, responding to a component packaging request triggered by a mirror component combination interface of the SaaS platform of the user, and installing and packaging a mirror component selected by the user according to the component packaging request to obtain a target mirror container corresponding to the customization request; and storing the generated target image container to an image warehouse so that the SaaS platform calls the target image container from the image warehouse to execute service hosting processing.
In an optional example of the present disclosure, the interaction unit 10 is configured to provide an operable service customization interface; receiving one or more customization entries selected by a user from a plurality of customizable options provided by a service customization interface, and taking the one or more customization entries as the customization request; or receiving one or more pieces of customization information input by a user in an information input area provided by the service customization interface, and taking the one or more pieces of customization information as the customization request.
In an optional example of the present disclosure, the processing unit 20 is configured to obtain a container configuration of each mirror image container pre-stored in a mirror image warehouse; and determining whether a target mirror container meeting the customization request exists according to the container configuration.
In an optional example of the present disclosure, the interaction unit 10 is configured to provide an operable mirror component combination interface; receiving at least one mirror image component selected by a user on the mirror image component combination interface;
the processing unit 20 is configured to install the at least one mirror image component, and perform verification and debugging on each installed mirror image component; and packaging all the debugged mirror image components to obtain the target mirror image container.
In an optional example of the present disclosure, the processing unit 20 is configured to determine and install a base mirror component related to each mirror component until each mirror component operates normally when each installed mirror component cannot operate.
In an optional example of the present disclosure, the customization request is used to indicate attribute information of the target image container, and the attribute information includes at least one of an operating system type, a language type, and a framework type.
In an optional example of the present disclosure, the service hosting method further comprises: a monitoring unit;
the monitoring unit is used for responding to a monitoring alarm request triggered by a user on a monitoring alarm interface of the SaaS platform, and monitoring and alarming log information and/or request information generated when the SaaS platform executes service hosting processing according to a monitoring target and an alarm triggering threshold value in the monitoring alarm request.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, reference may be made to the corresponding process in the foregoing method example for the specific working process and the corresponding beneficial effect of the control device described above, and details are not described herein again.
According to the SaaS platform-based service hosting device, an interactive SaaS platform is provided for a user, so that the user can respectively trigger a customization request and an assembly packaging request at a service customization interface and a mirror image assembly combined interface, the SaaS platform responds to the customization request, and whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse or not is judged according to the customization request; if so, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container; if not, enabling the SaaS platform to respond to the component packaging request, and installing and packaging the mirror image component selected by the user according to the component packaging request to obtain a target mirror image container corresponding to the customization request; and storing the generated target mirror image container to a mirror image warehouse so that the SaaS platform calls the target mirror image container from the mirror image warehouse to execute service hosting processing, thereby providing a user-defined scheme of service hosting for users and meeting diversified actual use requirements of the users.
In a third aspect, the present disclosure provides an electronic device, fig. 6 is a schematic diagram of a hardware structure of the electronic device provided by the present disclosure, and as shown in fig. 6, the present disclosure provides an electronic device, including:
one or more processors 42;
a storage device 41 for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as in any preceding claim.
The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the control device has a structure including a processor and a memory, the memory is used for storing a program for supporting the electronic device to execute the control method of the device in the first aspect, and the processor is configured to execute the program stored in the memory. The electronic device may further comprise a communication interface for controlling the device to communicate with other devices or a communication network.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and corresponding beneficial effects of the control device described above may refer to the corresponding process in the foregoing method example, and are not described herein again.
In a fourth aspect, the present disclosure provides a storage medium for storing computer software instructions for an electronic device, which contains instructions for executing the program according to the first aspect.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method examples may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the above-described method examples; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solutions of the present disclosure, not to limit them; while the present disclosure has been described in detail with reference to the foregoing examples, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing examples can still be modified, or some or all of the technical features can be equivalently replaced; such modifications or substitutions do not depart from the scope of the exemplary embodiments of the present disclosure.

Claims (9)

1. A service hosting method based on a software as a service (SaaS) platform is characterized by comprising the following steps:
responding to a customization request triggered by a user on a service customization interface of the SaaS platform, and judging whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse according to the customization request; the customization request is used for representing attribute information of the target image container, and the attribute information comprises at least one of an operating system type, a language type and a framework type;
if so, directly calling the target mirror image container to enable the SaaS platform to execute service hosting processing by using the target mirror image container;
if not, responding to an assembly packaging request triggered by a mirror assembly combination interface of the SaaS platform of the user, and installing and packaging the mirror assembly selected by the user according to the assembly packaging request to obtain a target mirror container corresponding to the customization request; and storing the generated target mirror image container to a mirror image warehouse so that the SaaS platform calls the target mirror image container from the mirror image warehouse to execute service hosting processing.
2. The service hosting method according to claim 1, wherein the responding to the customization request triggered by the user at the service customization interface of the SaaS platform comprises:
providing an operable service customization interface;
receiving one or more customization entries selected by a user from a plurality of customizable options provided by a service customization interface, and taking the one or more customization entries as the customization request; or receiving one or more pieces of customization information input by a user in an information input area provided by the service customization interface, and taking the one or more pieces of customization information as the customization request.
3. The service hosting method according to claim 1, wherein the determining whether a target mirror container corresponding to the customization request is prestored in the current mirror repository according to the customization request includes:
acquiring the container configuration of each mirror image container prestored in a mirror image warehouse;
and determining whether a target mirror container meeting the customization request exists according to the container configuration.
4. The service hosting method according to claim 1, wherein the responding to a component packaging request triggered by a mirror component combination interface of the SaaS platform of a user, and installing and packaging a mirror component selected by the user according to the component packaging request to obtain a target mirror container corresponding to the customization request includes:
providing an operable mirror component assembly interface;
receiving at least one mirror image component selected by a user on the mirror image component combination interface;
installing the at least one mirror image component, and verifying and debugging each installed mirror image component;
and packaging all the debugged mirror image components to obtain the target mirror image container.
5. The service hosting method according to claim 4, wherein the verifying and debugging each installed mirror component comprises:
and when the installed mirror image components cannot run, determining and installing the basic mirror image components related to the mirror image components until the mirror image components run normally.
6. The service hosting method of any one of claims 1-5, further comprising:
responding a monitoring alarm request triggered by a user on a monitoring alarm interface of the SaaS platform, and monitoring and alarming log information and/or request information generated when the SaaS platform executes service hosting processing according to a monitoring target and an alarm triggering threshold value in the monitoring alarm request.
7. A service hosting device based on a SaaS platform is characterized by comprising:
the system comprises an interaction unit, a service customization interface and a mirror image component combination interface, wherein the interaction unit is used for providing the service customization interface and the mirror image component combination interface on a SaaS platform;
the system comprises a processing unit, a service customization interface and a service customization interface, wherein the processing unit is used for responding to a customization request triggered by a user on the service customization interface of the SaaS platform, the customization request is used for representing attribute information of a target mirror image container, and the attribute information comprises at least one of an operating system type, a language type and a framework type; according to the customization request, whether a target mirror image container corresponding to the customization request is prestored in a current mirror image warehouse or not is judged; if so, directly calling the target mirror image container to enable the hosting unit to execute service hosting processing by using the target mirror image container; if not, responding to an assembly packaging request triggered by a mirror assembly combination interface of the SaaS platform of the user, and installing and packaging the mirror assembly selected by the user according to the assembly packaging request to obtain a target mirror container corresponding to the customization request; and storing the generated target mirror image container to a mirror image warehouse so that the SaaS platform calls the target mirror image container from the mirror image warehouse to execute service hosting processing.
8. An electronic device, characterized in that the electronic device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
9. A storage medium containing computer-executable instructions for performing the method of any one of claims 1-6 when executed by a computer processor.
CN201910596858.1A 2019-07-02 2019-07-02 Service hosting method and device based on SaaS platform, electronic equipment and storage medium Active CN112187841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910596858.1A CN112187841B (en) 2019-07-02 2019-07-02 Service hosting method and device based on SaaS platform, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910596858.1A CN112187841B (en) 2019-07-02 2019-07-02 Service hosting method and device based on SaaS platform, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112187841A CN112187841A (en) 2021-01-05
CN112187841B true CN112187841B (en) 2022-07-08

Family

ID=73915076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910596858.1A Active CN112187841B (en) 2019-07-02 2019-07-02 Service hosting method and device based on SaaS platform, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112187841B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323282A (en) * 2014-07-28 2016-02-10 神州数码信息***有限公司 Enterprise application deployment and management system for multiple tenants
CN105763602A (en) * 2016-01-29 2016-07-13 腾讯科技(深圳)有限公司 Data request processing method, server and cloud interactive system
WO2017189067A1 (en) * 2016-04-29 2017-11-02 Intel IP Corporation Techniques to manage service requests in a wireless network
CN108881390A (en) * 2018-05-18 2018-11-23 深圳壹账通智能科技有限公司 the cloud platform deployment method, device and equipment of electronic account service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8429630B2 (en) * 2005-09-15 2013-04-23 Ca, Inc. Globally distributed utility computing cloud
US10579403B2 (en) * 2015-06-29 2020-03-03 Vmware, Inc. Policy based provisioning of containers
US11106508B2 (en) * 2017-08-04 2021-08-31 Espressive, Inc. Elastic multi-tenant container architecture
CN111279309A (en) * 2017-09-30 2020-06-12 甲骨文国际公司 Container deployment based on environmental requirements

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323282A (en) * 2014-07-28 2016-02-10 神州数码信息***有限公司 Enterprise application deployment and management system for multiple tenants
CN105763602A (en) * 2016-01-29 2016-07-13 腾讯科技(深圳)有限公司 Data request processing method, server and cloud interactive system
WO2017189067A1 (en) * 2016-04-29 2017-11-02 Intel IP Corporation Techniques to manage service requests in a wireless network
CN108881390A (en) * 2018-05-18 2018-11-23 深圳壹账通智能科技有限公司 the cloud platform deployment method, device and equipment of electronic account service

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Evaluating the Effect of Multi-Tenancy Patterns in Containerized Cloud-Hosted Content Management System;Adekunbi A.Adewojo等;《2018 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP)》;20180607;全文 *
基于Docker的混合云应用编排方案研究;孙庚泽等;《互联网技术》;20151101;全文 *
集群托管服务,用户搭建容器集群的最佳选择;大数小编;《知乎 zhuanlan.zhihu.com/p/60645989》;20190328;全文 *

Also Published As

Publication number Publication date
CN112187841A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
CN108804215B (en) Task processing method and device and electronic equipment
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
US20140059199A1 (en) Transaction-level health monitoring of online services
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
US11645086B2 (en) System and method for implementing a filesystem agent management solution
CN110888801A (en) Software program testing method and device, storage medium and electronic equipment
CN110647739A (en) Software installation detection method, device, terminal and storage medium
CN110874263A (en) Method and device for monitoring instances of docker container
CN110502399B (en) Fault detection method and device
CN105242981A (en) Configuration method of Kdump and computer device
CN112187841B (en) Service hosting method and device based on SaaS platform, electronic equipment and storage medium
CN112486544A (en) Software upgrading method and device
CN112486503A (en) Deployment delivery method for distributed applications
CN109408104B (en) Method and device for acquiring game integration information
CN109783261B (en) Crash processing method and device for terminal application, electronic equipment and storage medium
CN109274533B (en) Web service fault positioning device and method based on rule engine
CN115729679A (en) Task processing method and device, computer readable storage medium and electronic device
CN113515293B (en) Method and system for managing DevOps toolchain
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN114928603A (en) Client software upgrading method and device, electronic equipment and medium
CN114328090A (en) Program monitoring method and device, electronic equipment and storage medium
CN113656063A (en) System version replacing method, device, equipment and computer readable medium
CN112231231A (en) Method, system and device for debugging cloud service
CN113608996B (en) Mirror image compiling test method, system, device and readable storage medium
US20240176605A1 (en) Method and apparatus for application deployment in software-as-a-service platform 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230926

Address after: 361000 3F-B003, Zone C, Innovation Building, Software Park, Xiamen Torch High tech Zone, Xiamen, Fujian Province

Patentee after: Xiamen Zhonglian Century Co.,Ltd.

Address before: 2 / F, *** building, 10 Shangdi 10th Street, Haidian District, Beijing 100085

Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd.