CN109933356A - The hot replacement method of remote agent class and device - Google Patents

The hot replacement method of remote agent class and device Download PDF

Info

Publication number
CN109933356A
CN109933356A CN201910232954.8A CN201910232954A CN109933356A CN 109933356 A CN109933356 A CN 109933356A CN 201910232954 A CN201910232954 A CN 201910232954A CN 109933356 A CN109933356 A CN 109933356A
Authority
CN
China
Prior art keywords
class
isp
data packet
newest
remote agent
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
CN201910232954.8A
Other languages
Chinese (zh)
Other versions
CN109933356B (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.)
Hangzhou Yunyi Network Technology Co ltd
Original Assignee
Hangzhou Cloud Network 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 Hangzhou Cloud Network Technology Co Ltd filed Critical Hangzhou Cloud Network Technology Co Ltd
Priority to CN201910232954.8A priority Critical patent/CN109933356B/en
Publication of CN109933356A publication Critical patent/CN109933356A/en
Application granted granted Critical
Publication of CN109933356B publication Critical patent/CN109933356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application provides a kind of hot replacement method of remote agent class and devices, and wherein method includes: the update operation monitored ISP and interface class data packet whether occurs;If it is determined that the update operation of interface class data packet occurs for the ISP, the newest interface class data packet of the ISP is obtained;Generate newest remote agent class corresponding with the newest interface class data packet;The corresponding existing remote agent class of the ISP is replaced using the newest remote agent class heat.Newest interface class data packet can be obtained in the application from storage server, and class file is loaded by self defined class loader and generates newest remote agent class.That is, the application, to avoid the service consumer service of restarting, can improve the stability interacted between service consumer and ISP using remote agent class is replaced by hot alternative on the basis of changing interface class data packet.

Description

The hot replacement method of remote agent class and device
Technical field
This application involves Internet technical field more particularly to the hot replacement methods of remote agent class and device.
Background technique
There are multiple ISPs and multiple service consumers in a distributed system, some service consumer is needed Data interaction is carried out with multiple ISPs.For example, service consumer can be distributed timing task schedule center, clothes Business supplier can be operation system, then service consumer can carry out data interaction with multiple operation systems.
In order to realize the data interaction between service consumer and ISP, ISP would generally integrated interface Class data packet (interface class jar packet) is simultaneously sent to service consumer, service consumer can integrated interface class data packet to itself In code packet, for generating remote agent class when restarting.
In the case that the service provided by the ISP changes, such as newly-increased service or modification have clothes Business, existing interface class data packet are not just available, and need to generate newest interface class data packet.Service consumer can obtain newest Interface class data packet.
Since interface class data packet is stored in the code packet of service consumer itself, so service consumer needs are first temporary Stop the service with each ISP, repack the newest interface class data packet of a certain ISP into code packet, Then remote agent class can be generated again after service consumer restarting, for realizing the clothes with each ISP Business.
During due to each memory interface class data packet of service consumer, be required to consumer out of service with it is each The service of ISP, this will affect reliability of service between service consumer and ISP.
Summary of the invention
In consideration of it, the application provides a kind of hot replacement method of remote agent class and device, remote agent class can be executed Heat replacement guarantees that service consumer and service provide from without the service between consumer out of service and ISP Reliability of service between person.
To achieve the goals above, this application provides following technical characteristics:
A kind of hot replacement method of remote agent class, be applied to distributed system the described method includes:
Monitor the update operation whether ISP occurs interface class data packet;If it is determined that the ISP occurs The update of interface class data packet operates, and obtains the newest interface class data packet of the ISP;
Generate newest remote agent class corresponding with the newest interface class data packet;
The corresponding existing remote agent class of the ISP is replaced using the newest remote agent class heat.
Optionally, the generation newest remote agent class corresponding with the newest interface class data packet includes:
Determine self defined class loader example corresponding with the ISP;
The class file in the newest interface class data packet is stored to the caching of the self defined class loader example In;
The class file, which is loaded, using the self defined class loader example obtains class object;
Dynamic proxy operation is executed to the class object, obtains the newest remote agent class of the class object.
Optionally, determination self defined class loader example corresponding with the ISP includes:
Judge to whether there is self defined class loader example corresponding with the ISP in global container;
If it exists, then self defined class loader reality corresponding with the ISP is obtained from the global container Example, and the operation that empties the cache is executed to the self defined class loader example;
If it does not exist, then self defined class loader example corresponding with the ISP is generated.
Optionally, described to have long-range generation using the newest remote agent class heat replacement ISP is corresponding Manage class, comprising:
The newest remote agent class is added in global container, with server described in the heat replacement global container The existing remote agent class of supplier.
Optionally, before whether the monitoring ISP occurs the update operation of interface class data packet, further includes:
Construct self defined class loader example.
Optionally, before monitoring ISP and the update operation of interface class data packet whether occurs, further includes:
The interface class data packet of multiple ISPs is received, and stores multiple interface class data packets respectively to storage service Under the different store paths of device;
Using the self-defined loader, respectively multiple ISPs generate one-to-one multiple customized loads Device example;
Store the multiple ISP correspondingly multiple self-defined loader examples into global container.
A kind of hot alternative of remote agent class, is integrated in distributed system, described device includes:
Whether monitoring unit the update operation of interface class data packet occurs for monitoring ISP;
Acquiring unit, for if it is determined that the update that interface class data packet occurs for the ISP operates, described in acquisition The newest interface class data packet of ISP;
Generation unit, for generating newest remote agent class corresponding with the newest interface class data packet;
Hot replacement unit, it is corresponding existing remote for replacing the ISP using the newest remote agent class heat Journey proxy class.
A kind of hot replacement system of interface class data packet, comprising:
Service consumer, the multiple ISPs being connected with the service consumer, with the server consumer phase Storage server even;Wherein,
ISP, for generating interface class data packet;
Service memory, for the interface class data packet of multiple ISPs to be stored under different store paths respectively, And generate the corresponding relationship list comprising multiple ISP's corresponding relationships;The wherein corresponding relationship packet of each ISP Include ISP's mark and store path corresponding relationship;
Service consumer for storing corresponding relationship list, and monitors whether ISP occurs interface class data packet Update operation;If it is determined that the update operation of interface class data packet occurs for the ISP, the ISP is obtained Newest interface class data packet;And the newest interface class data packet is stored to storage server using corresponding relationship list;From Storage server obtains newest interface class data packet, generates newest remote agent corresponding with the newest interface class data packet Class;The corresponding existing remote agent class of the ISP is replaced using the newest remote agent class heat.
A kind of electronic equipment, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute remote agent class heat replacement side via the executable instruction is executed Method.
A kind of storage medium, for the storage medium for storing software program, which can be used for realizing long-range generation Manage the hot replacement method of class.
By the above technological means, may be implemented it is following the utility model has the advantages that
Service consumer must repack interface class data packet in the prior art, by the newest interface class of ISP Data packet is integrated in native codes packet, in the application woth no need to integrated interface class data packet into native codes packet, but is deposited Storage is into storage server.
An ISP changes in the prior art, and service consumer just needs the service of restarting, this will affect other Service between ISP and service consumer;And newest interface class number can be obtained in the application from storage server According to packet, and class file is loaded by self defined class loader and generates newest remote agent class.
That is, the application can be long-range using being replaced by hot alternative on the basis of changing interface class data packet Proxy class improves the stability interacted between service consumer and ISP to avoid the service consumer service of restarting.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of distributed system disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow chart of the preparatory implementation procedure of service consumer disclosed in the embodiment of the present application;
Fig. 3 is a kind of flow chart of the hot replacement method of remote agent class disclosed in the embodiment of the present application;
Fig. 4 is a kind of flow chart of the hot alternative of remote agent class disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The prior art is statically to replace remote agent class, i.e., in service consumer every time to restart the side of service consumer Formula replaces interface class data packet and generates newest remote agent class.Scheme provided by the present application is heat replacement remote agent class, Under the premise of service i.e. between consumer not out of service and ISP, replaced in service consumer operational process remote Journey proxy class, to realize that remote agent class heat is replaced.
This application provides a kind of distributed systems, referring to Fig. 1, comprising:
Service consumer 100;
The storage server 200 being connected with service consumer 100;
The multiple ISPs 300 being connected with service consumer 100.
By taking an application scenarios as an example, service consumer and ISP are explained.Service consumer can To include distributed timing task schedule center, ISP may include operation system.
The preparatory implementation procedure of service consumer is introduced first.Referring to fig. 2, comprising the following steps:
Step S201: service consumer receives the interface class data packet of multiple ISPs.
By taking an ISP as an example, ISP can determine the service for needing remote agent, and will service pair The interface class data packet answered, is sent to service consumer.
Step S202: service consumer stores the different store paths of multiple interface class data packets to storage server respectively Under.
It, will be different in order to which the interface class data packet of different service provider is isolated and convenient for being subsequently generated Classloader example The interface class data packet of ISP is stored respectively under the different paths of storage server.
For each ISP, storage server will record ISP's mark, and, interface class data packet Store path, and generate the corresponding relationship of ISP's mark and store path.
Storage server can also generate a corresponding relationship list, and corresponding relationship list includes each ISP The corresponding relationship of mark and store path.
Step S203: service consumer receives and saves the corresponding relationship list of storage server transmission.
Step S204: service consumer constructs self defined class loader example.
The class file under fixed route can be only loaded due to system Classloader, class file and not stored in the present embodiment Under fixed route, so system Classloader not can be used to load class file.
In order to avoid loading class file using system Classloader, this implementation constructs self defined class loader example, with Realize the purpose for directly using self defined class loader.
Step S205: service consumer utilizes the self-defined loader, and respectively multiple ISPs generate one by one Corresponding multiple self-defined loader examples, and the remote agent class of multiple ISPs is stored in into global container.
Service consumer activation system obtains corresponding relationship list, is performed both by for each of them corresponding relationship following Operation:
S1: ISP's mark and store path are determined from according to a corresponding relationship.
S2: self defined class loader example corresponding with ISP's mark is generated using self defined class loader.
That is, reading service provides using self defined class loader from store path corresponding with ISP's mark The interface class data packet of person, and interface class data packet is stored to jvm (Java Virtual Machine, Java Virtual Machine) In.
S3: interface class data packet is pulled from storage server according to store path.
S4: the class file in interface class data packet is stored into the caching of the self defined class loader example.
S5: the class file is loaded using the self defined class loader example and obtains class object.S6: class object is executed Dynamic proxy operation, obtains the remote agent class of the class object.
S7: storage remote agent class is into global container.
Step S206: service consumer executes far call using the remote agent class in global container.
Service consumer judges whether the preset condition for reaching some ISP, if so, obtaining from global container Remote agent class corresponding with ISP mark is taken, and is sent remotely by means of remote agent class to the ISP Call request.
Response results are sent to service consumer, for service consumer after ISP executes far call request Receive response results.
The application provides a kind of hot replacement method of remote agent class, and the service applied to distributed system shown in FIG. 1 disappears Fei Zhe.Include: referring to the hot replacement method of Fig. 3 remote agent class
Step S301: the update operation whether ISP occurs interface class data packet is monitored.
The process of far call is executed using the remote agent class in global container in above-mentioned steps S206 service consumer In, it is monitored using JDK (Software Development Kit that JDK is Java language) included WatchService and service consumer Whether the interface class data packet of connected multiple ISPs occurs to update operation;Touching can also be set in service consumer Key is sent out, is determined after artificial trigger button and occurs to update operation.
In the case where determining that the interface data packet of a certain ISP occurs to update operation, step S302 is executed, It determines that the interface data packet of a certain ISP does not occur in the case where updating operation, continues to execute step S206.
Step S302: if it is determined that the update operation of interface class data packet occurs for the ISP, the service is obtained The newest interface class data packet of supplier, and replace existing interface class data packet.
If it is determined that the update operation of interface class data packet occurs for the ISP, then show service consumer for this ISP's memory interface class data packet is invalid, and, remote agent class is also in vain.
If service consumer does not execute interactive operation with the ISP, can directly execute to remote agent class Hot replacement operation.If ISP executes interactive operation with the ISP at this time, this interactive operation is waited After being finished, the hot replacement operation to remote agent class is executed.
Service consumer pulls newest interface class data packet from ISP, has class in newest interface class data packet File (.class file).Service consumer can use newest interface class data packet and update storage existing interface in server Class data packet, so that storage server also executes update operation.
Step S303: newest remote agent class corresponding with the newest interface class data packet is generated.
Step S303 can be realized using step S3031~S3034:
Step S3031: self defined class loader example corresponding with the ISP is determined.
Service consumer judges to whether there is self defined class loader corresponding with the ISP in global container Example;If it does not exist, then self defined class loader example corresponding with the ISP is generated.
If it exists, then self defined class loader reality corresponding with the ISP is obtained from the global container Example, and the operation that empties the cache is executed to the self defined class loader example.Due in the caching of self defined class loader example It is still existing class file content, so the operation that empties the cache is needed, to delete existing class file content.
Step S3032: obtaining newest interface class data packet from storage server, will be in the newest interface class data packet Class file, store into the caching of the self defined class loader example.
Service consumer extracts class file (.class file) from newest interface class data packet, stores to self defined class and loads In the caching of device example, so that self defined class loader is using the class file in newest interface class data packet.
Step S3033: the class file is loaded using the self defined class loader example and obtains class object;
Step S3034: dynamic proxy operation is executed to the class object, obtains the newest remote agent class of the class object.
Dynamic proxy operation is executed to class object using JDK (Software Development Kit that JDK is Java language), obtains class The newest remote agent class of object.
Step S304: the corresponding existing remote agent of the ISP is replaced using the newest remote agent class heat Class.
The newest remote agent class is added in global container, with server described in the heat replacement global container The existing remote agent class of supplier, thus realize between consumer and ISP not out of service in the case where service, Replace remote agent class.
Step S305: service consumer executes far call using the remote agent class in global container.
Service consumer judges whether the preset condition for reaching some ISP, if so, obtaining from global container Remote agent class corresponding with ISP mark is taken, and is sent remotely by means of remote agent class to the ISP Call request.
Optionally, service consumer, can after remote agent class (configuration interface class, method name, parameter and parameter type) It is called with doing Java reflection to agent object using remote agent class, requests to trigger far call and obtain result.
Response results are sent to service consumer, for service consumer after ISP executes far call request Receive response results.
From above-mentioned technical characteristic it is known that the application has the following beneficial effects:
Service consumer must repack interface class data packet in the prior art, by the newest interface class of ISP Data packet is integrated in native codes packet, in the application woth no need to integrated interface class data packet into native codes packet, but is deposited Storage is into storage server.
An ISP changes in the prior art, and service consumer just needs the service of restarting, this will affect other Service between ISP and service consumer;And newest interface class number can be obtained in the application from storage server According to packet, and class file is loaded by self defined class loader and generates newest remote agent class.
That is, the application can be long-range using being replaced by hot alternative on the basis of changing interface class data packet Proxy class improves the stability interacted between service consumer and ISP to avoid the service consumer service of restarting.
Since service consumer introduces the jar packet of ISP in the prior art, so the prior art is being acted on behalf of What object called directly, but service consumer must be restarted if newly-increased service.This design is remote in service consumer configuration Journey proxy class (interface class, method name, parameter and parameter type) is called using Java reflection is done to agent object, to trigger Far call is requested and is obtained as a result, without restarting service consumer.
Referring to fig. 4, this application provides a kind of hot alternative of remote agent class, distributed system, the dress are integrated in It sets and includes:
Whether monitoring unit 41 the update operation of interface class data packet occurs for monitoring ISP;
Acquiring unit 42, for if it is determined that the update operation of interface class data packet, acquisition institute occur for the ISP State the newest interface class data packet of ISP;
Generation unit 43, for generating newest remote agent class corresponding with the newest interface class data packet;
Hot replacement unit 44, it is corresponding existing for replacing the ISP using the newest remote agent class heat Remote agent class.
Wherein, generation unit 43, comprising:
First determination unit 431, for determining self defined class loader example corresponding with the ISP;
First storage unit 432, for storing the class file in the newest interface class data packet to described customized In the caching of Classloader example;
Loading unit 433 obtains class object for loading the class file using the self defined class loader example;
Dynamic proxy unit 434 obtains the newest remote of the class object for executing dynamic proxy operation to the class object Journey proxy class.
Wherein the first determination unit 431 includes:
Judging unit 4311, for judging in global container with the presence or absence of self defined class corresponding with the ISP Loader example;
Unit 4312 is emptied, for if it exists, then obtaining from the global container corresponding with the ISP Self defined class loader example, and the operation that empties the cache is executed to the self defined class loader example;
First generation unit 4313 adds for if it does not exist, then generating self defined class corresponding with the ISP Carry device example.
Wherein, hot replacement unit 44 includes: that the newest remote agent class is added in global container, replaces institute with heat State the existing remote agent class of server provider described in global container.
Wherein, before monitoring unit 41, further includes:
Construction unit 45, for constructing self defined class loader example.
Second storage unit 46 for receiving the interface class data packet of multiple ISPs, and stores multiple connect respectively Under mouth class data packet to the different store paths of storage server;
Second generation unit 47, for utilizing the self-defined loader, respectively multiple ISPs are generated one by one Corresponding multiple self-defined loader examples;
Third storage unit 48, for storing the multiple ISP, multiple self-defined loaders are real correspondingly Example is into global container.
The application provides a kind of hot replacement system of interface class data packet, comprising:
Service consumer, the multiple ISPs being connected with the service consumer, with the server consumer phase Storage server even;Wherein,
ISP, for generating interface class data packet;
Service memory, for the interface class data packet of multiple ISPs to be stored under different store paths respectively, And generate the corresponding relationship list comprising multiple ISP's corresponding relationships;The wherein corresponding relationship packet of each ISP Include ISP's mark and store path corresponding relationship;
Service consumer for storing corresponding relationship list, and monitors whether ISP occurs interface class data packet Update operation;If it is determined that the update operation of interface class data packet occurs for the ISP, the ISP is obtained Newest interface class data packet;And the newest interface class data packet is stored to storage server using corresponding relationship list;From Storage server obtains newest interface class data packet, generates newest remote agent corresponding with the newest interface class data packet Class;The corresponding existing remote agent class of the ISP is replaced using the newest remote agent class heat.
The application provides a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute remote agent as shown in Figure 2 via the executable instruction is executed The hot replacement method of class.
The application provides a kind of storage medium, which is characterized in that the storage medium is for storing software program, the software Program can be used for realizing the hot replacement method of remote agent class as shown in Figure 2.
If function described in the present embodiment method is realized in the form of SFU software functional unit and as independent product pin It sells or in use, can store in a storage medium readable by a compute device.Based on this understanding, the embodiment of the present application The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, this is soft Part product is stored in a storage medium, including some instructions are used so that calculating equipment (it can be personal computer, Server, mobile computing device or network equipment etc.) execute all or part of step of each embodiment the method for the application Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of hot replacement method of remote agent class, which is characterized in that be applied to distributed system, which comprises
Monitor the update operation whether ISP occurs interface class data packet;If it is determined that interface occurs for the ISP The update of class data packet operates, and obtains the newest interface class data packet of the ISP;
Generate newest remote agent class corresponding with the newest interface class data packet;
The corresponding existing remote agent class of the ISP is replaced using the newest remote agent class heat.
2. the method as described in claim 1, which is characterized in that the generation is corresponding most with the newest interface class data packet Newly remote agent class includes:
Determine self defined class loader example corresponding with the ISP;
The class file in the newest interface class data packet is stored into the caching of the self defined class loader example;
The class file, which is loaded, using the self defined class loader example obtains class object;
Dynamic proxy operation is executed to the class object, obtains the newest remote agent class of the class object.
3. method according to claim 2, which is characterized in that determination self defined class corresponding with the ISP Loader example includes:
Judge to whether there is self defined class loader example corresponding with the ISP in global container;
If it exists, then self defined class loader example corresponding with the ISP is obtained from the global container, and The operation that empties the cache is executed to the self defined class loader example;
If it does not exist, then self defined class loader example corresponding with the ISP is generated.
4. method according to claim 2, which is characterized in that described to replace the clothes using the newest remote agent class heat The corresponding existing remote agent class of business supplier, comprising:
The newest remote agent class is added in global container, is provided with server described in the heat replacement global container The existing remote agent class of person.
5. the method as described in claim 1, which is characterized in that interface class data whether occur in the monitoring ISP Before the update operation of packet, further includes:
Construct self defined class loader example.
6. method according to claim 2, which is characterized in that monitoring whether ISP occurs interface class data packet It updates before operating, further includes:
The interface class data packet of multiple ISPs is received, and stores multiple interface class data packets respectively to storage server Under different store paths;
Using the self-defined loader, it is real that respectively multiple ISPs generate one-to-one multiple self-defined loaders Example;
Store the multiple ISP correspondingly multiple self-defined loader examples into global container.
7. a kind of hot alternative of remote agent class, which is characterized in that be integrated in distributed system, described device includes:
Whether monitoring unit the update operation of interface class data packet occurs for monitoring ISP;
Acquiring unit, for if it is determined that the ISP occur interface class data packet update operation, obtain the service The newest interface class data packet of supplier;
Generation unit, for generating newest remote agent class corresponding with the newest interface class data packet;
Hot replacement unit, for being replaced using the newest remote agent class heat, the ISP is corresponding to have long-range generation Manage class.
8. a kind of hot replacement system of interface class data packet characterized by comprising
Service consumer, the multiple ISPs being connected with the service consumer are connected with the server consumer Storage server;Wherein,
ISP, for generating interface class data packet;
Service memory, for the interface class data packet of multiple ISPs to be stored under different store paths respectively, and it is raw At the corresponding relationship list comprising multiple ISP's corresponding relationships;Wherein the corresponding relationship of each ISP includes clothes Business supplier mark and store path corresponding relationship;
Service consumer for storing corresponding relationship list, and monitors whether ISP occurs interface class data packet more New operation;If it is determined that the update operation of interface class data packet occurs for the ISP, the ISP is obtained most New interface class data packet;And the newest interface class data packet is stored to storage server using corresponding relationship list;From storage Server obtains newest interface class data packet, generates newest remote agent class corresponding with the newest interface class data packet;Benefit The corresponding existing remote agent class of the ISP is replaced with the newest remote agent class heat.
9. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute as described in any one of claim 1~6 via the executable instruction is executed The hot replacement method of remote agent class.
10. a kind of storage medium, which is characterized in that for storing software program, which can be used for the storage medium Realize the hot replacement method of remote agent class as described in any one of claims 1 to 6.
CN201910232954.8A 2019-03-26 2019-03-26 Remote proxy hot replacement method and device Active CN109933356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910232954.8A CN109933356B (en) 2019-03-26 2019-03-26 Remote proxy hot replacement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910232954.8A CN109933356B (en) 2019-03-26 2019-03-26 Remote proxy hot replacement method and device

Publications (2)

Publication Number Publication Date
CN109933356A true CN109933356A (en) 2019-06-25
CN109933356B CN109933356B (en) 2022-06-03

Family

ID=66988291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910232954.8A Active CN109933356B (en) 2019-03-26 2019-03-26 Remote proxy hot replacement method and device

Country Status (1)

Country Link
CN (1) CN109933356B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647415A (en) * 2019-08-14 2020-01-03 平安科技(深圳)有限公司 Database detection method, device and equipment and computer readable storage medium
CN111638923A (en) * 2020-06-04 2020-09-08 北京思特奇信息技术股份有限公司 Method and device for data routing based on Java annotation
CN112764827A (en) * 2020-12-31 2021-05-07 重庆广播电视大学重庆工商职业学院 Java class hot loading method with safety verification

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073525A (en) * 2011-01-20 2011-05-25 中兴通讯股份有限公司 Method and device for dynamically upgrading Web service system based on Java platform
US20150268947A1 (en) * 2014-03-20 2015-09-24 Crowdstrike, Inc. Integrity Assurance and Rebootless Updating During Runtime
CN108241500A (en) * 2018-01-15 2018-07-03 腾讯科技(深圳)有限公司 A kind of restorative procedure of hardware component, device, system and storage medium
CN108304213A (en) * 2018-01-11 2018-07-20 口碑(上海)信息技术有限公司 Run the hot restorative procedure and device of program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073525A (en) * 2011-01-20 2011-05-25 中兴通讯股份有限公司 Method and device for dynamically upgrading Web service system based on Java platform
US20150268947A1 (en) * 2014-03-20 2015-09-24 Crowdstrike, Inc. Integrity Assurance and Rebootless Updating During Runtime
CN108304213A (en) * 2018-01-11 2018-07-20 口碑(上海)信息技术有限公司 Run the hot restorative procedure and device of program
CN108241500A (en) * 2018-01-15 2018-07-03 腾讯科技(深圳)有限公司 A kind of restorative procedure of hardware component, device, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIXIN_30312563: ""JAVA热替换(续)"", 《HTTPS://BILOG.CSDN.NET/WEIXIN_30312563/ARTICLE/DETAILS/99106431》 *
止步前行: ""JAVA类加载器—热替换"", 《HTTPS://BLOG.CSDN.NET/ZXD1435513775/ARTICLE/DETAILS/78839363》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647415A (en) * 2019-08-14 2020-01-03 平安科技(深圳)有限公司 Database detection method, device and equipment and computer readable storage medium
CN111638923A (en) * 2020-06-04 2020-09-08 北京思特奇信息技术股份有限公司 Method and device for data routing based on Java annotation
CN111638923B (en) * 2020-06-04 2023-03-24 北京思特奇信息技术股份有限公司 Method and device for data routing based on Java annotation
CN112764827A (en) * 2020-12-31 2021-05-07 重庆广播电视大学重庆工商职业学院 Java class hot loading method with safety verification
CN112764827B (en) * 2020-12-31 2023-04-07 重庆广播电视大学重庆工商职业学院 Java class hot loading method with safety verification

Also Published As

Publication number Publication date
CN109933356B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
US10348809B2 (en) Naming of distributed business transactions
CN103283209B (en) A kind of application service platform system and its implementation
US8607200B2 (en) Executing a web application at different stages in the application life cycle
US10158541B2 (en) Group server performance correction via actions to server subset
CN102411506B (en) Java-system business-unit plug-in type managing system and dynamic business-function changing method
CN105144093B (en) It is disposed using the workload of infrastructure management agency's supply
US9811356B2 (en) Automated software configuration management
CN109933356A (en) The hot replacement method of remote agent class and device
CN107544783B (en) Data updating method, device and system
CN110187910B (en) Thermal updating method, device, equipment and computer readable storage medium
JP2003186696A (en) Method for diagnosing system risk, and program and device therefor
JP2011118587A (en) System for executing cooperative service by plurality of servers
CN110221845A (en) Using dispositions method, device, equipment and medium
CN110231956A (en) The method, system and device of application version building
US10025646B2 (en) Naming of nodes in NET framework
CN109462507B (en) Configuration updating method, device and system and electronic equipment
CN105404530A (en) System and method for realizing simple deployment and using private cloud
CN112307402B (en) Webpage component creation method and device, electronic equipment and readable storage medium
CN107168774A (en) It is a kind of based on the virtual machine migration method being locally stored and system
CN107741885B (en) Transaction and service association method and system based on CS framework
US20170031667A1 (en) Managing application lifecycles within a federation of distributed software applications
CN104978214B (en) A kind of component loading method, device and terminal
US10165074B2 (en) Asynchronous custom exit points
JP5784792B1 (en) Communication equipment and program
La et al. Dynamic architecture for autonomously managing service-based applications

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
TA01 Transfer of patent application right

Effective date of registration: 20200722

Address after: 310000 2 6th Floor, No. 3588 Jiangnan Avenue, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Yunyi Network Technology Co.,Ltd.

Address before: 11, building 310053, Hang Seng tower, 3588 Jiangnan Avenue, Hangzhou, Zhejiang, Binjiang District

Applicant before: HANGZHOU YUN-IN NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant