CN110413395A - Service call pre-heating mean, device, equipment and storage medium - Google Patents

Service call pre-heating mean, device, equipment and storage medium Download PDF

Info

Publication number
CN110413395A
CN110413395A CN201910693996.1A CN201910693996A CN110413395A CN 110413395 A CN110413395 A CN 110413395A CN 201910693996 A CN201910693996 A CN 201910693996A CN 110413395 A CN110413395 A CN 110413395A
Authority
CN
China
Prior art keywords
tasks
consumer
preheating
timing
warm
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.)
Pending
Application number
CN201910693996.1A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910693996.1A priority Critical patent/CN110413395A/en
Publication of CN110413395A publication Critical patent/CN110413395A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This specification embodiment provides a kind of service call pre-heating mean, device, equipment and storage medium, is applied to distributed system, this method comprises: creating timing warm-up tasks set according to preheating configuration information in consumer's starting;In the timing warm-up tasks set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;When reaching timing preheating time, corresponding timing warm-up tasks are executed, to establish the network connection of the consumer Yu corresponding with service provider.This specification embodiment may be implemented under the premise of not increasing the starting duration and starting complexity of consumer, and more fully service call spends the time long to reduction consumer for the first time.

Description

Service call pre-heating mean, device, equipment and storage medium
Technical field
This specification is related to Distributed Services processing technology field, more particularly, to a kind of service call pre-heating mean, dress It sets, equipment and storage medium.
Background technique
In a distributed system, when consumer calls service provider for the first time, the service broker of consumer needs and a large amount of Service provider establish network connection.When therefore carrying out service call for the first time time for spending be establish network attachment time+ The service call time.To solve the problems, such as that service call spends the time long for the first time, the common mode of industry is started in consumer It is preheated in the process, to establish the network connection with service provider.This method can solve initial transaction and spend time mistake Long problem, but the problem is that, the starting that will lead to consumer is complicated and very long, loses so that consumer is easy to cause to start It loses.
In order to solve this problem, in the prior art, the property of can choose some core business are serviced or real-time industry Business service configuration is that consumer executes warm-up operation when starting;And some non-core services are serviced or non-real-time service service is matched It does not need to execute warm-up operation when being set to using starting, calls time-consuming long problem for the first time to not only meet and reduce, but also unlikely In keeping the starting of consumer excessively complicated and excessively very long.However, for non-core services service and non-real-time service service, this Kind mode still has the time-consuming long problem of service call for the first time.
Summary of the invention
This specification embodiment is designed to provide a kind of service call pre-heating mean, device, equipment and storage medium, To realize that more fully reduction consumer services for the first time under the premise of not increasing the starting duration and starting complexity of consumer It calls and spends the time long.
In order to achieve the above objectives, on the one hand, this specification embodiment provides a kind of service call pre-heating mean, comprising:
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks In set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, to establish the consumer and corresponding with service The network connection of provider.
Wherein, the service call pre-heating mean of this specification embodiment further include:
During executing timing warm-up tasks, if receiving the service tune that the consumption direction service provider is initiated With request, then judge whether corresponding timing warm-up tasks had executed;
If corresponding timing warm-up tasks had executed, the service invocation request of letting pass.
Wherein, the service call pre-heating mean of this specification embodiment further include:
If corresponding timing warm-up tasks are not carried out, block the service invocation request, and is immediately performed corresponding Timing warm-up tasks;
After pending complete corresponding timing warm-up tasks, the service invocation request of letting pass.
Wherein, the service call pre-heating mean of this specification embodiment further include:
If corresponding timing warm-up tasks are in implementation procedure, block the service invocation request;
After pending complete corresponding timing warm-up tasks, the service invocation request of letting pass.
Wherein, the preheating configuration information includes:
Whether preheating mode enables;
Preheating method;
Heat range;
Preheating time.
Wherein, the preheating method includes obstruction preheating and the preheating of non-obstruction.
Wherein, the service call pre-heating mean of this specification embodiment further include:
After establishing the network connection of consumer and corresponding with service provider, heartbeat periodically is sent to corresponding with service provider Message, to keep the availability of network connection.
On the other hand, this specification embodiment additionally provides a kind of service call preheating device, comprising:
Task creation module, for creating timing warm-up tasks set according to preheating configuration information in consumer's starting; In the timing warm-up tasks set, when the execution time of timing warm-up tasks is the free time after the consumer completes starting Between;
Task execution module, for when reaching timing preheating time, executing corresponding timing warm-up tasks, described in establishing The network connection of consumer and corresponding with service provider.
On the other hand, this specification embodiment additionally provides a kind of computer equipment, including memory, processor and The computer program being stored on the memory, the computer program execute following steps when being run by the processor:
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks In set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, to establish the consumer and corresponding with service The network connection of provider.
On the other hand, this specification embodiment additionally provides a kind of computer storage medium, is stored thereon with computer journey Sequence, the computer program perform the steps of when being executed by processor
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks In set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, to establish the consumer and corresponding with service The network connection of provider.
The technical solution provided by above this specification embodiment is as it can be seen that since consumer is after start completion and for the first time Before initiation is called in this period, for the consumer, system resource usually a large amount of free time, and the idle period Range is usually confirmable;Therefore, consumer and each service provider is allowed to carry out service call in the idle period Preheating, so that it may save consumer for the first time service call when network connection settling time, so as to overall reduction consumer Service call spends the time long for the first time.Also, since the preheating of this service call is carried out after consumer completes starting, because Starting duration and starting complexity without will increase consumer.Therefore, this specification embodiment, which realizes, is not increasing consumption Under the premise of the starting duration and starting complexity of side, more fully reducing consumer, service call spends the time long for the first time.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property Under the premise of, it is also possible to obtain other drawings based on these drawings.In the accompanying drawings:
Fig. 1 is the structural schematic diagram of the distributed system in some embodiments of this specification;
Fig. 2 is the structural block diagram of service call preheating device in some embodiments of this specification;
Fig. 3 is the flow chart of service call pre-heating mean in some embodiments of this specification;
Fig. 4 is the flow chart of service call pre-heating mean in one embodiment of this specification;
Fig. 5 is the structural block diagram of computer equipment in some embodiments of this specification.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to The range of this specification protection.
Refering to what is shown in Fig. 1, the distributed system of some embodiments of this specification may include service call preheating device, note Volume center, consumer and one or more service providers.Wherein, each service provider can provide service call interface Application program, the physical address and call method of each service provider can be registered to registration center;Registration center can be with These physical address and call method are safeguarded, in order to consumer's calling;The physics that consumer can be provided based on registration center Address and call method call the application program of service interface.
In one embodiment, consumer can be client, and service provider can be application server.Wherein, described Client is not limited to the above-mentioned electronic equipment with certain entity, can also be run on it is soft in above-mentioned electronic equipment Body.
Above-mentioned service call preheating device can appoint when consumer starts according to preheating configuration information creation timing preheating Business set;And corresponding timing warm-up tasks can be executed when reaching timing preheating time, with establish the consumer with it is corresponding The network connection of service provider.Wherein, in timing warm-up tasks set, the execution time of timing warm-up tasks is the consumption Complete the free time after starting in side.
During realizing the application, the inventors of the present application found that consumer sends out after start completion and for the first time It rises before calling in this period, for the consumer, system resource is usually a large amount of idle.For consumer, The range of the idle period is usually it is believed that therefore, it may be considered that in the idle period, allows consumer and each clothes The provider that is engaged in carries out service call preheating, in this way, can save consumer for the first time service call when network connection when establishing Between, so as to overall reduction consumer, service call spends the time long for the first time.Also, due to this service call preheating be It is carried out after consumer's completion starting, because of the starting duration and starting complexity without increasing consumer.Therefore, this specification Embodiment realizes under the premise of not increasing the starting duration and starting complexity of consumer, more fully reduces consumer Service call spends the time long for the first time.
Refering to what is shown in Fig. 2, service call preheating device may include task creation mould in some embodiments of this specification Block 21 and task execution module 22.Wherein, task creation module 21 can be used for matching confidence according to preheating when consumer starts Breath creation timing warm-up tasks set;In the timing warm-up tasks set, the execution time of timing warm-up tasks is described disappear Fei Fang completes the free time after starting.Task execution module 22 can be used for executing correspondence when reaching timing preheating time Timing warm-up tasks, to establish the network connection of the consumer Yu corresponding with service provider.
For Distributed Application, the process of timing warm-up tasks is executed, consumer is as established and is mentioned with corresponding with service The network connection process of supplier.Due to including the list of device addresses of service provider in preheating configuration information, it is based on equipment Device address on address list can initiate network connection (such as TCP connection etc.) to corresponding service provider.It can see Out, the above-mentioned network connection process to establish consumer and corresponding with service provider is consumer, actually and is consumer The process of service broker's object is created between corresponding with service provider.
In some embodiments of this specification, the init state of consumer can be monitored based on oracle listener, works as monitoring Program listen to consumer start initialization when, can pass through event advice method trigger task creation module 21.Equally, work as prison When program being listened to listen to consumer's completion initialization, event advice method can also be passed through and trigger task execution module 22.
In some embodiments of this specification, preheating configuration information can be pre-configured with by user and be stored in configuration file In.Correspondingly, task creation module 21 can be when consumer starts, parsing configuration file obtains preheating configuration information, from can To create timing warm-up tasks set according to the preheating configuration information of acquisition.Wherein, the preheating configuration information may include but It is not limited to whether to enable such as preheating mode, preheating method, heat range and preheating time.Above-mentioned preheating mode default is opened It opens;Certainly, it can also be configured as needed by modification and close preheating mode.
In one embodiment of this specification, above-mentioned preheating method may include obstruction preheating and the preheating of non-obstruction.Wherein, it hinders Plug preheating refers to: the service of preheating is successively preheated, in the service block that the service of rear preheating is formerly preheated.
Non- obstruction preheating refers to: the service of preheating can be executed concurrently.When using preheating method is blocked, user can root Determine that it is necessary to preferentially be preheated for which service according to business feature and the importance of service.For example, in an exemplary implementation In example, the preheating cis-position that can be applied with core application and in real time should be forward as far as possible, in favor of guaranteeing core application and in real time application Normal operation.When using non-obstruction preheating method, concurrency is higher, and the time-consuming for preheating whole service calls is fewer, still More system resources are needed to support simultaneously;Concurrency is lower, while the system resource consumed is few, but preheats all services and adjust Time-consuming can be longer.Therefore, it is necessary to the system resource situation according to actual needs with service call preheating device is customized pre- The concurrency of heat.
In this specification embodiment, heat range is defaulted as full dose and is served by, in order to comprehensively reduce consumer Service call spends the time long for the first time.It is carried out in addition, preheating time can complete the free time section after starting according to consumer Selection.For example, when a certain consumer complete starting after first 5000 milliseconds in be generally in idle state, then can will preheat Time is arranged in first 5000 milliseconds after completing starting.In some cases, to be served by comparison more when to be preheated, can be with Properly increase the performance configuration of service call preheating device, in order to consumer complete starting after a certain idle period in, At least the preheating that full dose is served by can be completed using non-blocking fashion.
In some embodiments of this specification, configuration file can be saved using formats such as XML or JSON.For example, In In one exemplary embodiment, in the configuration file of XML format, the format for preheating configuration information is as follows:
< cocoa:application name=" consumer " owner=" F-XXX " warmup=" true " Warmkind=" async " warmscale=" 10 "/>
< cocoa:reference id=" oldDemoc " interface=" Com.xxx.demo.QueryPersonalInfo " version=" 1.0 " warmup=" true " after=" 10000 "/>
In some embodiments of this specification, during executing some timing warm-up tasks, while may have again and disappear Fei Fang has initiated service invocation request.It is caused to prevent same service broker's object initialization from going out multiple service broker's examples Memory problem can introduce conflict-solving strategy.For example, during executing some timing warm-up tasks, if received The service invocation request that the consumption direction service provider is initiated, then task execution module 22 may determine that corresponding timing is pre- Whether hot task had executed.For example, after the completion of having executed when timing warm-up tasks, consumer and respective service provider it Between the network connection state of service broker's object will be updated to have connected.Therefore, by query service agent object Network connection state, it can be determined that go out whether corresponding timing warm-up tasks had executed.
If corresponding timing warm-up tasks had executed, the service invocation request of letting pass.If corresponding timing Warm-up tasks are not carried out, then block the service invocation request, and are immediately performed corresponding timing warm-up tasks (without waiting The arrival of timing);After pending complete corresponding timing warm-up tasks, the service invocation request of letting pass.If corresponding Timing warm-up tasks are in implementation procedure, then block the service invocation request;Pending complete corresponding timing preheating is appointed After business, the service invocation request of letting pass.In this way, can not only also help reduces consumer's by this processing strategie Waiting time improves user experience.
In some embodiments of this specification, after establishing the network connection of consumer and corresponding with service provider, timing Heartbeat message is sent to corresponding with service provider, to keep the availability of network connection, to make when follow-up service being facilitated to call With.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when specification.
Refering to what is shown in Fig. 3, this specification one corresponding with this specification service call preheating device provided by the above embodiment The service call pre-heating mean of a little embodiments may comprise steps of:
S301, consumer starting when, according to preheating configuration information create timing warm-up tasks set;The timing preheating In set of tasks, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
S302, when reaching timing preheating time, execute corresponding timing warm-up tasks, with establish the consumer with it is corresponding The network connection of service provider.
In one exemplary embodiment of this specification, the service call pre-heating mean can be as shown in Figure 4.
Refering to what is shown in Fig. 5, this specification one corresponding with this specification service call preheating device provided by the above embodiment The computer equipment of a little embodiments may include memory, processor and the computer program being stored on the memory, The computer program executes following steps when being run by the processor:
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks In set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, to establish the consumer and corresponding with service The network connection of provider.
It is corresponding with this specification service call preheating device provided by the above embodiment, the meter of some embodiments of this specification Computer program is stored on calculation machine storage medium, the computer program performs the steps of when being executed by processor
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks In set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, to establish the consumer and corresponding with service The network connection of provider.
Although procedures described above process includes the multiple operations occurred with particular order, it should however be appreciated that understand, These processes may include more or fewer operations, these operations can be executed sequentially or be executed parallel (such as using parallel Processor or multi-thread environment).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disc type storage or other magnetic storage devices are appointed What his non-transmission medium, can be used for storing and can be accessed by a computing device information.As defined in this article, computer can Reading medium not includes temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Include, so that process, method or equipment including a series of elements not only include those elements, but also including not having There is the other element being expressly recited, or further includes for this process, method or the intrinsic element of equipment.Do not having more In the case where more limitations, the element that is limited by sentence "including a ...", it is not excluded that including process, the side of the element There is also other identical elements in method or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can provide as the production of method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification The form of example.Moreover, it wherein includes the computer of computer usable program code that this specification, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects, Component, data structure etc..This specification can also be practiced in a distributed computing environment, in these distributed computing environment In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module It can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method reality For applying example, since it is substantially similar to Installation practice, so being described relatively simple, related place is referring to Installation practice Part explanation.
The foregoing is merely the embodiments of this specification, are not limited to this specification.For art technology For personnel, this specification can have various modifications and variations.It is all made any within the spirit and principle of this specification Modification, equivalent replacement, improvement etc., should be included within the scope of the claims of this specification.

Claims (10)

1. a kind of service call pre-heating mean characterized by comprising
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks set In, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, are provided with establishing the consumer and corresponding with service The network connection of side.
2. service call pre-heating mean as described in claim 1, which is characterized in that further include:
During executing timing warm-up tasks, asked if receiving the service call that the consumption direction service provider is initiated It asks, then judges whether corresponding timing warm-up tasks had executed;
If corresponding timing warm-up tasks had executed, the service invocation request of letting pass.
3. service call pre-heating mean as claimed in claim 2, which is characterized in that further include:
If corresponding timing warm-up tasks are not carried out, block the service invocation request, and be immediately performed corresponding timing Warm-up tasks;
After pending complete corresponding timing warm-up tasks, the service invocation request of letting pass.
4. service call pre-heating mean as claimed in claim 2, which is characterized in that further include:
If corresponding timing warm-up tasks are in implementation procedure, block the service invocation request;
After pending complete corresponding timing warm-up tasks, the service invocation request of letting pass.
5. service call pre-heating mean as described in claim 1, which is characterized in that the preheating configuration information includes:
Whether preheating mode enables;
Preheating method;
Heat range;
Preheating time.
6. service call pre-heating mean as claimed in claim 5, which is characterized in that the preheating method include obstruction preheating and it is non- Obstruction preheating.
7. service call pre-heating mean as described in claim 1, which is characterized in that further include:
After establishing the network connection of consumer and corresponding with service provider, heartbeat report periodically is sent to corresponding with service provider Text, to keep the availability of network connection.
8. a kind of service call preheating device characterized by comprising
Task creation module, for creating timing warm-up tasks set according to preheating configuration information in consumer's starting;It is described In timing warm-up tasks set, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
Task execution module, for when reaching timing preheating time, executing corresponding timing warm-up tasks, to establish the consumption The network connection of side and corresponding with service provider.
9. a kind of computer equipment, including memory, processor and the computer program being stored on the memory, It is characterized in that, the computer program executes following steps when being run by the processor:
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks set In, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, are provided with establishing the consumer and corresponding with service The network connection of side.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located Reason device performs the steps of when executing
In consumer's starting, timing warm-up tasks set is created according to preheating configuration information;The timing warm-up tasks set In, the time that executes of timing warm-up tasks is that the consumer completes the free time after starting;
When reaching timing preheating time, corresponding timing warm-up tasks are executed, are provided with establishing the consumer and corresponding with service The network connection of side.
CN201910693996.1A 2019-07-30 2019-07-30 Service call pre-heating mean, device, equipment and storage medium Pending CN110413395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910693996.1A CN110413395A (en) 2019-07-30 2019-07-30 Service call pre-heating mean, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910693996.1A CN110413395A (en) 2019-07-30 2019-07-30 Service call pre-heating mean, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110413395A true CN110413395A (en) 2019-11-05

Family

ID=68364140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910693996.1A Pending CN110413395A (en) 2019-07-30 2019-07-30 Service call pre-heating mean, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110413395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491015A (en) * 2020-03-31 2020-08-04 北京金山云网络技术有限公司 Preheating task processing method and system, proxy server and service center
CN112099921A (en) * 2020-09-27 2020-12-18 中国建设银行股份有限公司 Java application system preheating method and system based on JVM
CN112769945A (en) * 2021-01-19 2021-05-07 中国工商银行股份有限公司 Distributed service calling method and device
CN115733750A (en) * 2022-11-25 2023-03-03 中国工商银行股份有限公司 Method, device, equipment and storage medium for updating metadata in micro-service gateway

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159728A (en) * 2015-09-25 2015-12-16 青岛海信宽带多媒体技术有限公司 Method and device for obtaining NTP time information based on android system
US9300486B2 (en) * 2007-08-16 2016-03-29 International Business Machines Corporation Dynamically managing a system of servers
CN106598687A (en) * 2015-10-19 2017-04-26 阿里巴巴集团控股有限公司 Script preheating method and device
CN108845876A (en) * 2018-04-09 2018-11-20 阿里巴巴集团控股有限公司 A kind of method and device of traffic assignments
CN109491715A (en) * 2018-11-06 2019-03-19 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT
CN109522055A (en) * 2018-11-01 2019-03-26 中国工商银行股份有限公司 The connection pre-heating mean and system called based on Distributed Services
CN109710394A (en) * 2018-12-27 2019-05-03 出门问问信息科技有限公司 Timing task processing system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9300486B2 (en) * 2007-08-16 2016-03-29 International Business Machines Corporation Dynamically managing a system of servers
CN105159728A (en) * 2015-09-25 2015-12-16 青岛海信宽带多媒体技术有限公司 Method and device for obtaining NTP time information based on android system
CN106598687A (en) * 2015-10-19 2017-04-26 阿里巴巴集团控股有限公司 Script preheating method and device
CN108845876A (en) * 2018-04-09 2018-11-20 阿里巴巴集团控股有限公司 A kind of method and device of traffic assignments
CN109522055A (en) * 2018-11-01 2019-03-26 中国工商银行股份有限公司 The connection pre-heating mean and system called based on Distributed Services
CN109491715A (en) * 2018-11-06 2019-03-19 深圳市风云实业有限公司 Application management method, device and terminal based on Windows NT
CN109710394A (en) * 2018-12-27 2019-05-03 出门问问信息科技有限公司 Timing task processing system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111491015A (en) * 2020-03-31 2020-08-04 北京金山云网络技术有限公司 Preheating task processing method and system, proxy server and service center
CN111491015B (en) * 2020-03-31 2022-11-11 北京金山云网络技术有限公司 Preheating task processing method and system, proxy server and service center
CN112099921A (en) * 2020-09-27 2020-12-18 中国建设银行股份有限公司 Java application system preheating method and system based on JVM
CN112769945A (en) * 2021-01-19 2021-05-07 中国工商银行股份有限公司 Distributed service calling method and device
CN112769945B (en) * 2021-01-19 2023-02-03 中国工商银行股份有限公司 Distributed service calling method and device
CN115733750A (en) * 2022-11-25 2023-03-03 中国工商银行股份有限公司 Method, device, equipment and storage medium for updating metadata in micro-service gateway

Similar Documents

Publication Publication Date Title
CN110413395A (en) Service call pre-heating mean, device, equipment and storage medium
CN111163129B (en) Resource processing method and device based on cross-link network
CA3000422C (en) Workflow service using state transfer
CN103377407B (en) Cloud method for processing business and relevant apparatus and system
CN110377410A (en) Method for scheduling task, system, electronic equipment and computer readable storage medium
CN109522055B (en) Connection preheating method and system based on distributed service calling
CN111897633A (en) Task processing method and device
CN102136967B (en) Method, device and system for managing service state
CN110471746B (en) Distributed transaction callback method, device and system
CN104572054B (en) A kind of capacity calling method and equipment
CN111625443B (en) Pressure testing method, device, equipment and storage medium
WO2019024679A1 (en) Method for upgrading network function and upgrade management entity
CN111858007A (en) Task scheduling method and device based on message middleware
JP2022550402A (en) Network resource management method, system, network equipment and readable storage medium
CN111090532A (en) Application service calling method and device, electronic equipment and computer storage medium
CN111770122A (en) Service communication agent SCP registration method, service calling method and network equipment
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
CN110191140B (en) Service processing method and device and server
CN109343970B (en) Application program-based operation method and device, electronic equipment and computer medium
CN105635231A (en) Calling method and apparatus of distributed system
CN111143041B (en) Data consistency method, distributed coordinator and central coordinator
CN112134922A (en) Service calling method and device based on micro-service and storage medium
WO2022237824A1 (en) Cloud service deployment method for cloud platform and related device
CN112333270B (en) Method and system for dynamic routing of micro-services
CN114896637A (en) Data processing method and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191105