CN112882735B - Fuse information processing method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN112882735B
CN112882735B CN202110268177.XA CN202110268177A CN112882735B CN 112882735 B CN112882735 B CN 112882735B CN 202110268177 A CN202110268177 A CN 202110268177A CN 112882735 B CN112882735 B CN 112882735B
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.)
Active
Application number
CN202110268177.XA
Other languages
Chinese (zh)
Other versions
CN112882735A (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

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 end compares the obtained target fusing configuration information with the current stored historical fusing configuration information to determine whether update processing is needed; and under the condition that updating processing is required, the application end updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application end to be matched with the target fusing configuration information stored in the server end. Thus, thermal modification of the fuse configuration information is achieved.

Description

Fuse 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 of Netflix open source, which can provide a set of fusing processing program with strong fusing capability and robustness for program developers. However, in practical application, hystrix can implement the fusing function at the application end, but in the running process of the application program, dynamic change of the fusing information cannot be implemented, that is, thermal change cannot be implemented.
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 end compares the obtained target fusing configuration information with the current stored historical fusing configuration information to determine whether update processing is needed;
And under the condition that updating processing is required, the application end updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application end to be matched with the target fusing configuration information stored in the server end.
According to another aspect of the present disclosure, there is provided a fusing information processing apparatus including:
The first acquisition unit is used for acquiring target fusing configuration information corresponding to a target application program from a server side 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;
and the updating unit is used for updating the historical fusing configuration information under the condition that updating processing is required, so that the fusing configuration information stored by the updating unit is 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 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 the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any of the embodiments of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product 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 the thermal change of the fusing information cannot be realized in the prior art.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic flow diagram of an implementation of a fusing information processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a configuration interface in a specific example of a fusing information processing method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow diagram of an implementation of a fusing information processing method in a specific example according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of an implementation architecture in one example of a fusing information processing method implementing an embodiment of the present disclosure;
fig. 5 is a schematic structural view of a fusing information processing apparatus according to an embodiment of the present disclosure;
fig. 6 is a block diagram of an electronic device for implementing a fuse information processing method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one 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 provides a fusing information processing method, which is executed on an application end, wherein the application end can be specifically an operation terminal or a use terminal of a target application program, and correspondingly, a server end can be specifically corresponding to remote equipment such as a server, a server cluster and the like. Specifically, fig. 1 is a schematic flow chart of an implementation of a fusing information processing method according to an embodiment of the disclosure, 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 end obtains the target fusing configuration information corresponding to the target application program from the server end at fixed time, and the timing mechanism may be set based on actual requirements, which is not limited in this example.
Step S102: and the application end compares the obtained target fusing configuration information with the current stored historical fusing configuration information to determine whether updating processing is needed.
Step S103: and under the condition that updating processing is required, the application end updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application end to be matched with the target fusing configuration information stored in the server end. For example, when the target fuse configuration information is different from the currently stored historical fuse configuration information, an update process is required.
In the scheme of the application, an application end runs the target application program; accordingly, 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, etc. the fusing configuration information. In practical application, the service end can configure the fusing configuration information according to any granularity of global, product line, service line and the like, or perform hierarchical configuration, so as to meet various requirements of practical service scenes.
Note that, in this example, the manner of updating is not limited, for example, the obtained target fuse configuration information may directly cover the currently stored historical fuse configuration information, or difference information between the two may be detected, and only the difference information may be updated.
Thus, the updating of the fusing configuration information is realized in the process of operating the target application program at the application end, and the problem that the existing fusing information cannot be changed thermally and the updated configuration information can only be obtained by restarting the program is solved.
In a specific example of the solution of the present application, the application may obtain the fusing configuration information for the target application for the first time in the following manner, specifically, the application starts the target application; acquiring first fusing configuration information from the server in the process of starting the target application program; and storing the first fusing configuration information as the historical fusing configuration information. That is, the application end obtains the fusing configuration information from the server end for the first time, which is in the process of starting the target application program, so as to ensure that the target application program operates in the state of protection of the fusing mechanism.
Here, it should be noted that the process of updating the historical fusing configuration information is implemented in the process of running the target application program, that is, the above application end performs the updating process on the historical fusing configuration information, which specifically includes: and in the running process of the target application program, updating the historical fusing configuration information. Therefore, the thermal modification of the fusing configuration information is realized, and the problem that the existing thermal modification of the fusing information cannot be realized and only a program can be restarted to acquire updated configuration information is solved.
In a specific example of the scheme of the present application, in practical application, after a thermal change, there may be an operation resource that is not matched with the changed fusing configuration information, or an useless operation resource, so, in order to avoid resource waste, resource processing may be performed in the following manner, specifically, whether a target operation resource that is not matched with the updated fusing configuration information (i.e. the target fusing configuration information) exists in the current operation resource of the target application program is detected; and stopping the operation of the target operation resource under the condition that the target operation resource exists. For example, after the update process is completed, the application end obtains the operation resource matched with the target blowing configuration information in the target application program based on the updated blowing configuration information, that is, the target blowing configuration information, to obtain a mapping list of the target blowing configuration information and the operation 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, which can be called a current mapping list; comparing the two mapping lists to determine a target operation resource which is not matched with the target fusing configuration information, stopping the operation of the operation resource, and releasing the resource, so that the waste of the operation resource is effectively avoided, and the operation resource guarantee is provided for the normal operation of the target application program.
In a specific example of the solution of the present application, the stopping the operation of the target operation resource may specifically be: and destroying the threads used by the target operation resources. Thus, the resources are released, the operation resource guarantee is provided for the normal operation of the target application program, and meanwhile, the waste of the operation resources is effectively avoided.
In a specific example of the solution of the present application, in a case where a target service operated by the target application program meets a fusing condition indicated by the target fusing configuration information, fusing processing is performed on the target service. Therefore, effective fusing is realized, a foundation is laid for normal operation of the target application program, and meanwhile, a foundation is laid for improving user experience.
Thus, the updating of the fusing configuration information is realized in the process of operating the target application program at the application end, and the problem that the existing fusing information cannot be changed thermally and the updated configuration information can only be obtained by restarting the program is solved.
The scheme of the application is further described in detail below with reference to a specific example, specifically, in this example, the application terminal implements the fusing capability based on Hystrix, on the basis of which the server terminal performs remote dynamic management on the fusing configuration information of the application terminal, and performs hot deployment, that is, the application terminal obtains the fusing configuration information configured by the server terminal in the process of running the target application program, and the process does not need to restart the application terminal, so as to implement dynamic change of the local fusing configuration information of the application terminal.
Specifically, the remote management end (i.e. the service end) configures the fusing configuration information in a hierarchical manner according to global, product line and service line through the remote management page as shown in fig. 2. In practical application, the fusing personalized setting of service granularity can be realized, and the various requirements of service demand parties are met. In particular, the method comprises the steps of,
First, the server implements the following, but not limited to, configuration of the fusing attribute (i.e., fusing configuration information):
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, based on a hypertext transfer protocol (HTTP, hypertext Transfer Protocol) and a JS object notation (JSON, javaScript object notification) publish-subscribe mode, communication between the server and the application is realized, so that the application can timely acquire the latest fusing configuration information, for example, a Software Development Kit (SDK) in the application can acquire the fusing configuration information configured by the server based on a configuration interface, and the acquired message content is as follows:
Thirdly, a thermal denaturation flow, specifically comprising: initializing, inquiring interfaces, changing information and destroying a thread pool; specifically, as shown in the left-hand flow of fig. 3, the application first performs an initialization process, specifically, the application assembles a fusing service (service), assembles an attribute ignore exceptions, assembles a fallback bean, and implements a fusing capability based on Hystrix. Further, on the basis that the service end has the fusing capability, thermal change of the fusing configuration information (namely, fusing information) is realized, specifically, as shown in the middle flow of fig. 3, in the process of running the target application program, the service end detects whether to open the fusing mechanism, after determining to open the fusing mechanism, acquires the fusing configuration information from the service end based on the fusing inquiry interface of the service end, and starts the timing inquiry function, the fusing inquiry interface acquires the fusing configuration information from the service end at regular time, and under the condition that the fusing configuration information acquired from the service end is determined to be changed, the history fusing configuration information stored by the service end is updated. Here, in order to avoid running resource waste, after updating the fusing configuration information, the server detects whether a thread which is not matched with the updated fusing configuration information exists in the thread pool for the target application program currently, that is, detects whether a useless thread pool exists, and if so, destroys the useless thread pool. Specifically, as shown in the right side flow of fig. 3, the latest mapping relation between the updated fusing configuration information and the service in the target application program is obtained, and compared with the local current mapping relation, for example, the difference between the local mapping relation and the latest mapping relation is taken as the useless mapping relation, the useless thread pool is determined based on the useless mapping relation, the useless thread pool is destroyed, and meanwhile, the mapping relation between the local target application program and the service is updated.
Fig. 4 is a basic framework diagram of a server and an application in this example, as shown in fig. 4, where a control end (i.e. a server) configures and uniformly manages the fuse configuration information, for example, the modules include global fuse configuration, fuse configuration query, provider product line dimension configuration, service identifier (SERVICE ID) dimension configuration, and after the configuration is completed, the fuse configuration information is stored through a distributed system, such as etcd. The registry side is used for acquiring the fusing configuration information from the etcd side. Accordingly, sdk (i.e., application) implements the fuse capability based on Hystrix, including, for example, modules to regularly pull the configuration, dynamically update the existing configuration, destroy the free thread pool (i.e., useless thread pool), ignore exceptions, invoke the fallback, and the like.
For example, the sdk fusing mechanism in the application side invokes an example:
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(){
the// todo needs here to decide which scenes need a fallback,
Fusing of/(1, command properties)
Which anomalies can be ignored,? consumer rpc exception, provider rpc exception, business exception, provider exception
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();
}
};
The return value is obtained
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
*/
support multiple bean names, comma separated in the configuration of bean name configuration to tianlu starter @ Service ("Consumerfallback")// Tianlu.hystrix.fallback here
@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 sky service, the parameter types are the same, and finally, a Throwable parameter is added, and throwable is transmitted in the process of the fallback.
public String returnHttprpcLongString(String randomString,Throwable t){
log.warn("this is consumer fallback");
return"this is consumer fallback";
}
}
Therefore, the problem of heat change of the hystrix is effectively solved, and through the remote control end, the transmission interface and sdk heat deployment capability, an developer can conveniently and rapidly conduct fuse management of the hystrix remotely.
The present application also provides a fusing information processing apparatus, as shown in fig. 5, which includes:
A first obtaining unit 501, configured to obtain, from a server, target fusing configuration information corresponding to a target application in a running process of the target application;
an information processing unit 502, configured to compare the obtained target fuse configuration information with currently stored historical fuse configuration information, so as to determine whether update processing is required;
and an updating unit 503, configured to update the historical fusing configuration information to match the fusing configuration information stored in the updating unit with the target fusing configuration information stored in the server when the updating unit needs to perform the updating process.
In a specific example of the solution 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 the first fusing configuration information from the server side in the process of starting the target application program;
And the storage unit is used for storing the first fusing configuration information to serve as the historical fusing configuration information.
In a specific example of the solution of the present application, the method further includes:
the detection unit is used for detecting whether a target operation resource which is not matched with the updated fusing configuration information exists in the current operation resource of the target application program;
and the resource processing unit is used for stopping the operation of the target operation resource under the condition that the existence of the target operation resource is determined.
In a specific example of the solution of the present application, the resource processing unit is further configured to destroy a thread used by the target running resource.
In a specific example of the solution of the present application, the method further includes:
and the fusing processing unit is used for fusing the target service when the target service operated by the target application program meets the fusing condition indicated by the target fusing configuration information.
Thus, the updating of the fusing configuration information is realized in the process of operating the target application program at the application end, and the problem that the existing fusing information cannot be changed thermally and the updated configuration information can only be obtained by restarting the program is solved.
It should be noted that, the functions of each unit in the fusing information processing apparatus according to the embodiment of the present invention may be referred to the corresponding descriptions in the above method, and will not be described herein again.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may 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 telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary 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 that 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 required for the operation of the electronic device 600 can also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input output (I/O) interface 605 is also connected to bus 604.
A number of components in the electronic device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; 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 computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, such as a fuse information processing method. For example, in some embodiments, the fusing information processing method may be implemented as a computer software program tangibly embodied on 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 a 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 circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On 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, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code 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 code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. 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. The 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 pointing device (e.g., a mouse or 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 may 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 background 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 background, 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 a client and a server. The client and server are typically 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 appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed aspects are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (9)

1. A fusing information processing method, comprising:
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 end compares the obtained target fusing configuration information with the current stored historical fusing configuration information to determine whether update processing is needed;
Under the condition that updating processing is required, the application end updates the historical fusing configuration information so as to enable the fusing configuration information stored by the application end to be matched with the target fusing configuration information stored in the server end;
The method further comprises the steps of:
the application end starts the target application program;
acquiring first fusing configuration information from the server in the process of starting the target application program;
Storing the first fusing configuration information as the historical fusing configuration information;
And under the condition that the target service operated by the target application program meets the fusing condition indicated by the target fusing configuration information, fusing the target service.
2. The method of claim 1, further comprising:
detecting whether a target operation resource which is not matched with the updated fusing configuration information exists in the current operation resource of the target application program;
and stopping the operation of the target operation resource under the condition that the target operation resource exists.
3. The method of claim 2, wherein the ceasing operation of the target operation resource comprises:
and destroying the threads used by the target operation resources.
4. A fusing information processing apparatus comprising:
The first acquisition unit is used for acquiring target fusing configuration information corresponding to a target application program from a server side 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;
The updating unit is used for updating the historical fusing configuration information under the condition that updating is required, so that the fusing configuration information stored by the updating unit is matched with the target fusing configuration information stored in the server;
The starting unit is used for starting the target application program;
The second acquisition unit is used for acquiring the first fusing configuration information from the server side in the process of starting the target application program;
A storage unit configured to store the first fuse configuration information as the history fuse configuration information;
and the fusing processing unit is used for fusing the target service when the target service operated by the target application program meets the fusing condition indicated by the target fusing configuration information.
5. The apparatus of claim 4, further comprising:
the detection unit is used for detecting whether a target operation resource which is not matched with the updated fusing configuration information exists in the current operation resource of the target application program;
and the resource processing unit is used for stopping the operation of the target operation resource under the condition that the existence of the target operation resource is determined.
6. The apparatus of claim 5, wherein the resource processing unit is further configured to destroy threads used by the target running resource.
7. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
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-3.
8. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-3.
9. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-3.
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 CN112882735A (en) 2021-06-01
CN112882735B true 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 (9)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE212017000207U1 (en) * 2016-08-31 2019-04-17 Koki Holdings Co., Ltd. Fault diagnosis system and management system
US11500959B2 (en) * 2019-08-16 2022-11-15 Google Llc Multiple output fusion for operations performed in a multi-dimensional array of processing units

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN112882735A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11656852B2 (en) System and method for autowiring of a microservice architecture
EP4095678A1 (en) Method and apparatus of deploying a cluster, device and storage medium
US10725890B1 (en) Program testing service
CN111290768B (en) Updating method, device, equipment and medium of containerized application system
US8438573B2 (en) Dependency on a resource type
US9081604B2 (en) Automatic discovery of externally added devices
US20140297818A1 (en) Parallel and Dynamic Interface Selection
CN112860343B (en) Configuration changing method, system, device, electronic equipment and storage medium
CN111782341B (en) Method and device for managing clusters
US9183092B1 (en) Avoidance of dependency issues in network-based service startup workflows
WO2023093127A1 (en) Method and apparatus for monitoring a cluster, and electronic device
US11848983B2 (en) Remotely discover and map a network resource model in a cloud environment
CN112882735B (en) Fuse information processing method, device, equipment and storage medium
CN113726581A (en) Method and device for restoring factory configuration of network equipment and network equipment
CN118012523A (en) Default value configuration method, device, equipment and medium
US9762436B2 (en) Unified and persistent network configuration
US7614047B1 (en) Change indication for a service offering
EP3151513A1 (en) Service elastic method and device in cloud computing
US9880855B2 (en) Start-up control program, device, and method
CN117056198A (en) Mock test method, mock test device, medium and computer equipment
CN116319758A (en) Data migration method, device, electronic equipment and readable storage medium
US9288178B2 (en) Inventory updating of an internet protocol (IP) alias within a highly available computing cluster
CN112965836B (en) Service control method, device, electronic equipment and readable storage medium
US9405605B1 (en) Correction of dependency issues in network-based service remedial workflows
CN116860353B (en) Data processing 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