CN112882735A - Fusing information processing method, device, equipment and storage medium - Google Patents

Fusing information processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112882735A
CN112882735A CN202110268177.XA CN202110268177A CN112882735A CN 112882735 A CN112882735 A CN 112882735A CN 202110268177 A CN202110268177 A CN 202110268177A CN 112882735 A CN112882735 A CN 112882735A
Authority
CN
China
Prior art keywords
fusing
configuration information
target
application program
fusing configuration
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
CN202110268177.XA
Other languages
Chinese (zh)
Other versions
CN112882735B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110268177.XA priority Critical patent/CN112882735B/en
Publication of CN112882735A publication Critical patent/CN112882735A/en
Application granted granted Critical
Publication of CN112882735B publication Critical patent/CN112882735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure provides a fusing information processing method, a fusing information processing device, fusing information processing equipment and a storage medium, and relates to the field of software development and fusing mechanisms. The specific implementation scheme is as follows: in the running process of a target application program, an application end obtains target fusing configuration information corresponding to the target application program from a server end; the application terminal compares the acquired target fusing configuration information with the currently stored historical fusing configuration information to determine whether updating processing is needed or not; and under the condition that updating processing is needed, the application terminal updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application terminal to be matched with the target fusing configuration information stored in the server terminal. Thus, thermal modification of the fusing configuration information is realized.

Description

Fusing information processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to the field of software development and fusing mechanisms.
Background
Hystrix is a fusing system with a Netflix open source, and can provide a set of fusing processing program with strong fusing capability and robustness for a program developer. However, in practical applications, although Hystrix can implement the fusing function at the application end, dynamic change of the fusing information, that is, thermal change cannot be implemented in the running process of the application program.
Disclosure of Invention
The disclosure provides a fusing information processing method, a fusing information processing device, fusing information processing equipment and a storage medium.
According to an aspect of the present disclosure, there is provided a fusing information processing method including:
in the running process of a target application program, an application end obtains target fusing configuration information corresponding to the target application program from a server end;
the application terminal compares the acquired target fusing configuration information with the currently stored historical fusing configuration information to determine whether updating processing is needed or not;
and under the condition that updating processing is needed, the application terminal updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application terminal to be matched with the target fusing configuration information stored in the server terminal.
According to another aspect of the present disclosure, there is provided a fusing information processing apparatus including:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring target fusing configuration information corresponding to a target application program from a server in the running process of the target application program;
the information processing unit is used for comparing the acquired target fusing configuration information with the currently stored historical fusing configuration information to determine whether updating processing is needed or not;
and the updating unit is used for updating the historical fusing configuration information under the condition that the updating processing is needed so as to enable the fusing configuration information stored in the updating unit to be matched with the target fusing configuration information stored in the server.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to any one of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform a method in any of the embodiments of the present disclosure.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method in any of the embodiments of the present disclosure.
The technology according to the present disclosure solves the problem that thermal alteration of fuse information cannot be achieved at present.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram illustrating a flow chart of a method for processing fusing information according to an embodiment of the disclosure;
FIG. 2 is a schematic diagram of a configuration interface in a specific example of a method for processing fusing information according to an embodiment of the disclosure;
FIG. 3 is a schematic diagram of an implementation flow of a fusing information processing method in a specific example according to an embodiment of the disclosure;
FIG. 4 is a schematic diagram of an implementation architecture of a method for processing fusing information according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram of a fusing information processing apparatus according to an embodiment of the disclosure;
fig. 6 is a block diagram of an electronic device for implementing a fusing information processing method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The application scheme provides a fusing information processing method, the method is executed on an application terminal, the application terminal can be specifically an operation terminal or a use terminal of a target application program, correspondingly, a server terminal can specifically correspond to a server, a server cluster and other remote devices, and the application scheme does not limit the application terminal and the execution devices of the server terminal. Specifically, fig. 1 is a schematic flow chart of an implementation of a fusing information processing method according to an embodiment of the disclosure, and as shown in fig. 1, the method includes:
step S101: in the running process of a target application program, an application end obtains target fusing configuration information corresponding to the target application program from a server end. Here, in an example, the application side periodically obtains the target fusing configuration information corresponding to the target application program from the server side, and the timing mechanism may be set based on actual requirements, which is not limited in this example.
Step S102: and the application terminal compares the acquired target fusing configuration information with the currently stored historical fusing configuration information to determine whether updating processing is needed.
Step S103: and under the condition that updating processing is needed, the application terminal updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application terminal to be matched with the target fusing configuration information stored in the server terminal. For example, when the target fusing configuration information is different from the currently stored historical fusing configuration information, the updating process is required.
In the scheme of the application, the application end runs the target application program; correspondingly, the server configures the fusing configuration information for the target application program and manages the fusing configuration information, for example, the server may uniformly update, modify, delete, and the like the fusing configuration information. In practical application, the server can configure the fusing configuration information according to any granularity such as global granularity, product lines and service lines, or perform hierarchical configuration, so as to meet various requirements of actual service scenes.
It should be noted that, in this example, the update processing manner is not limited, for example, the obtained target fusing configuration information may directly override the currently stored historical fusing configuration information, or difference information between the two may be detected, and only the difference information may be updated.
Therefore, the fusing configuration information is updated in the process that the application end runs the target application program, and the problem that the fusing configuration information cannot be changed thermally and the updated configuration information can be obtained only by restarting the program in the prior art is solved.
In a specific example of the present application, the application end may obtain the fusing configuration information for the target application program for the first time in the following manner, specifically, the application end starts the target application program; in the process of starting the target application program, first fusing configuration information is acquired from the server; storing the first fusing configuration information as the historical fusing configuration information. That is, the application terminal first obtains the fusing configuration information from the server terminal during the starting process of the target application program, so as to ensure that the target application program operates in the state protected by the fusing mechanism.
Here, it should be noted that the process of performing update processing on the history fusing configuration information is implemented in the process of running a target application program, that is, the above-mentioned application program performs update processing on the history fusing configuration information, and specifically includes: and updating the historical fusing configuration information in the running process of the target application program. Therefore, thermal change of the fusing configuration information is realized, and the problem that the existing fusing information cannot be changed thermally and only a program can be restarted to acquire the updated configuration information is solved.
In a specific example of the solution of the present application, in an actual application, after performing a hot change, there may be an operating resource that does not match with the changed fusing configuration information, or a useless operating resource, and therefore, to avoid resource waste, a resource processing may be performed in a manner that, specifically, whether a target operating resource that does not match with the updated fusing configuration information (that is, target fusing configuration information) exists in the current operating resource of the target application program is detected; and stopping the running of the target running resource under the condition that the target running resource is determined to exist. For example, after the update processing is completed, the application end obtains the operating resource in the target application program, which is matched with the target fusing configuration information, based on the updated fusing configuration information, that is, the target fusing configuration information, and obtains a mapping list of the target fusing configuration information and the operating resource, which may be referred to as a target mapping list; meanwhile, a mapping list of the local current target application program and the running resource is obtained and can be called as a current mapping list; and comparing the two mapping lists to determine a target running resource which is not matched with the target fusing configuration information, stopping running of the running resource and releasing the resource, so that the waste of the running resource is effectively avoided, and the running resource guarantee is provided for the normal running of the target application program.
In a specific example of the application scheme, the stopping of the operation of the target operation resource may specifically be: and destroying the thread used by the target running resource. Therefore, resources are released, running resource guarantee is provided for normal running of the target application program, and meanwhile waste of running resources is effectively avoided.
In a specific example of the solution of the present application, in a case that a target service executed by the target application satisfies a fusing condition indicated by the target fusing configuration information, fusing processing is performed on the target service. Therefore, effective fusing is achieved, a foundation is laid for normal operation of the target application program, and meanwhile, a foundation is laid for improving user experience.
Therefore, the fusing configuration information is updated in the process that the application end runs the target application program, and the problem that the fusing configuration information cannot be changed thermally and the updated configuration information can be obtained only by restarting the program in the prior art is solved.
The following describes the present application scheme in further detail with reference to a specific example, specifically, in this example, the application terminal implements the fusing capability based on Hystrix, and on this basis, the server performs remote dynamic management on the fusing configuration information for the application terminal, and performs hot deployment, that is, the application terminal obtains the fusing configuration information configured by the server terminal during the process of running the target application program, and the process does not need to restart the application terminal, thereby implementing dynamic change of the local fusing configuration information of the application terminal.
Specifically, the remote management side (i.e., the server side) performs hierarchical configuration on the fusing configuration information according to the global, the product line and the service line through a remote management page as shown in fig. 2. In practical application, fusing personalized setting of service granularity can be realized, and various requirements of service demanders are met. In particular, the amount of the solvent to be used,
first, the server implements the following configuration (i.e., the fuse configuration information) but not limited to the fuse attribute:
1.Command Properties
i.Execution
a.execution.isolation.strategy
b.execution.isolation.thread.timeoutInMilliseconds
c.execution.timeout.enabled
d.execution.isolation.thread.interruptOnTimeout
e.execution.isolation.thread.interruptOnCancel
f.execution.isolation.semaphore.maxConcurrentRequestsii.Fallback
a.fallback.isolation.semaphore.maxConcurrentRequests
b.fallback.enabled
iii.Circuit Breaker
a.circuitBreaker.enabled
b.circuitBreaker.requestVolumeThreshold
c.circuitBreaker.sleepWindowInMilliseconds
d.circuitBreaker.errorThresholdPercentage
e.circuitBreaker.forceOpen
f.circuitBreaker.forceClosed
iv.Metrics
a.metrics.rollingStats.timeInMilliseconds
b.metrics.rollingStats.numBuckets
c.metrics.rollingPercentile.enabled
d.metrics.rollingPercentile.timeInMilliseconds
e.metrics.rollingPercentile.numBuckets
f.metrics.rollingPercentile.bucketSize
g.metrics.healthSnapshot.intervalInMilliseconds
v.Request Context
a.requestCache.enabled
b.requestLog.enabled
2.Collapser Properties
i.maxRequestsInBatch
ii.timerDelayInMilliseconds
iii.requestCache.enabled
3.Thread Pool Properties
i.coreSize
ii.maximumSize
iii.maxQueueSize
iv.queueSizeRejectionThreshold
v.keepAliveTimeMinutes
vi.allowMaximumSizeToDivergeFromCoreSize
vii.metrics.rollingStats.timeInMilliseconds
viii.metrics.rollingStats.numBuckets。
secondly, communication between the server and the application is realized based on a Hypertext Transfer Protocol (HTTP) and JS Object Notation (JSON, JavaScript Object Notation) publishing and subscribing manner, so that the application can timely obtain the latest fusing configuration information, for example, a Software Development Kit (SDK) in the application regularly obtains the fusing configuration information configured by the server based on a configuration interface, and the obtained message content is as follows:
Figure BDA0002972920290000071
Figure BDA0002972920290000081
thirdly, the heat modification process specifically comprises the following steps: initializing, inquiring an interface, changing information and destroying a thread pool; specifically, as shown in the flow on the left side of fig. 3, the application first performs an initialization process, and specifically, the application assembles a fusing service (service), assembles attribute exceptions, and assembles a fallback bean to implement the fusing capability based on Hystrix. Further, on the basis that the server has the fusing capability, thermal change of fusing configuration information (that is, fusing information) is realized, specifically, as shown in the middle flow of fig. 3, the server detects whether to start the fusing mechanism in the process of running the target application program, after the fusing mechanism is determined to be started, the fusing configuration information is acquired from the server based on the fusing query interface of the server, a timing query function is started, the fusing query interface acquires the fusing configuration information from the server at regular time, and under the condition that it is determined that the fusing configuration information acquired from the server is changed, historical fusing configuration information stored in the server is updated. In order to avoid wasting operating resources, after updating the fusing configuration information, the server detects whether a thread which is not matched with the updated fusing configuration information exists in a thread pool of a current target application program, that is, detects whether a useless thread pool exists, and if the thread pool exists, destroys the useless thread pool. Specifically, as shown in the right flow of fig. 3, the latest mapping relationship between the updated fusing configuration information and the service in the target application is obtained and compared with the local current mapping relationship, for example, a difference between the local mapping relationship and the latest mapping relationship is taken as a useless mapping relationship, a useless thread pool is determined based on the useless mapping relationship, the useless thread pool is destroyed, and meanwhile, the mapping relationship between the local target application and the service is updated.
Fig. 4 is a basic framework diagram of the server and the application in this example, as shown in fig. 4, the console (that is, the server) configures and manages the fusing configuration information in a unified manner, for example, the console includes modules such as global fusing configuration, fusing configuration query, provider product line dimension configuration, service identifier (service id) dimension configuration, and after the configuration is completed, the fusing configuration information is stored through a distributed system, such as an etcd. And the registry terminal is used for acquiring the fusing configuration information from the etcd side. Accordingly, the sdk side (i.e., the application side) implements the fusing capability based on Hystrix, for example, modules including a timing pull configuration, a dynamic update of an existing configuration, a destruction of an idle thread pool (i.e., an idle thread pool), an ignore exceptions, and a call fallback.
For example, sdk fusing mechanism calls an example in the application side:
TianluHystrixCommand<Object>hc
=new TianluHystrixCommand<Object>(HystrixCommand.Setter
.withGroupKey(HystrixCommandGroupKey.Factory.asKey(consumerInstance.getServiceId()))
.andCommandKey(HystrixCommandKey.Factory.asKey(consumerInstance.getServiceId()))
.andThreadPoolKey(HystrixThreadPoolKey.Factory.asKey(poolMap.get(consumerInstance.getServiceId()))),
ignore){
@Override
protected Object run()throws Exception{
return process(new Action(){
public Object execute()throws CommandActionExecutionException{
try{
return methodInterceptor.invoke(consumerContext,method,invocation.getArguments());
}catch(Throwable t){
log.warn("failed to invoke the service,due to{}",t.getMessage(),t);
throw new CommandActionExecutionException(t);
}
}
});
}
@Override
protected Object getFallback(){
// todo here needs to decide which scenes need a fallback,
//1, command properties fusing
//2, non-ignored exceptions, which exceptions can be ignored? consumer rpc exposure, provider rpc exposure, business exposure, provider exposure
Object bean=BeanFactoryTool.getBean(getBeanFactory(),serviceInterface.getSimpleName()+"fallback",null);
try{
Method method1=bean.getClass().getMethod(method.getName(),method.getParameterTypes());
if(null!=method1){
return method1.invoke(bean,invocation.getArguments());
}
}catch(Exception e){
log.warn("failed to invoke fall back method,due to{}",e.getMessage(),e);
}
return super.getFallback();
}
};
// get the return value
return hc.execute();
Fallback example in application side:
package com.baidu.tianlu.demo.consumer;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
/**
*@author:caolei10
*@date:2020/11/18
*/
@ Service ('Consumerfallback')// here bean name configuration to titanium startup configuration titanium. hystrix.fallback, multiple bean names are supported, comma separated
@Slf4j
public class ConsumerFallback{
@Override
public Result<Boolean>tpHasPrivilege(Long tpAppId,Long appId){
return null;
}
The method name of the method is the same as that of the antenna service, the parameter type is the same, and finally a Throwable parameter is added, so that the thwable is transmitted in the fallback process.
public String returnHttprpcLongString(String randomString,Throwable t){
log.warn("this is consumer fallback");
return"this is consumer fallback";
}
}
Therefore, the problem of hystrix thermal change is effectively solved, and the developers can conveniently and quickly perform fuse management of hystrix remotely through the remote control terminal, the transmission interface and the sdk thermal deployment capability.
The present application further provides a fusing information processing apparatus, as shown in fig. 5, the apparatus includes:
a first obtaining unit 501, configured to obtain, from a server, target fusing configuration information corresponding to a target application program in an operation process of the target application program;
an information processing unit 502, configured to compare the obtained target fusing configuration information with currently stored historical fusing configuration information to determine whether update processing is required;
an updating unit 503, configured to, if an update process is needed, perform an update process on the historical fusing configuration information, so that the fusing configuration information stored in the updating unit matches with the target fusing configuration information stored in the server.
In a specific example of the scheme of the present application, the method further includes:
the starting unit is used for starting the target application program;
the second acquisition unit is used for acquiring first fusing configuration information from the server in the process of starting the target application program;
and the storage unit is used for storing the first fusing configuration information as the historical fusing configuration information.
In a specific example of the scheme of the present application, the method further includes:
the detection unit is used for detecting whether a target running resource which is not matched with the updated fusing configuration information exists in the current running resource of the target application program;
and the resource processing unit is used for stopping the running of the target running resource under the condition that the target running resource is determined to exist.
In a specific example of the present application scheme, the resource processing unit is further configured to destroy a thread used by the target running resource.
In a specific example of the scheme of the present application, the method further includes:
and the fusing processing unit is used for fusing the target service operated by the target application program under the condition that the target service meets the fusing condition indicated by the target fusing configuration information.
Therefore, the fusing configuration information is updated in the process that the application end runs the target application program, and the problem that the fusing configuration information cannot be changed thermally and the updated configuration information can be obtained only by restarting the program in the prior art is solved.
It should be noted that, for the functions of each unit in the fusing information processing apparatus according to the embodiment of the present invention, reference may be made to the corresponding description in the foregoing method, and details are not described herein again.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the electronic device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 executes the respective methods and processes described above, such as the fusing information processing method. For example, in some embodiments, the fusing information processing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the fusing information processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the fusing information processing method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (13)

1. A fusing information processing method includes:
in the running process of a target application program, an application end obtains target fusing configuration information corresponding to the target application program from a server end;
the application terminal compares the acquired target fusing configuration information with the currently stored historical fusing configuration information to determine whether updating processing is needed or not;
and under the condition that updating processing is needed, the application terminal updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application terminal to be matched with the target fusing configuration information stored in the server terminal.
2. The method of claim 1, further comprising:
the application end starts the target application program;
in the process of starting the target application program, first fusing configuration information is acquired from the server;
storing the first fusing configuration information as the historical fusing configuration information.
3. The method of claim 1, further comprising:
detecting whether a target running resource which is not matched with the updated fusing configuration information exists in the current running resource of the target application program;
and stopping the running of the target running resource under the condition that the target running resource is determined to exist.
4. The method of claim 3, wherein the stopping the operation of the target operating resource comprises:
and destroying the thread used by the target running resource.
5. The method of claim 1, further comprising:
and performing fusing processing on the target service under the condition that the target service operated by the target application program meets the fusing condition indicated by the target fusing configuration information.
6. A fusing information processing apparatus comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring target fusing configuration information corresponding to a target application program from a server in the running process of the target application program;
the information processing unit is used for comparing the acquired target fusing configuration information with the currently stored historical fusing configuration information to determine whether updating processing is needed or not;
and the updating unit is used for updating the historical fusing configuration information under the condition that the updating processing is needed so as to enable the fusing configuration information stored in the updating unit to be matched with the target fusing configuration information stored in the server.
7. The apparatus of claim 6, further comprising:
the starting unit is used for starting the target application program;
the second acquisition unit is used for acquiring first fusing configuration information from the server in the process of starting the target application program;
and the storage unit is used for storing the first fusing configuration information as the historical fusing configuration information.
8. The apparatus of claim 6, further comprising:
the detection unit is used for detecting whether a target running resource which is not matched with the updated fusing configuration information exists in the current running resource of the target application program;
and the resource processing unit is used for stopping the running of the target running resource under the condition that the target running resource is determined to exist.
9. The apparatus according to claim 8, wherein the resource processing unit is further configured to perform a destruction process on the thread used by the target operating resource.
10. The apparatus of claim 6, further comprising:
and the fusing processing unit is used for fusing the target service operated by the target application program under the condition that the target service meets the fusing condition indicated by the target fusing configuration information.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-5.
CN202110268177.XA 2021-03-11 2021-03-11 Fuse information processing method, device, equipment and storage medium Active CN112882735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110268177.XA CN112882735B (en) 2021-03-11 2021-03-11 Fuse information processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110268177.XA CN112882735B (en) 2021-03-11 2021-03-11 Fuse information processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112882735A true CN112882735A (en) 2021-06-01
CN112882735B CN112882735B (en) 2024-04-19

Family

ID=76041004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110268177.XA Active CN112882735B (en) 2021-03-11 2021-03-11 Fuse information processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112882735B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608812A (en) * 2017-09-08 2018-01-19 北京奇艺世纪科技有限公司 A kind of blowout method and server
CN108519884A (en) * 2017-02-27 2018-09-11 腾讯科技(深圳)有限公司 A kind of application program installation kit update method, fusion method and relevant apparatus
US20190250206A1 (en) * 2016-08-31 2019-08-15 Koki Holdings Co., Ltd. Failure diagnosis system
CN110471679A (en) * 2019-07-08 2019-11-19 中国平安人寿保险股份有限公司 Client resource configures update method, device and storage medium, server
CN111190586A (en) * 2019-12-16 2020-05-22 腾讯科技(深圳)有限公司 Software development framework building and using method, computing device and storage medium
CN111368190A (en) * 2020-02-28 2020-07-03 北京百度网讯科技有限公司 Information recommendation method and device
CN111385359A (en) * 2020-03-05 2020-07-07 星辰天合(北京)数据科技有限公司 Load processing method and device of object gateway
CN111722861A (en) * 2020-06-17 2020-09-29 中国第一汽车股份有限公司 Application program upgrading method, device, equipment and storage medium
CN111930355A (en) * 2020-08-12 2020-11-13 创意信息技术股份有限公司 Web back-end development framework and construction method thereof
CN112187581A (en) * 2020-09-29 2021-01-05 北京百度网讯科技有限公司 Service information processing method, device, equipment and computer storage medium
US20210049231A1 (en) * 2019-08-16 2021-02-18 Google Llc Multiple Output Fusion For Operations Performed In A Multi-Dimensional Array of Processing Units

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190250206A1 (en) * 2016-08-31 2019-08-15 Koki Holdings Co., Ltd. Failure diagnosis system
CN108519884A (en) * 2017-02-27 2018-09-11 腾讯科技(深圳)有限公司 A kind of application program installation kit update method, fusion method and relevant apparatus
CN107608812A (en) * 2017-09-08 2018-01-19 北京奇艺世纪科技有限公司 A kind of blowout method and server
CN110471679A (en) * 2019-07-08 2019-11-19 中国平安人寿保险股份有限公司 Client resource configures update method, device and storage medium, server
US20210049231A1 (en) * 2019-08-16 2021-02-18 Google Llc Multiple Output Fusion For Operations Performed In A Multi-Dimensional Array of Processing Units
CN111190586A (en) * 2019-12-16 2020-05-22 腾讯科技(深圳)有限公司 Software development framework building and using method, computing device and storage medium
CN111368190A (en) * 2020-02-28 2020-07-03 北京百度网讯科技有限公司 Information recommendation method and device
CN111385359A (en) * 2020-03-05 2020-07-07 星辰天合(北京)数据科技有限公司 Load processing method and device of object gateway
CN111722861A (en) * 2020-06-17 2020-09-29 中国第一汽车股份有限公司 Application program upgrading method, device, equipment and storage medium
CN111930355A (en) * 2020-08-12 2020-11-13 创意信息技术股份有限公司 Web back-end development framework and construction method thereof
CN112187581A (en) * 2020-09-29 2021-01-05 北京百度网讯科技有限公司 Service information processing method, device, equipment and computer storage medium

Also Published As

Publication number Publication date
CN112882735B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US11656852B2 (en) System and method for autowiring of a microservice architecture
CN108898230B (en) Equipment management method and management server
WO2018103532A1 (en) Monitoring method and related device free of burying-point deployment
CN113656147B (en) Cluster deployment method, device, equipment and storage medium
JP2009288836A (en) System failure recovery method of virtual server, and its system
CN110651256B (en) System and method for preventing service interruption during software update
CN111290768B (en) Updating method, device, equipment and medium of containerized application system
CN112860343B (en) Configuration changing method, system, device, electronic equipment and storage medium
US9183092B1 (en) Avoidance of dependency issues in network-based service startup workflows
US8583798B2 (en) Unidirectional resource and type dependencies in oracle clusterware
CN114185734A (en) Cluster monitoring method and device and electronic equipment
CN111782341B (en) Method and device for managing clusters
US7614047B1 (en) Change indication for a service offering
US10394619B2 (en) Signature-based service manager with dependency checking
CN112882735B (en) Fuse information processing method, device, equipment and storage medium
CN117056198A (en) Mock test method, mock test device, medium and computer equipment
US9288178B2 (en) Inventory updating of an internet protocol (IP) alias within a highly available computing cluster
US9880855B2 (en) Start-up control program, device, and method
US9405605B1 (en) Correction of dependency issues in network-based service remedial workflows
CN111858234A (en) Task execution method, device, equipment and medium
US7634684B2 (en) Intelligent configuration for restarting failed application server instances
CN117827381B (en) Kubernets-based low-code application running state deployment and capacity expansion method
CN112579247A (en) Method and device for determining task state
US11943092B2 (en) System and method for auto-mining of resources, building dependency registry and notifying impacted services
CN111459656B (en) Server management method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant