CN112887165A - Data source state determination method and device and computer readable storage medium - Google Patents

Data source state determination method and device and computer readable storage medium Download PDF

Info

Publication number
CN112887165A
CN112887165A CN202110028993.3A CN202110028993A CN112887165A CN 112887165 A CN112887165 A CN 112887165A CN 202110028993 A CN202110028993 A CN 202110028993A CN 112887165 A CN112887165 A CN 112887165A
Authority
CN
China
Prior art keywords
data source
time period
preset time
terminal
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110028993.3A
Other languages
Chinese (zh)
Inventor
王强
王瑞红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110028993.3A priority Critical patent/CN112887165A/en
Publication of CN112887165A publication Critical patent/CN112887165A/en
Pending legal-status Critical Current

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/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/008Reliability or availability analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Abstract

The application discloses a data source state judgment method and device, and belongs to the technical field of communication. The method comprises the following steps: determining p first terminals for acquiring data on a target data source within a first preset time period, wherein p is more than or equal to 1; acquiring a data acquisition failure rate of each first terminal in the first preset time period, wherein if the terminal does not acquire a certain data in a predicted acquisition time period of the certain data on the data source, the terminal fails to acquire the certain data; and determining whether the state of the target data source is a state to be maintained or not according to the data acquisition failure rate of the p first terminals in the first preset time period. The method and the device solve the problem that the accuracy of the state judgment result of the data source is low, improve the accuracy of the state judgment result, and are used for judging the state of the data source.

Description

Data source state determination method and device and computer readable storage medium
The present application is a divisional application of an application filed in the intellectual property office of china on the date of application of 11/1/2017, the application number of 201711053363.1, entitled "data source state determination method and apparatus, computer-readable storage medium".
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a data source status.
Background
With the development of technology, more and more data sources, such as video data sources and web page data sources, appear. The terminal may obtain data on the data source by communicating with the data source.
In the process of communication between the terminal and the data source, if data provided by the data source is wrong or the communication effect of the data source is poor, the terminal fails to acquire the data from the data source, and the data source is in a state to be maintained. Therefore, a method for determining the status of a data source is needed. In the related art, a probe apparatus is deployed in a network in which a terminal communicates with a data source, and the probe apparatus is controlled to determine a state of the data source. For example, when determining the status of the data source, the probe device may be first controlled to simulate that the terminal requests data on the data source. Then, the control probe device detects whether the data sent by the data source is received or not and detects whether the received data is the data requested by the control probe device, and further determines whether the state of the data source is a to-be-maintained state or not.
In the related art, the result of determining the state of the data source by the probe apparatus often has an error, and therefore, the accuracy of the result of determining the state of the data source is low.
Disclosure of Invention
The application provides a data source state judgment method and device, which can solve the problem that the accuracy of a state judgment result of a data source is low. The technical scheme is as follows:
in a first aspect, a method for determining a data source status is provided, where the method includes: determining p first terminals for acquiring data on a target data source within a first preset time period, wherein p is more than or equal to 1; acquiring a data acquisition failure rate of each first terminal in the first preset time period, wherein if the terminal does not acquire a certain data in a predicted acquisition time period of the certain data on a data source, the terminal fails to acquire the certain data; and determining whether the state of the target data source is a state to be maintained or not according to the data acquisition failure rate of the p first terminals in the first preset time period.
In the related art, a control probe device simulates a process of requesting data from a terminal, and determines a state of a data source according to some parameters in the process. Because the process is different from the process of acquiring data on the data source by the actual terminal, the state judgment result of the data source is relatively inaccurate. In the application, since the data acquisition failure rate of the first terminal is acquired in the data acquisition process of the first terminal, the obtained data acquisition failure rate is high in fidelity, and the result of determining whether the state of the target data source is the state to be maintained according to the data acquisition failure rate is accurate.
In addition, because the probe device in the related art has higher cost, and the data source state judgment method provided by the embodiment of the invention is realized without the aid of the probe device, the cost of data source state detection in the related art is greatly reduced.
Optionally, the determining, according to the data acquisition failure rate of the p first terminals in the first preset time period, whether the state of the target data source is a state to be maintained includes: determining a target to-be-maintained rate of data sent by the target data source in the first preset time period according to the data acquisition failure rate of the p first terminals in the first preset time period; judging whether the target data source meets preset judgment conditions or not, wherein the preset judgment conditions comprise: the target maintenance waiting rate is greater than the probability threshold; and when the target data source meets the preset judgment condition, determining that the state of the target data source is the state to be maintained. That is, in the present application, the data transmission failure rate of the data source is obtained according to the data acquisition failure rate of the terminal, and then the state of the data source is determined according to the data transmission failure rate.
Optionally, the determining, according to the data acquisition failure rate of the p first terminals in the first preset time period, the target to-be-maintained rate of the target data source sending data in the first preset time period includes: determining the number q of target terminals in the p first terminals according to the data acquisition failure rate of the p first terminals in the first preset time period, wherein the data acquisition failure rate of the target terminals in the time period of the first preset time period is greater than a preset probability threshold; and taking the ratio of the target terminal in the p first terminals as the target to-be-maintained rate.
Optionally, before the determining whether the target rate to be maintained is greater than the probability threshold, the method further includes: determining a network access node connected with each first terminal, wherein the p first terminals are connected with r network access nodes in total, and r is more than or equal to 1; counting the number of first terminals connected with each network access node in the r network access nodes; determining the dispersion of the first terminal according to the number of the first terminals connected to each network access node, where the preset determination condition further includes: the dispersion of the first terminal is greater than the dispersion threshold. That is, the state of the data source is judged by combining the dispersion of the first terminal, so that the problem that the terminal availability is low due to the concentrated distribution of the terminals can be avoided, and the accuracy of the data source state judgment result is improved.
Optionally, the preset determination condition further includes: the number of the network access nodes connected with the p first terminals is larger than a preset node number threshold. That is, the state of the data source is judged by combining the number of the terminals in the application, when the number of the terminals is large, the determined dispersion of the first terminal is more accurate, the accuracy of the data source state judgment result is higher, and the problem that the data acquisition failure rate of the terminal is higher due to the small number of the network access nodes is avoided.
Optionally, the preset determination condition further includes: the total number of the first terminals is greater than a preset terminal number threshold. That is, the state of the data source is judged by combining the number of the terminals in the application, so that the accuracy of the determined target to-be-maintained rate of the target data source can be improved, and the accuracy of the data source state judgment result is improved.
Optionally, the obtaining the probability threshold includes: determining a second terminal corresponding to each second preset time period in m second preset time periods, wherein the second terminal is used for acquiring data on the target data source in the corresponding second preset time period, the m second preset time periods are all located before the first preset time period, the duration of each second preset time period is equal to the duration of the first preset time period, and m is more than or equal to 1; acquiring a data acquisition failure rate of each second terminal in a corresponding second preset time period; determining a rate reference value to be maintained of the target data source according to the obtained data obtaining failure rate of the second terminal; and determining the probability threshold value according to the benchmark value of the rate to be maintained.
That is, in the present application, a reference value of a rate to be maintained is determined by referring to historical data related to a target data source, the probability threshold is determined according to the reference value of the rate to be maintained, and then whether the state of the target data source is the state to be maintained is determined according to the probability threshold. If the target to-be-maintained rate of data sent by the target data source is greater than the probability threshold, it can be shown that the degree of outlier of the target data source is high, the target data source is an abnormal data source, and the state of the target data source is determined to be a to-be-maintained state.
Optionally, the obtaining the probability threshold includes: determining a third terminal corresponding to each of the n reference data sources, wherein the third terminal is used for acquiring data on the corresponding reference data source within the first preset time period, and n is greater than or equal to 1; acquiring the data acquisition failure rate of each third terminal in the first preset time period; determining a reference to-be-maintained rate of data sent by each reference data source within the first preset time period according to a data acquisition failure rate of a third terminal corresponding to each reference data source within the first preset time period; and determining the probability threshold according to the target to-be-maintained rate and the n reference to-be-maintained rates of the n reference data sources.
That is, in the present application, the reference to-be-maintained rate of data sent by other reference data sources is referred to determine the probability threshold, and then it is determined whether the state of the target data source is the to-be-maintained state according to the probability threshold. If the target to-be-maintained rate of data sent by the target data source is greater than the probability threshold, it can be shown that the degree of outlier of the target data source is high, the target data source is an abnormal data source, and the state of the target data source is determined to be a to-be-maintained state.
Optionally, the reference data source and the target data source are of the same type. That is, in order to improve the accuracy of the determined probability threshold, the type of the reference data source referred to by the data source state determination device may be the same as the type of the target data source.
In a second aspect, there is provided a data source status determination apparatus including: the first determining module is used for determining p first terminals for acquiring data on a target data source in a first preset time period, wherein p is more than or equal to 1; the acquisition module is used for acquiring the data acquisition failure rate of each first terminal in the first preset time period, wherein if the terminal does not acquire a certain data in the expected acquisition time period of the certain data on the data source, the terminal fails to acquire the certain data; and the second determining module is used for determining whether the state of the target data source is a state to be maintained or not according to the data acquisition failure rate of the p first terminals in the first preset time period.
Optionally, the second determining module includes: the first determining unit is used for determining a target to-be-maintained rate of data sent by the target data source in the first preset time period according to the data acquisition failure rate of the p first terminals in the first preset time period; the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a preset probability threshold; a first judging unit, configured to judge whether the target data source satisfies a preset judgment condition, where the preset judgment condition includes: the target maintenance waiting rate is greater than the probability threshold; and the second determining unit is used for determining the state of the target data source as the state to be maintained when the target data source meets the preset judgment condition.
Optionally, the first determining unit is configured to: determining the number q of target terminals in the p first terminals according to the data acquisition failure rate of the p first terminals in the first preset time period, wherein the data acquisition failure rate of the target terminals in the time period of the first preset time period is greater than a preset probability threshold; and taking the ratio of the target terminal in the p first terminals as the target to-be-maintained rate.
Optionally, the data source status determining apparatus further includes: a third determining module, configured to determine a network access node to which each first terminal is connected, where the p first terminals are connected to r network access nodes, and r is greater than or equal to 1; the statistical module is used for counting the number of first terminals connected with each network access node in the r network access nodes; a fourth determining module, configured to determine, according to p and the number of the first terminals connected to each network access node, the dispersion of the first terminals, where the preset determining condition further includes: the dispersion of the first terminal is greater than the dispersion threshold.
Optionally, the preset determination condition further includes: the number of the network access nodes connected with the p first terminals is larger than a preset node number threshold.
Optionally, the preset determination condition further includes: the total number of the first terminals is greater than a preset terminal number threshold.
Optionally, the obtaining unit is configured to: determining a second terminal corresponding to each second preset time period in m second preset time periods, wherein the second terminal is used for acquiring data on the target data source in the corresponding second preset time period, the m second preset time periods are all located before the first preset time period, the duration of each second preset time period is equal to the duration of the first preset time period, and m is more than or equal to 1; acquiring a data acquisition failure rate of each second terminal in a corresponding second preset time period; determining a rate reference value to be maintained of the target data source according to the obtained data obtaining failure rate of the second terminal; and determining the probability threshold value according to the benchmark value of the rate to be maintained.
Optionally, the obtaining unit is configured to: determining a third terminal corresponding to each of the n reference data sources, wherein the third terminal is used for acquiring data on the corresponding reference data source within the first preset time period, and n is greater than or equal to 1; acquiring the data acquisition failure rate of each third terminal in the first preset time period; determining a reference to-be-maintained rate of data sent by each reference data source within the first preset time period according to a data acquisition failure rate of a third terminal corresponding to each reference data source within the first preset time period; and determining the probability threshold according to the target to-be-maintained rate and the n reference to-be-maintained rates of the n reference data sources.
Optionally, the reference data source and the target data source are of the same type.
In a third aspect, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to execute the data source status determination method according to the first aspect.
In a fourth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the data source status determination method according to the first aspect.
In a fifth aspect, a data processing apparatus is provided, the data processing apparatus comprising: the system comprises at least one processor, at least one network interface, a memory and at least one communication bus, wherein the processor is used for executing programs stored in the memory so as to realize the data source state judgment method of the first aspect.
Drawings
Fig. 1 is a schematic view of an application scenario of a data source status determination method according to an embodiment of the present invention;
fig. 2 is a schematic view of a specific application scenario of a data source status determination apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data source status determination apparatus according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for determining a status of a data source according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a target terminal determination result according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for determining a probability threshold according to an embodiment of the present invention;
FIG. 7 is a flowchart of a method for determining a probability threshold according to another embodiment of the present invention;
FIG. 8 is a flow chart of a method of determining a status of a data source according to another embodiment of the present invention;
fig. 9 is a schematic structural diagram of another data source status determination apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a second determining module according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another data source status determination apparatus according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario of a data source status determining method according to an embodiment of the present invention, and as shown in fig. 1, a plurality of terminals and a plurality of data sources exist in the application scenario. Such as terminal a1, terminal a2, and terminal A3, data source B1, data source B2, and data source B3. The terminals are connected to the data source via a network access node in the operator network, for example terminal a1 and terminal a2 are connected to data sources B1 and B2 via network access node C1 and terminal A3 is connected to data source B3 via network access node C2. For example, the terminal in fig. 1 may be a mobile phone, a television, or a computer, the data source in fig. 1 may be a server or a server cluster, and the network access node may be a switch or other device capable of providing data handover service.
It should be noted that the multiple data sources may be divided into two types of data sources according to the length of the time for storing the data on the data source, where the time for storing the data on the first type of data source is greater than the preset time threshold, and the time for storing the data on the second type of data source is less than or equal to the preset time threshold. For example, when the plurality of data sources are all video data sources, a first type of data source in the plurality of data sources may be referred to as an on-demand video data source, and a second type of data source may be referred to as a live video data source. When a certain data source is a web page data source, the web page data source is a first type data source.
For example, when the terminal is a Television (TV), the data source connected to the TV may be a live video data source and an on-demand video data source. Fig. 2 is a schematic view of a specific application scenario of a data source status determination apparatus according to an embodiment of the present invention. As shown in fig. 2, the TV may be connected to a network access node in the operator network through a Set Top Box (STB) and an Optical Network Terminal (ONT). The network access node is an Optical Line Terminal (OLT). Further, the operator network may further include a Line Switch (LSW), a Broadband Remote Access Server (BRAS), a Core Router (CR) in city, and a provincial trunk CR, which are sequentially connected to the OLT. The provincial trunk CR can be connected with a live video data source and an on-demand video data source, and the BRAS and the local city CR can be connected with the on-demand video data source.
Fig. 3 is a schematic structural diagram of a data source status determining apparatus according to an embodiment of the present invention. It should be noted that the connection relationship between the terminal and the network access node in fig. 1 is managed by a resource device (not shown in fig. 1), and the data source status determination apparatus may be connected to the resource device. The data source status determination means may also be connected to each terminal or the data source status determination means may be connected to a communication device between each terminal and the network access node. The data source status determination device may be used to determine whether the status of any of the data sources in fig. 1 is a pending maintenance status.
As shown in fig. 3, the data source status determination means may include: at least one processor 10221 (e.g., a central processing unit), at least one network interface 10222, a memory 10223, and at least one bus 10224, the bus 10224 being used for connection communication among the processor, the network interface, and the memory; the memory 10223 and the network interface 10222 are connected to the processor 10221 by a bus 10224, respectively. The processor 10221 is used to execute executable modules, such as computer programs, stored in the memory 10223. Memory 10223 may include a Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the data processing apparatus and at least one other apparatus is realized through at least one network interface 10222 (wired or wireless). In some embodiments, the memory 10223 stores a program 10225, and the program 10225 can be executed by the processor 10221 to implement the data source status determination method shown in fig. 3.
Fig. 4 is a flowchart of a method for determining a status of a data source according to an embodiment of the present invention, where the method for determining a status of a data source may be used to determine whether a status of any data source in fig. 1 is a to-be-repaired status, and the method for determining a status of a data source may be used in the apparatus for determining a status of a data source shown in fig. 3. As shown in fig. 4, the data source status determination method includes:
step 401, determining p first terminals for acquiring data on a target data source within a first preset time period, where p is greater than or equal to 1.
It should be noted that when the terminal needs to acquire data from the data source, it needs to first send a data request to the data source, and after receiving the data request, the data source may send data to the terminal according to the data request. The target data source may be any of the data sources in the application environment shown in FIG. 1. The data source status determination device may detect a data source where data acquired by each terminal in the application environment shown in fig. 1 is located, and further determine p first terminals used for acquiring data on a target data source within a first preset time period.
The data source state determination device may determine the data source where the data acquired by the terminal is located by performing Deep Packet Inspection (DPI) on a data Packet transmitted between the terminal and the data source. The data source status determining apparatus may analyze the data packet to obtain information in the data packet, such as an identifier of a data source sending the data packet and an identifier of a terminal receiving the data packet, when performing the DPI. And when the terminal is a TV and the network access node is an ONT, an STB is connected between the TV and the ONT, video data information played by the TV is stored in the STB, and the data source state determination device can be connected with the ONT and collects the video data information through the STB, so that a data source where the data acquired by the terminal is located is determined.
For example, the duration of the first preset time period may be 5 minutes, such as 12 o 'clock to 12 o' clock 05 minutes. The data source status determination means may determine p first terminals for acquiring data on the target data source within the 5 minutes in step 401. The p first terminals may be all terminals used for acquiring data on the target data source in the first preset time period, that is, all online terminals of the target data source.
Step 402, acquiring a data acquisition failure rate of each first terminal in a first preset time period.
When a terminal needs to acquire certain data from a data source, the failure probability of the terminal acquiring the data is called the data acquisition failure rate of the terminal. Each first terminal is used for acquiring data on the target data source within the first preset time period, and the failure probability of the first terminal for acquiring the data on the target data source is the data acquisition failure rate of the first terminal. It should be noted that, when the state of the data source where the data that the terminal needs to acquire is in the state to be maintained, the data acquisition failure rate of the terminal is often high.
For example, when the first terminals are all TVs, the STB connected to the TVs is configured to count a data acquisition failure rate of the TVs, and the data source status determination device may establish a connection with the STB and acquire the data acquisition failure rate of the TVs counted by the STB within a first preset time period.
For another example, the data source status determining apparatus may directly establish a connection with the first terminal, and after the first terminal requests a certain data from the target data source, the first terminal may determine an expected acquisition time period of the certain data, that is, a time period in which the first terminal expects to receive the certain data. For example, after the first terminal requests a certain data from the target data source, the target data source may send a notification message to the first terminal, where the notification message may be used to indicate a time period during which the certain data requested by the first terminal is expected to reach the first terminal, that is, an expected acquisition time period of the certain data. The first terminal may detect whether corresponding data is received within each expected acquisition period within a first preset period. If the first terminal acquires data corresponding to a certain expected time period (i.e., data that should be received in the expected time period), the first terminal may consider that the data is successfully acquired. If the first terminal does not acquire the data corresponding to the expected time period within the expected acquisition time period, the first terminal may consider that the acquisition of the data fails. That is, the first terminal considers that it successfully acquires the data only if the first terminal acquires the data within the expected acquisition time period of the data. The first terminal may determine, as a data acquisition failure rate of the first terminal in the first preset time period, a ratio of the number of expected acquisition time periods during which corresponding data is acquired in the first preset time period to the number of all expected acquisition time periods in the first preset time period.
For example, the first terminal expects to acquire 10 data (such as data packets or data frames) in a first preset time period, that is, the first preset time period includes 10 expected acquisition time periods. If the first terminal successfully acquires 7 data in the 10 expected acquisition time periods, the data acquisition failure rate of the first terminal in the first preset time period is 30%.
It should be noted that, if a terminal fails to acquire a certain data, the terminal cannot effectively display the data, so that the user experience of the terminal is poor. Therefore, the data acquisition failure rate of the first terminal in the first preset time period can reflect the probability that the user experience is poor in the process of displaying and acquiring the data by the terminal, the data acquisition failure rate is also data capable of reflecting the user experience, and the data acquisition failure rate can also be called the unavailability rate of the terminal.
Step 403, determining a target to-be-maintained rate of data sent by the target data source in the first preset time period according to the data acquisition failure rate of the p first terminals in the first preset time period.
The data source state determination device may store a preset probability threshold. After acquiring the data acquisition failure rate of each first terminal within the first preset time period, the data source state determination device may compare the data acquisition failure rate of each first terminal within the first preset time period with the preset probability threshold. When the data acquisition failure rate of a certain first terminal in a first preset time period is greater than the preset probability threshold, the data source state determination device may determine that the first terminal is a target terminal. When the data acquisition failure rate of a certain first terminal in a first preset time period is smaller than a preset probability threshold, the data source state determination device may determine that the first terminal is not the target terminal. After comparing the data acquisition failure rates of the p first terminals in a first preset time period with a preset probability threshold, the data source state judgment device can determine the number q of target terminals in the p first terminals, wherein q is an integer less than or equal to p.
The data source state determination device may determine the ratio of the target terminals (i.e., the ratio of q to p) in the p first terminals as a target to-be-maintained rate of data transmitted by the target data source within a first preset time period.
For example, fig. 5 is a schematic diagram of a target terminal determination result according to an embodiment of the present invention, as shown in fig. 5, 8 first terminals, such as the first terminal 1, the first terminal 2, the first terminal 3, the first terminal 4, the first terminal 5, the first terminal 6, the first terminal 7, and the first terminal 8, coexist in a first preset time period. The data source state determination device may mark "1" to a certain first terminal when the first terminal is determined to be a target terminal, and may mark "0" to the first terminal when the first terminal is determined not to be a target terminal. That is, in the first preset time period, the total number of the first terminals used for acquiring the data on the target data source is 8, and 4 first terminals in the 8 first terminals are the target terminals, and the data source state determination device may determine that 50% of a ratio of 4 to 8 is the data transmission failure rate of the target data source in the first preset time period.
It should be noted that, in the embodiment of the present invention, the data source state determination apparatus determines the ratio of the target terminal in the p first terminals as the target to-be-maintained rate of the data sent by the target data source, and in practical applications, the data source state determination apparatus may further perform other operations on p and q to obtain the target to-be-maintained rate, for example, a ratio of q to 2p is used as the target to-be-maintained rate, which is not limited in the embodiment of the present invention.
Step 404, obtaining a probability threshold.
And 405, judging whether the target maintenance rate is greater than a probability threshold value. If the target maintenance waiting rate is greater than the probability threshold, executing step 406; if the target maintenance waiting rate is less than or equal to the probability threshold, step 401 is executed.
After the target to-be-maintained rate and the probability threshold value of the data sent by the target data source in the first preset time period are determined, the target to-be-maintained rate and the probability threshold value can be compared. After determining the relationship between the target maintenance waiting rate and the probability threshold, if the target maintenance waiting rate is greater than the preset probability threshold, the data source state determination apparatus may execute step 406; if the target maintenance waiting rate is less than or equal to the preset probability threshold, the data source state determination apparatus may execute step 401, that is, repeatedly detect whether the state of the target data source is the maintenance waiting state.
And step 406, determining the state of the target data source as a state to be maintained.
When the determination result in step 405 is that the target to-be-maintained rate is greater than the probability threshold, the data source state determination device may determine that the target data source is in the to-be-maintained state at this time, a failure rate of the target data source sending data to the terminal is high (that is, a success rate of the target data source sending data to the terminal is low), a capability of the target data source providing data to the terminal is poor, and the target data source is in a poor quality state. At this time, it is necessary to maintain the target data source to improve the success rate of the target data source sending data to the terminal. Correspondingly, maintenance personnel can maintain the target data source according to the judgment result that the state of the target data source is the state to be maintained, so that the success rate of sending data by the target data source and the success rate of acquiring data by the terminal are improved, the user experience of the terminal is improved, and the target data source is separated from the state of poor quality.
In the related art, when detecting the state of the data source, the probe device is controlled to simulate the process of requesting data by the terminal, detect the data sent by the data source after the data is requested, and judge the state of the data source according to the detection result. Because the process is different from the process of acquiring data on the data source by the actual terminal, the state judgment result of the data source is relatively inaccurate. In the embodiment of the invention, the data acquisition failure rate of the first terminal is acquired in the data acquisition process of the first terminal, so the truth degree of the acquired data acquisition failure rate is higher, and the judgment result of whether the state of the target data source is the state to be maintained according to the data acquisition failure rate is more accurate.
In addition, because the probe device is adopted to judge the state of the data source in the related technology, the cost of judging the state of the data source is higher, and the method for judging the state of the data source provided by the embodiment of the invention is realized without the aid of the probe device, so the cost of the state of the data source is greatly reduced.
It should be noted that the probability threshold in step 404 may be a preset fixed value, and the data source state determination device may directly obtain the preset fixed value, and use the fixed value as the probability threshold. Optionally, the probability threshold in step 404 may also be a value obtained by statistics of the data source state determination device, and the following explains how the data source state determination device obtains the probability threshold by statistics.
In a first implementable manner, the data source state determination means may determine the probability threshold based on historical data. Fig. 6 is a flowchart of a method for determining a probability threshold in a data source state determination method according to an embodiment of the present invention. As shown in fig. 6, step 404 may include:
step 4041a, determining a second terminal corresponding to each of m second preset time periods, where the second terminal is configured to obtain data on the target data source in the corresponding second preset time period, the m second preset time periods are all located before the first preset time period, a duration of each second preset time period is equal to a duration of the first preset time period, and m is greater than or equal to 1.
The duration of the first preset time period and the duration of the second preset time period are both preset durations (such as 5 minutes). The data source state determination device needs to count a second terminal for acquiring data on the target data source in each second preset time period before the first preset time period. And counting the second terminals corresponding to each second preset time period in 12 continuous second preset time periods within 1 hour before the first preset time period by the data source state judgment device.
It should be noted that, time intersections may exist in the m second preset time periods (for example, one second preset time period is 12 o 'clock to 12 o' clock 05 minutes, and another second preset time period is 12 o 'clock 03 to 12 o' clock 08 minutes), or there may not exist time intersections in the m second preset time periods (for example, one second preset time period is 12 o 'clock to 12 o' clock 05 minutes, and another second preset time period is 12 o 'clock 06 to 12 o' clock 11 minutes), which is not limited in this embodiment of the present invention.
Step 4042a, acquiring a data acquisition failure rate of each second terminal in a second preset time period corresponding to the second terminal.
Illustratively, i is more than or equal to 0 and less than or equal to m, and the data source state judgment device determines r corresponding to the ith second preset time periodiAfter the second terminal, it needs to acquire riAnd the data acquisition failure rate of each second terminal in the ith second preset time period. The process of determining the data acquisition failure rate of the second terminal by the data source status determination apparatus may refer to the process of determining the data acquisition failure rate of the first terminal in step 402, which is not described herein again in the embodiments of the present invention.
Step 4043a, determining a rate reference value to be maintained of the target data source according to the obtained data obtaining failure rate of the second terminal.
Data source state determination device obtaining riAfter the data acquisition failure rate of each second terminal in the ith second preset time period is reached, the data acquisition failure rate can be determined according to riDetermining the data acquisition failure rate of each second terminal in the ith second preset time period and riThe number of target terminals in the second terminals. It should be noted that the data source state determination means determines riThe process of the target terminal in the second terminal may refer to step 403, which is not described herein again in this embodiment of the present invention.
The data source state determination means may further determine the state of the data source according to the formula:
Figure BDA0002891304470000081
and calculating a rate reference value X to be maintained of the target data source. For example, if m is 3, the number of second terminals used for acquiring data on the target data source in the first second preset time period is 10, and 8 target terminals exist in the 10 second terminals, the number of second terminals used for acquiring data on the target data source in the second preset time period is 9, and 8 target terminals exist in the 9 second terminals, the number of second terminals used for acquiring data on the target data source in the third second preset time period is 6, and 1 target terminal exists in the 6 second terminals, the data source status determining device may determine the to-be-maintained rate reference value
Figure BDA0002891304470000091
Step 4044a, determining a probability threshold according to the benchmark value of the rate to be maintained.
The data source state determination device may input the number p of the first terminals determined in step 401 and the reference value X of the rate to be maintained determined in step 4043a according to the central limit theorem
Figure BDA0002891304470000092
Thereby obtaining the probability threshold Y.
It should be noted that the formula used in calculating the probability threshold is
Figure BDA0002891304470000093
Other formulas relating to the rate reference value X to be maintained may also be used, such as
Figure BDA0002891304470000094
The embodiment of the present invention is not limited thereto.
In the first implementation manner, the data source state determination apparatus may determine a to-be-maintained rate reference value of the target data source by referring to the historical data related to the target data source, determine the probability threshold according to the to-be-maintained rate reference value, and determine whether the state of the target data source is the to-be-maintained state according to the probability threshold. If the target to-be-maintained rate of data sent by the target data source is greater than the probability threshold, it can be shown that the degree of outlier of the target data source is high, the target data source is an abnormal data source, and the state of the target data source is determined to be a to-be-maintained state.
In a second implementable manner, the data source state determination means may determine the probability threshold based on the target rate to be maintained and a reference rate to be maintained at which the reference data source transmits data. Fig. 7 is a flowchart of another method for determining a probability threshold according to an embodiment of the present invention. As shown in fig. 7, step 404 may include:
step 4041b, determining a third terminal corresponding to each of the n reference data sources, where the third terminal is configured to obtain data on the reference data source corresponding to the third terminal in a first preset time period, and n is greater than or equal to 1.
The data source status determination device may determine n reference data sources and determine a third terminal corresponding to each of the n reference data sources while performing step 401, where n is greater than or equal to 1. For example, the data source status determination device may determine t for acquiring data on jth reference data source of the n reference data sources within a first preset time periodjA third terminal (i.e. t corresponding to jth reference data source)jAnd j is more than or equal to 1 and less than or equal to n.
Step 4042b, acquiring a data acquisition failure rate of each third terminal in a first preset time period.
After the third terminal is determined, the data source status determination device further needs to determine a data acquisition failure rate of the third terminal within the first preset time period. The process of determining the data acquisition failure rate of the third terminal by the data source status determination apparatus may refer to the process of determining the data acquisition failure rate of the first terminal in step 402, which is not described herein again in the embodiments of the present invention.
Step 4043b, determining a reference to-be-maintained rate of data sent by each reference data source within a first preset time period according to a data acquisition failure rate of the third terminal corresponding to each reference data source within the first preset time period.
It should be noted that, the step 403 may be referred to in the process of determining the reference to-be-maintained rate of the data sent by the reference data source by the data source state determination device, and details of the embodiment of the present invention are not described herein.
Exemplary, tjThe number of the target terminals in the third terminals is vjThe reference maintenance waiting rate of the jth reference data source sending data in the n reference data sources
Figure BDA0002891304470000101
Step 4044b, determining a probability threshold according to the target to-be-maintained rate and the n reference to-be-maintained rates of the n reference data sources.
After determining the target to-be-repaired rate of the data sent by the target data source and the n reference to-be-repaired rates of the n reference data sources, the data source state determination device may further perform quartile statistics on the target to-be-repaired rate and the n reference to-be-repaired rates to determine 1/4 quantiles and 3/4 quantiles in the target to-be-repaired rate and the n reference to-be-repaired rates. It should be noted that the quartile statistics on the target rate to be maintained and the n reference rates to be maintained is to sort the target rate to be maintained and the n reference rates to be maintained in the order from small to large, determine the failure rate at the first 25% arranged from small to large as the 1/4 quantile, and determine the failure rate at the first 75% arranged from small to large as the 3/4 quantile.
After determining the 1/4 quantiles and 3/4 quantiles in the target to-be-serviced rate and the n reference to-be-serviced rates, the data source status determination apparatus may input the 1/4 quantile and the 3/4 quantile into Y ═ Q3+1.5(Q3-Q1) to obtain a probability threshold Y, where Q1 is 1/4 quantile and Q3 is 3/4 quantile. In addition, the coefficient of (Q3-Q1) in Y ═ Q3+1.5(Q3-Q1) is 1.5, and in practical applications, the coefficient may be other values (e.g., 1.2), which is not limited in the embodiment of the present invention.
In this second implementation manner, the data source state determination device may refer to the reference to-be-maintained rate of the other reference data source to determine the probability threshold, and then determine whether the state of the target data source is the to-be-maintained state according to the probability threshold. If the target maintenance waiting rate of the target data source is greater than the probability threshold, it can be shown that the degree of outlier of the target data source is high, the target data source is an abnormal data source, and the state of the target data source is determined to be a maintenance waiting state.
Further, in order to improve the accuracy of the determined probability threshold, the type of the reference data source referred to by the data source state determination device may be the same as the type of the target data source. For example, when the target data source is a live video data source, the n reference data sources are all live video data sources; and when the target data source is the video-on-demand data source, the n reference data sources are all video-on-demand data sources. Optionally, the n reference data sources may be all data sources of the same type as the target data source in the data sources of the whole network.
In summary, in the data source status determining method provided in the embodiment of the present invention, the data acquisition failure rate of the first terminal is further obtained within the first preset time period in which the first terminal obtains the data in the target data source, that is, the data acquisition failure rate of the first terminal is obtained in the data acquisition process of the first terminal, so that the obtained data acquisition failure rate is high in fidelity, and the result of determining whether the status of the target data source is the status to be maintained according to the data acquisition failure rate is accurate.
Fig. 8 is a flowchart of another method for determining a status of a data source according to an embodiment of the present invention, where the method for determining a status of a data source may be used to determine a status of any data source in fig. 1, and the method for determining a status of a data source may be used in the apparatus for determining a status of a data source shown in fig. 3. As shown in fig. 8, the data source status determination method includes:
step 801, determining p first terminals for acquiring data on a target data source in a first preset time period, wherein p is larger than or equal to 1.
It should be noted that step 801 may refer to step 401, and details of the embodiment of the present invention are not described herein.
Step 802, acquiring a data acquisition failure rate of each first terminal in a first preset time period.
It should be noted that step 802 may refer to step 402, and details of the embodiment of the present invention are not described herein.
Step 803, determining a target to-be-maintained rate of data sent by a target data source in a first preset time period according to the data acquisition failure rate of the p first terminals in the first preset time period.
It should be noted that, in step 803, reference may be made to step 403, which is not described herein again in this embodiment of the present invention.
And step 804, obtaining a probability threshold value.
It should be noted that step 804 may refer to step 404, and details of the embodiment of the present invention are not described herein.
Step 805, determining the network access node connected with each first terminal, wherein p first terminals are connected with r network access nodes in total, and r is more than or equal to 1.
The data source status determination device may further determine a network access node to which each first terminal is connected after determining the p first terminals. For example, the data source status determination device may determine the network access node to which each first terminal is connected through the resource management information in the operator network. When the first terminal is a TV, the data source status determining apparatus may determine the OLT connected to the first terminal, that is, obtain an identifier of the OLT connected to each first terminal. The p first terminals are connected with r network access nodes in total.
And 806, counting the number of the first terminals connected with each network access node in the r network access nodes.
After the network access node connected with each first terminal is determined, the data source state determination device may further count the number of the first terminals connected with each network access node in the r network access nodes according to the network access node connected with each first terminal.
For example, it is assumed that a first terminal 1 is connected to a network access node 1, a first terminal 2 is connected to the network access node 1, a first terminal 3 is connected to the network access node 2, a first terminal 4 is connected to the network access node 3, a first terminal 5 is connected to the network access node 3, a first terminal 6 is connected to the network access node 4, a first terminal 7 is connected to the network access node 4, and a first terminal 6 is connected to the network access node 4. Then, as shown in table 1, the data source status determination means may determine: the network access node 1 is connected with two first terminals, the network access node 2 is connected with one first terminal, the network access node 3 is connected with two first terminals, and the network access node 4 is connected with three first terminals.
TABLE 1
Network access node 1 2 3 4
Number of first terminals connected to a network access node 2 1 2 3
Step 807, determining the dispersion of the first terminal according to the number of the first terminals connected to each network access node.
For example, the dispersion of the first terminal can be obtained according to a formula of a kini index
Figure BDA0002891304470000111
YkThe number of the first terminals connected with the kth network access node in the r network access nodes is more than or equal to 1 and less than or equal to r. After determining the number of the first terminals connected to each of the r network access nodes, the data source state determination device may calculate the dispersion D of the first terminals according to the number of the first terminals connected to each of the network access nodes.
For example, if p is 8, 8 first terminals are connected to four network access nodes in total, a first network access node (e.g., network access node 1) of the four network access nodes is connected to two first terminals in total, a second network access node (e.g., network access node 2) is connected to one first terminal in total, a third network access node (e.g., network access node 3) is connected to two first terminals in total, and a fourth network access node (e.g., network access node 4) is connected to three first terminals in total, the dispersion of the first terminals is determined
Figure BDA0002891304470000112
As another example, if there are 10 network access nodes and the number of the first terminals connected to each network access node is shown in table 2, the dispersion D of the first terminals obtained by the data source status determination device is approximately equal to 0.5605.
TABLE 2
Figure BDA0002891304470000121
As another example, if there are 10 network access nodes and the number of first terminals connected to each network access node is as shown in table 3, the dispersion D ≈ 0.8933 of the first terminals obtained by the data source state determination device.
TABLE 3
Figure BDA0002891304470000122
Step 808, judging whether the target data source meets preset judgment conditions, wherein the preset judgment conditions include: the target maintenance waiting rate is greater than the probability threshold, and the dispersion of the first terminal is greater than the preset dispersion threshold. If the target data source meets the preset judgment condition, executing step 809; if the target data source does not satisfy the predetermined determination condition, step 801 is executed.
After determining the target maintenance waiting rate and the dispersion of the first terminal, the data source state determination device may determine whether the target data source satisfies a preset determination condition. When the target maintenance waiting rate is greater than the probability threshold value and the dispersion of the first terminal is greater than the preset dispersion threshold value, the data source state judgment device can determine that the target data source meets the preset judgment condition. That is, the data source state determination device can determine that the target data source satisfies the preset determination condition when determining that the target data source satisfies the two conditions at the same time. For example, the preset dispersion threshold may be 0.8.
It should be noted that, in the embodiment of the present invention, the preset determination condition includes: the target maintenance waiting rate is greater than a probability threshold, and the dispersion of the first terminal is greater than a preset dispersion threshold; in practical applications, the preset determination condition may include: the target maintenance waiting rate is greater than a probability threshold, the dispersion of the first terminals is greater than a preset dispersion threshold, and the number of network access nodes connected with the p first terminals is greater than a preset node number threshold; alternatively, the preset determination condition includes: the target maintenance waiting rate is greater than the probability threshold, and the total number of the first terminals is greater than the preset terminal number threshold; alternatively, the preset determination condition includes: the target maintenance waiting rate is greater than a probability threshold, the dispersion of the first terminals is greater than a preset dispersion threshold, and the total number of the first terminals is greater than a preset terminal number threshold; alternatively, the preset determination condition includes: the target maintenance waiting rate is greater than the probability threshold, the dispersion of the first terminals is greater than the preset dispersion threshold, the number of network access nodes connected with the p first terminals is greater than the preset node number threshold, and the total number of the first terminals is greater than the preset terminal number threshold.
For example, the preset node number threshold may be 3, and the preset terminal number threshold may be 100.
Step 809, determining the state of the target data source as a state to be maintained.
It should be noted that step 809 may refer to step 407, and details of the embodiment of the present invention are not described herein.
In summary, in the data source status determining method provided in the embodiment of the present invention, the data acquisition failure rate of the first terminal is further obtained within the first preset time period in which the first terminal obtains the data in the target data source, that is, the data acquisition failure rate of the first terminal is obtained in the data acquisition process of the first terminal, so that the obtained data acquisition failure rate is high in fidelity, and the result of determining whether the status of the target data source is the status to be maintained according to the data acquisition failure rate is accurate.
Fig. 9 is a schematic structural diagram of another data source status determining apparatus according to an embodiment of the present invention, and as shown in fig. 9, the data source status determining apparatus 90 may include:
a first determining module 901, configured to determine p first terminals used for acquiring data on a target data source in a first preset time period, where p is greater than or equal to 1;
an obtaining module 902, configured to obtain a data obtaining failure rate of each first terminal in a first preset time period, where if the terminal does not obtain a certain data in a predicted obtaining time period of the certain data on the data source, the terminal fails to obtain the certain data;
a second determining module 903, configured to determine whether the state of the target data source is a state to be maintained according to the data acquisition failure rate of the p first terminals in the first preset time period.
In summary, in the data source status determining device provided in the embodiment of the present invention, in the first preset time period in which the first terminal acquires the data in the target data source, the acquiring module further acquires the data acquisition failure rate of the first terminal, that is, the data acquisition failure rate of the first terminal is acquired in the data acquisition process of the first terminal, so that the degree of truth of the data acquisition failure rate acquired by the acquiring module is higher, and the second determining module determines, according to the data acquisition failure rate, whether the status of the target data source is the status to be maintained more accurately.
Fig. 10 is a schematic structural diagram of a second determining module according to an embodiment of the present invention, and as shown in fig. 10, the second determining module 903 may include:
the first determining unit 9031 is configured to determine a target to-be-maintained rate of data sent by a target data source in a first preset time period according to the data acquisition failure rate of the p first terminals in the first preset time period;
an obtaining unit 9032, configured to obtain a preset probability threshold;
a first determining unit 9033, configured to determine whether the target data source meets a preset determination condition, where the preset determination condition includes: the target maintenance waiting rate is greater than the probability threshold;
the second determining unit 9034 is configured to determine that the state of the target data source is the state to be maintained when the target data source meets a preset determination condition.
Optionally, the first determining unit 9031 may be configured to: determining the number q of target terminals in the p first terminals according to the data acquisition failure rate of the p first terminals in a first preset time period, wherein the data acquisition failure rate of the target terminals in the time period of the first preset time period is greater than a preset probability threshold; and taking the ratio of the target terminal in the p first terminals as the target to-be-maintained rate.
Fig. 11 is a schematic structural diagram of another data source status determining apparatus according to an embodiment of the present invention, as shown in fig. 11, on the basis of fig. 8, the data source status determining apparatus 80 may further include:
a third determining module 904, configured to determine a network access node to which each first terminal is connected, where p first terminals are connected to r network access nodes, and r is greater than or equal to 1;
a counting module 905, configured to count the number of first terminals connected to each network access node in the r network access nodes;
a fourth determining module 906, configured to determine the dispersion of the first terminal according to p and the number of the first terminals connected to each network access node, where the preset determining condition further includes: the dispersion of the first terminal is greater than the dispersion threshold.
Optionally, the preset determination condition further includes: the number of the network access nodes connected with the p first terminals is larger than a preset node number threshold.
Optionally, the preset determination condition further includes: the total number of the first terminals is greater than a preset terminal number threshold.
Optionally, the obtaining unit 9033 may be configured to:
determining a second terminal corresponding to each second preset time period in m second preset time periods, wherein the second terminal is used for acquiring data on the target data source in the corresponding second preset time period, the m second preset time periods are all positioned before the first preset time period, the time length of each second preset time period is equal to the time length of the first preset time period, and m is more than or equal to 1;
acquiring the data acquisition failure rate of each second terminal in a corresponding second preset time period;
determining a rate reference value to be maintained of the target data source according to the obtained data obtaining failure rate of the second terminal;
and determining a probability threshold value according to the benchmark value of the rate to be maintained.
Optionally, the obtaining unit 9033 may be configured to:
determining a third terminal corresponding to each of the n reference data sources, wherein the third terminal is used for acquiring data on the corresponding reference data source within a first preset time period, and n is greater than or equal to 1;
acquiring the data acquisition failure rate of each third terminal in a first preset time period;
determining a reference to-be-maintained rate of data sent by each reference data source within a first preset time period according to a data acquisition failure rate of a third terminal corresponding to each reference data source within the first preset time period;
and determining a probability threshold according to the target to-be-maintained rate and the n reference to-be-maintained rates of the n reference data sources.
Optionally, the reference data source is of the same type as the target data source.
In summary, in the data source status determining device provided in the embodiment of the present invention, in the first preset time period in which the first terminal acquires the data in the target data source, the acquiring module further acquires the data acquisition failure rate of the first terminal, that is, the data acquisition failure rate of the first terminal is acquired in the data acquisition process of the first terminal, so that the degree of truth of the data acquisition failure rate acquired by the acquiring module is higher, and the second determining module determines, according to the data acquisition failure rate, whether the status of the target data source is the status to be maintained more accurately.
In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, can be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer can be a general purpose computer, a network of computers, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., solid state disk), among others.
The embodiment of the data source state determination method provided by the embodiment of the invention can be mutually referred to as the embodiment of the data source state determination device, and the application is not limited to this. It should be noted that, the order of the steps in the method embodiments provided in the embodiments of the present invention can be appropriately adjusted, and the steps can be correspondingly increased or decreased according to the circumstances.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (18)

1. A method for determining a status of a data source, the method comprising:
determining p first terminals for acquiring data on a target data source within a first preset time period, wherein p is more than or equal to 1;
acquiring experience quality information of data on the target data source acquired by each first terminal within the first preset time period;
and determining whether the state of the target data source is a state to be maintained or not according to the experience quality information of the data of the p first terminals in the first preset time period.
2. The method according to claim 1, wherein the determining p first terminals for obtaining data on the target data source within a first preset time period, p ≧ 1, comprises:
detecting data messages transmitted between the target data source and o first terminals in the first preset time period;
and determining p first terminals for acquiring the data on the target data source based on the data message, wherein o is more than or equal to p and more than or equal to 1.
3. The method according to claim 1, wherein the determining p first terminals for obtaining data on the target data source within a first preset time period, p ≧ 1, comprises:
determining p first terminals for acquiring data on a target data source based on a corresponding relation set of the data source and the terminals, wherein the corresponding relation set comprises at least one sub-corresponding relation, the sub-corresponding relation comprises a corresponding relation between a target data source identifier and q first terminal identifiers, the sub-corresponding relation is stored in a network element for providing network access for the q first terminals, and p is more than or equal to q and is more than or equal to 1.
4. The method according to any one of claims 1 to 3, wherein the obtaining of the quality of experience information of the data on the target data source by each of the first terminals in the first preset time period includes a packet loss rate of the data on the target data source obtained by the first terminal and/or a failure rate of the data on the target data source obtained by the first terminal.
5. The method according to any one of claims 1 to 4, wherein the determining whether the state of the target data source is a state to be maintained according to the experience quality information of the p first terminals in the first preset time period includes:
determining a target to-be-maintained rate of the target data source in the first preset time period according to the experience quality information of the p first terminals in the first preset time period;
acquiring a probability threshold;
judging whether the target data source meets preset judgment conditions or not, wherein the preset judgment conditions comprise: the target maintenance waiting rate is greater than the probability threshold;
and when the target data source meets the preset judgment condition, determining that the state of the target data source is the state to be maintained.
6. The method according to claim 5, wherein the determining a target maintenance waiting rate for the target data source to send data in the first preset time period according to the quality of experience information of the p first terminals in the first preset time period comprises:
determining the number q of target terminals in the p first terminals according to the experience quality information of the p first terminals in the first preset time period, wherein the experience quality information of the target terminals in the time period of the first preset time period is greater than a preset probability threshold;
and taking the ratio of the target terminal in the p first terminals as the target to-be-maintained rate.
7. The method of claim 5, wherein obtaining the probability threshold comprises:
determining a second terminal corresponding to each of m second preset time periods, wherein the second terminal is used for acquiring data on the target data source within the corresponding second preset time period, the m second preset time periods are all located before the first preset time period, the duration of each second preset time period is equal to the duration of the first preset time period, and m is greater than or equal to 1;
acquiring experience quality information of each second terminal in a corresponding second preset time period;
determining a rate reference value to be maintained of the target data source according to the experience quality information of the second terminal;
and determining the probability threshold value according to the benchmark value of the rate to be maintained.
8. The method of claim 5, wherein obtaining the probability threshold comprises:
determining a third terminal corresponding to each of the n reference data sources, wherein the third terminal is used for acquiring data on the corresponding reference data source within the first preset time period, and n is greater than or equal to 1;
acquiring experience quality information of each third terminal in the first preset time period;
determining a reference to-be-maintained rate of data sent by each reference data source within the first preset time period according to the experience quality information of the third terminal corresponding to each reference data source within the first preset time period;
and determining the probability threshold according to the target to-be-maintained rate and the n reference to-be-maintained rates of the n reference data sources.
9. A data source status determination device, characterized by comprising:
the first determining module is used for determining p first terminals for acquiring data on a target data source in a first preset time period, wherein p is more than or equal to 1;
the acquisition module is used for acquiring experience quality information of data on the target data source acquired by each first terminal within the first preset time period;
and the second determining module is used for determining whether the state of the target data source is a state to be maintained or not according to the experience quality information of the p first terminals in the first preset time period.
10. The data source status determination device according to claim 9, characterized in that the data source status determination device includes:
the detection module is used for detecting data messages transmitted between the target data source and o first terminals in the first preset time period;
the first determining module is further configured to determine, based on the data packet, p first terminals that acquire data on the target data source, where o is greater than or equal to p and greater than or equal to 1.
11. The data source status determination device according to claim 9, characterized in that the data source status determination device includes:
the first determining module is further configured to determine p first terminals that acquire data on the target data source based on a correspondence set between the data source and the terminals, where the correspondence set includes at least one sub-correspondence, the sub-correspondence includes a correspondence between the target data source identifier and q first terminal identifiers, the sub-correspondence is stored in a network element that provides network access for the q first terminals, and p is greater than or equal to q and is greater than or equal to 1.
12. The apparatus according to any one of claims 9 to 11, wherein the obtaining module is configured to obtain quality of experience information that each of the first terminals obtains data on the target data source within the first preset time period, where the quality of experience information includes a packet loss rate of the first terminal obtaining the data on the target data source and/or a failure rate of the first terminal obtaining the data on the target data source.
13. The data source status determination apparatus according to any one of claims 9 to 12, wherein the second determination module includes:
a first determining unit, configured to determine, according to the quality of experience information of the p first terminals in the first preset time period, a target to-be-maintained rate of data sent by the target data source in the first preset time period;
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring a preset probability threshold;
a first judging unit, configured to judge whether the target data source satisfies a preset judgment condition, where the preset judgment condition includes: the target maintenance waiting rate is greater than the probability threshold;
and the second determining unit is used for determining the state of the target data source as the state to be maintained when the target data source meets the preset judgment condition.
14. The data source status determination apparatus according to claim 13, wherein the first determination unit is configured to:
determining the number q of target terminals in the p first terminals according to the experience quality information of the p first terminals in the first preset time period, wherein the data acquisition failure rate of the target terminals in the time period of the first preset time period is greater than a preset probability threshold;
and taking the ratio of the target terminal in the p first terminals as the target to-be-maintained rate.
15. The data source status determination device according to claim 13, wherein the acquisition unit is configured to:
determining a second terminal corresponding to each second preset time period in m second preset time periods, wherein the second terminal is used for acquiring data on the target data source in the corresponding second preset time period, the m second preset time periods are all located before the first preset time period, the duration of each second preset time period is equal to the duration of the first preset time period, and m is more than or equal to 1;
acquiring experience quality information of each second terminal in a corresponding second preset time period;
determining a rate reference value to be maintained of the target data source according to the acquired experience quality information of the second terminal;
and determining the probability threshold value according to the benchmark value of the rate to be maintained.
16. The data source status determination device according to claim 13, wherein the acquisition unit is configured to:
determining a third terminal corresponding to each of the n reference data sources, wherein the third terminal is used for acquiring data on the corresponding reference data source within the first preset time period, and n is greater than or equal to 1;
acquiring experience quality information of each third terminal in the first preset time period;
determining a reference to-be-maintained rate of data sent by each reference data source within the first preset time period according to the experience quality information of the third terminal corresponding to each reference data source within the first preset time period;
and determining the probability threshold according to the target to-be-maintained rate and the n reference to-be-maintained rates of the n reference data sources.
17. A computer-readable storage medium, characterized in that a program is stored in the computer-readable storage medium, which when executed by a processor implements the data source status determination method according to any one of claims 1 to 8.
18. A computer program product for causing a computer to perform the data source status determination method according to any one of claims 1 to 8 when the computer program product is run on the computer.
CN202110028993.3A 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium Pending CN112887165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110028993.3A CN112887165A (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711053363.1A CN109756384B (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium
CN202110028993.3A CN112887165A (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201711053363.1A Division CN109756384B (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112887165A true CN112887165A (en) 2021-06-01

Family

ID=66397517

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711053363.1A Active CN109756384B (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium
CN202110028993.3A Pending CN112887165A (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201711053363.1A Active CN109756384B (en) 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium

Country Status (1)

Country Link
CN (2) CN109756384B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116401090B (en) * 2023-04-23 2024-01-30 中航信移动科技有限公司 Abnormal data source determining method based on data updating

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8239903B1 (en) * 2008-09-15 2012-08-07 Avaya Inc. Open cable application platform (OCAP), set-top box (STB), next generation service application
CN101420631A (en) * 2008-11-28 2009-04-29 深圳创维数字技术股份有限公司 Set-top box capable of fast detecting failure and detection apparatus thereof
CA2775981A1 (en) * 2009-12-30 2011-07-07 Neuralitic Systems A method and system for subscriber journey analytics
CN102136962B (en) * 2010-06-23 2013-10-09 华为技术有限公司 Method, relative device and system for delimiting quality problems
CN102143375B (en) * 2010-06-23 2012-12-26 华为技术有限公司 Method, equipment and system for delimiting fault of IPTV multicast service
CN102546263A (en) * 2012-02-21 2012-07-04 德科仕通信(上海)有限公司 Failure isolation method and system for video server and Internet protocol (IP) network in Internet protocol television (IPTV) network
CN103873274B (en) * 2012-12-12 2017-11-28 中国电信股份有限公司 End-to-end network element failure diagnostic method and device
CN104811344B (en) * 2014-01-23 2019-04-12 阿里巴巴集团控股有限公司 Network dynamic business monitoring method and device
CN105323639A (en) * 2014-06-10 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for repairing STB
CN106201794B (en) * 2016-06-27 2019-07-05 北京奇虎科技有限公司 A kind of detection method and device of server
CN106469098A (en) * 2016-09-19 2017-03-01 广州日滨科技发展有限公司 A kind of fault handling method of equipment and device
CN106789223B (en) * 2016-12-13 2019-05-21 中国联合网络通信集团有限公司 A kind of Interactive Internet TV IPTV service quality determining method and system

Also Published As

Publication number Publication date
CN109756384B (en) 2021-01-15
CN109756384A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN107295080B (en) Data storage method applied to distributed server cluster and server
US11469949B2 (en) Hierarchical configuration of networked communication devices
US8667126B2 (en) Dynamic rate heartbeating for inter-node status updating
CN110620699B (en) Message arrival rate determination method, device, equipment and computer readable storage medium
CN111654321B (en) Satellite network management method and device and electronic equipment
CN105991412A (en) Method and device for pushing message
WO2016173280A1 (en) Monitoring management method and apparatus
CN106533803B (en) CPE configuration method and device based on TR069 agreement
CN109756384B (en) Data source state determination method and device and computer readable storage medium
CN104219157A (en) Determining method and determining equipment for counting time intervals
CN101552786A (en) Communication apparatus, communication method, and recording medium storing program
CN105429823B (en) Flux of multicast detection method and device in distributed communication equipment
CN110460486B (en) Service node monitoring method and system
US10102286B2 (en) Local object instance discovery for metric collection on network elements
CN112911272A (en) IPTV group fault early warning method and system
CN114338516B (en) Traffic forwarding and policy determining method and device
CN113453024B (en) Method, device and system for monitoring service
US8566634B2 (en) Method and system for masking defects within a network
CN110611663B (en) Detection method, device and system
WO2021056435A1 (en) Method and apparatus for abnormality detection
CN103178985A (en) Network equipment polling method, network equipment polling system and network equipment polling device
CN113157472A (en) Service information processing method, device, equipment and computer storage medium
CN113472846A (en) Message processing method, device, equipment and computer readable storage medium
CN103684884B (en) The method and system of data communication is optimized based on SNMP
CN103414652A (en) Communication information processing method and system

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