Upgrading adaptation method of SaaS (software as a service) service, user mobile terminal and system

文档序号:7233 发布日期:2021-09-17 浏览:87次 中文

1. An upgrade adaptation method for SaaS service is characterized by comprising the following steps:

detecting and acquiring a first version number and requesting to read a second version number of first system software on a private cloud server; the first version number is the version number of a first SaaS service currently accessed by the user mobile terminal; the first SaaS service corresponds to the first system software;

judging whether version adaptation is needed at present according to the first version number and the second version number, and sending a resource package downloading instruction to a public cloud server when judging that the version adaptation is needed; the download resource package instruction corresponds to the second version number;

receiving and loading a second resource packet sent by the public cloud server, thereby completing synchronous adaptation; the second resource package corresponds to the download resource package instruction.

2. The method for upgrading and adapting SaaS claimed in claim 1, wherein the determining whether version adaptation is currently required according to the first version number and the second version number specifically comprises:

and when the first version number is higher or lower than the second version number, judging that version adaptation is needed.

3. The upgrade adaptation method for SaaS services according to claim 2, wherein the second resource package includes a software interface of a current version of the first system software on the private cloud server, a mobile version upgrade package, and a second version number.

4. The SaaS service upgrade adapting method according to any one of claims 1 to 3, wherein before detecting and acquiring the first version number and requesting to read the second version number of the first system software on the private cloud server, the private cloud server packages the first system static resource file of the first system software of the current version into a first resource package, and sends and uploads the first resource package to the public cloud server.

5. The SaaS service upgrade adapting method according to claim 4, wherein the first system static resource file includes a software interface of a current version of the first system software, a mobile version upgrade package, a web version upgrade package, and a second version number.

6. A user mobile terminal of SaaS service is characterized in that the user mobile terminal comprises an information acquisition module, a comparison and judgment module and a synchronous adaptation module, wherein,

the information acquisition module is used for detecting and acquiring a first version number and requesting to read a second version number of the first system software on the private cloud server; the first version number is the version number of a first SaaS service currently accessed by the user mobile terminal; the first SaaS service corresponds to the first system software;

the comparison and judgment module is used for judging whether version adaptation is needed or not at present according to the first version number and the second version number, and sending a resource package downloading instruction to the public cloud server when the judgment shows that the version adaptation is needed; the download resource package instruction corresponds to the second version number;

the synchronous adaptation module is used for receiving and loading a second resource packet sent by the public cloud server so as to complete synchronous adaptation; the second resource package corresponds to a second version of the first system software of the private cloud server.

7. An upgrade adaptation system of a SaaS service, the upgrade adaptation system comprising a public cloud server, a private cloud server, and a user mobile terminal, the public cloud server, the private cloud server, and the user mobile terminal being communicatively connected to each other,

the user mobile terminal is used for executing the upgrade adaptation method of the SaaS service according to any one of claims 1-3;

the private cloud server is used for packaging a first system static resource file of a first system software of a current version into a first resource package, and sending and uploading the first resource package to the public cloud server;

the public cloud server is used for receiving and storing the resource packages corresponding to the versions sent by the private cloud server; when receiving a resource package downloading instruction sent by the user mobile terminal, calling and sending a second resource package to the user mobile terminal according to the resource package downloading instruction; the second resource package corresponds to the download resource package instruction.

Background

A software as a Service (SaaS) platform is a platform for operating SaaS software. The SaaS provider builds all network infrastructures, software and hardware operation platforms required by informatization for enterprises and is responsible for a series of services such as implementation in the early stage, maintenance in the later stage and the like, and the enterprises can use the information system through the Internet without purchasing software and hardware, building a machine room and recruiting IT personnel. The SaaS is a software layout model, and is designed for network delivery by application, and is convenient for users to host, deploy and access through the internet.

In the prior art, common SaaS system deployment modes include a private cloud, a public cloud server, and a hybrid cloud, and because the SaaS system deployment of an enterprise takes security and convenience of application into consideration, the SaaS system deployment is usually performed in the hybrid cloud mode.

However, the prior art still has the following disadvantages: the problem that part of services of different software systems deployed on the private cloud cannot be accessed or access is wrong due to the fact that the version of the SaaS system accessed by the mobile terminal from the public cloud server is inconsistent with the version of the client system deployed on the local private cloud (for example, due to the fact that the software service is versioned because the system deployed on the local private cloud is slow in upgrading process, the version redundancy of the supporting system on the public cloud server is too high, and the IT software and hardware investment is increased) may be encountered.

Therefore, there is a need for an upgrade adaptation method, a user mobile terminal, and a system for SaaS service, so as to solve the above problems in the prior art.

Disclosure of Invention

In view of the above technical problems, an object of the present invention is to provide an upgrade adaptation method, a mobile subscriber end and a system for SaaS service, so as to improve the adaptation efficiency between the service accessed by the mobile subscriber end and the service deployed on the private cloud, and maximize the public resource utilization of the public cloud server.

The invention provides an upgrading adaptation method of SaaS service, which comprises the following steps: detecting and acquiring a first version number and requesting to read a second version number of first system software on a private cloud server; the first version number is the version number of a first SaaS service currently accessed by the user mobile terminal; the first SaaS service corresponds to the first system software; judging whether version adaptation is needed at present according to the first version number and the second version number, and sending a resource package downloading instruction to a public cloud server when judging that the version adaptation is needed; the download resource package instruction corresponds to the second version number; receiving and loading a second resource packet sent by the public cloud server, thereby completing synchronous adaptation; the second resource package corresponds to the download resource package instruction.

In an embodiment, the determining whether version adaptation is currently required according to the first version number and the second version number specifically includes: and when the first version number is higher or lower than the second version number, judging that version adaptation is needed.

In one embodiment, the second resource package includes a software interface of the current version of the first system software on the private cloud server, a mobile version upgrade package, and a second version number.

In one embodiment, before detecting and acquiring the first version number and requesting to read the second version number of the first system software on the private cloud server, the private cloud server packages the first system static resource file of the first system software of the current version into a first resource package, and sends and uploads the first resource package to the public cloud server.

In one embodiment, the first system static resource file includes a software interface of a current version of the first system software, a mobile version upgrade package, a web version upgrade package, and a second version number.

The invention also provides a user mobile terminal of the SaaS service, which comprises an information acquisition module, a comparison and judgment module and a synchronous adaptation module, wherein the information acquisition module is used for detecting and acquiring the first version number and requesting to read the second version number of the first system software on the private cloud server; the first version number is the version number of a first SaaS service currently accessed by the user mobile terminal; the first SaaS service corresponds to the first system software; the comparison and judgment module is used for judging whether version adaptation is needed or not at present according to the first version number and the second version number, and sending a resource package downloading instruction to the public cloud server when the judgment shows that the version adaptation is needed; the download resource package instruction corresponds to the second version number; the synchronous adaptation module is used for receiving and loading a second resource packet sent by the public cloud server so as to complete synchronous adaptation; the second resource package corresponds to a second version of the first system software of the private cloud server.

The invention also provides an upgrade adaptation system of the SaaS service, which comprises a public cloud server, a private cloud server and a user mobile terminal, wherein the public cloud server, the private cloud server and the user mobile terminal are in communication connection with each other, and the user mobile terminal is used for executing the upgrade adaptation method of the SaaS service as claimed in the preceding claim; the private cloud server is used for packaging a first system static resource file of a first system software of a current version into a first resource package, and sending and uploading the first resource package to the public cloud server; the public cloud server is used for receiving and storing the resource packages corresponding to the versions sent by the private cloud server; when receiving a resource package downloading instruction sent by the user mobile terminal, calling and sending a second resource package to the user mobile terminal according to the resource package downloading instruction; the second resource package corresponds to the download resource package instruction.

Compared with the prior art, the embodiment of the invention has the following beneficial effects:

the invention provides an upgrade adaptation method of SaaS service, a user mobile terminal and a system, wherein the method, the user mobile terminal and the system improve the adaptation efficiency of business service accessed by the user mobile terminal and business service deployed on a private cloud and maximize the public resource utilization rate of the public cloud server by comparing the version numbers of the user mobile terminal and the private cloud server and downloading a mobile version upgrade package from a public cloud server for loading and upgrading under the condition that the version number of the user mobile terminal is different from that of the private cloud server.

Drawings

The invention will be further described with reference to the accompanying drawings, in which:

fig. 1 is a flowchart illustrating an embodiment of an upgrade adaptation method for a SaaS service according to the present invention;

fig. 2 is a block diagram illustrating an embodiment of a user mobile terminal of a SaaS service according to the present invention;

fig. 3 is a block diagram illustrating an embodiment of an upgrade adaptation system for SaaS service according to the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Detailed description of the preferred embodiment

In order to enable software versions of SaaS services which can be accessed by an upgraded user mobile terminal and system software on a private cloud server to be adaptive, the invention provides an upgrading adaptation method of the SaaS services. Specifically, fig. 1 shows a flowchart of an embodiment of an upgrade adaptation method for SaaS services according to the present invention. As shown in fig. 1, the method comprises the steps of:

and S1, detecting and acquiring the first version number and requesting to read the second version number of the first system software on the private cloud server.

In order to enable the upgraded version of the user mobile terminal to be adaptive to the software version of the first system software on the private cloud server, the version numbers of the user mobile terminal and the private cloud server need to be compared, and before the comparison, the version numbers of the user mobile terminal and the private cloud server need to be obtained. Specifically, a first version number of the user mobile terminal is obtained through detection, and a second version number of the first system software on the private cloud server is obtained through sending a version number reading request to the private cloud server. The first version number is the version number of a first SaaS service currently accessed by a user mobile terminal, and the first SaaS service corresponds to the first system software.

And S2, judging whether the version adaptation is needed or not at present according to the first version number and the second version number, and sending a resource package downloading instruction to a public cloud server when the version adaptation is judged to be needed.

When the first version number is higher or lower than the second version number, it indicates that the software version of the first system software on the private cloud server is not matched with the version of the first SaaS service currently accessed by the user mobile terminal, and there may be a possibility that part of functions of the first system software on the private cloud server cannot provide services for the current user mobile terminal.

Therefore, after the first version number and the second version number are obtained, the version of the user mobile terminal and the software version of the first system software on the private cloud server can be determined by comparing the first version number and the second version number. Specifically, when the first version number is higher or lower than the second version number, it is determined that version adaptation is required.

And after the fact that the version adaptation is needed is confirmed, the user mobile terminal sends a resource package downloading instruction to the public cloud server to request the public cloud server to send a second resource package corresponding to the resource package downloading instruction. Wherein the instruction to download the resource package corresponds to the second version number, i.e. the second resource package corresponds to the second version number.

And S3, receiving and loading the second resource packet sent by the public cloud server, thereby completing synchronous adaptation.

Specifically, after receiving the second resource package, the user mobile terminal caches and loads the second resource package to obtain the first system static resource file of the first system software corresponding to the second version number, thereby completing the adaptation. The second resource package corresponds to the resource package downloading instruction, and the second resource package comprises a software interface of the first system software of the current version, a mobile version upgrading package and the version number of the current version on the private cloud server. The first system software corresponds to the first SaaS service.

And after receiving the resource package downloading instruction, the public cloud server calls, packages and sends the resource package downloading instruction to the user mobile terminal from the currently stored first resource packages of all versions. Specifically, after receiving the instruction for downloading the resource package, the public cloud server calls the first resource package corresponding to the second version number, packages the first system static resource files of the current version of the first system software in the first resource package, such as the software interface, the mobile version upgrade package, and the second version number, into the second resource package, and sends the second resource package to the user mobile terminal.

In one embodiment, before detecting and acquiring the first version number and requesting to read the second version number of the first system software on the private cloud server, the private cloud server packages the first system static resource file of the first system software of the current version into a first resource package, and sends and uploads the first resource package to the public cloud server.

In one embodiment, the first system static resource file includes a software interface for a current version of the first system software, a mobile version upgrade package, a web version upgrade package, and a second version number.

The invention provides an upgrading adaptation method of SaaS (software as a service) service, which is characterized in that a mobile version upgrade package is downloaded from a public cloud server for loading and upgrading by comparing the version numbers of a mobile user terminal and a private cloud server and under the condition that the version number of the mobile user terminal is different from the version number of the private cloud server.

Detailed description of the invention

Besides, the invention also provides a user mobile terminal of the SaaS service. Specifically, fig. 2 is a block diagram illustrating an embodiment of a user mobile terminal of a SaaS service according to the present invention.

As shown in fig. 2, the ue 13 includes an information obtaining module 131, a comparing and determining module 132, and a synchronization adapting module 133.

The information obtaining module 131 is configured to detect and obtain the first version number and request to read the second version number of the first system software on the private cloud server. The first version number is the version number of a first SaaS service currently accessed by the mobile terminal of the user, and the first SaaS service corresponds to the first system software.

The comparison and judgment module 132 is configured to judge whether version adaptation is currently required according to the first version number and the second version number, and send a resource package downloading instruction to the public cloud server when it is judged that the version adaptation is required. Wherein the download resource package instruction corresponds to the second version number.

The synchronous adaptation module 133 is configured to receive and load the second resource packet sent by the public cloud server, thereby completing synchronous adaptation. Wherein the second resource package corresponds to a second version of the first system software of the private cloud server.

In one embodiment, the user mobile terminal first detects and acquires the first version number through the information acquisition module 131 and requests to read the second version number of the first system software on the private cloud server; then, the comparison and judgment module 132 compares the first version number with the second version number, so as to judge whether the current user mobile terminal needs to perform version adaptation with the first system software on the private cloud server, and when the first version number is higher or lower than the second version number, judge that the user mobile terminal needs to perform version adaptation with the first system software, and send a resource package downloading instruction to the public cloud server; finally, the second resource packet corresponding to the instruction for downloading the resource packet, which is sent by the public cloud server, is received by the synchronous adaptation module 133, and the second resource packet is cached and loaded to obtain the corresponding static resource, thereby completing the adaptation.

The invention provides a user mobile terminal of SaaS service, which is characterized in that a mobile version upgrade package is downloaded from a public cloud server for loading and upgrading by comparing version numbers of the user mobile terminal and a private cloud server and under the condition that the version number of the user mobile terminal is different from the version number of the private cloud server, so that the adaptation efficiency of business services accessed by the user mobile terminal and business services deployed on the private cloud is improved by the user mobile terminal, and the public resource utilization rate of the public cloud server is maximized.

Detailed description of the preferred embodiment

Besides the method and the user mobile terminal, the invention also provides an upgrading adaptation system of the SaaS service. Specifically, fig. 3 shows a block diagram of an embodiment of an upgrade adaptation system of a SaaS service according to the present invention.

As shown in fig. 3, the upgrade adapting system 1 includes a public cloud server 11, a private cloud server 12, and a user mobile terminal 13, where the public cloud server 11, the private cloud server 12, and the user mobile terminal 13 are in communication connection with each other.

The user mobile terminal 13 is configured to execute the upgrade adaptation method of the SaaS service.

The private cloud server 12 is configured to package the first system static resource file of the first system software of the current version into a first resource package and send and upload the first resource package to the public cloud server 11 before the user mobile terminal 13 detects and obtains the first version number and requests to read the second version number of the first system software on the private cloud server. Wherein the first resource package corresponds to the download resource package instruction. In one embodiment, the first system static resource file includes a software interface for a current version of the first system software, a mobile version upgrade package, a web version upgrade package, and a second version number.

The public cloud server 11 is configured to receive and store the resource packages corresponding to the versions sent by the private cloud server 12; and when receiving a resource package downloading instruction sent by the user mobile terminal 13, calling and sending a second resource package to the user mobile terminal 13 according to the resource package downloading instruction. In one embodiment, the second resource package includes a software interface for the current version of the first system software, a mobile version upgrade package, and a second version number.

Each time the private cloud server 12 is upgraded, the first system static resource file of the first system software of the current version (for example, the first system static resource file includes a software interface of the current version of the first system software, a mobile version upgrade package, a web version upgrade package, and a second version number) is packaged into a first resource package, and the first resource package is sent and uploaded to the public cloud server 11, so that the first resource packages of each version are stored in the public cloud server 11.

When the user mobile terminal 13 needs to access the first SaaS service, the user mobile terminal 13 first obtains a system version (version number is a first version number) of the first SaaS service currently accessed, requests to read a software version (version number is a second version number) of first system software on the private cloud server 12, compares the first version number with the second version number, judges that the user mobile terminal 13 needs to perform version adaptation on the first system software corresponding to the second version number when the first version number is higher than or lower than the second version number, and sends a download resource package instruction to the public cloud server 11, and after receiving the download resource package instruction sent by the user mobile terminal 13, the public cloud server 11 calls a currently stored first resource package corresponding to the second version number according to the second version number included in the download resource package instruction, and sends a software interface of the current version of the first system software included in the first resource package version number, a second version number of the first system software included in the first resource package instruction, And after receiving the second resource package, the user mobile terminal 13 caches and loads the second resource package to obtain the first system static resource file, so that the user mobile terminal 13 is adapted to the second version of the first system software on the private cloud server.

The invention provides an upgrading adaptation system of SaaS (software as a service) service, which is characterized in that a mobile version upgrade package is downloaded from a public cloud server for loading and upgrading by comparing the version numbers of a mobile user terminal and a private cloud server and under the condition that the version number of the mobile user terminal is different from the version number of the private cloud server, so that the adaptation efficiency of business services accessed by the mobile user terminal and business services deployed on the private cloud is improved, and the utilization rate of public resources of the public cloud server is maximized.

The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. It should be understood that any modifications, equivalents, improvements and the like, which come within the spirit and principle of the invention, may occur to those skilled in the art and are intended to be included within the scope of the invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种投屏软件兼容方法、设备及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!