CN108574659A - Cloud system applies newer method and apparatus - Google Patents

Cloud system applies newer method and apparatus Download PDF

Info

Publication number
CN108574659A
CN108574659A CN201710134564.8A CN201710134564A CN108574659A CN 108574659 A CN108574659 A CN 108574659A CN 201710134564 A CN201710134564 A CN 201710134564A CN 108574659 A CN108574659 A CN 108574659A
Authority
CN
China
Prior art keywords
application
instance system
file catalogue
application file
catalogue
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
CN201710134564.8A
Other languages
Chinese (zh)
Other versions
CN108574659B (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.)
Anhui Haima Cloud Technology Co ltd
Original Assignee
Hai Ma (tianjin) Information 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 Hai Ma (tianjin) Information Technology Co Ltd filed Critical Hai Ma (tianjin) Information Technology Co Ltd
Priority to CN201710134564.8A priority Critical patent/CN108574659B/en
Publication of CN108574659A publication Critical patent/CN108574659A/en
Application granted granted Critical
Publication of CN108574659B publication Critical patent/CN108574659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Cloud system provided by the invention applies newer method and apparatus, applies click event in record instance system, while monitoring whether the application file catalogue in instance system changes;If the application file catalogue in instance system changes, start a new instance system in cloud system, removes the application log-on message of the new instance system;Continuous repeated application clicks event in new instance system, no longer changes more than setting time after the application file catalogue in new instance system changes;Application file catalogue in new instance system is copied into storage server.The above method and device more accurate and automatically can be used to exempt from the application file catalogue that installation and operation is applied in storage server in update cloud system, be effectively reduced the artificial burden of operator, improve the user experience of cloud system.

Description

Cloud system applies newer method and apparatus
Technical field
The present invention relates to cloud systems to apply newer method and apparatus.
Background technology
Certain operating system, can plus the necessary hardware (such as processor, memory etc.) run needed for the operating system To be considered as an instance system, various applications can be run in instance system, and (application refers to the operating system in instance system The software or program of middle operation).It, can by several instance systems according to certain framework mode (such as distributed) centralized management To form cloud system.Usual cloud system provides service to the user by the daily operation of operator.If the hardware of instance system Configure relatively low, the memory space of memory is smaller, then dedicated storage server is often arranged in cloud system, in storage service File to be used is needed when operation is widely applied in storage on device.Instance system and storage server can pass through Network File System (Network File System, abbreviation NFS) shared file.Instance system may be implemented on this basis exempt from installation and operation to answer With, such as application No. is People's Republic of China's patents of invention that 201610801208.2, publication No. is 106371878 A of CN Technical solution disclosed in application.
The producer of application can usually update application, it is desirable that user downloads update file.If using being in order to avoid mounting means Operation, and do not updated accordingly in storage server for exempting from the application file catalogue of installation and operation application, after startup It may require that user will update file download to instance system local, this can waste the regular hour, influence user experience.In order to and When update storage application file catalogue on server, operator often arranges professional's monitoring to apply update status, finds There is the application file catalogue updated storage by hand when update notification on server.If the substantial amounts of instance system and application, By hand there is lag and omit in newer method to personal monitoring certainly, cannot meet the Operational requirements of cloud system.How it is accurate simultaneously Automatically realize the application file catalogue in storage server in update cloud system, there is not been reported.
In specification " background technology " part disclosure, contribute to the technology those skilled in the art understand that the present invention Scheme, but should not think that these contents centainly belong to the prior art or common knowledge accordingly.
Invention content
For the defect for overcoming " background technology " part to be reflected, the present invention provides cloud system and applies newer method and dress It sets.
Cloud system applies newer method, including:
1) click event is applied in record instance system, while monitors whether the application file catalogue in instance system becomes Change;
If 2) 1) described in instance system in application file catalogue change, start in cloud system one it is new Instance system removes the application log-on message of the new instance system;
3) constantly repeated in the new instance system described in 2) 1) described in apply click event, until new instance system In application file catalogue change after no longer change more than setting time;
4) 3) the application file catalogue in the new instance system described in is copied into storage server.
Further, it when the application file catalogue in new instance system described in 3) copies to storage server, does not cover The existing application file catalogue for exempting from installation and operation application in lid storage server.
Further, the method further includes:
5) application in the new instance system described in 3) is utilized on the instance system of no storage application update file File directory start application, constantly repeatedly 1) described in apply click event, monitor without storage update file example system Whether the application file catalogue of system changes;
If 6) 5) described in without storage update file instance system application file catalogue be more than the predetermined time It is still unchanged, then using the application file catalogue in the new instance system described in 3) as in storage server for exempting from installation fortune The application file catalogue of row application.
Further, the method is constantly repeated according to the period of setting.
Further, described in 1) includes the pop-up dialog box clicked in application interface using click event.
Further, being generated using click event by analyzing the interface of application described in 1), if in application interface There is the scene that big frame covers small frame, then clicks small frame.
Cloud system applies newer device, and newer method is applied for implementing cloud system.
In technical solution of the present invention, the words such as " comprising ", " being used for " should understand according to open language mode.This field skill Art personnel are no longer superfluous in this specification by the content reading this specification and combine the prior art or common knowledge that can know It states.
Cloud system provided by the invention applies newer method and apparatus, more can update accurately and automatically cloud system Application file catalogue in middle storage server for exempting from installation and operation application, is effectively reduced the artificial burden of operator, carries The high user experience of cloud system.
Description of the drawings
Fig. 1 is the rough schematic view of specific implementation mode medium cloud system architecture.
Fig. 2 is the flow chart that complete cloud system applies newer method in specific implementation mode.
Specific implementation mode
Embodiments of the present invention are further illustrated below.It should be noted that the scope of the present invention is not It is confined to described specific technical solution.Any technology essential factor in described specific technical solution is carried out identical or is waited With the technical solution or those skilled in the art for replacing acquisition without creation on the basis of described specific technical solution Property the technical solution that is obtained with of labour, all should be considered as falling into protection scope of the present invention.
Certain operating system, can plus the necessary hardware (such as processor, memory etc.) run needed for the operating system To constitute an instance system, various applications can be run in instance system, and (application refers to the operating system in instance system The software or program of middle operation).Several instance systems are managed concentratedly according to certain framework mode, cloud system can be formed System.In general, being provided with three control node, instance system and storage server components in cloud system, Fig. 1 is cloud system framework Rough schematic view.Instance system and storage server are independent of one another, are all controlled by control node and are managed, the solid line in Fig. 1 is double Indicate that control and administrative relationships, dotted line four-headed arrow indicate correspondence to arrow.Control node can be selected with X86-based Control server, and storage server is independent high-performance storage server, has higher configuration (such as 8 cores processing Big memory of device, 64G etc.).Operator takes storage server stringent physical isolation and technology protection measure, it is ensured that storage clothes The data stored on business device are safe.The quantity of control node, instance system and storage server is remote in actual cloud system More than one, for simple displaying, control node, instance system and each of storage server have drawn one in Fig. 1.Instance system Can be by NFS shared files with storage server, many files that when such application operation needs can be not stored in example System is local and is stored in long-range storage server, instance system exempt from many technical solutions such as installation and operation application also with Based on this, such as application No. is the People's Republic of China (PRC) that 201610801208.2, publication No. is 106371878 A of CN hairs Technical solution disclosed in bright patent application.
Current mainstream operation system, such as Windows, Mac, IOS, Linux and derivative behaviour on the basis of Linux Make system such as Android etc., using all being installed by installation kit.A large amount of file is will produce after installation kit operation, These files are located under one or more top layer parent directories, form certain TOC level relationship, the position of top layer parent directory and Subdirectory structure under top layer parent directory is codetermined by operating system and installation kit.Application file catalogue of the present invention, Refer to top layer parent directory, the subdirectories at different levels under top layer parent directory and the All Files under catalogue.Application file catalogue is not only wrapped The All Files needed when application operation have been included, and have remained the TOC level relationship of these files.Meanwhile mainstream operation system System all support window-functions, using in an operating system in the form of graphical interfaces open, user by mouse, trace ball, touch Touch screen etc. equipment carried out in graphical interfaces click can run application.
Application file catalogue is stored in storage server, instance system is based on by NFS sharing application file directorys This may be implemented instance system and exempts from installation and operation application.Although application file catalogue is stored in long-range storage server, From the point of view of user, run not that there were significant differences after instance system normal mounting with applying.But the producer of application is normal Application can often be updated, it is desirable that user downloads update file.If the application file catalogue in storage server does not update accordingly, File is updated using may require that user downloads after startup, update file is stored in the application file catalogue of instance system local In.It downloads file to be certain to waste the regular hour, influences user experience.In order to ensure the application file mesh in storage server Record timely updates, and operator often arranges professional's monitoring to apply update status, and discovery, which has to update by hand when update notification, deposits Store up the application file catalogue on server.If the substantial amounts of instance system and application, personal monitoring's newer method by hand Certainly there is lag and omit, the Operational requirements of cloud system cannot be met.
To solve the above-mentioned problems, the present invention provides cloud system and applies newer method.Complete cloud system application update Method flow chart as shown in Fig. 2, include step as described below.
S201:Click event is applied in record instance system, while monitoring the application file catalogue in instance system to be No variation.
User on some instance system using a certain in application, will produce a series of click event, instance system note Click event that record these corresponding with the application that user uses (referred to as applies click event).In general, application needs to download update When file, a dialog box can be popped up, user is required to click confirmation, the click event of triggering update file download is likely to a little Hit the pop-up dialog box in application interface.Record is using the application file catalogue in monitoring instance system while click event No variation, the file in application file catalogue have the size of change or application file catalogue to change etc., can be seen as applying File directory changes, and application file catalogue, which changes, easily means that update file starts to download.Due to example system Itself None- identified which the click event of uniting may cause application file catalogue to change, thus since starting application to All click events until application file catalogue changes all are recorded.
In addition to the click event that user is generated using application, click can also be automatically generated by analyzing the interface of application Event.It is increased income using OpenCV etc. the graphical interfaces of image analysis tool analysis application, if occurring big frame set in application interface The scene of small frame then clicks small frame.Above-mentioned scene is likely to require to click using the dialog box of pop-up download update file true Recognize.
S202:If the application file catalogue in the instance system described in S201 changes, start in cloud system One new instance system removes the application log-on message of the new instance system.
If monitoring that the application file catalogue of instance system changes in step S201, start one in cloud system A new instance system.In order to avoid interfering the normal use of user, what is newly started is the instance system being in idle condition.Newly After instance system starts, all log-on messages applied described in the step S201 preserved in new instance system are removed first, this Sample can not continue to run with after the application on the new example of removing can be made to enter login interface.
S203:It constantly repeats to apply click event, Zhi Daoxin described in S201 in the new instance system described in S202 Application file catalogue in instance system no longer changes after changing more than setting time.
New instance system described in starting step S202, the application in new instance system described in starting step S201, Constantly repeat to be recorded in step S201 applies click event.Due to the operating system of each instance system and the installation of application Packet be it is identical, continuous repeated application click event as a result, the application file catalogue of new instance system can also change.It answers General design custom is first to download update file to require user to log in again, if the variation of application file catalogue is to download more Caused by new file, after updating file download after a period of time, application can enter login interface.Due in step S202 The application log-on message in new instance system is all removed, using that can not be continued to run with after entering login interface, is forced It is parked on login interface, application file catalogue naturally also there will be no any variation.It can be according to instance system hardware configuration, net The factors such as network transmission speed set a time, if being more than setting after newly the application file catalogue in instance system changes Time no longer changes, that is, thinks that the update file of application has been downloaded and finish.
S204:Application file catalogue in new instance system described in S203 is copied into storage server.
Theoretically, application file catalogue in step S203 in new instance system be exactly included to update file to answer With file directory, which is copied into storage server, storage server can use the application file catalogue Exempt from installation and operation application in instance system.Step S204 terminates, it is meant that cloud system has been completed using newer method.
But only there are certain risks by execution step S201-S204.For example, can be recorded in step S201 various Apply the click event, some of click events of various kinds are not to download update file it is also possible to application file catalogue is caused to be sent out Changing.If there are the fortuitous events such as suspension in step S203 implementation procedures, the practical writing in new instance system is also resulted in Part catalogue no longer changes after changing more than setting time, but update file is incomplete at this time.In order to avoid above-mentioned wind Danger when the application file catalogue in new instance system described in step S203 copies to storage server, does not cover storage clothes The existing application file catalogue for exempting from installation and operation application on business device, and execute following verification step.
S205:Using in the new instance system described in S203 on the instance system of no storage application update file Application file catalogue starts application, constantly repeats to apply click event described in S201, monitor without storage update file Whether the application file catalogue of instance system changes.
An instance system without the update file described in storing step S203 is found in cloud system, is usually met The instance system of above-mentioned condition is another free instance system for being different from new instance system described in step S203 in cloud system It unites (if there is the log-on message applied described in step S201 in the free instance system, being equally purged).If cloud It, will be in the application file catalogue of the new instance system described in step S203 temporarily without other free instance systems in system All Files are deleted, then the new instance system described in step S203 can also be considered as the example not stored using update file System.On the instance system of no storage application update file, the step S203 having been copied in storage server is utilized Described in new instance system in application file catalogue, in order to avoid mounting means operation application, constantly repeats to remember in step S201 Click event is applied in record, and whether the application file catalogue monitored without the instance system of storage update file changes.
S206:If the application file catalogue of the instance system without storage update file described in S205 is more than predetermined Time is still unchanged, then using the application file catalogue in the new instance system described in S203 as in storage server for exempting from The application file catalogue of installation and operation application.
If the application file catalogue of the instance system without storage update file described in step S205 is more than predetermined Time (predetermined time is mainly configured according to the execution application click time required for the event) is still unchanged, shows step S201 Middle record will not make application file catalogue generate variation again using click event, further demonstrate described in step S203 It include complete update file in application file catalogue in new instance system.It at this time can be by the new example described in S203 Application file catalogue in system is as the application file catalogue for exempting from installation and operation application in storage server.If step The application file catalogue of the instance system without storage update file described in S205 changes in the given time, then walks Whether the application file catalogue in new instance system described in rapid S203 includes that complete update file leaves a question open, and is directly given up It abandons, is considered as cloud system and executes failure using newer method.
Cloud system can be constantly repeated according to the period of setting and apply newer method, on the one hand can exclude certain in this way Cloud system executes the influence of failure using newer method, ensures that storage server acquisition includes the application of complete update file On the other hand file directory can also obtain newest update file in time.If some instance system runs a certain application Update file is downloaded, other follow-up instance systems are in order to avoid mounting means would not download update file again when running the application.
Corresponding program is write in the instance system of cloud system and control node, it is possible to implement above-described cloud system It can be considered as cloud system using the software of newer method, including above procedure and apply newer device.Cloud system application update Device substantially computer software, be achieved in that and built using the description of each step of newer method according to cloud system Program module corresponding with each step is found, the program module framework based on computer program is formed.Cloud system application update Device be not the entity apparatus mainly realized by hardware mode.
Cloud system applies newer method and apparatus, more can update accurately and automatically storage server in cloud system On for exempt from installation and operation application application file catalogue, be effectively reduced the artificial burden of operator.The user of cloud system meets It is substantially reduced to the probability for downloading update file, greatly improves the user experience of cloud system.
Those skilled in the art can construct its other party completely on the basis of specific technical solution described above Case.It is numerous to list herein.

Claims (7)

1. cloud system applies newer method, which is characterized in that the method includes:
1) click event is applied in record instance system, while monitors whether the application file catalogue in instance system changes;
If 2) 1) described in instance system in application file catalogue change, in cloud system start a new example System removes the application log-on message of the new instance system;
3) constantly repeated in the new instance system described in 2) 1) described in apply click event, until in new instance system Application file catalogue no longer changes after changing more than setting time;
4) 3) the application file catalogue in the new instance system described in is copied into storage server.
2. according to the method described in claim 1, it is characterized in that, application file catalogue in new instance system described in 3) When copying to storage server, the existing application file catalogue for exempting from installation and operation application in storage server is not covered.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
5) application file in the new instance system described in 3) is utilized on the instance system of no storage application update file Catalogue starts application, constantly repeatedly 1) described in apply click event, monitor the instance system that file is updated without storage Whether application file catalogue changes;
If 6) 5) described in without storage update file instance system application file catalogue be more than the predetermined time still without 3) the application file catalogue in the new instance system described in is then used as in storage server and is used to exempt from installation and operation to answer by variation Application file catalogue.
4. method according to claim 1 or 3, which is characterized in that the method is constantly repeated according to the period of setting.
5. according to the method described in claim 1, it is characterized in that, the application click event described in 1) includes clicking to apply boundary Pop-up dialog box in face.
6. according to the method described in claim 1, it is characterized in that, passing through analysis application using click event described in 1) Interface generates, if occurring the scene that big frame covers small frame in application interface, clicks small frame.
7. cloud system applies newer device, which is characterized in that the device is for implementing described in claim any one of 1-6 Cloud system apply newer method.
CN201710134564.8A 2017-03-08 2017-03-08 Method and device for updating cloud system application Active CN108574659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710134564.8A CN108574659B (en) 2017-03-08 2017-03-08 Method and device for updating cloud system application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710134564.8A CN108574659B (en) 2017-03-08 2017-03-08 Method and device for updating cloud system application

Publications (2)

Publication Number Publication Date
CN108574659A true CN108574659A (en) 2018-09-25
CN108574659B CN108574659B (en) 2021-01-26

Family

ID=63577501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710134564.8A Active CN108574659B (en) 2017-03-08 2017-03-08 Method and device for updating cloud system application

Country Status (1)

Country Link
CN (1) CN108574659B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781060A (en) * 2012-10-24 2014-05-07 北京网秦天下科技有限公司 Automatic download method and system thereof
CN104978209A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Application updating method and application updating device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating
CN106371878A (en) * 2016-09-05 2017-02-01 北京海誉动想科技股份有限公司 Device and method without installing and running applications in case system
CN106445816A (en) * 2016-09-07 2017-02-22 美的智慧家居科技有限公司 Control execution method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781060A (en) * 2012-10-24 2014-05-07 北京网秦天下科技有限公司 Automatic download method and system thereof
CN104978209A (en) * 2014-04-14 2015-10-14 腾讯科技(深圳)有限公司 Application updating method and application updating device
CN106095500A (en) * 2016-06-08 2016-11-09 江苏中威科技软件系统有限公司 A kind of method and system of automatic software updating
CN106371878A (en) * 2016-09-05 2017-02-01 北京海誉动想科技股份有限公司 Device and method without installing and running applications in case system
CN106445816A (en) * 2016-09-07 2017-02-22 美的智慧家居科技有限公司 Control execution method and apparatus

Also Published As

Publication number Publication date
CN108574659B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
US10740353B2 (en) Systems and methods for managing distributed database deployments
US11544288B2 (en) Systems and methods for managing distributed database deployments
US9778992B1 (en) Interfacing with a virtual database system
Quick et al. Google Drive: Forensic analysis of data remnants
US20170286517A1 (en) Systems and methods for managing distributed database deployments
CN107766126A (en) Construction method, system, device and the storage medium of container mirror image
DE102017121758A1 (en) Intelligent assistant for repeated actions
CN107567696A (en) The automatic extension of resource instances group in computing cluster
US9992064B1 (en) Network device configuration deployment pipeline
CN107783816A (en) The method and device that creation method and device, the big data cluster of virtual machine create
EP3705992A1 (en) Systems and methods for automated and distributed configuration of computing devices
CN108509435A (en) The method and apparatus of instance system carry telefile
CN105159799A (en) Method and device for backing up server
DE112020004487T5 (en) DETECTING MUTATION EVENTS TO MONITOR INTEGRITY
CN115604256A (en) Mobile phone APP evidence obtaining method and system based on source data simulation and storage medium
US8799215B2 (en) Data processing method, system, and computer program product
US20110040730A1 (en) System and method for backing up and restoring email data
CN108574659A (en) Cloud system applies newer method and apparatus
Schwarzkopf et al. Checking running and dormant virtual machines for the necessity of security updates in cloud environments
CN114978963B (en) Network system monitoring analysis method and device, electronic equipment and storage medium
Thakur et al. Mitigating and patching system vulnerabilities using ansible: A comparative study of various configuration management tools for iaas cloud
US20190087296A1 (en) Data layering in a network management system
CN114996955A (en) Target range environment construction method and device for cloud-originated chaotic engineering experiment
Cisco CiscoWorks User Guide Software Release 2.0
KR100506069B1 (en) A system for repackaging application software for streaming of application software and method thereof

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

Effective date of registration: 20240831

Address after: 230031 Room 672, 6/F, Building A3A4, Zhong'an Chuanggu Science Park, No. 900, Wangjiang West Road, High-tech Zone, Hefei, Anhui

Patentee after: Anhui Haima Cloud Technology Co.,Ltd.

Country or region after: China

Address before: 301700 room 2d25, Building 29, No.89 Heyuan Road, Jingjin science and Technology Valley Industrial Park, Wuqing District, Tianjin

Patentee before: HAIMAYUN (TIANJIN) INFORMATION TECHNOLOGY CO.,LTD.

Country or region before: China

TR01 Transfer of patent right