CN108965048B - Data acquisition method and device for voice gateway, storage medium and server - Google Patents

Data acquisition method and device for voice gateway, storage medium and server Download PDF

Info

Publication number
CN108965048B
CN108965048B CN201810679246.4A CN201810679246A CN108965048B CN 108965048 B CN108965048 B CN 108965048B CN 201810679246 A CN201810679246 A CN 201810679246A CN 108965048 B CN108965048 B CN 108965048B
Authority
CN
China
Prior art keywords
data
relay interface
voice gateway
service
specified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810679246.4A
Other languages
Chinese (zh)
Other versions
CN108965048A (en
Inventor
韩琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810679246.4A priority Critical patent/CN108965048B/en
Priority to PCT/CN2018/108065 priority patent/WO2020000731A1/en
Publication of CN108965048A publication Critical patent/CN108965048A/en
Application granted granted Critical
Publication of CN108965048B publication Critical patent/CN108965048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to the field of data acquisition, in particular to a data acquisition method, a data acquisition device, a storage medium and a server of a voice gateway, wherein the method comprises the following steps: monitoring at least one appointed voice gateway according to pre-configured acquisition information, and acquiring a relay interface of each voice gateway and relay interface data of the relay interface; for any voice gateway in the at least one voice gateway, storing relay interface data of the voice gateway, services corresponding to the relay interface and a time value for recording the relay interface data in a database in an associated manner; receiving a data query request of a specified service, querying relay interface data of a relay interface associated with the specified service in specified time corresponding to the query time value from a database, counting the relay interface data associated with the specified service, and acquiring concurrent use data of the specified service in the specified time. The invention can simply and efficiently collect the data of each relay interface of the voice gateway used by the service.

Description

Data acquisition method and device for voice gateway, storage medium and server
Technical Field
The invention relates to the field of data acquisition, in particular to a data acquisition method and device of a voice gateway, a storage medium and a server.
Background
The voice gateway is an important component of the solution of the Next Generation communication Network (NGN) Network, is located at the edge access layer of the NGN Network, and connects the PSTN (Public Switched Telephone Network) and the NGN Network to realize the function of converting the IP packet into the TDM. The voice gateway can realize point-to-point communication, and can integrate voice communication into a company data network, thereby establishing a unified voice and data network which can be connected with office places and employees distributed in various regions around the world.
Disclosure of Invention
In order to overcome the technical problems, in particular to the problem that the prior art cannot simply and effectively monitor the relay interface of the voice gateway, the following technical scheme is provided:
in a first aspect, the present invention provides a data acquisition method for a voice gateway, including:
monitoring at least one appointed voice gateway according to pre-configured acquisition information, and acquiring a relay interface of each voice gateway and relay interface data of the relay interface;
for any voice gateway in the at least one voice gateway, storing relay interface data of the voice gateway, services corresponding to the relay interface and a time value for recording the relay interface data in a database in an associated manner;
receiving a data query request of a specified service, wherein the data query request comprises a specified service identifier and a query time value, querying relay interface data of a relay interface associated with the specified service in specified time corresponding to the query time value from a database according to the specified service identifier, counting the relay interface data associated with the specified service, and acquiring concurrent use data of the specified service in the specified time.
Further, the acquisition information is configured in advance by responding to the operation of a user on the visualized management interface; the monitoring of the appointed voice gateway according to the pre-configured acquisition information to acquire the relay interface data of the voice gateway includes:
the method comprises the steps of obtaining the type of a voice gateway, obtaining a data collection mode corresponding to the type according to pre-configured collection information, configuring a corresponding collection mode to monitor a specified voice gateway and obtaining relay interface data of the voice gateway, wherein the collection mode comprises a simple network management protocol-based acquisition mode and a hypertext transfer protocol-based acquisition mode.
Further, after acquiring the concurrent use data of the specified service in the specified time, the method further includes:
acquiring service request data which cannot be responded by the specified service within specified time;
and outputting and displaying the concurrent use data of the specified service in specified time and the service request data which is not responded to on a visualized management interface.
Further, after acquiring the concurrent use data of the specified service in the specified time, the method further includes:
and counting the use data of each relay interface associated with each service in real time, and when the use data of any relay interface exceeds a preset value, forwarding the service request of the relay interface to other relay interfaces associated with the service.
Further, the forwarding the service request of the relay interface to other relay interfaces associated with the service includes:
acquiring use data of a relay interface within a specified time, and acquiring the relay interface of which the use data is smaller than a first threshold; and when the use data of any relay interface exceeds a preset value in the appointed time, in the next appointed time, the service request with the preset proportion of the relay interface is switched to the relay interface with the use data smaller than the first threshold value.
In a second aspect, the present invention provides a data collecting apparatus for a voice gateway, including:
an acquisition module: the system comprises a voice gateway, a relay interface and relay interface data, wherein the voice gateway is used for monitoring at least one appointed voice gateway according to pre-configured acquisition information and acquiring the relay interface of each voice gateway and the relay interface data of the relay interface;
a storage module: the system comprises a database, a relay interface data storage unit and a time value recording unit, wherein the database is used for storing relay interface data of the voice gateway, services corresponding to the relay interface and the time value recording the relay interface data in association with any voice gateway in the at least one voice gateway;
a statistic module: the system comprises a data query request for receiving a specified service, wherein the data query request comprises a specified service identifier and a query time value, the data query request queries a database for the relay interface data of the relay interface associated with the specified service in the specified time corresponding to the query time value according to the specified service identifier, the data of the relay interface associated with the specified service is counted, and the concurrent use data of the specified service in the specified time is obtained.
Further, the acquisition information is configured in advance by responding to the operation of a user on the visualized management interface; the acquisition module performs:
the method comprises the steps of obtaining the type of a voice gateway, obtaining a data collection mode corresponding to the type according to pre-configured collection information, configuring a corresponding collection mode to monitor a specified voice gateway and obtaining relay interface data of the voice gateway, wherein the collection mode comprises a simple network management protocol-based acquisition mode and a hypertext transfer protocol-based acquisition mode.
Further, the apparatus further comprises:
a switching module: the method is used for counting the use data of each relay interface associated with each service in real time, and when the use data of any relay interface exceeds a preset value, the service request of the relay interface is diverted to other relay interfaces associated with the service.
In a third aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer-readable storage medium implements the data acquisition method of the voice gateway.
In a fourth aspect, the present invention also provides a server, which includes one or more processors, a memory, and one or more computer programs, where the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the data acquisition method of the voice gateway described above.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a data acquisition method of a voice gateway, which acquires relay interface data of a designated relay interface of the voice gateway through preconfigured acquisition information, stores the relay interface data and a service associated with the interface into a database in an associated manner, and can observe the relay interface data condition of the voice gateway used by the designated service in any time period after inquiring in the database when the specific concurrency condition of the voice gateway used by one service needs to be known, so that the relay interface data of the voice gateway can be simply and efficiently collected, the service condition of the voice gateway associated with the service in any time period can be known, a data basis is provided for service analysis, evaluation and development, the service condition of the voice gateway can be known through a manual observation method in the prior art, and the working efficiency is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a data acquisition method of a voice gateway according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a data collection method of a voice gateway according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a data acquisition device of the voice gateway according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, or operations, but do not preclude the presence or addition of one or more other features, integers, steps, operations, or groups thereof.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
It will be appreciated by those skilled in the art that the terms "application," "computer program" and similar terms used herein refer to the same concepts known to those skilled in the art that refer to computer software electronically-adapted to be organized into a series of computer instructions and associated data sources. Unless otherwise specified, such nomenclature is not itself limited by the programming language class, level, or operating system or platform upon which it depends. Of course, such concepts are not limited to any type of terminal.
The embodiment of the invention provides a data acquisition method of a voice gateway, which comprises the following steps as shown in figure 1:
s10: monitoring at least one appointed voice gateway according to the pre-configured acquisition information, and acquiring the relay interface of each voice gateway and the relay interface data of the relay interface.
In this embodiment, a collecting program integrating functions of the method of this embodiment is taken as an example for explanation, collecting information is preconfigured in the collecting program, the collecting information includes which services the collecting program needs to monitor and which voice gateways used by different services, each service may actually use a plurality of voice gateways, and each voice gateway includes a plurality of relay interfaces, in this embodiment, the collecting information further configures which part of the relay interface data of the voice gateway needs to be captured by the collecting program, preferably, the collecting information is further configured with a collecting time interval, after the collecting information configuration is completed, the collecting program can monitor at least one designated voice gateway according to the preconfigured collecting information and the collecting time interval, and automatically collect and obtain the relay interface data of the voice gateway and the relay interface data of the relay interfaces, in this embodiment, after a service is connected to a relay interface of a voice gateway, a request for the service is transmitted through the relay interface, which is defined as a relay that executes the service in this embodiment.
S20: and for any voice gateway in the at least one voice gateway, storing relay interface data of the voice gateway, services corresponding to the relay interface and time values for recording the relay interface data in a database in an associated manner.
For any voice gateway in the at least one voice gateway, the collecting program monitors and obtains relay interface data of the voice gateway according to a collecting time interval, and then stores the relay interface data of the voice gateway, service corresponding to the relay interface, and time value for recording the relay interface data to a database, for example, the voice gateway a includes relay interfaces a1, a2, A3, A4, A5, and A6, the relay interfaces a1, a2, and A3 are associated with service Y1 (which is also equivalent to service Y1 using three relays a1, a2, and A3), the relay interfaces a 8442 and A5 are associated with service Y2, the relay interface A6 is associated with service A3, the collecting program monitors the voice gateway a according to a collecting time interval such as 1 min/time, obtains relay interface data of the voice gateway a1, a 8687427, A3, a 597, A5, and A6, the relay interface data includes corresponding relay interface data types and corresponding interface values, when acquiring that the relay interface A1 is occupied at 10:00 and the A2 is idle, indicating the occupation by a code 001 and indicating the idle by a code 000, storing the acquired relay interface data of the relay interface A1 of the voice gateway A at 10:00 into a database in a storage format such as 'A-A1-service Y1-001-10: 00', and storing the acquired relay interface data of the relay interface A2 of the voice gateway A at 10:00 into the database in a storage format such as 'A-A2-service Y1-000-10: 00'.
S30: receiving a data query request of a specified service, wherein the data query request comprises a specified service identifier and a query time value, querying relay interface data of a relay interface associated with the specified service in specified time corresponding to the query time value from a database according to the specified service identifier, counting the relay interface data associated with the specified service, and acquiring concurrent use data of the specified service in the specified time.
When a service person needs to know the concurrency of a specific service within a specific time, preferably, a data query request is initiated through a visual management interface, where the data query request includes a specific service identifier and a query time value, for example, a service name is used as the specific service identifier, in this embodiment, in response to a received data query request of the specific service, the data query request is sent to a database to query the relay interface data of a relay interface associated with the specific service within the specific time corresponding to the query time value, then the data of the relay interfaces is counted to know the concurrency use of the specific service within the specific time, the service person can observe and know the specific service and the use of the relay interfaces of the voice gateway from the concurrency use data, and when the use rates of all the relay interfaces of one service are high, when the utilization rate of the relay interface of one service is low, the relay interfaces associated with the service can be properly reduced, and more relay interfaces are migrated to the service with high utilization rate, so that the service condition can be directly and clearly observed and known.
The embodiment provides a data acquisition method of a voice gateway, which acquires relay interface data of a designated relay interface of the voice gateway through preconfigured acquisition information, stores the relay interface data and a service associated with the relay interface into a database in an associated manner, and when a specific concurrency condition of the voice gateway used by one service needs to be known, the relay interface data condition of the voice gateway used by the designated service in any time period can be observed through querying in the database, so that the relay interface data of the voice gateway can be simply and efficiently collected, the service condition of the voice gateway associated with the service in any time period can be known, and a data basis is provided for service analysis, evaluation and development.
In one embodiment of the invention, the acquisition information is preconfigured by responding to the operation of a user on a visual management interface; the monitoring of the appointed voice gateway according to the pre-configured acquisition information to acquire the relay interface data of the voice gateway includes:
the method comprises the steps of obtaining the type of a voice gateway, obtaining a data collection mode corresponding to the type according to pre-configured collection information, configuring a corresponding collection mode to monitor a specified voice gateway and obtaining relay interface data of the voice gateway, wherein the collection mode comprises a simple network management protocol-based acquisition mode and a hypertext transfer protocol-based acquisition mode.
In this embodiment, the acquisition information is configured on a visual management page, the acquisition information is configured in response to an operation of a user on a management interface, the user configures the acquisition information on the management interface, the acquisition information includes a voice gateway IP to be captured, a voice gateway model, information of each relay interface in the voice gateway and a service associated with each relay interface, and then generates acquisition information, when an acquisition program monitors a specified voice gateway according to preconfigured acquisition information, the type of the voice gateway is acquired, protocols supported by different types of voice gateways are different, and adopted architectures and systems are also different, and then a data acquisition mode corresponding to the type of voice gateway is acquired according to the acquisition information, the acquisition mode includes an acquisition mode based on a simple network management protocol such as snmp get and an acquisition mode based on a hypertext transfer protocol, for example, when the relay interface of the voice gateway is a digital relay type, the relay interface data of the voice gateway is obtained in a snmp get mode, and when the relay interface of the voice gateway is an IP relay type, the relay interface data of the voice gateway is obtained in an http get mode. Different acquisition logics are adopted for different voice gateways, the acquisition logics are more consistent with the voice gateway types and the relay interface types, and the relay interface data of the voice gateways can be acquired more efficiently and faultlessly.
In an embodiment of the present invention, after acquiring the concurrent use data of the specified service in the specified time, the method further includes:
acquiring service request data which cannot be responded by the specified service within specified time;
and outputting and displaying the concurrent use data of the specified service in specified time and the service request data which is not responded to on a visualized management interface.
After acquiring the concurrent use data of a certain service in a specified time, outputting and displaying the service use data on a visual management interface to form a corresponding data report, wherein a service person can directly and clearly know the concurrent use data of the service, for example, displaying the data of each relay of the service Y1 in the specified time period of 10:00-12:00, and can observe the use condition of each minute of each relay associated with the service Y1, and simultaneously acquire the service request which can not be responded in the specified time, and similarly outputting and displaying the service request on the visual management interface, at this time, the proportion of the service requests which can not be responded in the time can be known, for example, one relay is busy in 10:00-10:20, and the relay also receives 3 times of service request which can not be responded in the time, and the service requests which are not answered are output and displayed so that service personnel can know the utilization rate of each relay.
An embodiment of the present invention, as shown in fig. 2, after acquiring concurrent usage data of the specified service in a specified time, further includes:
s40: and counting the use data of each relay interface associated with each service in real time, and when the use data of any relay interface exceeds a preset value, forwarding the service request of the relay interface to other relay interfaces associated with the service.
According to the above embodiments, the usage data of each relay interface of the voice gateway can be collected, in this embodiment, one relay interface is equivalent to one relay, one service uses a plurality of relays, in order to enable each relay to be fully used, the usage data of each relay interface associated with one service is counted in real time, then it is determined whether the usage data of each relay exceeds a preset value, when the usage data of any relay interface exceeds the preset value, in order to enable other service requests of the relay interface to be responded in time, the service request of the relay interface is diverted to other relay interfaces associated with the service, for example, when the duty ratio of the relay interface a1 of the voice gateway a at 10:00-10:10 reaches 80%, when the service request of the relay interface a1 is received again, the other relay interfaces associated with the service are obtained, then the service request is transferred to other relay interfaces, and the service request is ensured to be responded in time.
In the above embodiment, the forwarding the service request of the relay interface to another relay interface associated with the service includes:
acquiring use data of a relay interface within a specified time, and acquiring the relay interface of which the use data is smaller than a first threshold; and when the use data of any relay interface exceeds a preset value in the appointed time, in the next appointed time, the service request with the preset proportion of the relay interface is switched to the relay interface with the use data smaller than the first threshold value.
The method comprises the steps that a relay interface with usage data of a relay interface of a service smaller than a first threshold value is obtained within a statistical time, when the usage data of any relay interface of the service exceeds a preset value, the service request of the relay interface is busy, the service pressure is high, and through certain configuration, the service request of the relay interface in a preset proportion is converted to the relay interface with usage data smaller than the first threshold value within the next designated time, so that the balance of the usage data of the relay interface is achieved, and each voice gateway can better respond to the service request.
As shown in fig. 3, in another embodiment, the present invention provides a data collecting apparatus for a voice gateway, including:
the acquisition module 10: the system comprises a voice gateway, a relay interface and relay interface data, wherein the voice gateway is used for monitoring at least one appointed voice gateway according to pre-configured acquisition information and acquiring the relay interface of each voice gateway and the relay interface data of the relay interface;
the storage module 20: the system comprises a database, a relay interface data storage unit and a time value recording unit, wherein the database is used for storing relay interface data of the voice gateway, services corresponding to the relay interface and the time value recording the relay interface data in association with any voice gateway in the at least one voice gateway;
the statistic module 30: the system comprises a data query request for receiving a specified service, wherein the data query request comprises a specified service identifier and a query time value, the data query request queries a database for the relay interface data of the relay interface associated with the specified service in the specified time corresponding to the query time value according to the specified service identifier, the data of the relay interface associated with the specified service is counted, and the concurrent use data of the specified service in the specified time is obtained.
Further, the acquisition information is configured in advance by responding to the operation of a user on the visualized management interface; the acquisition module 10 comprises the execution of:
the method comprises the steps of obtaining the type of a voice gateway, obtaining a data collection mode corresponding to the type according to pre-configured collection information, configuring a corresponding collection mode to monitor a specified voice gateway and obtaining relay interface data of the voice gateway, wherein the collection mode comprises a simple network management protocol-based acquisition mode and a hypertext transfer protocol-based acquisition mode.
In an embodiment of the invention, the apparatus further comprises:
a display module: the system comprises a data acquisition module, a data processing module and a data processing module, wherein the data acquisition module is used for acquiring service request data which cannot be responded by the specified service within specified time; and outputting and displaying the concurrent use data of the specified service in specified time and the service request data which is not responded to on a visualized management interface.
In an embodiment of the invention, the apparatus further comprises:
the switching module 40: the method is used for counting the use data of each relay interface associated with each service in real time, and when the use data of any relay interface exceeds a preset value, the service request of the relay interface is diverted to other relay interfaces associated with the service.
Further, the conversion module 40 further performs:
acquiring use data of a relay interface within a specified time, and acquiring the relay interface of which the use data is smaller than a first threshold; and when the use data of any relay interface exceeds a preset value in the appointed time, in the next appointed time, the service request with the preset proportion of the relay interface is switched to the relay interface with the use data smaller than the first threshold value.
In another embodiment, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the data acquisition method of the voice gateway described in the above embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The computer-readable storage medium provided by the embodiment of the invention can monitor at least one specified voice gateway according to the pre-configured acquisition information, and acquire the relay interface of each voice gateway and the relay interface data of the relay interface; for any voice gateway in the at least one voice gateway, storing relay interface data of the voice gateway, services corresponding to the relay interface and a time value for recording the relay interface data in a database in an associated manner; receiving a data query request of a specified service, wherein the data query request comprises a specified service identifier and a query time value, querying relay interface data of a relay interface associated with the specified service in specified time corresponding to the query time value from a database according to the specified service identifier, counting the relay interface data associated with the specified service, and acquiring concurrent use data of the specified service in the specified time. By providing a data acquisition method of a voice gateway, the relay interface data of a designated relay interface of the voice gateway is acquired through preconfigured acquisition information, the relay interface data and the service associated with the interface are stored in a database in an associated manner, when the specific concurrency condition of the voice gateway used by one service needs to be known, the relay interface data condition of the voice gateway used by the designated service in any time period can be observed through inquiring in the database, so that the relay interface data of the voice gateway can be simply and efficiently collected, the service condition of the voice gateway associated with the service in any time period can be known, and a data basis is provided for service analysis, evaluation and development.
The computer-readable storage medium provided in the embodiment of the present invention can implement the embodiment of the data acquisition method for a voice gateway, and for specific function implementation, reference is made to the description in the embodiment of the method, which is not described herein again.
In addition, in another embodiment, the present invention further provides a server, as shown in fig. 4, the server includes a processor 403, a memory 405, an input unit 407, and a display unit 409. Those skilled in the art will appreciate that the structural elements shown in fig. 4 do not constitute a limitation of all servers and may include more or fewer components than those shown, or some combination of components. The memory 405 may be used to store the computer program 401 and the functional modules, and the processor 403 executes the computer program 401 stored in the memory 405, thereby executing various functional applications of the device and data processing. The memory 405 may be an internal memory or an external memory, or include both internal and external memories. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The memory 405 disclosed herein is provided by way of example only and not by way of limitation.
The input unit 407 is configured to receive signal input and user input, and the input unit 407 may include a touch panel and other input devices, where the touch panel may collect touch operations of a user on or near the touch panel (for example, operations of a user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, etc.) and drive a corresponding connection device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 409 may be used to display information input by a user or information provided to a user and various menus of the computer device. The display unit 409 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 403 is a control center of the computer device, connects various parts of the entire computer using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 403 and calling data stored in the memory. In one embodiment, the server includes one or more processors 403, one or more memories 405, one or more computer programs 401, wherein the one or more computer programs 101 are stored in the memory 105 and configured to be executed by the one or more processors 103, and the one or more computer programs 401 are configured to perform the data collection method of the voice gateway described in the above embodiment. The one or more processors 403 shown in fig. 4 can execute, implement, the functions of the acquisition module 10, the storage module 20, the statistics module 30, and the switching module 40 shown in fig. 3.
The server provided by the embodiment of the invention can monitor at least one appointed voice gateway according to the pre-configured acquisition information, and acquire the relay interface of each voice gateway and the relay interface data of the relay interface; for any voice gateway in the at least one voice gateway, storing relay interface data of the voice gateway, services corresponding to the relay interface and a time value for recording the relay interface data in a database in an associated manner; receiving a data query request of a specified service, wherein the data query request comprises a specified service identifier and a query time value, querying relay interface data of a relay interface associated with the specified service in specified time corresponding to the query time value from a database according to the specified service identifier, counting the relay interface data associated with the specified service, and acquiring concurrent use data of the specified service in the specified time. By providing a data acquisition method of a voice gateway, the relay interface data of a designated relay interface of the voice gateway is acquired through preconfigured acquisition information, the relay interface data and the service associated with the interface are stored in a database in an associated manner, when the specific concurrency condition of the voice gateway used by one service needs to be known, the relay interface data condition of the voice gateway used by the designated service in any time period can be observed through inquiring in the database, so that the relay interface data of the voice gateway can be simply and efficiently collected, the service condition of the voice gateway associated with the service in any time period can be known, and a data basis is provided for service analysis, evaluation and development.
The server provided by the embodiment of the present invention can implement the embodiment of the data acquisition method for a voice gateway provided above, and for specific function implementation, reference is made to the description in the embodiment of the method, which is not described herein again.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A data acquisition method of a voice gateway is characterized by comprising the following steps:
monitoring at least one appointed voice gateway according to pre-configured acquisition information, and acquiring a relay interface of each voice gateway and relay interface data of the relay interface; the relay interface data comprises a data type representing the use condition of the relay interface and a corresponding numerical value;
for any voice gateway in the at least one voice gateway, storing relay interface data of the voice gateway, services corresponding to the relay interface and a time value for recording the relay interface data in a database in an associated manner;
receiving a data query request of a specified service, wherein the data query request comprises a specified service identifier and a query time value, querying relay interface data of a relay interface associated with the specified service in specified time corresponding to the query time value from a database according to the specified service identifier, counting the relay interface data associated with the specified service, and acquiring concurrent use data of the specified service in the specified time.
2. The method of claim 1, wherein the collected information is preconfigured by a user operating a visual management interface; the monitoring of the appointed voice gateway according to the pre-configured acquisition information to acquire the relay interface data of the voice gateway includes:
the method comprises the steps of obtaining the type of a voice gateway, obtaining a data collection mode corresponding to the type according to pre-configured collection information, configuring a corresponding collection mode to monitor a specified voice gateway and obtaining relay interface data of the voice gateway, wherein the collection mode comprises a simple network management protocol-based acquisition mode and a hypertext transfer protocol-based acquisition mode.
3. The method of claim 1, wherein after obtaining concurrent usage data for the specified service within a specified time, further comprising:
acquiring service request data which cannot be responded by the specified service within specified time;
and outputting and displaying the concurrent use data of the specified service in specified time and the service request data which is not responded to on a visualized management interface.
4. The method of claim 1, after obtaining concurrent usage data of the specified service within a specified time, further comprising:
and counting the use data of each relay interface associated with each service in real time, and when the use data of any relay interface exceeds a preset value, forwarding the service request of the relay interface to other relay interfaces associated with the service.
5. The method of claim 4, wherein the redirecting the service request of the relay interface to other relay interfaces associated with the service comprises:
acquiring use data of a relay interface within a specified time, and acquiring the relay interface of which the use data is smaller than a first threshold; and when the use data of any relay interface exceeds a preset value in the appointed time, in the next appointed time, the service request with the preset proportion of the relay interface is switched to the relay interface with the use data smaller than the first threshold value.
6. A data acquisition device of a voice gateway is characterized by comprising:
an acquisition module: the system comprises a voice gateway, a relay interface and relay interface data, wherein the voice gateway is used for monitoring at least one appointed voice gateway according to pre-configured acquisition information and acquiring the relay interface of each voice gateway and the relay interface data of the relay interface; the relay interface data comprises a data type representing the use condition of the relay interface and a corresponding numerical value;
a storage module: the system comprises a database, a relay interface data storage unit and a time value recording unit, wherein the database is used for storing relay interface data of the voice gateway, services corresponding to the relay interface and the time value recording the relay interface data in association with any voice gateway in the at least one voice gateway;
a statistic module: the system comprises a data query request for receiving a specified service, wherein the data query request comprises a specified service identifier and a query time value, the data query request queries a database for the relay interface data of the relay interface associated with the specified service in the specified time corresponding to the query time value according to the specified service identifier, the data of the relay interface associated with the specified service is counted, and the concurrent use data of the specified service in the specified time is obtained.
7. The apparatus of claim 6, wherein the collected information is preconfigured by a user operating a visual management interface; the acquisition module performs:
the method comprises the steps of obtaining the type of a voice gateway, obtaining a data collection mode corresponding to the type according to pre-configured collection information, configuring a corresponding collection mode to monitor a specified voice gateway and obtaining relay interface data of the voice gateway, wherein the collection mode comprises a simple network management protocol-based acquisition mode and a hypertext transfer protocol-based acquisition mode.
8. The apparatus of claim 7, further comprising:
a switching module: the method is used for counting the use data of each relay interface associated with each service in real time, and when the use data of any relay interface exceeds a preset value, the service request of the relay interface is diverted to other relay interfaces associated with the service.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, implements the data acquisition method of the voice gateway according to any one of claims 1 to 5.
10. A server, comprising:
one or more processors;
a memory;
one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, the one or more computer programs configured to perform the data collection method of the voice gateway of any of claims 1 to 5.
CN201810679246.4A 2018-06-27 2018-06-27 Data acquisition method and device for voice gateway, storage medium and server Active CN108965048B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810679246.4A CN108965048B (en) 2018-06-27 2018-06-27 Data acquisition method and device for voice gateway, storage medium and server
PCT/CN2018/108065 WO2020000731A1 (en) 2018-06-27 2018-09-27 Data collection method and device for voip gateway, storage medium, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810679246.4A CN108965048B (en) 2018-06-27 2018-06-27 Data acquisition method and device for voice gateway, storage medium and server

Publications (2)

Publication Number Publication Date
CN108965048A CN108965048A (en) 2018-12-07
CN108965048B true CN108965048B (en) 2021-12-24

Family

ID=64487196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810679246.4A Active CN108965048B (en) 2018-06-27 2018-06-27 Data acquisition method and device for voice gateway, storage medium and server

Country Status (2)

Country Link
CN (1) CN108965048B (en)
WO (1) WO2020000731A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177024B (en) * 2019-05-06 2021-10-01 奇安信科技集团股份有限公司 Monitoring method of hotspot equipment, client, server and system
CN111654836A (en) * 2020-06-19 2020-09-11 国动物联网有限公司 LoRa data acquisition unit, communication method and upgrading method thereof
CN114257392A (en) * 2020-09-24 2022-03-29 深圳富桂精密工业有限公司 Equipment management method, equipment management system and gateway
CN113010240B (en) * 2021-03-29 2024-02-02 北京金山云网络技术有限公司 Data acquisition method, system, electronic equipment and storage medium
CN114866432B (en) * 2022-04-11 2023-10-17 张槐权 Remote management and monitoring system and method for network switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255768A (en) * 2010-05-19 2011-11-23 大唐移动通信设备有限公司 Method and equipment for detecting port
WO2011147179A1 (en) * 2010-05-28 2011-12-01 烽火通信科技股份有限公司 Method for managing network service flow of ptn
CN103095693A (en) * 2013-01-08 2013-05-08 北京中创信测科技股份有限公司 Method for positioning and accessing database user host information
CN104144147A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Voice communication method and system in video monitoring

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064537A (en) * 2006-04-29 2007-10-31 华为技术有限公司 Method, equipment and system for managing faxes service in IP/packet network
CN101136975B (en) * 2007-09-17 2011-10-26 中兴通讯股份有限公司 Traffic data statistical method and apparatus for the next generation network soft switching system
CN101409650A (en) * 2008-11-04 2009-04-15 中兴通讯股份有限公司 Method for monitoring signaling and signaling gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255768A (en) * 2010-05-19 2011-11-23 大唐移动通信设备有限公司 Method and equipment for detecting port
WO2011147179A1 (en) * 2010-05-28 2011-12-01 烽火通信科技股份有限公司 Method for managing network service flow of ptn
CN103095693A (en) * 2013-01-08 2013-05-08 北京中创信测科技股份有限公司 Method for positioning and accessing database user host information
CN104144147A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Voice communication method and system in video monitoring

Also Published As

Publication number Publication date
WO2020000731A1 (en) 2020-01-02
CN108965048A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
CN108965048B (en) Data acquisition method and device for voice gateway, storage medium and server
CN111858248B (en) Application monitoring method, device, equipment and storage medium
CN108471366A (en) A kind of stereoscopic monitoring system of facing cloud native applications
CN102340495B (en) Event center supporting cross-system service linkage and event processing method of event center
US7028228B1 (en) Method and apparatus for identifying problems in computer networks
US7197561B1 (en) Method and apparatus for maintaining the status of objects in computer networks using virtual state machines
CN107846295A (en) Micro services configuration device and method
US20210193330A1 (en) Method, apparatus and device for processing disease information, and storage medium
CN109669835A (en) MySQL database monitoring method, device, equipment and readable storage medium storing program for executing
CN104283919A (en) Interface invocation system and method
CN102196373A (en) Short message alarm system and short message alarm method
US20220070071A1 (en) Data handler
CN105183299A (en) Human-computer interface service processing system and method
CN110096521A (en) Log information processing method and device
WO2016101446A1 (en) Data analysis method, apparatus, system, and terminal, and server
CN110784517B (en) Service application integration method, system, terminal and storage medium based on block chain
CN103034953A (en) Unified score counting device, system and method
CN105306234A (en) Equipment monitoring method and device
CN112769931A (en) Service management platform
CN102984272A (en) System and method for remotely controlling communication capacity of mobile terminal
CN105160011A (en) Log management system and method
CN111859083A (en) Service data processing method, device, equipment and computer readable storage medium
US10750356B2 (en) Configuration management method, apparatus, and system for terminal in internet of things
CN110633191A (en) Method and system for monitoring service health degree of software system in real time
CN109525422A (en) A kind of daily record data method for managing and monitoring

Legal Events

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