CN109412884A - Performance data acquisition method, device and storage medium, the server of component - Google Patents
Performance data acquisition method, device and storage medium, the server of component Download PDFInfo
- Publication number
- CN109412884A CN109412884A CN201810956492.XA CN201810956492A CN109412884A CN 109412884 A CN109412884 A CN 109412884A CN 201810956492 A CN201810956492 A CN 201810956492A CN 109412884 A CN109412884 A CN 109412884A
- Authority
- CN
- China
- Prior art keywords
- component
- server
- performance data
- configuration information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 126
- 230000008569 process Effects 0.000 claims abstract description 94
- 238000012544 monitoring process Methods 0.000 claims abstract description 16
- 238000009434 installation Methods 0.000 claims abstract description 15
- 230000015654 memory Effects 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 15
- 238000013480 data collection Methods 0.000 claims description 7
- 238000013461 design Methods 0.000 abstract description 6
- 239000000306 component Substances 0.000 description 208
- 230000006870 function Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/12—Network monitoring probes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
- H04L41/0853—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
Abstract
The present invention relates to data collecting fields, more particularly to performance data acquisition method, device and storage medium, the server of a kind of call center's component, the described method includes: the server installation agent based on the preset deployment strategy heart in a call, by the agency from the configuration information of the component on component Configuration server acquisition book server, the configuration information of the component includes component ports, component Name, component type;According to the configuration information of the component, the process status order based on LINUX system obtains the process identification (PID) of the corresponding process of the component;According to the process identification (PID), the condition monitoring order based on LINUX system obtains the performance data of multiple threads that the process includes and the thread.The present invention can simply and efficiently collect the performance data of the component in each server of call center, comprehensively understand the performance data of component, to make basis for the design of component and the shunting of business.
Description
Technical field
The present invention relates to data collecting fields, and in particular to a kind of performance data acquisition method of component, device and storage
Medium, server.
Background technique
Call center is the place of business processes customer call, provided using some computer automation softwares incoming call,
Exhalation and voice-based Self-Service customer interaction can also provide artificial fixed destination call service, processing needed for call center
Voice service it is numerous, needing to be cooperated by multiple servers common provides the processing of resource finishing service, each call center
Server be all configured with multiple components, different components provide the different business of different function treatment call centers, and those
The normal operation of component is related to the normal operation of call center, especially whether is capable of providing enough configurations to each server
Resource allows component to operate normally the processing capacity for being related to call center's business, is all by blindly accumulating server at present
Hardware configuration improves the performance of component, guarantees the normal operation of component, and is also found that the performance of component is deposited under the measure
In severe bottleneck, therefore, the different components that are respectively configured of multiple servers for managing call center are urgent need to resolve in the industry
The problem of.
Summary of the invention
To overcome the group that the above technical problem, the especially prior art can not simply and effectively in Call Center Server
The problem of performance data of part, spy propose following technical scheme:
In a first aspect, the present invention provides a kind of performance data acquisition methods of call center's component, comprising:
Based on the server installation agent of the preset deployment strategy heart in a call, taken by the agency from component Configuration
The configuration information for the component being engaged on device acquisition book server, the configuration information of the component includes component ports, component Name, group
Part type;
According to the configuration information of the component, it is corresponding that the process status order based on LINUX system obtains the component
The process identification (PID) of process;
According to the process identification (PID), the condition monitoring order based on LINUX system obtains multiple lines that the process includes
The performance data of journey and the thread.
Further, described that confidence is matched from the component on component Configuration server acquisition book server by the agency
Breath, comprising:
The IP address and server name for obtaining book server are acted on behalf of by described by the IP address and clothes of the book server
Business device name is sent to component Configuration server, matches confidence from the component on component Configuration server acquisition book server
Breath.
Further, the assembly property on the component Configuration server configured with each server acquires switch, passes through institute
State the configuration information of the component acquired required for acquisition each server of switchgear distribution.
Further, after the performance data for obtaining multiple threads and the thread that the process includes, also
Include:
Judge whether the performance data meets the needs of business datum, according to the dilatation plan of judging result matching component
Slightly.
Further, described to judge whether the performance data meets the needs of business datum, it is matched according to judging result
The dilatation strategy of component, comprising:
If the performance data for executing the first thread of the first business in component is greater than the first early warning value, performance in securing component
Second thread configuration is used to execute first business less than the second thread of the second early warning value by data.
Second aspect, the present invention provide a kind of performance data collection device of call center's component, comprising:
Configuration module: for the server installation agent based on the preset deployment strategy heart in a call, pass through the generation
The configuration information that the component on book server is obtained from component Configuration server is managed, the configuration information of the component includes assembly end
Mouth, component Name, component type;
Process data obtains module: for the configuration information according to the component, the process status life based on LINUX system
Enable the process identification (PID) for obtaining the corresponding process of the component;
Thread-data obtains module: for according to the process identification (PID), the condition monitoring order based on LINUX system to be obtained
The performance data of multiple threads and the thread that the process includes.
Further, the configuration module, which is executed, is obtained on book server by the agency from component Configuration server
The configuration information of component, comprising:
The IP address and server name for obtaining book server are sent the IP address and server name by the agency
To component Configuration server, the configuration information of the component on book server is obtained from the component Configuration server.
Further, described device further include:
Policy module: it for judging whether the performance data meets the needs of business datum, is matched according to judging result
The dilatation strategy of component.
The third aspect, the present invention also provides a kind of computer readable storage medium, the computer readable storage medium
On be stored with computer program, which realizes the performance data collection side of above-mentioned call center's component when being executed by processor
Method.
Fourth aspect, the present invention also provides a kind of server, the server includes one or more processors, storage
Device, one or more computer programs, wherein one or more of computer programs are stored in the memory and quilt
It is configured to be executed by one or more of processors, one or more of computer programs are configured to carry out above-mentioned exhale
It is the performance data acquisition method of center element.
Compared with the prior art, the present invention has the following beneficial effects:
The present invention provides a kind of performance data acquisition methods of call center's component, by server host top
Administration, installation agent always obtain the configuration information of the component of book server row by the agency, then from establishment configuration server
According to the configuration information, the performance data of the component of required acquisition on book server is determined, match confidence particular by described
Breath obtains the process identification (PID) of corresponding component, multiple threads for then being included by the process identification (PID) monitoring process and each
The performance data of thread, can not only acquisition component process account for the accounting of whole cpu resource, moreover it is possible to each line that acquisition component includes
Journey accounts for the accounting of single core resource in multi-core CPU, clearly understands the performance data of component, to be the design of component
And basis is made in the shunting of business, the performance for reducing component is influenced by monokaryon performance bottleneck in CPU.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is an embodiment flow diagram of the performance data acquisition method of call center's component of the present invention;
Fig. 2 is another embodiment flow diagram of the performance data acquisition method of call center's component of the present invention;
Fig. 3 is an embodiment schematic diagram of the performance data collection device of call center's component of the present invention;
Fig. 4 is an example structure schematic diagram of server of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refers to that there are the feature, integer, step, operations, but it is not excluded that in the presence of or addition it is one or more other
Feature, integer, step, operation.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.
It will be appreciated by those skilled in the art that of the invention so-called " application ", " application program ", " computer program " and
The concept of similar statement, is same concept well known to those skilled in the art, refers to and is instructed by series of computation machine and dependency number
According to the computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming language
Say type, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by
Any type of terminal is limited.
The embodiment of the present invention provides a kind of performance data acquisition method of call center's component, as shown in Figure 1, the method
The following steps are included:
S10: the server installation agent based on the preset deployment strategy heart in a call is matched by the agency from component
The configuration information for the component that server obtains on book server is set, the configuration information of the component includes component ports, component name
Claim, component type.
In the present embodiment, the agency (anget) of exploitation is disposed by preset deployment strategy, is mounted to call center
Every server on, after server installs the agency, pass through the proxy access component Configuration server
The IP address of (genesys config server), the component on Xiang Suoshu component Configuration server request book server
Configuration information, specifically, in the present embodiment, the call center is during the multimedia established based on Genesys platform is contacted
Heart solution, call center are the places of business processes customer call, are exhaled using some computer automation softwares to provide
Enter, breathe out and voice-based Self-Service customer interaction;Further, in the present embodiment, the configuration information of the component of acquisition
Including component ports, component Name, component type, the component include tserver, sipserver, urs, mcp, rm,
The core component of the call centers such as statserver, a component can complete one or more function in call center system
Energy.In the present embodiment, the agency (anget) of exploitation is deployed on server by preset deployment strategy, agency's energy
Enough easily to copy on each server, the deployment not only acted on behalf of is simple, efficiently, but also uniformly disposed generation on the server
Reason is convenient to be managed the agency.
S20: according to the configuration information of the component, the process status order based on LINUX system obtains the component pair
The process identification (PID) for the process answered.
After the configuration information for getting the component installed on book server by agency (agent), due to system, call center
The server of system is different from common computer equipment, and the server of call center system is normally based on LINUX system exploitation
, the server based on LINUX system has many advantages, such as that stable, powerful, acquisition is convenient, meanwhile, it is based on LINUX system
The server of system has cross-platform hardware supported, supports such as i386, Alpha, AMD and Sparc system platform and from a
People's computer is to mainframe, or even the various hardware devices including embedded system;Also, the clothes based on LINUX system
It is engaged in the developing instrument of the built-in web server software abundant of device, database and webpage, so that the service based on LINUX system
Device has perfect network function.In the present embodiment, the process status order based on LINUX system is according to the configuration of the component
The execution example of the process identification (PID) of the corresponding process of component described in acquisition of information, component is embodied with process in systems, is
System is that each process distributes a unique numeric identifier, the i.e. process identification (PID) of the present embodiment, also known as process ID, this reality
The process identification (PID) for obtaining the corresponding process of the component in example using the ps order in LINUX system is applied, for example, using ps order
The process identification (PID) for obtaining the corresponding process of component GuanLan3 in server is as follows:
ps-ef|grep SIPServer_GuanLan3|grep-v grep|awk'{print$2}'
Following information is obtained by ps order:
ps-ef|grep SIPServer_GuanLan3
pi 4100 3911 0 10:13 pts/0 00:00:00 SIPServer_GuanLan3
Getting the process ID of component GuanLan3 according to character sequence from the information is 4100, likewise, according to this
The step of embodiment, can get the process identification (PID) for all components installed in server.
S30: according to the process identification (PID), it is more to obtain that the process includes for the condition monitoring order based on LINUX system
The performance data of a thread and the thread.
After getting the process identification (PID) of various components in server, in order to understand the overall performance and concurrency of the component
Can, since component is mostly based on concurrent operational mode at runtime, in the present embodiment, according to the process identification (PID), it is based on
The condition monitoring order of LINUX system obtains multiple threads that the process includes, and checks multiple lines that the process includes
The performance data of journey, to collect the detailed performance data of each component on server.Specifically, the condition monitoring order is
Top order, the performance data that can be obtained by top order, the performance data of the cpu resource including thread consumption, including with
The process that family space hold CPU percentage, kernel spacing occupy CPU percentage, changed priority in consumer process space accounts for
With CPU percentage, free time CPU percentage, wait the CPU time percentage of input and output, hardware CPU interrupt occupy percentage,
Software interrupt occupies percentage, virtual machine occupies percentage;Further include the performance data of the memory source of thread consumption, including makes
Physical memory total amount, free memory total amount, the amount of ram as kernel cache, exchange area total amount, the exchange area that uses are total
Amount, idle exchange area total amount, the exchange area total amount of buffering.In the present embodiment, pass through the performance data that can be got to top order
Spliced, obtain the component thread that includes of process ID=4100, those threads pid=4101,4102,4103,4104,
4105, the CPU of those threads is then obtained using data and the inlet and outlet data on flows of the thread, then by those performance numbers
It is saved according to back-end data base is recorded, will pass through the performance data and server entirety that monitor each component of database monitoring
Performance data.Preferably, in the present embodiment, the performance data includes that component processes account for accounting for for server entirety cpu resource
Than further including the accounting that component processes each thread for including accounts for cpu resource, since the CPU of present server is multicore
Based on, and the thread that component processes include can only use the resource of a core in cpu resource, when the resource of a core in CPU
Occupy excessively high, the data-handling capacity of the thread will be affected, and then the performance of component can also have an impact, and server at this time
The overall performance of CPU does not reach much, and process only takes up the sub-fraction of whole cpu resource, there remains most cpu resource
It is not used, by the acquisition of the performance data for each thread for including to component processes, just can know each thread in component
Processing condition data reduces the performance of component by monokaryon performance in CPU to make basis for the design of component and the shunting of business
The influence of bottleneck.
The performance data acquisition method for present embodiments providing a kind of call center's component, by server host top
Administration, installation agent always obtain the configuration information of the component of book server row by the agency, then from establishment configuration server
According to the configuration information, the performance data of the component of required acquisition on book server is determined, match confidence particular by described
Breath obtains the process identification (PID) of corresponding component, multiple threads for then being included by the process identification (PID) monitoring process and each
The performance data of thread, can not only acquisition component process account for the accounting of whole cpu resource, moreover it is possible to each line that acquisition component includes
Journey accounts for the accounting of single core resource in multi-core CPU, clearly understands the performance data of component, to be the design of component
And basis is made in the shunting of business, the performance for reducing component is influenced by monokaryon performance bottleneck in CPU.
A kind of embodiment of the invention, the group obtained by the agency from component Configuration server on book server
The configuration information of part, comprising:
The IP address and server name for obtaining book server are acted on behalf of by described by the IP address and clothes of the book server
Business device name is sent to component Configuration server, matches confidence from the component on component Configuration server acquisition book server
Breath.
In the present embodiment, the performance data of the component acquired needed for each server is stored on the component Configuration server
Configuration information, on a single server, pass through installation on that server agency obtain book server IP address and clothes
The IP address of book server and server name are sent to by business device name then by proxy access configuration server address
Component Configuration server, the configuration information of the component on component Configuration server request book server, component Configuration server
According to the IP address and server name received, returned after matching corresponding configuration information in the database of component Configuration server
It is back to the agency of the server, each server can be unified to obtain this service to component Configuration server after passing through installation agent
The configuration information of component on device, it is no longer necessary to which each server voluntarily configures the logic of the configuration information of securing component, thus simple
Change the code logic of server, in addition, the configuration information of the component of each server is managed collectively by component Configuration server, needs
It wants the performance data of which component of which platform collection of server only to need to configure on component Configuration server, facilitates data
Acquisition and statistics.
A kind of embodiment of the invention, the assembly property acquisition on the component Configuration server configured with each server are opened
It closes, passes through the configuration information of the component of acquisition required for acquisition each server of switchgear distribution.
On the basis of the above embodiments, for the performance number of the component of acquisition needed for more intuitively managing each server
According to, in the present embodiment, the assembly property on the component Configuration server configured with each server acquires switch control knob,
The performance acquisition switch that the component of each server is shown by an administration interface, then when needing to control institute on any server
When the performance data for the component that need to be acquired, operated on component Configuration server assembly property acquisition switch can open or
The switch of the performance collection data of the correspondence component on any server is closed, it is required to adopt in the different phase of business development
The performance data difference of the component of collection or certain components have been used as other business and have used, and no longer pay close attention to the property to the component
Energy data, assembly property acquisition switch through this embodiment can adjust the property of the component acquired needed for different server in time
The configuration information of energy data, on the other hand can also reduce the occupied system resource of performance data collection of invalid component.
A kind of embodiment of the invention, as shown in Fig. 2, the multiple threads and the line for obtaining the process and including
After the performance data of journey, further includes:
S40: judging whether the performance data meets the needs of business datum, according to the dilatation of judging result matching component
Strategy.
According to the performance data of each component in above-mentioned acquired server, the performance data is opposed with business datum
Than judging whether the performance data meets the needs of business datum, wherein the performance data includes the inlet and outlet of each component
Flow can count business datum handled by the component in specific time by the inlet and outlet flow, then with corresponding specific
Received business datum compares in time, if received business datum is pre- greater than business datum handled by component
If ratio value, i.e., still there is the business datum of preset ratio value such as 20% that can not obtain the response of component in time, illustrate component
Process performance is unable to satisfy the demand of business datum, at this point, according to the dilatation strategy of the demand matching component of the business datum,
The dilatation strategy of matched component is to increase a component, to meet the process demand of business datum.
A kind of embodiment of the invention, in a kind of embodiment of above-described embodiment, the judgement performance data is
It is no to meet the needs of business datum, according to the dilatation strategy of judging result matching component, comprising:
If the performance data for executing the first thread of the first business in component is greater than the first early warning value, performance in securing component
Second thread configuration is used to execute first business less than the second thread of the second early warning value by data.
In the present embodiment, if executing the performance of the first thread of the first business in determination component in a statistical time
Data are greater than early warning value, illustrate that the request of the first thread is busy, traffic pressure is big, performance data is less than in securing component at this time
Second thread of the second early warning value, the thread are in idle condition, in the CPU that server multicore is used due to different threads
Different IPs use the core A in CPU, the second thread to use the core B of CPU, when the performance data of first thread is greater than such as first thread
First early warning value illustrates that the occupancy of the core A in CPU is excessively high, declines so as to cause the ability of first thread processing business, and CPU
In core B occupancy it is lower, the second thread still is able to the execution of efficiently finishing service, at this point, by second thread configuration
For for executing first business, specifically, second thread can be originally first business that executes thread, or it is former
The thread for first carrying out other business, by configuring, the second thread auxiliary first thread completes the first business in specific time
Processing.
As shown in figure 3, in another embodiment, the present invention provides a kind of performance data collections of call center's component
Device, comprising:
Configuration module 10: for the server installation agent based on the preset deployment strategy heart in a call, by described
The configuration information that the component on book server is obtained from component Configuration server is acted on behalf of, the configuration information of the component includes component
Port, component Name, component type;
Process data obtains module 20: for the configuration information according to the component, the process status based on LINUX system
Order obtains the process identification (PID) of the corresponding process of the component;
Thread-data obtains module 30: for according to the process identification (PID), the condition monitoring order based on LINUX system to be obtained
Take the performance data for the multiple threads and the thread that the process includes.
A kind of embodiment of the invention, the configuration module 10, which is executed, to be obtained by the agency from component Configuration server
The configuration information of component on book server, comprising:
The IP address and server name for obtaining book server are sent the IP address and server name by the agency
To component Configuration server, the configuration information of the component on book server is obtained from the component Configuration server.
A kind of embodiment of the invention, the assembly property acquisition on the component Configuration server configured with each server are opened
It closes, passes through the configuration information of the component of acquisition required for acquisition each server of switchgear distribution.
A kind of embodiment of the invention, described device further include:
Policy module: it for judging whether the performance data meets the needs of business datum, is matched according to judging result
The dilatation strategy of component.
A kind of embodiment of the invention, the policy module execution judge whether the performance data meets business datum
Demand, according to the dilatation strategy of judging result matching component, comprising:
If the performance data for executing the first thread of the first business in component is greater than the first early warning value, performance in securing component
Second thread configuration is used to execute first business less than the second thread of the second early warning value by data.
In another embodiment, the present invention provides a kind of computer readable storage medium, computer-readable storage mediums
Computer program is stored in matter, which realizes the property of call center's component described in above-described embodiment when being executed by processor
It can collecting method.Wherein, the computer readable storage medium include but is not limited to any kind of disk (including floppy disk,
Hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS
Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, erasable programmable
Read-only memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, electrically erasable
Programmable read only memory), flash memory, magnetic card or light card.It is, storage equipment includes by equipment (for example, calculating
Machine, mobile phone) with any medium for the form storage or transmission information that can be read, it can be read-only memory, disk or CD etc..
A kind of computer readable storage medium provided in an embodiment of the present invention based on preset deployment strategy, it can be achieved that exhaled
The server installation agent for crying center passes through the configuration acted on behalf of from the component on component Configuration server acquisition book server
Information, the configuration information of the component include component ports, component Name, component type;According to the configuration information of the component,
Process status order based on LINUX system obtains the process identification (PID) of the corresponding process of the component;According to the process identification (PID),
Condition monitoring order based on LINUX system obtains the performance data of multiple threads that the process includes and the thread.
By providing a kind of performance data acquisition method of call center's component, by deployment, installation agent on server host, lead to
The configuration information that the agency always obtains the component of book server row from establishment configuration server is crossed, then matches confidence according to described
Breath, determines the performance data of the component of required acquisition on book server, obtains corresponding group particular by the configuration information
The process identification (PID) of part, the performance number of the multiple threads and each thread that are then included by the process identification (PID) monitoring process
According to, can not only acquisition component process account for the accounting of whole cpu resource, moreover it is possible to each thread that acquisition component includes accounts for multi-core CPU
In single core resource accounting, the performance data of component is clearly understood, thus for the design of component and point of business
Stream makees basis, and the performance for reducing component is influenced by monokaryon performance bottleneck in CPU.
The performance number of above-mentioned call center's component may be implemented in computer readable storage medium provided in an embodiment of the present invention
According to the embodiment of acquisition method, concrete function realizes the explanation referred in embodiment of the method, and details are not described herein.
In addition, the present invention also provides a kind of servers, as shown in figure 4, the server process in another embodiment
The devices such as device 403, memory 405, input unit 407 and display unit 409.It will be understood by those skilled in the art that Fig. 4 shows
Structure devices out do not constitute the restriction to Servers-all, may include than illustrating more or fewer components or group
Close certain components.Memory 405 can be used for storing computer program 401 and each functional module, and the operation of processor 403 is stored in
The computer program 401 of memory 405, thereby executing the various function application and data processing of equipment.Memory 405 can be with
It is built-in storage or external memory, or including both built-in storage and external memory.Built-in storage may include read-only storage
Device (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash
Device or random access memory.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..It is disclosed in this invention to deposit
Reservoir includes but is not limited to the memory of these types.Memory 405 disclosed in this invention is only used as example rather than as limit
It is fixed.
Input unit 407 is used to receive the input of signal and receives the input of user, and input unit 407 may include touch surface
Plate and other input equipments, touch panel collect user on it or nearby touch operation (such as user using finger,
The operation of any suitable object or attachment such as stylus on touch panel or near touch panel), and according to presetting
The corresponding attachment device of driven by program;Other input equipments can include but is not limited to physical keyboard, function key (for example plays
Control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.Display unit 409 can be used for showing
The information of user's input is supplied to the information of user and the various menus of computer equipment.Liquid can be used in display unit 409
The forms such as crystal display, Organic Light Emitting Diode.Processor 403 is the control centre of computer equipment, using various interfaces and
The various pieces of the entire computer of connection, by running or executing the software program being stored in memory 403 and/or mould
Block, and the data being stored in memory are called, perform various functions and handle data.In one embodiment, described
Server includes one or more processors 403, and one or more memories 405, one or more computer programs
401, wherein one or more of computer programs 101 be stored in memory 405 and be configured as by one or
Multiple processors 403 execute, and one or more of computer programs 401 are configured to carry out voice described in above embodiments
The collecting method of gateway.One or more processors 403 shown in Fig. 4 are able to carry out, realize configuration shown in Fig. 3
Module 10, process data obtain module 20, thread-data obtains the function of module 30.
A kind of server provided in an embodiment of the present invention is, it can be achieved that the service based on the preset deployment strategy heart in a call
Device installation agent, by it is described agency from component Configuration server obtain book server on component configuration information, described group
The configuration information of part includes component ports, component Name, component type;According to the configuration information of the component, it is based on LINUX system
The process status order of system obtains the process identification (PID) of the corresponding process of the component;According to the process identification (PID), it is based on LINUX system
The condition monitoring order of system obtains the performance data of multiple threads that the process includes and the thread.By providing one kind
The performance data acquisition method of call center's component, by server host dispose, installation agent, by it is described agency from
The configuration information for setting up the component that configuration server always obtains book server row determines this clothes then according to the configuration information
The performance data of the component of required acquisition, the process mark of corresponding component is obtained particular by the configuration information on business device
Know, the performance data of the multiple threads and each thread that are then included by the process identification (PID) monitoring process can not only
Acquisition component process accounts for the accounting of whole cpu resource, moreover it is possible to which each thread that acquisition component includes accounts for single core money in multi-core CPU
The accounting in source clearly understands the performance data of component, to make basis for the design of component and the shunting of business, reduces
The performance of component is influenced by monokaryon performance bottleneck in CPU.
The performance data collection of call center's component of above-mentioned offer may be implemented in server provided in an embodiment of the present invention
The embodiment of method, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of performance data acquisition method of call center's component characterized by comprising
Based on the server installation agent of the preset deployment strategy heart in a call, by the agency from component Configuration server
The configuration information of the component on book server is obtained, the configuration information of the component includes component ports, component Name, component class
Type;
According to the configuration information of the component, the process status order based on LINUX system obtains the corresponding process of the component
Process identification (PID);
According to the process identification (PID), the condition monitoring order based on LINUX system obtain multiple threads that the process includes with
And the performance data of the thread.
2. the method according to claim 1, wherein described obtained by the agency from component Configuration server
The configuration information of component on book server, comprising:
The IP address and server name for obtaining book server are acted on behalf of by described by the IP address and server of the book server
Name is sent to component Configuration server, and the configuration information of the component on book server is obtained from the component Configuration server.
3. according to the method described in claim 2, it is characterized in that, being configured with each server on the component Configuration server
Assembly property acquisition switch passes through the configuration information of the component of acquisition required for acquisition each server of switchgear distribution.
4. according to the method described in claim 1, it is characterized in that, it is described obtain multiple threads that the process includes and
After the performance data of the thread, further includes:
Judge whether the performance data meets the needs of business datum, according to the dilatation strategy of judging result matching component.
5. according to the method described in claim 4, it is characterized in that, described judge whether the performance data meets business datum
Demand, according to the dilatation strategy of judging result matching component, comprising:
If the performance data for executing the first thread of the first business in component is greater than the first early warning value, performance data in securing component
Less than the second thread of the second early warning value, second thread configuration is used to execute first business.
6. a kind of performance data collection device of call center's component characterized by comprising
Configuration module: for the server installation agent based on the preset deployment strategy heart in a call, by the agency from
Component Configuration server obtain book server on component configuration information, the configuration information of the component include component ports,
Component Name, component type;
Process data obtains module: for the configuration information according to the component, the process status order based on LINUX system is obtained
Take the process identification (PID) of the corresponding process of the component;
Thread-data obtains module: described according to the process identification (PID), the condition monitoring order based on LINUX system is obtained
The performance data of multiple threads and the thread that process includes.
7. device according to claim 6, which is characterized in that the configuration module, which is executed, is matched by the agency from component
Set the configuration information for the component that server obtains on book server, comprising:
The IP address and server name are sent to group by the agency by the IP address and server name for obtaining book server
Part configuration server obtains the configuration information of the component on book server from the component Configuration server.
8. device according to claim 6, which is characterized in that described device further include:
Policy module: for judging whether the performance data meets the needs of business datum, according to judging result matching component
Dilatation strategy.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize the performance of call center's component described in any one of claim 1 to 5 when being executed by processor
Collecting method.
10. a kind of server characterized by comprising
One or more processors;
Memory;
One or more computer programs, wherein one or more of computer programs are stored in the memory and quilt
It is configured to be executed by one or more of processors, one or more of computer programs are configured to carry out according to right
It is required that the performance data acquisition method of 1 to 5 described in any item call center's components.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810956492.XA CN109412884A (en) | 2018-08-21 | 2018-08-21 | Performance data acquisition method, device and storage medium, the server of component |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810956492.XA CN109412884A (en) | 2018-08-21 | 2018-08-21 | Performance data acquisition method, device and storage medium, the server of component |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109412884A true CN109412884A (en) | 2019-03-01 |
Family
ID=65463647
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810956492.XA Pending CN109412884A (en) | 2018-08-21 | 2018-08-21 | Performance data acquisition method, device and storage medium, the server of component |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109412884A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117369906A (en) * | 2023-12-07 | 2024-01-09 | 成都市楠菲微电子有限公司 | Pcie verification platform, method and device, storage medium and electronic equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060190712A1 (en) * | 2004-12-23 | 2006-08-24 | Frosztega Chris B | Production of color coatings gradients, application methods and uses therefor |
US20100041367A1 (en) * | 2005-08-31 | 2010-02-18 | Accenture Global Services Gmbh | Reverse rating system for determining duration of a usage transaction |
CN101727172A (en) * | 2008-10-27 | 2010-06-09 | 联想(北京)有限公司 | Method and device for measuring process consumption of computer, and computer system |
CN101968748A (en) * | 2010-09-17 | 2011-02-09 | 北京星网锐捷网络技术有限公司 | Multithreading data scheduling method, device and network equipment |
CN102004692A (en) * | 2010-11-25 | 2011-04-06 | 中兴通讯股份有限公司 | Process debugged method and device |
US20120110087A1 (en) * | 2010-04-30 | 2012-05-03 | Andrew Culver | Collaboration tool |
CN102811154A (en) * | 2011-05-31 | 2012-12-05 | 阿里巴巴集团控股有限公司 | Resource acquisition method and network server system |
CN103019910A (en) * | 2011-09-26 | 2013-04-03 | 北京新媒传信科技有限公司 | Method and system for monitoring resources in Linux server |
CN103455407A (en) * | 2013-09-03 | 2013-12-18 | 小米科技有限责任公司 | Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal |
EP2975546A1 (en) * | 2014-07-16 | 2016-01-20 | General Electric Company | Systems and methods for verifying the authenticity of an applicatiotn during execution |
CN105528277A (en) * | 2015-12-10 | 2016-04-27 | 北京奇虎科技有限公司 | Method and equipment for monitoring target device |
CN105808412A (en) * | 2014-12-30 | 2016-07-27 | 展讯通信(天津)有限公司 | Process resource real-time monitoring method |
US20170243144A1 (en) * | 2009-06-25 | 2017-08-24 | Certusview Technologies, Llc | Methods and apparatus for protecting underground utilities from excavation damage by assessing risks associated with locate request tickets |
CN108829510A (en) * | 2018-05-04 | 2018-11-16 | 天津猎鹰网络技术有限公司 | Thread binds treating method and apparatus |
-
2018
- 2018-08-21 CN CN201810956492.XA patent/CN109412884A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060190712A1 (en) * | 2004-12-23 | 2006-08-24 | Frosztega Chris B | Production of color coatings gradients, application methods and uses therefor |
US20100041367A1 (en) * | 2005-08-31 | 2010-02-18 | Accenture Global Services Gmbh | Reverse rating system for determining duration of a usage transaction |
CN101727172A (en) * | 2008-10-27 | 2010-06-09 | 联想(北京)有限公司 | Method and device for measuring process consumption of computer, and computer system |
US20170243144A1 (en) * | 2009-06-25 | 2017-08-24 | Certusview Technologies, Llc | Methods and apparatus for protecting underground utilities from excavation damage by assessing risks associated with locate request tickets |
US20120110087A1 (en) * | 2010-04-30 | 2012-05-03 | Andrew Culver | Collaboration tool |
CN101968748A (en) * | 2010-09-17 | 2011-02-09 | 北京星网锐捷网络技术有限公司 | Multithreading data scheduling method, device and network equipment |
CN102004692A (en) * | 2010-11-25 | 2011-04-06 | 中兴通讯股份有限公司 | Process debugged method and device |
CN102811154A (en) * | 2011-05-31 | 2012-12-05 | 阿里巴巴集团控股有限公司 | Resource acquisition method and network server system |
CN103019910A (en) * | 2011-09-26 | 2013-04-03 | 北京新媒传信科技有限公司 | Method and system for monitoring resources in Linux server |
CN103455407A (en) * | 2013-09-03 | 2013-12-18 | 小米科技有限责任公司 | Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal |
EP2975546A1 (en) * | 2014-07-16 | 2016-01-20 | General Electric Company | Systems and methods for verifying the authenticity of an applicatiotn during execution |
CN105808412A (en) * | 2014-12-30 | 2016-07-27 | 展讯通信(天津)有限公司 | Process resource real-time monitoring method |
CN105528277A (en) * | 2015-12-10 | 2016-04-27 | 北京奇虎科技有限公司 | Method and equipment for monitoring target device |
CN108829510A (en) * | 2018-05-04 | 2018-11-16 | 天津猎鹰网络技术有限公司 | Thread binds treating method and apparatus |
Non-Patent Citations (1)
Title |
---|
DJM82755: "《程序运行占用CPU较高的时候,查看每个线程的CPU使用情况》", 《CSDN博客》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117369906A (en) * | 2023-12-07 | 2024-01-09 | 成都市楠菲微电子有限公司 | Pcie verification platform, method and device, storage medium and electronic equipment |
CN117369906B (en) * | 2023-12-07 | 2024-02-09 | 成都市楠菲微电子有限公司 | Pcie verification platform, method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200186445A1 (en) | Methods and systems that provision distributed applications that invoke functions provided by a distributed-function-as-a-service feature | |
US10838733B2 (en) | Register context restoration based on rename register recovery | |
US10592251B2 (en) | Register restoration using transactional memory register snapshots | |
CN104854563B (en) | What resource used automatically analyzes | |
US20170353534A1 (en) | Virtual performance monitoring decoupled from hardware performance-monitoring units | |
US10552164B2 (en) | Sharing snapshots between restoration and recovery | |
Gavrilovska et al. | High-performance hypervisor architectures: Virtualization in hpc systems | |
US20160294633A1 (en) | Methods and Systems of Tracking and Verifying Records of System Change Events in a Distributed Network System | |
CN103399796B (en) | Using storing load information come balancing cluster virtual machine | |
US10564977B2 (en) | Selective register allocation | |
CN101331461B (en) | Remote performance monitor in a virtual data center complex | |
US10277477B2 (en) | Load response performance counters | |
US10572265B2 (en) | Selecting register restoration or register reloading | |
US10489382B2 (en) | Register restoration invalidation based on a context switch | |
US20190324758A1 (en) | Spill/reload multiple instructions | |
US10540184B2 (en) | Coalescing store instructions for restoration | |
US11010192B2 (en) | Register restoration using recovery buffers | |
US20180300158A1 (en) | Management of store queue based on restoration operation | |
US10963261B2 (en) | Sharing snapshots across save requests | |
CN103780655A (en) | Message transmission interface task and resource scheduling system and method | |
CN109412884A (en) | Performance data acquisition method, device and storage medium, the server of component | |
Jann et al. | Web applications and dynamic reconfiguration in UNIX servers | |
US20140365812A1 (en) | Failover mechanism | |
US9760491B2 (en) | Optimized use of hardware micro partition prefetch based on software thread usage | |
Nanavati | Operator, number please: mediating access to shared resources for efficiency and isolation |
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 |
Application publication date: 20190301 |
|
RJ01 | Rejection of invention patent application after publication |