CN114513500B - Method, device, system and computing device for batch installation of browser plug-ins - Google Patents

Method, device, system and computing device for batch installation of browser plug-ins Download PDF

Info

Publication number
CN114513500B
CN114513500B CN202210098260.1A CN202210098260A CN114513500B CN 114513500 B CN114513500 B CN 114513500B CN 202210098260 A CN202210098260 A CN 202210098260A CN 114513500 B CN114513500 B CN 114513500B
Authority
CN
China
Prior art keywords
client
browser plug
task package
installation task
online
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
CN202210098260.1A
Other languages
Chinese (zh)
Other versions
CN114513500A (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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202210098260.1A priority Critical patent/CN114513500B/en
Publication of CN114513500A publication Critical patent/CN114513500A/en
Application granted granted Critical
Publication of CN114513500B publication Critical patent/CN114513500B/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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, equipment, a system and computing equipment for batch installation of browser plug-ins. The method comprises the following steps: obtaining an online client list; receiving a browser plug-in installation task package to be installed of all or part of clients uploaded by an authorized management host; distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; and receiving feedback information sent by each online client after the browser plug-in installation task package to be installed is downloaded and operated. The invention also discloses a corresponding device and computing equipment.

Description

Method, device, system and computing device for batch installation of browser plug-ins
Technical Field
The invention relates to the technical field of plug-in processing, in particular to a method, equipment, a system and computing equipment for batch installation of browser plug-ins.
Background
In a normal browser plug-in operation life cycle, a user requests to use a plug-in, sends a plug-in ID (Identity document, identity number) of the request to a server side or a cloud side where a plug-in service is located, and the plug-in service requests to download a corresponding plug-in SO (Shared Object, suffix of a dynamic link library) from a plug-in warehouse (which may be the same device as the server side where the plug-in service is located or a different device), and then installs the plug-in. However, in a state that the host on which the plug-in is to be installed is offline or in a case that the plug-in service is not deployed locally, the plug-in service cannot be used normally.
Disclosure of Invention
To this end, the present invention provides a method, apparatus, system, and computing device for batch installation of browser plug-ins in an effort to solve or at least alleviate at least one of the problems presented above.
According to one aspect of the present invention, there is provided a method for batch installation of browser plug-ins, comprising the steps of: obtaining an online client list; receiving a browser plug-in installation task package to be installed of all or part of clients uploaded by an authorized management host; distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; and receiving feedback information sent by each online client after the browser plug-in installation task package to be installed is downloaded and operated.
Optionally, in the method according to the invention, the step of obtaining the online client list comprises: determining the online state of a client according to a heartbeat data packet sent by the client registering service; and obtaining an online client list according to the online state of the client.
Optionally, in the method according to the present invention, the step of receiving the browser plug-in installation task package to be installed of the part of the client uploaded by the authorized management host includes: pushing an online client list to an authorized management host; and receiving a browser plug-in installation task packet to be installed corresponding to each online client in the online client list uploaded by the management host.
According to another aspect of the present invention, there is also provided a method for batch installation of browser plug-ins, including the steps of: the domain management server obtains an online client list; the authorized management host sends a browser plug-in installation task package to be installed of all or part of the clients to the domain management server; the domain management server distributes a corresponding browser plug-in installation task package to be installed to each online client in the online client list; and each online client transmits a feedback message to the domain management server after the browser plug-in installation task package to be installed is downloaded and operated.
Optionally, in the method according to the present invention, the step of the domain-management server obtaining the online client list comprises: when a client of a registration service is online, sending a heartbeat data packet to the domain management server so that the domain management server determines the online state of the client; and the domain management server obtains an online client list according to the online state of the client.
Optionally, in the method according to the present invention, the step of sending the heartbeat packet by the online client to the domain-management server includes: the online client sends a heartbeat data packet to the service gateway based on an http protocol; and the domain management server dynamically reads the heartbeat data packet of the service gateway.
Optionally, in the method according to the present invention, the step of the authorized management host sending the browser plug-in installation task package to be installed of the part of the client to the domain management server includes: the domain management server pushes an online client list to an authorized management host; and the management host installs task packages corresponding to the browser plug-ins to be installed in each online client in the online client list uploaded by the domain management server.
According to another aspect of the present invention, there is also provided a domain-management server for batch installation of browser plug-ins, including: the acquisition module is suitable for acquiring an online client list; the queue module is suitable for receiving the browser plug-in installation task package to be installed of all or part of the clients uploaded by the authorized management host; the management module is suitable for distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; and the feedback module is suitable for receiving feedback messages sent by each online client after the browser plug-in installation task package to be installed is downloaded and operated.
According to another aspect of the invention, there is also provided a system for batch installation of browser plug-ins, including a domain management server, a management host, and a plurality of clients; a domain management server adapted to obtain an online client list; the authorized management host is suitable for sending all or part of browser plug-in installation task packages to be installed of the client to the domain management server; the domain management server is suitable for distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; and each online client is suitable for sending a feedback message to the domain management server after the browser plug-in installation task package to be installed is downloaded and operated.
According to another aspect of the present invention, there is also provided a computing device including: at least one processor and a memory storing program instructions; the program instructions, when read and executed by a processor, cause a computing device to perform the method of browser plug-in batch installation as described above.
According to yet another aspect of the present invention, there is also provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform a method of browser plug-in batch installation as above.
According to the method, the device, the system and the computing equipment for batch installation of the browser plug-ins, the following beneficial effects can be realized:
Compared with the prior art that the device or the client downloads the browser plug-in installation task package from the plug-in service end, the method and the device push or distribute the browser plug-in installation task package to the client by the domain management server, and can realize the local offline installation and batch installation of the browser plug-in when the host is offline or the plug-in warehouse is not deployed.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above, as well as additional objects, features, and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 illustrates a schematic diagram of a browser plug-in batch installation system 100, according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a computing device 200 according to one embodiment of the invention;
FIG. 3 illustrates a flow chart of a method 300 of browser plug-in batch installation, according to one embodiment of the invention;
FIG. 4 illustrates a flow chart of a method 400 for batch installation of browser plug-ins, according to one embodiment of the invention;
FIG. 5 illustrates a schematic diagram of an apparatus 500 for batch installation of browser plug-ins, according to one embodiment of the invention;
FIG. 6 is a schematic block diagram of a computing device in accordance with an embodiment of the present application;
Fig. 7 is a schematic block diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Aiming at the problem that the plug-in service cannot be normally used in the off-line state of the host or under the condition that the plug-in service is not deployed locally in the related art, the invention provides a method for batch installation of browser plug-ins, which can realize the problems of off-line installation and batch installation of the plug-in service.
FIG. 1 illustrates a schematic diagram of a browser plug-in batch installation system 100, according to one embodiment of the invention.
As shown in fig. 1, a system 100 for batch installation of browser plug-ins in an embodiment of the present invention includes a domain management server 120, a management host 130, and a plurality of clients 110; the domain management server 120 is respectively in communication connection with a plurality of clients 110 and a management host 130, where each host to which a plug-in is to be installed runs a domain management client 110, in this embodiment of the present invention, the client 110 may be used to describe a corresponding host, and the client 110 and the domain management server 120 are in the same lan range, so that the client 110 may perform offline communication with the domain management server 120 through the service gateway 140, so that the domain management server 120 may distribute or push a corresponding plug-in installation task packet to the client 110 offline; here, the management host 130 may be a third party service end, the domain management server 120 may provide a corresponding management interface (may be a third party interface), and the management host 130 requests authorization management by requesting the management interface of the domain management server 120, and after authorization by the domain management server 120, the management host 130 may acquire the interface and return to the online client list.
The client 110, i.e., a host or terminal device that needs to install a browser plug-in, may register service information with the configured domain-management server 120. The system can be specifically implemented as a personal computer such as a desktop computer, a notebook computer, a mobile phone, a tablet computer, a multimedia device, an intelligent wearable device, and the like, but is not limited thereto.
Each local area network has its own Domain-management server 120 (Domain ADMINISTRATIVE SERVER, DAS), which Domain-management server 120 can communicate with specific clients 130 to manage the associated domains. Domain-management server 120 authenticates management host 130, accepts requests from management host 130, and communicates with clients 130 in the domain to execute the requests. Sometimes, the domain-management server 120 is a server instance with additional management functions in the embodiment of the present invention. The domain-management server 120 may implement unified management of multiple clients 110, unified processing of heartbeat packets of the clients 110. Specifically, the domain management server 120 may receive registration service information sent by one or more clients 110, or may receive heartbeat data packets sent by one or more clients 110 when the online state is guaranteed, and the domain management server 120 may receive a browser plug-in installation task packet to be installed of an online client uploaded by an authorized management host 130, so as to distribute a corresponding browser plug-in installation task packet to be installed of each online client in the online client list, where the management host 130 may also upload all browser plug-in installation task packets to be installed of all clients, the domain management server 120 pushes the browser plug-in installation task packet to be installed of the online client to the corresponding client, and uses the browser plug-in installation task packet to be installed of the offline client as cache data, and if the offline client is online, the browser plug-in installation task packet to be installed corresponding to the online client does not need to be directly obtained from the cache data or the data queue of the domain management server 120, and the corresponding browser plug-in installation task packet to be installed of the online client is required to be obtained again in communication with the management host 130. In this way, communication delays and data redundancy caused by repeated communications with the management host 130 are avoided. The domain-management server 120 also receives feedback messages sent by each online client 110 after the browser plug-in installation task package to be installed is downloaded and run.
The management host 130 generates a browser plug-in configuration table to be installed corresponding to each client 110 by configuring in advance on the management host 130, so that the management host 130 sends a browser plug-in installation task package to be installed of all or part of the clients to the domain management server 120 according to the configuration table. Here, the configuration table includes various configuration information of the browser plug-in to be installed corresponding to each client, including, for example, a plug-in installation address, an installation manner, whether cache compression is performed, whether verification is required, and the like. Other information about the plug-in, such as the name of the plug-in, the ID of the plug-in, the type of plug-in, etc., is automatically obtained from the installation address when the client 110 installs the plug-in. Here, the present invention is not limited to the plug-in configuration information listed above.
In an embodiment of the present invention, the domain-management server 120 is adapted to perform the method 300 of browser plug-in batch installation. The method 300 of batch installation of browser plug-ins of the present invention will be described in detail below.
The method for batch installation of browser plug-ins of the present invention is performed in a computing device. The computing device may be any device having storage and computing capabilities, and may be implemented, for example, as a server, a workstation, or the like, or may be implemented as a personal configured computer such as a desktop computer, a notebook computer, or may be implemented as a terminal device such as a mobile phone, a tablet computer, an intelligent wearable device, or an internet of things device, but is not limited thereto.
FIG. 2 illustrates a block diagram of a computing device 200 according to one embodiment of the invention. It should be noted that the computing device 200 shown in fig. 2 is only an example, and in practice, the computing device used to implement the method for batch installation of browser plug-ins of the present invention may be any type of device, and the hardware configuration of the computing device may be the same as the computing device 200 shown in fig. 2 or may be different from the computing device 200 shown in fig. 2. In practice, a computing device implementing the method for batch installation of browser plug-ins of the present invention may add or delete hardware components of the computing device 200 shown in fig. 2, and the present invention is not limited to a specific hardware configuration of the computing device.
As shown in FIG. 2, in a basic configuration 202, computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing including, but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. Processor 204 may include one or more levels of cache, such as a first level cache 210 and a second level cache 212, a processor core 214, and registers 216. The example processor core 214 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations, the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory including, but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. The system memory 206 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is in effect a plurality of program instructions for instructing the processor 204 to perform a corresponding operation. In some implementations, the application 222 can be arranged to cause the processor 204 to operate with the program data 224 on an operating system.
Computing device 200 may also include a storage interface bus 234. Storage interface bus 234 enables communication from storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to base configuration 202 via bus/interface controller 230. At least a portion of the operating system 220, applications 222, and data 224 may be stored on removable storage 236 and/or non-removable storage 238 and loaded into the system memory 206 via the storage interface bus 234 and executed by the one or more processors 204 when the computing device 200 is powered up or the application 222 is to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to basic configuration 202 via bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. The example peripheral interface 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communication via one or more I/O ports 258 and external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.). The example communication device 246 may include a network controller 260 that may be arranged to facilitate communication with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
The network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media in a modulated data signal, such as a carrier wave or other transport mechanism. A "modulated data signal" may be a signal that has one or more of its data set or changed in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or special purpose network, and wireless media such as acoustic, radio Frequency (RF), microwave, infrared (IR) or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In computing device 200 according to the present invention, application 222 includes a plurality of program instructions for performing method 300 of browser plug-in batch installation, which may instruct processor 204 to perform method 300 of browser plug-in batch installation of the present invention, so that computing device 200 performs method 300 of browser plug-in batch installation of the present invention.
FIG. 3 illustrates a flow chart of a method 300 of browser plug-in batch installation, according to one embodiment of the invention. The method 300 for batch installation of browser plug-ins is executed in a computing device (such as the foregoing computing device 200), and the method 300 for batch installation of browser plug-ins of the present invention pushes or distributes a task package for installing browser plug-ins to a client by a domain management server, and can implement local offline installation and batch installation of browser plug-ins when a host is offline or a plug-in repository is not deployed. As shown in fig. 3, the method 300 of browser plug-in batch installation may include steps S310 to S340.
In step S310, an online client list is obtained.
According to one implementation, in step S310, the step of obtaining the online client list includes: determining the online state of a client according to a heartbeat data packet sent by the client registering service; and obtaining an online client list according to the online state of the client.
In the embodiment of the invention, one or more clients register service information to a configured domain management server and send heartbeat data packets to the domain management server to ensure the online state. The client registers service information with the configured domain management server, and then the client and the domain management server establish a heartbeat mechanism to ensure survival of the client and the domain management server. The heartbeat frequency can be that the client actively transmits a heartbeat data packet to the domain management server every 5 seconds, and the domain management server can monitor whether the heartbeat is normal or not after the client establishes connection in a certain period.
In step S320, a browser plug-in installation task package to be installed of all or part of the clients uploaded by the authorized management host is received.
According to one implementation, in step S220, the step of receiving the browser plug-in installation task package to be installed of the part of the clients uploaded by the authorized management host includes: pushing an online client list to an authorized management host; and receiving a browser plug-in installation task packet to be installed corresponding to each online client in the online client list uploaded by the management host.
In the embodiment of the invention, the domain management server can receive the browser plug-in installation task package to be installed of each online client uploaded by the authorized management host so as to distribute the corresponding browser plug-in installation task package to be installed to each online client in the online client list, and when the client which is not online is online, the domain management server registers service information, and simultaneously sends a heartbeat data package to the domain management server to ensure the online state; the domain management server updates the state of the client in the online client list, pushes the updated client list to the management host, the management host obtains the new online client, sends a browser plug-in installation task packet to be installed corresponding to the new online client to the domain management server, and pushes the browser plug-in installation task packet to the new online client by the domain management server. The domain management server can also receive the browser plug-in installation task packages to be installed of all the clients uploaded by the management host, push the browser plug-in installation task packages to be installed of the online clients to the corresponding clients, store the browser plug-in installation task packages to be installed of the offline clients in the local memory as cache data, register service information to the domain management server when the offline clients are online, and send heartbeat data packages to the domain management server to ensure online state; the domain management server updates the state of the client in the online client list, determines a browser plug-in installation task package to be installed corresponding to the new online client from the cache data or the data queue, and pushes the browser plug-in installation task package to the new online client.
In the first mode, the domain management server receives the browser plug-in installation task package to be installed of each online client uploaded by the authorized management host and pushes the browser plug-in installation task package to the corresponding online client, when a new online client exists, the domain management server communicates with the management host to obtain the browser plug-in installation task package to be installed of the new online client, and at the moment, the browser plug-in installation task package to be installed of the offline client does not need to be cached in the domain management server, so that the performance of the domain management server can be kept at a higher level, and the processing speed is higher.
In a second way, the domain management server receives the browser plug-in installation task package to be installed of all clients uploaded by the authorized management host at one time. When a new online client is available, the cached browser plug-in installation task package to be installed is directly pushed to the corresponding client, and the domain management server does not need to communicate with the management host again to acquire the corresponding browser plug-in installation task package to be installed, so that communication delay caused by repeated communication with the management host is avoided, and data redundancy caused by updating an online client list to the management host for multiple times is also avoided.
The number and the types of browser plug-ins to be installed can be the same or different for a plurality of clients in the embodiment of the invention, when the number and the types of the browser plug-ins to be installed of all the clients are the same, namely each client installs the same browser plug-in, a management host can only upload one installation task package, and when each client is online, a domain management server pushes the installation task package to the online client. When the number and the types of the browser plug-ins to be installed of part of the clients are the same, the management host can only upload one installation task package aiming at the clients for installing the same browser plug-ins, and when any one of the clients for installing the same browser plug-ins is online, the domain management server pushes the installation task package to the online clients, the number or the types of the browser plug-ins installed by the rest clients are different, the management host can upload the corresponding installation task package aiming at each client, and when any client is online, the domain management server pushes the corresponding browser plug-in installation task package to be installed to the corresponding client. For the clients with different numbers or types of the rest installed browser plug-ins, the domain management server can also count the types of all the browser plug-ins to be installed, upload each type of browser plug-in installation task package to the domain management server, push the corresponding type of browser plug-in installation task package to the corresponding client according to the browser plug-in installation task configuration table to be installed corresponding to each client, configured on the management host by a user, and when any client is online, the domain management server queries the configuration table, determines the corresponding browser plug-in installation task package to be installed of the client according to the configuration table, and pushes the corresponding type of browser plug-in installation task package to the corresponding client. The situation that the number and the types of the browser plug-ins to be installed of all the clients are different is the same as the processing modes that the number or the types of the browser plug-ins installed of the rest clients are different. The above manner (counting the types of all the browser plug-ins to be installed, and uploading the browser plug-in installation task package of each type to the domain management server, the domain management server pushing the browser plug-in installation task package of the corresponding type to the corresponding client according to the browser plug-in configuration table of the corresponding type to each client configured on the management host by the user) may not consider whether the number and types of the browser plug-ins to be installed are the same, i.e. the number and types of the browser plug-ins to be installed at all the clients are the same, the number and types of the browser plug-ins to be installed at some of the clients are the same, and the number or types of the browser plug-ins installed at the rest of the clients are different, The number or the variety of browser plug-ins installed on each client are different, and uploading and pushing can be performed in this way. For example, all browser plug-ins to be installed are 10 kinds, respectively denoted as plug-in 1 and plug-in 2..the plug-in 10, a user configures in advance that a client a and a client B install plug-ins 6-10, a client C installs plug-ins 1, 3, 5 and 7, a client D installs plug-ins 2, 4, 6 and 8, a management host uploads the installation task packages of the plug-ins 1 and 2..the plug-ins 10 to a domain management server, respectively, and uploads a browser plug-in configuration table to be installed corresponding to each client to the domain management server, and the domain management server pushes the installation task packages of the plug-ins 6-10 to the client a when the client a is on line according to the configuration table, when the client B is on line, the installation task packages of the plug-ins 6-10 are pushed to the client B, when the client C is on line, the installation task packages of the plug-ins 1, 3, 5 and 7 are pushed to the client C, and when the client D is on line, the installation task packages of the plug-ins 2, 4, 6 and 8 are pushed to the client D.
In step S330, a corresponding browser plug-in installation task package to be installed is distributed to each online client in the online client list.
In the embodiment of the invention, after the management host uploads the browser plug-in installation task package to be installed to the domain management server, the domain management server distributes the task to be installed of the online client to the corresponding client. The downloading tasks enter a queue of the domain management server, corresponding tasks are sequentially executed, and corresponding browser plug-in installation task packages to be installed are pushed to all clients.
In step S340, a feedback message sent by each online client after the browser plug-in to be installed installs a task package for downloading and running.
In the embodiment of the invention, each client downloads and runs the plug-in installation task package, and after the installation is successful, a feedback message is sent to the domain management server.
The embodiment of the present invention further provides a method 400 for batch installation of browser plug-ins, which may include steps S410 to S440.
In step S410, the domain-management server obtains an online client list.
In step S420, the authorized management host sends a browser plug-in installation task package to be installed of all or part of the clients to the domain management server.
In step S430, the domain management server distributes a corresponding browser plug-in installation task package to be installed to each online client in the online client list.
In step S440, each of the online clients sends a feedback message to the domain management server after the browser plug-in installation task package to be installed is downloaded and run.
According to one implementation, in step S410, the step of the domain-management server obtaining the online client list includes: when a client of a registration service is online, sending a heartbeat data packet to the domain management server so that the domain management server determines the online state of the client; and the domain management server obtains an online client list according to the online state of the client.
According to one implementation, the step of sending the heartbeat packet by the online client to the domain-management server includes: the online client sends a heartbeat data packet to the service gateway based on an http protocol; and the domain management server dynamically reads the heartbeat data packet of the service gateway.
In the embodiment of the invention, the domain management server can dynamically acquire the online client service. When the triggering condition of dynamic reading is that the client is on-line or off-line or registered, the corresponding heartbeat data packet is mainly read on-line with a new client in the embodiment of the invention.
According to one implementation, in step S420, the step of sending, by the authorized management host, the browser plug-in installation task package to be installed of the part of the client to the domain management server includes: the domain management server pushes an online client list to an authorized management host; and the management host installs task packages corresponding to the browser plug-ins to be installed in each online client in the online client list uploaded by the domain management server.
As shown in fig. 5, an embodiment of the present invention further provides a domain management server for batch installation of browser plug-ins, including: the system comprises an acquisition module 510, a queue module 520, a management module 530 and a feedback module 540.
Wherein, the obtaining module 510 is adapted to obtain an online client list; a queue module 520 adapted to receive the browser plug-in installation task package to be installed of all or part of the clients uploaded by the authorized management host; the management module 530 is adapted to distribute a corresponding browser plug-in installation task package to be installed to each online client in the online client list; and a feedback module 540, adapted to receive feedback messages sent by each online client after the browser plug-in to be installed installs task packages downloaded and run.
According to one implementation, the obtaining module 510 obtains an online client list suitable for: determining the online state of a client according to a heartbeat data packet sent by the client registering service; and obtaining an online client list according to the online state of the client.
According to one implementation, the queue module 520 receives a browser plug-in installation task package to be installed of a portion of the clients uploaded by the authorized management host, adapted to: pushing an online client list to an authorized management host; and receiving a browser plug-in installation task packet to be installed corresponding to each online client in the online client list uploaded by the management host.
As shown in fig. 1, the embodiment of the present invention further provides a system for batch installation of browser plug-ins, including a domain management server 120, a management host 130, and a plurality of clients 110; the domain-management server 120 is adapted to obtain an online client list; the authorized management host 130 is adapted to send a browser plug-in installation task package to be installed of all or part of the clients 110 to the domain management server 120; the domain management server 120 is adapted to distribute a corresponding browser plug-in installation task package to be installed to each online client 110 in the online client list; and each online client 110 is adapted to send a feedback message to the domain management server 120 after the browser plug-in installation task package to be installed is downloaded and run.
According to one implementation, the domain-management server 120 obtains an online client list adapted to: when a client 110 registering a service is online, sending a heartbeat packet to the domain management server 120, so that the domain management server 120 determines the online state of the client 110; the domain-management server 120 obtains an online client list according to the online status of the client 110.
According to one implementation, the sending of heartbeat packets by the online client 110 to the domain-management server 120 is adapted to: the online client 110 sends a heartbeat packet to the service gateway 140 based on an http protocol; the domain-management server 120 dynamically reads the heartbeat packet of the service gateway 140.
According to one implementation, the authorized management host 130 sends to the domain-management server 120 a browser plug-in installation task package to be installed for part of the client 110, adapted to: the domain-management server 120 pushes an online client list to the authorized management host 130; the management host 130 installs the task package for the browser plug-in to be installed corresponding to each online client 110 in the online client list uploaded by the domain management server 120.
An embodiment of the application also provides a computing device comprising a memory 1120, a processor 1110 and a computer program stored in said memory 1120 and executable by said processor 1110, which computer program is stored in a space 1130 for program code in the memory 1120, which computer program, when being executed by the processor 1110, is adapted to carry out the method steps 1131 according to the application.
The embodiment of the application also provides a computer readable storage medium. Referring to fig. 7, the computer-readable storage medium includes a storage unit for program code, the storage unit being provided with a program 1131' for performing the method steps according to the present application, the program being executed by a processor.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U-drives, floppy diskettes, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the method of the present invention for batch installation of browser plug-ins in accordance with instructions in said program code stored in the memory.
By way of example, and not limitation, readable media include readable storage media and communication media. The readable storage medium stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with examples of the invention. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It should be appreciated that the teachings of the present invention as described herein may be implemented in a variety of programming languages and that the foregoing descriptions of specific languages are provided for disclosure of preferred embodiments of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.

Claims (9)

1. A method for batch installation of browser plug-ins comprises the following steps:
The method comprises the steps that a browser plug-in configuration table to be installed corresponding to each client is configured and generated on a management host in advance;
Obtaining an online client list;
Receiving a browser plug-in installation task package to be installed of all clients uploaded by an authorized management host according to the configuration table;
Distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; storing a browser plug-in installation task package to be installed of an off-line client in a local memory as cache data, receiving registration service information of a new on-line client when the off-line client is on-line, updating the state of the client in an on-line client list, determining a browser plug-in installation task package to be installed corresponding to the new on-line client from the cache data or a data queue, and pushing the browser plug-in installation task package to the new on-line client; and
Receiving feedback information sent by each online client after the browser plug-in installation task package to be installed is downloaded and operated;
The receiving of the browser plug-in installation task package to be installed of all clients uploaded by the authorized management host according to the configuration table comprises the following steps:
When the number and the types of the browser plug-ins to be installed of all the clients are the same, the management host uploads an installation task package, when the number and the types of the browser plug-ins to be installed of some clients are the same, the management host uploads only one installation task package for the clients installing the same browser plug-ins, and when the number or the types of the browser plug-ins installed of the rest or all the clients are different, the management host uploads the corresponding installation task package for each client.
2. The method of claim 1, wherein the step of obtaining an online client list comprises:
Determining the online state of a client according to a heartbeat data packet sent by the client registering service;
and obtaining an online client list according to the online state of the client.
3. A method for batch installation of browser plug-ins comprises the following steps:
The authorized management host configuration generates a browser plug-in configuration table to be installed corresponding to each client;
The domain management server obtains an online client list;
the authorized management host sends a browser plug-in installation task package to be installed of all clients to the domain management server according to the configuration table;
The domain management server distributes a corresponding browser plug-in installation task package to be installed to each online client in the online client list; storing a browser plug-in installation task package to be installed of an off-line client as cache data in a local memory, when the off-line client is on line, receiving registration service information of a new on-line client by a domain management server, updating the state of the client in an on-line client list by the domain management server, determining a browser plug-in installation task package to be installed corresponding to the new on-line client from the cache data or a data queue, and pushing the browser plug-in installation task package to the new on-line client; and
Each online client sends a feedback message to the domain management server after the browser plug-in installation task package to be installed is downloaded and operated;
The authorized management host sending the browser plug-in installation task package to be installed of all clients to the domain management server according to the configuration table comprises the following steps:
when the number and the types of the browser plug-ins to be installed of all the clients are the same, the receiving management host uploads an installation task package, when the number and the types of the browser plug-ins to be installed of some clients are the same, the receiving management host uploads only one installation task package for the clients installing the same browser plug-ins, and when the number or the types of the browser plug-ins installed by the rest or all the clients are different, the receiving management host uploads the corresponding installation task package for each client.
4. The method of claim 3, wherein the domain-management server obtaining the online client list comprises:
When a client of a registration service is online, sending a heartbeat data packet to the domain management server so that the domain management server determines the online state of the client;
And the domain management server obtains an online client list according to the online state of the client.
5. The method of claim 4, wherein the step of the online client transmitting the heartbeat packet to the domain-management server includes:
the online client sends a heartbeat data packet to the service gateway based on an http protocol;
and the domain management server dynamically reads the heartbeat data packet of the service gateway.
6. A domain-management server for browser plug-in batch installation, comprising:
The method comprises the steps that a browser plug-in configuration table to be installed corresponding to each client is configured and generated on a management host in advance;
the acquisition module is suitable for acquiring an online client list;
the queue module is suitable for receiving the browser plug-in installation task package to be installed of all or part of the clients uploaded by the authorized management host according to the configuration table;
The management module is suitable for distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; storing a browser plug-in installation task package to be installed of an off-line client in a local memory as cache data, receiving registration service information of a new on-line client when the off-line client is on-line, updating the state of the client in an on-line client list, determining a browser plug-in installation task package to be installed corresponding to the new on-line client from the cache data or a data queue, and pushing the browser plug-in installation task package to the new on-line client; and
The feedback module is suitable for receiving feedback messages sent by each online client after the browser plug-in installation task package to be installed is downloaded and operated;
The queue module for receiving the browser plug-in installation task package to be installed of all or part of the clients uploaded by the authorized management host according to the configuration table comprises the following steps:
when the number and the types of the browser plug-ins to be installed of all the clients are the same, the receiving management host uploads an installation task package, when the number and the types of the browser plug-ins to be installed of some clients are the same, the receiving management host uploads only one installation task package for the clients installing the same browser plug-ins, and when the number or the types of the browser plug-ins installed by the rest or all the clients are different, the receiving management host uploads the corresponding installation task package for each client.
7. A browser plug-in batch installation system comprises a domain management server, a management host and a plurality of clients;
The authorized management host is suitable for configuring and generating a browser plug-in configuration table to be installed corresponding to each client;
the domain management server is suitable for obtaining an online client list;
the authorized management host is suitable for sending a browser plug-in installation task package to be installed of all or part of the client side to the domain management server according to the configuration table;
The domain management server is suitable for distributing a corresponding browser plug-in installation task package to be installed to each online client in the online client list; storing a browser plug-in installation task package to be installed of an off-line client as cache data in a local memory, when the off-line client is on line, receiving registration service information of a new on-line client by a domain management server, updating the state of the client in an on-line client list by the domain management server, determining a browser plug-in installation task package to be installed corresponding to the new on-line client from the cache data or a data queue, and pushing the browser plug-in installation task package to the new on-line client; and
Each online client is suitable for sending a feedback message to the domain management server after the browser plug-in to be installed installs a task package and runs;
The authorized management host sends the browser plug-in installation task package to be installed of all or part of the client side to the domain management server according to the configuration table, and the browser plug-in installation task package comprises the following steps:
When the number and the types of the browser plug-ins to be installed of all the clients are the same, the management host uploads an installation task package, when the number and the types of the browser plug-ins to be installed of some clients are the same, the management host uploads only one installation task package for the clients installing the same browser plug-ins, and when the number or the types of the browser plug-ins installed of the rest or all the clients are different, the management host uploads the corresponding installation task package for each client.
8. A computing device, comprising:
At least one processor and a memory storing program instructions;
The program instructions, when read and executed by the processor, cause the computing device to perform the method of browser plug-in batch installation of any of claims 1-2.
9. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of browser plug-in batch installation of any of claims 1-2.
CN202210098260.1A 2022-01-19 2022-01-19 Method, device, system and computing device for batch installation of browser plug-ins Active CN114513500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210098260.1A CN114513500B (en) 2022-01-19 2022-01-19 Method, device, system and computing device for batch installation of browser plug-ins

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210098260.1A CN114513500B (en) 2022-01-19 2022-01-19 Method, device, system and computing device for batch installation of browser plug-ins

Publications (2)

Publication Number Publication Date
CN114513500A CN114513500A (en) 2022-05-17
CN114513500B true CN114513500B (en) 2024-06-04

Family

ID=81549699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210098260.1A Active CN114513500B (en) 2022-01-19 2022-01-19 Method, device, system and computing device for batch installation of browser plug-ins

Country Status (1)

Country Link
CN (1) CN114513500B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834678B (en) * 2022-11-22 2024-08-06 成都鲁易科技有限公司 Webpage message pushing processing method and device, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546811A (en) * 2012-01-17 2012-07-04 百度在线网络技术(北京)有限公司 Method and device for arranging browser plugin on mobile terminal
CN104468638A (en) * 2013-09-12 2015-03-25 北大方正集团有限公司 Distributed data processing method and system
EP3018579A1 (en) * 2014-11-07 2016-05-11 Open Text S.A. Client application with embedded server
CN111124703A (en) * 2019-11-25 2020-05-08 山东鲁能软件技术有限公司 Method and system for automatically reminding processing work in cluster environment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090288079A1 (en) * 2008-05-13 2009-11-19 Google Inc. Automatic installation of a software product on a device
WO2013006226A1 (en) * 2011-07-01 2013-01-10 Exxonmobil Upstream Research Company Plug-in installer framework
US11468172B2 (en) * 2019-02-06 2022-10-11 Cisco Technology, Inc. Browser extension security system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546811A (en) * 2012-01-17 2012-07-04 百度在线网络技术(北京)有限公司 Method and device for arranging browser plugin on mobile terminal
CN104468638A (en) * 2013-09-12 2015-03-25 北大方正集团有限公司 Distributed data processing method and system
EP3018579A1 (en) * 2014-11-07 2016-05-11 Open Text S.A. Client application with embedded server
CN111124703A (en) * 2019-11-25 2020-05-08 山东鲁能软件技术有限公司 Method and system for automatically reminding processing work in cluster environment

Also Published As

Publication number Publication date
CN114513500A (en) 2022-05-17

Similar Documents

Publication Publication Date Title
US10187445B2 (en) System, method and browser client for enabling browser data synchronization
EP2263163B1 (en) Content management
CN110460652B (en) Resource acquisition method and edge computing scheduling server
US9065835B2 (en) Redirecting web content
CN110311983B (en) Service request processing method, device and system, electronic equipment and storage medium
CN111651464B (en) Data processing method, system and computing device
CN107370811B (en) Resource distribution method of CDN (content delivery network), computing equipment and readable storage medium
CN107819802A (en) A kind of mirror image acquisition methods, node device and server in node cluster
KR20030072329A (en) Peer to peer software distribution system
CN103812882A (en) Method and system for transferring files
US10826917B2 (en) Malicious data scan service
CN102067094A (en) Cache optimzation
CN113329069B (en) Instant messaging method, system and computing device
CN1937503A (en) System and method for speeding up webpage content downloading
WO2021051747A1 (en) Data update method, system and device, electronic device, and computer storage medium
CN103947178A (en) Content distribution through blind-cache instantiation
CN114513500B (en) Method, device, system and computing device for batch installation of browser plug-ins
CN101325611A (en) Point-to-point download method and apparatus
CN111679837B (en) System installation control method, system and computing device
CN116192956A (en) Cache data updating method, system, computing device and storage medium
US9894117B2 (en) File transfers for virtual conferences
US20050033863A1 (en) Data link characteristic cognizant electronic mail client
CN112465599B (en) Order processing method, order processing system and computing equipment
JP5109901B2 (en) Session data sharing method
CN101741877A (en) Method, system and equipment for operating media resource

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