CN109756384A - Data source condition judgement method and device - Google Patents

Data source condition judgement method and device Download PDF

Info

Publication number
CN109756384A
CN109756384A CN201711053363.1A CN201711053363A CN109756384A CN 109756384 A CN109756384 A CN 109756384A CN 201711053363 A CN201711053363 A CN 201711053363A CN 109756384 A CN109756384 A CN 109756384A
Authority
CN
China
Prior art keywords
terminal
data
preset time
data source
time period
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.)
Granted
Application number
CN201711053363.1A
Other languages
Chinese (zh)
Other versions
CN109756384B (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.)
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 CN201711053363.1A priority Critical patent/CN109756384B/en
Priority to CN202110028993.3A priority patent/CN112887165A/en
Publication of CN109756384A publication Critical patent/CN109756384A/en
Application granted granted Critical
Publication of CN109756384B publication Critical patent/CN109756384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of data source condition judgement method and devices, belong to field of communication technology.The described method includes: determining in the first preset time period for obtaining p first terminal of data in target data source, p >=1;Obtain data acquisition failure rate of each first terminal in first preset time period, wherein if a certain data have not been obtained in terminal in data source in the estimated acquisition time section of a certain data, then terminal obtains a certain data failure;According to data acquisition failure rate of the p first terminal in first preset time period, determine whether the state of the target data source is state to be repaired.Present application addresses the lower problems of the state determination results accuracy of data source, improve the accuracy of state determination results, and state of the application for data source determines.

Description

Data source condition judgement method and device
Technical field
This application involves field of communication technology, in particular to a kind of data source condition judgement method and device.
Background technique
With the development of science and technology, there are more and more data sources, such as video data source and net page data source.Terminal can With by with Data Source communication, to obtain the data in data source.
During terminal and Data Source communication, if the communication efficiency of corrupt data or data source that data source provides Poor, then terminal obtains data failure from data source, and data source is in state to be repaired at this time.Therefore, a kind of judgement is needed The method of data source state.In the related technology, it by disposing probe unit in the network of terminal and Data Source communication, and controls The probe unit determines the state of data source.It is exemplary, when determining data source state, probe dress can be controlled first Set the data in simulation terminal request data source.Then, control probe unit detects whether to receive the data of data source transmission, And whether the data that detection receives are the data of its request, and then determine whether the state of data source is state to be repaired.
Since in the related technology, often there is error, therefore, data source to the state determination results of data source in probe unit State determination results accuracy it is lower.
Summary of the invention
This application provides a kind of data source condition judgement method and devices, can solve the state determination results of data source The lower problem of accuracy.The technical solution is as follows:
In a first aspect, providing a kind of data source condition judgement method, which comprises determine in the first preset time For obtaining p first terminal of data in target data source, p >=1 in section;Each first terminal is obtained described first Data acquisition failure rate in preset time period, wherein if in data source in the estimated acquisition time section of a certain data, terminal The a certain data have not been obtained, then terminal obtains a certain data failure;According to the p first terminal described first Data acquisition failure rate in preset time period determines whether the state of the target data source is state to be repaired.
It is the process for controlling probe unit and simulating terminal request data in the related technology, and according to some ginsengs during this Number determines the state of data source.Since the process that the process obtains data in data source with physical end has differences, number It is more inaccurate according to the state determination results in source.And in the application, since the data acquisition failure rate of first terminal is whole first It is obtained in end acquisition data procedures, so, the validity of the data acquisition failure rate acquired is higher, is obtained according to the data Take failure rate to the state of target data source whether be state to be repaired judgement result it is more accurate.
In addition, due to the higher cost of probe unit in the related technology, and data source state provided in an embodiment of the present invention Determination method is realized without probe unit, therefore, substantially reduces the cost of data source state-detection in the related technology.
Optionally, the data acquisition failure rate according to the p first terminal in first preset time period, Whether the state for determining the target data source is state to be repaired, comprising: pre- described first according to the p first terminal If the data acquisition failure rate in the period, determine that the target data source sends data in first preset time period Target rate to be repaired;Judge whether the target data source meets default decision condition, the default decision condition includes: described Target rate to be repaired is greater than the probability threshold value;When the target data source meets the default decision condition, described in determination The state of target data source is the state to be repaired.It that is to say, according to the data acquisition failure rate of terminal in the application, obtain The data of data source send failure rate, and then send the state that failure rate determines data source according to data.
Optionally, the data acquisition failure rate according to the p first terminal in first preset time period, Determine that the target data source sends the target rate to be repaired of data in first preset time period, comprising: according to the p Data acquisition failure rate of a first terminal in first preset time period determines that target is whole in the p first terminal The number q at end, wherein data acquisition failure rate of the target terminal in the duration of first preset time period is greater than pre- If probability threshold value;By the accounting of target terminal in the p first terminal, as target rate to be repaired.
Optionally, it is described judge whether target rate to be repaired is greater than the probability threshold value before, the method is also Comprise determining that the network insertion node of each first terminal connection, the p first terminal connect r network insertion altogether Node, r >=1;Count the number of the first terminal of each network insertion node connection in the r network insertion node;According to The number of the first terminal of each network insertion node connection determines the dispersion of the first terminal, the default judgement Condition further include: the dispersion of the first terminal is greater than the dispersion threshold value.It that is to say, herein in connection with described first The dispersion of terminal judges the state of data source, so as to avoid the terminal due to caused by the distribution relatively concentration of terminal available Rate is lower, improves the accuracy of data source state determination results.
Optionally, the default decision condition further include: for the network insertion node that the p first terminal is connected Number is greater than preset number of nodes threshold value.It that is to say, the state of data source is judged herein in connection with the number of terminal, in terminal Number it is more when, the dispersion for the first terminal determined is more acurrate, and the accuracy of data source state determination results is more Height, and avoid the data acquisition failure rate of the terminal due to caused by the negligible amounts of network insertion node higher.
Optionally, the default decision condition further include: the sum of the first terminal is greater than preset terminal quantity threshold Value.It that is to say, the state of data source is judged herein in connection with the quantity of terminal, so as to improve the target data determined The order of accuarcy of the target in source rate to be repaired, improves the accuracy of data source state determination results.
Optionally, the acquisition probability threshold value, comprising: determine each second preset time in m the second preset time periods The corresponding second terminal of section, the second terminal is for obtaining the target data source in its corresponding second preset time period On data, the m the second preset time periods are respectively positioned on before first preset time period, and described each second is default The duration of period is equal to the duration of first preset time period, m >=1;Each second terminal is obtained in its correspondence The second preset time period in data acquisition failure rate;According to the data acquisition failure rate of the second terminal got, determine The rate a reference value to be repaired of the target data source;The probability threshold value is determined according to the rate a reference value to be repaired.
It that is to say, determine rate a reference value to be repaired, and root with reference to historical data relevant to target data source in the application Determine the probability threshold value according to the rate a reference value to be repaired, so according to the probability threshold value determine target data source state whether be State to be repaired.If the target rate to be repaired that target data source sends data is greater than the probability threshold value, the target may indicate that The degree of peeling off of data source is higher, which is abnormal data source, and determines that the state of target data source is wait tie up Repair state.
Optionally, the acquisition probability threshold value, comprising: determine that each source of reference data is corresponding in n source of reference data Third terminal, the third terminal are used to obtain the number in its corresponding source of reference data in first preset time period According to n >=1;Obtain data acquisition failure rate of each third terminal in first preset time period;According to described every Data acquisition failure rate of the corresponding third terminal of a source of reference data in first preset time period determines described each Source of reference data sends the reference rate to be repaired of data in first preset time period;According to target rate to be repaired with And n of the n source of reference data refers to rate to be repaired, determines the probability threshold value.
It that is to say, send the reference rate to be repaired of data in the application with reference to other source of reference data, to determine the probability Threshold value, and then determine whether the state of target data source is state to be repaired according to the probability threshold value.If target data source is sent The target of data rate to be repaired is greater than the probability threshold value, then may indicate that the degree of peeling off of the target data source is higher, the number of targets It is abnormal data source according to source, and determines that the state of target data source is state to be repaired.
Optionally, the source of reference data is identical as the type of the target data source.Also it is determined in order to improve The type of the accuracy of probability threshold value, source of reference data referenced by data source state determining apparatus can be with target data source Type is identical.
Second aspect provides a kind of data source state determining apparatus, and the data source state determining apparatus includes: first Determining module, for determining for obtaining p first terminal of data in target data source in the first preset time period, p >= 1;Module is obtained, for obtaining data acquisition failure rate of each first terminal in first preset time period, In, if a certain data have not been obtained in terminal in data source in the estimated acquisition time section of a certain data, then terminal obtains The a certain data failure;Second determining module, for according to the p first terminal in first preset time period Data acquisition failure rate determines whether the state of the target data source is state to be repaired.
Optionally, second determining module includes: the first determination unit, according to the p first terminal described Data acquisition failure rate in one preset time period determines that the target data source sends number in first preset time period According to target rate to be repaired;Acquiring unit, for obtaining preset probability threshold value;First judging unit, for judging the mesh Whether mark data source meets default decision condition, and the default decision condition includes: that target rate to be repaired is general greater than described Rate threshold value;Second determination unit, for determining the number of targets when the target data source meets the default decision condition State according to source is the state to be repaired.
Optionally, first determination unit is used for: according to the p first terminal in first preset time period Data acquisition failure rate, determine the number q of target terminal in the p first terminal, wherein the target terminal is described Data acquisition failure rate in the duration of first preset time period is greater than preset probability threshold value;It will be in the p first terminal The accounting of target terminal, as target rate to be repaired.
Optionally, the data source state determining apparatus further include: third determining module, for determining each described first The network insertion node of terminal connection, the p first terminal connect r network insertion node, r >=1 altogether;Statistical module is used In the number for counting the first terminal of each network insertion node connection in the r network insertion node;4th determining module, For determining the discrete of the first terminal according to the number of p and the first terminal of each network insertion node connection Degree, the default decision condition further include: the dispersion of the first terminal is greater than the dispersion threshold value.
Optionally, the default decision condition further include: for the network insertion node that the p first terminal is connected Number is greater than preset number of nodes threshold value.
Optionally, the default decision condition further include: the sum of the first terminal is greater than preset terminal quantity threshold Value.
Optionally, the acquiring unit is used for: determining that each second preset time period is corresponding in m the second preset time periods Second terminal, the second terminal is used to obtain number in the target data source in its corresponding second preset time period According to the m the second preset time periods are respectively positioned on before first preset time period, and each second preset time period Duration be equal to the duration of first preset time period, m >=1;Obtain each second terminal its corresponding second Data acquisition failure rate in preset time period;According to the data acquisition failure rate of the second terminal got, the mesh is determined Mark the rate a reference value to be repaired of data source;The probability threshold value is determined according to the rate a reference value to be repaired.
Optionally, the acquiring unit is used for: determining that the corresponding third of each source of reference data is whole in n source of reference data End, the third terminal are used to obtain the data in its corresponding source of reference data, n >=1 in first preset time period; Obtain data acquisition failure rate of each third terminal in first preset time period;According to each reference number According to data acquisition failure rate of the corresponding third terminal in source in first preset time period, each reference data is determined Source sends the reference rate to be repaired of data in first preset time period;According to target rate to be repaired and the n N of a source of reference data refers to rate to be repaired, determines the probability threshold value.
Optionally, the source of reference data is identical as the type of the target data source.
The third aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when the computer readable storage medium is run on computers, so that computer executes as described in relation to the first aspect Data source condition judgement method.
Fourth aspect provides a kind of computer program product comprising instruction, when the computer program product is being counted When being run on calculation machine, so that computer executes data source condition judgement method as described in relation to the first aspect.
5th aspect, provides a kind of data processing equipment, the data processing equipment include: at least one processor, At least one network interface, memory and at least one communication bus, the processor store in the memory for executing Program, to realize data source condition judgement method described in first aspect.
Detailed description of the invention
Fig. 1 is a kind of application scenarios schematic diagram of data source condition judgement method provided in an embodiment of the present invention;
Fig. 2 is a kind of concrete application scene schematic diagram of data source state determining apparatus provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of data source state determining apparatus provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow diagram of data source condition judgement method provided in an embodiment of the present invention;
Fig. 5 is that a kind of target terminal provided in an embodiment of the present invention determines result schematic diagram;
Fig. 6 is the method flow diagram that a kind of probability threshold value provided in an embodiment of the present invention determines method;
Fig. 7 is the method flow diagram that another probability threshold value provided in an embodiment of the present invention determines method;
Fig. 8 is the method flow diagram of another data source condition judgement method provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another data source state determining apparatus provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of second determining module provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another data source state determining apparatus provided in an embodiment of the present invention.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Fig. 1 is a kind of application scenarios schematic diagram of data source condition judgement method provided in an embodiment of the present invention, such as Fig. 1 institute Show, there are multiple terminals and multiple data sources in the application scenarios.Such as terminal A1, terminal A2 and terminal A3, data source B1, data Source B2 and data source B3.Terminal is connect by the network insertion node in carrier network with data source, exemplary, terminal A1 with Terminal A2 is connect by network insertion node C1 with data source B1 and B2, and terminal A3 passes through network insertion node C2 and data source B3 Connection.Exemplary, the terminal in Fig. 1 can be mobile phone, TV or computer, and the data source in Fig. 1 can be server or service Device cluster, the equipment that network insertion node can be capable of providing data handover service for interchanger etc..
It should be noted that multiple data source can be divided into two according to the length for the time that data store in data source Class data source, wherein the time that the data on primary sources source store on the primary sources source is greater than preset duration threshold It is worth, the time that the data on secondary sources source store on the secondary sources source is less than or equal to the preset duration threshold value. For example, the primary sources source in multiple data source is properly termed as program request view when multiple data sources are video data source Frequency data source, secondary sources source are properly termed as live video data source.When a certain data source is net page data source, the webpage Data source is primary sources source.
Exemplary, when terminal is TV (television, TV), the data source of TV connection can be live video data Source and order video data source.Fig. 2 is a kind of concrete application field of data source state determining apparatus provided in an embodiment of the present invention Scape schematic diagram.As shown in Fig. 2, TV can pass through set-top box (Set Top Box, STB) and ONT Optical Network Terminal (Optical Network terminal, ONT) it is connect with the network insertion node in carrier network.The network insertion node is optical link Terminal (optical line terminal, OLT).Further, which can also include successively connecting with the OLT Interchanger (line switch, LSW), Broadband Remote Access Server (the Broadband Remote Access connect Server, BRAS), districts and cities' core router (Core router, CR) He Shenggan CR.Wherein, saving dry CR can connect live streaming Video data source and order video data source, BRAS and districts and cities CR can connect program request video data source.
Fig. 3 is a kind of structural schematic diagram of data source state determining apparatus provided in an embodiment of the present invention.It needs to illustrate It is that the connection relationship of the terminal in Fig. 1 and network insertion node is by money tube apparatus (not shown in figure 1) management, the data source shape State decision maker can be connect with money tube apparatus.The data source state determining apparatus can also be connect with each terminal, or number It can be connect with the communication equipment between each terminal and network insertion node according to source state determining apparatus.The data source state is sentenced Whether the state for determining any data source that device can be used in process decision chart 1 is state to be repaired.
As shown in figure 3, the data source state determining apparatus may include: at least one processor 10221 (such as centre Manage device), at least one network interface 10222, memory 10223 and at least one bus 10224, bus 10224 for realizing Connection communication between processor, network interface and memory;Memory 10223 and network interface 10222 pass through bus respectively 10224 are connected with processor 10221.Processor 10221 is used to execute the executable module stored in memory 10223, such as Computer program.Memory 10223 may include high-speed random access memory (Random Access Memory, RAM), It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely A few network interface 10222 (wired or wireless) is realized logical between the data processing equipment and at least one other device Letter connection.In some embodiments, memory 10223 stores program 10225, and program 10225 can be by processor 10221 It executes to realize data source condition judgement method shown in Fig. 3.
Fig. 4 is a kind of method flow diagram of data source condition judgement method provided in an embodiment of the present invention, the data source shape Whether the state that state determination method can be used for any data source in process decision chart 1 is state to be repaired, which determines Method can be used for data source state determining apparatus shown in Fig. 3.As shown in figure 4, the data source condition judgement method includes:
Step 401 determines in the first preset time period for obtaining p first terminal of data in target data source, p ≥1。
It should be noted that terminal when needing to obtain the data in data source, needs to send data to data source first Request, data source can send data to the terminal according to the request of data after receiving the request of data.Target data source It can be any data source in application environment shown in FIG. 1.Data source state determining apparatus can detecte application shown in FIG. 1 Data source where the data that each terminal obtains in environment, and then determine in the first preset time period for obtaining number of targets According to p first terminal of data on source.
Wherein, data source state determining apparatus can be by carrying out depth to the data packet transmitted between terminal and data source Packet detection (Deep Packet Inspection, DPI) determines the data source where the data that terminal obtains.Data source state Decision maker can analyze data packet when carrying out DPI, to obtain the information in data packet, such as send the data packet Data source mark and receive the data packet terminal mark.And when terminal is TV, and network insertion node is ONT, It is connected with STB between TV and ONT, the video data information of TV broadcasting is stored on STB, data source state determining apparatus can be with ONT connection, and the video data information is acquired by STB, so that it is determined that the data source where the data that the terminal obtains.
Exemplary, the duration of the first preset time period can be 5 minutes, such as 12 o'clock sharps to 12 points 05 minute.In step 401 Data source state determining apparatus can determine the p first terminal for obtaining data in target data source in this 5 minutes.It should P first terminal can be to be used to obtain all terminals of data in target data source in the first preset time period, namely be somebody's turn to do All online terminals of target data source.
Step 402 obtains data acquisition failure rate of each first terminal in the first preset time period.
For terminal when needing to obtain a certain data in data source, the probability of failure that terminal obtains the data is known as terminal Data acquisition failure rate.Each first terminal is used to obtain the data in target data source in first preset time period, The probability of failure that first terminal obtains the data in target data source is the data acquisition failure rate of first terminal.It needs to illustrate It is, when the state of the data source where the data that terminal needs to obtain is state to be repaired, the data acquisition failure of the terminal Rate is often higher.
Exemplary, when first terminal is TV, the STB of TV connection is used to count the data acquisition failure rate of TV, data Source state determining apparatus can establish connection with the STB, and obtain the number of TV that STB is counted in the first preset time period According to acquisition failure rate.
Again exemplary, which can directly establish connection with first terminal, first terminal to After target data source requests a certain data, which can determine the estimated acquisition time section of a certain data, namely should Period of the first terminal intended recipient to a certain data.For example, requesting a certain data to target data source in first terminal Afterwards, which can send a notification message to first terminal, which can serve to indicate that first terminal is requested The a certain data estimated period for reaching first terminal namely a certain data estimated acquisition time section.First terminal It each of can detecte in the first preset time period in estimated acquisition time section and whether receive corresponding data.If first terminal Scheduled time section corresponding data are got in a certain scheduled time section (namely should receive in scheduled time section Data), then first terminal, which can consider, has successfully got the data.If first terminal does not obtain in estimated acquisition time section To the scheduled time corresponding data of section, then first terminal, which can consider, obtains the data failure.It that is to say, first terminal only has The data are got in the estimated acquisition time section of a certain data, first terminal just will be considered that it successfully gets the data. First terminal can by the estimated acquisition time section number for getting corresponding data in first preset time period, with this The ratio between all estimated acquisition time section numbers in one preset time period, are determined as the first terminal in the first preset time period Data acquisition failure rate.
For example, first terminal is estimated in the first preset time period to get 10 data (such as data packet or data frame), Namely first preset time period includes 10 estimated acquisition time sections.If first terminal is in this 10 estimated acquisition time sections It is interior, 7 data are successfully obtained altogether, then data acquisition failure rate of the first terminal in the first preset time period is 30%.
It should be noted that if terminal obtains a certain data failure, then the terminal can not effectively show the data, thus So that the user experience of terminal is poor.Therefore, data acquisition failure rate of the first terminal in the first preset time period, can Reflection terminal poor probability of user experience during displaying gets data, which that is to say can Reflect the data of user experience, which is referred to as the degree of unavailability of terminal.
Step 403, the data acquisition failure rate according to p first terminal in the first preset time period, determine number of targets The target rate to be repaired of data is sent in the first preset time period according to source.
Preset probability threshold value is can store on data source state determining apparatus.Data source state determining apparatus is obtaining It, can be pre- first by each first terminal to each first terminal after the data acquisition failure rate in the first preset time period If the data acquisition failure rate in the period is compared with the preset probability threshold value.When a certain first terminal is default first When data acquisition failure rate in period is greater than the preset probability threshold value, data source state determining apparatus can determine this One terminal is target terminal.When data acquisition failure rate of a certain first terminal in the first preset time period is general less than preset When rate threshold value, which can determine that first terminal is not target terminal.Exist by p first terminal After data acquisition failure rate in first preset time period is compared with preset probability threshold value, which determines Device can determine that the number q, q of target terminal in the p first terminal are the integer less than or equal to p.
Data source state determining apparatus can by the accounting (namely ratio of q and p) of target terminal in p first terminal, It is determined as the target rate to be repaired that target data source sends data in the first preset time period.
For example, Fig. 5 is that a kind of target terminal provided in an embodiment of the present invention determines result schematic diagram, as shown in figure 5, the 8 first terminals are co-existed in one preset time period, such as first terminal 1, first terminal 2, first terminal 3, first terminal 4, One terminal 5, first terminal 6, first terminal 7 and first terminal 8.Data source state determining apparatus is determining that a certain first terminal is When target terminal, " 1 " can be marked to the first terminal, it, can be to this when determining a certain first terminal not is target terminal First terminal marks " 0 ".That is, shared for obtaining the first terminal of data in target data source in the first preset time period 8, and 4 first terminals in this 8 first terminals are target terminal, data source state determining apparatus can be by 4 and 8 ratio Value 50% is determined as data of the target data source in the first preset time period and sends failure rate.
It should be noted that data source state determining apparatus is by target terminal in p first terminal in the embodiment of the present invention Accounting be determined as the target rate to be repaired that target data source sends data, in practical application, data source state determining apparatus is also Other operations can be carried out to p and q obtains target rate to be repaired, for example, using the ratio of q and 2p as target rate to be repaired, The embodiment of the present invention is not construed as limiting this.
Step 404, acquisition probability threshold value.
Step 405 judges whether target rate to be repaired is greater than probability threshold value.If target rate to be repaired is greater than probability threshold value, Then follow the steps 406;If target rate to be repaired is less than or equal to probability threshold value, 401 are thened follow the steps.
In the target rate to be repaired and probability threshold value for determining target data source in the first preset time period and sending data Afterwards, target rate to be repaired and probability threshold value can be compared.After determining the size relation of target rate to be repaired and probability threshold value, if Target rate to be repaired is greater than preset probability threshold value, then data source state determining apparatus can execute step 406;If target waits tieing up Rate is repaired less than or equal to preset probability threshold value, then data source state determining apparatus can execute step 401, namely repeat to detect Whether the state of target data source is state to be repaired.
Step 406, the state for determining target data source are state to be repaired.
When judging result in step 405 is that target rate to be repaired is greater than probability threshold value, data source state determining apparatus It can determine that target data source has been in state to be repaired at this time, at this point, target data source sends the failure of data to terminal Rate is higher (namely the success rate that target data source sends data to terminal is lower), and target data source provides the terminal with the energy of data Power is poor, and target data source is in the state of matter difference.At this point, needing to repair target data source, to improve target data Source sends the success rate of data to terminal.Correspondingly, maintenance personal can be state to be repaired according to the state of target data source Judgement as a result, repaired to target data source, send the success rate of data and the number of terminal to improve target data source According to success rate is obtained, the user experience of terminal is improved, target data source is made to be detached from the state of matter difference.
In the related technology, in the state in detection data source, can control probe unit can simulate the mistake of terminal request data Journey, and the data that detection data source is sent after request data, and the state of data source is determined according to testing result.Due to the mistake The process that journey obtains data in data source with physical end has differences, and therefore, the state determination results of data source are more inaccurate. And in the embodiment of the present invention, since the data acquisition failure rate of first terminal is to obtain in data procedures to obtain in first terminal , so the validity of the data acquisition failure rate acquired is higher, according to the data acquisition failure rate to target data source State whether be state to be repaired judgement result it is more accurate.
In addition, due to using probe unit to carry out the judgement of data source state in the related technology, data source state determines Higher cost, and data source condition judgement method provided in an embodiment of the present invention without probe unit realize, so greatly The cost of data source state is reduced greatly.
It should be noted that the probability threshold value in step 404 can be preset fixed numbers, data source state determines dress The preset fixed numbers can be directly acquired by setting, and using the fixed numbers as probability threshold value.Optionally, in step 404 Probability threshold value can also be the numerical value that data source state determining apparatus counts, below will be to data source state determining apparatus such as The process what statistics obtains probability threshold value is explained.
Can be in realization mode at the first, data source state determining apparatus can determine probability threshold value based on historical data. Fig. 6 is the method flow diagram that probability threshold value is determined in a kind of data source condition judgement method provided in an embodiment of the present invention.Such as Fig. 6 Shown, step 404 may include:
Step 4041a, the corresponding second terminal of each second preset time period in m the second preset time periods is determined, In, second terminal in its corresponding second preset time period for obtaining the data in target data source, when m a second is default Between section be respectively positioned on before the first preset time period, and the duration of each second preset time period is equal to the first preset time period Duration, m >=1.
The duration of the duration of first preset time period and the second preset time period is preset duration (such as 5 minutes).Data Source state determining apparatus needs to count each of before the first preset time period in the second preset time period for obtaining target The second terminal of data in data source.If data source state determining apparatus is in 1 hour before the first preset time period, statistics The corresponding second terminal of each second preset time period in continuous 12 the second preset time periods.
It should be noted that there may be time intersection, (such as second preset time period is m the second preset time periods 12 o'clock sharps to 12 points 05 minute, another second preset time period is 12: 03 to assign at 12 points 08 minute), m the second preset time periods Can also in the absence of between intersection (such as second preset time period be 12 o'clock sharps to 12 points 05 minute, another second it is default when Between section be 12: 06 to assign at 12 points 11 minutes), the embodiment of the present invention is not construed as limiting this.
Step 4042a, data acquisition failure rate of each second terminal in its corresponding second preset time period is obtained.
Exemplary, 0≤i≤m, data source state determining apparatus is determining the corresponding r of i-th of second preset time periodsiIt is a After second terminal, it is also necessary to obtain this riNumber of each second terminal in i-th of second preset time periods in a second terminal According to acquisition failure rate.Data source state determining apparatus determines that the process of the data acquisition failure rate of second terminal can refer to step The process of the data acquisition failure rate of first terminal is determined in 402, this will not be repeated here for the embodiment of the present invention.
Step 4043a, according to the data acquisition failure rate of the second terminal got, the to be repaired of target data source is determined Rate a reference value.
Data source state determining apparatus is getting riIn a second terminal each second terminal i-th second it is default when Between after data acquisition failure rate in section, can be according to riIn a second terminal each second terminal i-th second it is default when Between data acquisition failure rate in section, determine riThe number of target terminal in a second terminal.It should be noted that data source shape State decision maker determines riThe process of target terminal in a second terminal can refer to step 403, and the embodiment of the present invention is herein It does not repeat them here.
Data source state determining apparatus can also be according to formula:Calculate the rate base to be repaired of target data source Quasi- value X.It is exemplary, if m=3, for obtaining the second terminal of data in target data source in first the second preset time period Number is 10, and there are 8 target terminals in 10 second terminals, second the second preset time period is interior for obtaining number of targets Second terminal number according to data on source is 9, and there are 8 target terminals, the second preset times of third in 9 second terminals Second terminal number in section for obtaining data in target data source is 6, and there are 1 target terminal in 6 second terminals, Then the data source state determining apparatus can determine the rate a reference value to be repaired
Step 4044a, probability threshold value is determined according to rate a reference value to be repaired.
Data source state determining apparatus can be according to central-limit theorem rule, eventually by determine in step 401 first The rate reference values X to be repaired determined in the number p and step 4043a at end, inputTo Obtain probability threshold value Y.
It should be noted that the formula used when calculating probability threshold valueCan also for to Other relevant formula of maintenance rate reference values X, such asThe embodiment of the present invention is not construed as limiting this.
At this, the first can be referred to relevant to the target data source in realization mode data source state determining apparatus Historical data determines the rate a reference value to be repaired of target data source, and determines the probability threshold according to the rate a reference value to be repaired Value, and then determine whether the state of target data source is state to be repaired according to the probability threshold value.If target data source sends number According to target rate to be repaired be greater than the probability threshold value, then may indicate that the degree of peeling off of the target data source is higher, the target data Source is abnormal data source, and determines that the state of target data source is state to be repaired.
In second of achievable mode, data source state determining apparatus can be based on target rate to be repaired and reference number Probability threshold value is determined according to the reference rate to be repaired that source sends data.Fig. 7 is another probability threshold value provided in an embodiment of the present invention Determine the method flow diagram of method.As shown in fig. 7, step 404 may include:
Step 4041b, the corresponding third terminal of each source of reference data in n source of reference data is determined, wherein third is whole End in the first preset time period for obtaining the data in its corresponding source of reference data, n >=1.
Data source state determining apparatus can determine n source of reference data, and determine n while executing step 401 The corresponding third terminal of each source of reference data, n >=1 in source of reference data.For example, data source state determining apparatus can determine For obtaining in this n source of reference data in the first preset time period, the t of data in j-th of source of reference datajA third is whole End (namely the corresponding t of j-th of source of reference datajA third terminal), 1≤j≤n.
Step 4042b, data acquisition failure rate of each third terminal in the first preset time period is obtained.
After determining third terminal, data source state determining apparatus is also it needs to be determined that third terminal is in first preset time Data acquisition failure rate in section.Data source state determining apparatus determines that the process of the data acquisition failure rate of third terminal can be with With reference to the process for the data acquisition failure rate for determining first terminal in step 402, this will not be repeated here for the embodiment of the present invention.
Step 4043b, it is obtained according to data of the corresponding third terminal of each source of reference data in the first preset time period Failure rate is taken, determines that each source of reference data sends the reference rate to be repaired of data in the first preset time period.
It should be noted that data source state determining apparatus determines that source of reference data sends the reference rate to be repaired of data Process can refer to step 403, and this will not be repeated here for the embodiment of the present invention.
It is exemplary, tjThe number of target terminal in a third terminal is vj, j-th of reference number in n source of reference data The reference rate to be repaired of data is sent according to source
Step 4044b, rate to be repaired is referred to according to n of target rate to be repaired and n source of reference data, determines probability Threshold value.
N in the target rate to be repaired and n source of reference data that determine target data source transmission data refers to wait tie up After repairing rate, which can also carry out four points with reference to rate to be repaired to target rate to be repaired and n Position statistics, to determine 1/4 quantile and 3/4 quantile in target rate to be repaired and n reference rate to be repaired.It needs to illustrate It is that carrying out quartile statistics with reference to rate to be repaired to target rate to be repaired and n that is to say, target rate to be repaired and n is joined It examines rate to be repaired to be ranked up according to sequence from small to large, and determines that the failure rate being arranged in front at 25% from small to large is to be somebody's turn to do 1/4 quantile, and determine that the failure rate being arranged in front at 75% from small to large is 3/4 quantile.
After determining 1/4 quantile and 3/4 quantile in target rate to be repaired and n reference rate to be repaired, data Source state determining apparatus can be by 1/4 quantile and 3/4 quantile input Y=Q3+1.5 (Q3-Q1), to obtain probability threshold value Y, wherein Q1 is 1/4 quantile, and Q3 is 3/4 quantile.It should be noted that (Q3-Q1) is in Y=Q3+1.5 (Q3-Q1) Number is 1.5, and in practical application, which can also be other numerical value (such as 1.2), and the embodiment of the present invention is not construed as limiting this.
In this second achievable mode, data source state determining apparatus can refer to the reference of other source of reference data Rate to be repaired to determine the probability threshold value, and then determines whether the state of target data source is to be repaired according to the probability threshold value State.If the target of target data source rate to be repaired is greater than the probability threshold value, the degree of peeling off of the target data source may indicate that Higher, which is abnormal data source, and determines that the state of target data source is state to be repaired.
Further, in order to improve the accuracy of the probability threshold value determined, referenced by data source state determining apparatus The type of source of reference data can be identical as the type of target data source.For example, when target data source is live video data source When, which is live video data source;When target data source is order video data source, this n reference Data source is order video data source.Optionally, the n source of reference data can in whole network data source with target data source The identical all data sources of type.
In conclusion obtaining mesh in first terminal due in data source condition judgement method provided in an embodiment of the present invention Also obtain the data acquisition failure rate of first terminal in the first preset time period of data in mark data source, that is to say this first The data acquisition failure rate of terminal be first terminal obtain data procedures in obtain, so, the data acquisition acquired Whether the validity of failure rate is higher, be sentencing for state to be repaired according to state of the data acquisition failure rate to target data source It is more accurate to determine result.
Fig. 8 is the method flow diagram of another data source condition judgement method provided in an embodiment of the present invention, the data source Condition judgement method can be used for the state in any data source in process decision chart 1, which can be used for Fig. 3 Shown in data source state determining apparatus.As shown in figure 8, the data source condition judgement method includes:
Step 801 determines in the first preset time period for obtaining p first terminal of data in target data source, p ≥1。
It should be noted that step 801 can refer to step 401, this will not be repeated here for the embodiment of the present invention.
Step 802 obtains data acquisition failure rate of each first terminal in the first preset time period.
It should be noted that step 802 can refer to step 402, this will not be repeated here for the embodiment of the present invention.
Step 803, the data acquisition failure rate according to p first terminal in the first preset time period, determine number of targets The target rate to be repaired of data is sent in first preset time period according to source.
It should be noted that step 803 can refer to step 403, this will not be repeated here for the embodiment of the present invention.
Step 804, acquisition probability threshold value.
It should be noted that step 804 can refer to step 404, this will not be repeated here for the embodiment of the present invention.
Step 805, the network insertion node for determining each first terminal connection, p first terminal connect r network altogether and connect Ingress, r >=1.
Data source state determining apparatus can also determine the net of each first terminal connection after determining p first terminal Network access node.Exemplary, data source state determining apparatus can determine each by the money pipe information in carrier network The network insertion node of one terminal connection.When first terminal is TV, data source state determining apparatus can determine first terminal The OLT of connection, namely obtain the mark of the OLT of each first terminal connection.The p first terminal is connected with r network altogether and connects Ingress.
The number of the first terminal of each network insertion node connection in r step 806, statistics network insertion node.
After the network insertion node for determining each first terminal connection, data source state determining apparatus can also be according to every The network insertion node of a first terminal connection counts first of each network insertion node connection in r network insertion node The number of terminal.
It is exemplary, it is assumed that the connection network insertion node 1 of first terminal 1, the connection network insertion node 1 of first terminal 2, first Terminal 3 connects network insertion node 2, and first terminal 4 connects network insertion node 3, and first terminal 5 connects network insertion node 3, First terminal 6 connects network insertion node 4, and first terminal 7 connects network insertion node 4, and first terminal 6 connects network insertion section Point 4.Then as shown in table 1, data source state determining apparatus can determine: network insertion node 1 is connected altogether there are two first terminal, Network insertion node 2 is connected with a first terminal altogether, and there are two first terminal, network insertions for connection altogether for network insertion node 3 There are three first terminals for connection altogether for node 4.
Table 1
Network insertion node 1 2 3 4
The first terminal quantity that network insertion node is connected 2 1 2 3
Step 807, according to each network insertion node connection first terminal number determine the first terminal from Divergence.
It is exemplary, according to the dispersion of the available first terminal of gini index formulaYkFor r The number of the first terminal of k-th of network insertion node connection in a network insertion node, 1≤k≤r.Data source state is sentenced Device is determined in determining r network insertion node after the number of the first terminal of each network insertion node connection, it can basis The number of the first terminal of each network insertion node connection, calculates the dispersion D of first terminal.
Exemplary, if p=8,8 first terminals connect four network insertion nodes altogether, in this four network insertion nodes First network insertion node (such as network insertion node 1) connection is there are two first terminal altogether, second network insertion node (such as network insertion node 2) is connected with a first terminal altogether, and third network insertion node (such as network insertion node 3) connects altogether It connecing there are two first terminal, connection is there are three first terminal altogether for the 4th network insertion node (such as network insertion node 4), then and the The dispersion of one terminal
It is again exemplary, 10 network insertion nodes if it exists, and the first terminal that is connected of each network insertion node When quantity is as shown in table 2, then the dispersion D ≈ 0.5605 for the first terminal that data source state determining apparatus obtains.
Table 2
It is again exemplary, 10 network insertion nodes if it exists, and the first terminal that is connected of each network insertion node When quantity is as shown in table 3, then the dispersion D ≈ 0.8933 for the first terminal that data source state determining apparatus obtains.
Table 3
Step 808 judges whether target data source meets default decision condition, and default decision condition includes: that target waits tieing up Rate is repaired greater than probability threshold value, and the dispersion of first terminal is greater than preset dispersion threshold value.If target data source meets default Decision condition thens follow the steps 809;If target data source is unsatisfactory for default decision condition, 801 are thened follow the steps.
After determining the dispersion of target rate to be repaired and first terminal, data source state determining apparatus be may determine that Whether target data source meets default decision condition.When target rate to be repaired is greater than probability threshold value, and the dispersion of first terminal When greater than preset dispersion threshold value, data source state determining apparatus can then determine that target data source meets default judgement item Part.It that is to say, data source state determining apparatus just can determine that mesh when determining target data source while meeting above-mentioned two condition It marks data source and meets default decision condition.Exemplary, which can be 0.8.
It should be noted that it includes: that target rate to be repaired is greater than probability that this in the embodiment of the present invention presets decision condition altogether Threshold value, and the dispersion of first terminal is greater than preset dispersion threshold value;In practical application, default decision condition may include: Target rate to be repaired is greater than probability threshold value, and the dispersion of first terminal is greater than preset dispersion threshold value and p first whole The number of connected network insertion node is held to be greater than preset number of nodes threshold value;Alternatively, default decision condition includes: target Rate to be repaired is greater than probability threshold value and the sum of first terminal is greater than preset terminal quantity threshold value;Alternatively, default determine item Part includes: that target rate to be repaired is greater than probability threshold value, and the dispersion of first terminal is greater than preset dispersion threshold value and first The sum of terminal is greater than preset terminal quantity threshold value;Alternatively, default decision condition includes: that target rate to be repaired is greater than probability threshold The dispersion of value, first terminal is greater than preset dispersion threshold value, the number for the network insertion node that p first terminal is connected It is greater than preset terminal quantity threshold value greater than the sum of preset number of nodes threshold value and first terminal.
Exemplary, which can be 3, which can be 100.
Step 809, the state for determining target data source are state to be repaired.
It should be noted that step 809 can refer to step 407, this will not be repeated here for the embodiment of the present invention.
In conclusion obtaining mesh in first terminal due in data source condition judgement method provided in an embodiment of the present invention Also obtain the data acquisition failure rate of first terminal in the first preset time period of data in mark data source, that is to say this first The data acquisition failure rate of terminal be first terminal obtain data procedures in obtain, so, the data acquisition acquired Whether the validity of failure rate is higher, be sentencing for state to be repaired according to state of the data acquisition failure rate to target data source It is more accurate to determine result.
Fig. 9 is the structural schematic diagram of another data source state determining apparatus provided in an embodiment of the present invention, such as Fig. 9 institute Show, which may include:
First determining module 901, for determining in the first preset time period for obtaining the p of data in target data source A first terminal, p >=1;
Module 902 is obtained, for obtaining data acquisition failure rate of each first terminal in the first preset time period, In, if a certain data have not been obtained in terminal in data source in the estimated acquisition time section of a certain data, then terminal, which obtains, is somebody's turn to do A certain data failure;
Second determining module 903, for being failed according to data acquisition of the p first terminal in the first preset time period Rate determines whether the state of target data source is state to be repaired.
In conclusion obtaining mesh in first terminal due in data source state determining apparatus provided in an embodiment of the present invention It marks in data source in the first preset time period of data, obtains the data acquisition failure rate that module also obtains first terminal, Be the first terminal data acquisition failure rate be first terminal obtain data procedures in obtain, so, obtain module The validity of the data acquisition failure rate acquired is higher, and the second determining module is according to the data acquisition failure rate to number of targets According to source state whether be state to be repaired judgement result it is more accurate.
Figure 10 is a kind of structural schematic diagram of second determining module provided in an embodiment of the present invention, as shown in Figure 10, second Determining module 903 may include:
First determination unit 9031, according to data acquisition failure rate of the p first terminal in the first preset time period, really The data source that sets the goal sends the target rate to be repaired of data in the first preset time period;
Acquiring unit 9032, for obtaining preset probability threshold value;
First judging unit 9033 presets decision condition for judging whether target data source meets default decision condition It include: that target rate to be repaired is greater than probability threshold value;
Second determination unit 9034, for determining target data source when target data source meets default decision condition State is state to be repaired.
Optionally, the first determination unit 9031 can be used for: according to number of the p first terminal in the first preset time period According to failure rate is obtained, the number q of target terminal in p first terminal is determined, wherein target terminal is in the first preset time period Data acquisition failure rate in duration is greater than preset probability threshold value;By the accounting of target terminal in p first terminal, as mesh Mark rate to be repaired.
Figure 11 is the structural schematic diagram of another data source state determining apparatus provided in an embodiment of the present invention, such as Figure 11 institute Show, on the basis of Fig. 8, which can also include:
Third determining module 904, for determining that the network insertion node of each first terminal connection, p first terminal are total Connect r network insertion node, r >=1;
Statistical module 905, for counting the first terminal of each network insertion node connection in r network insertion node Number;
4th determining module 906, for being determined according to the number of p and the first terminal of each network insertion node connection The dispersion of first terminal presets decision condition further include: the dispersion of first terminal is greater than dispersion threshold value.
Optionally, the default decision condition further include: for the network insertion node that the p first terminal is connected Number is greater than preset number of nodes threshold value.
Optionally, the default decision condition further include: the sum of the first terminal is greater than preset terminal quantity threshold Value.
Optionally, acquiring unit 9033 can be used for:
Determine that the corresponding second terminal of each second preset time period, second terminal are used in m the second preset time periods The data in target data source are obtained in its corresponding second preset time period, m the second preset time periods are respectively positioned on first Before preset time period, and the duration of each second preset time period is equal to the duration of the first preset time period, m >=1;
Obtain data acquisition failure rate of each second terminal in its corresponding second preset time period;
According to the data acquisition failure rate of the second terminal got, the rate a reference value to be repaired of target data source is determined;
Probability threshold value is determined according to rate a reference value to be repaired.
Optionally, acquiring unit 9033 can be used for:
Determine that the corresponding third terminal of each source of reference data in n source of reference data, third terminal are used for pre- first If obtaining the data in its corresponding source of reference data, n >=1 in the period;
Obtain data acquisition failure rate of each third terminal in the first preset time period;
According to data acquisition failure rate of the corresponding third terminal of each source of reference data in the first preset time period, really Fixed each source of reference data sends the reference rate to be repaired of data in the first preset time period;
Rate to be repaired is referred to according to n of target rate to be repaired and n source of reference data, determines probability threshold value.
Optionally, source of reference data is identical as the type of target data source.
In conclusion obtaining mesh in first terminal due in data source state determining apparatus provided in an embodiment of the present invention It marks in data source in the first preset time period of data, obtains the data acquisition failure rate that module also obtains first terminal, Be the first terminal data acquisition failure rate be first terminal obtain data procedures in obtain, so, obtain module The validity of the data acquisition failure rate acquired is higher, and the second determining module is according to the data acquisition failure rate to number of targets According to source state whether be state to be repaired judgement result it is more accurate.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product, the computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, computer Network or other programmable devices.The computer instruction can be stored in the readable storage medium storing program for executing of computer, Huo Zhecong One computer readable storage medium is transmitted to another computer readable storage medium, for example, the computer instruction can Pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line) from a web-site, computer, server or data center Or wireless (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center. The computer readable storage medium can be any usable medium that computer can access or can comprising one or more The data storage devices such as server, the data center integrated with medium.The usable medium can be magnetic medium (for example, soft Disk, hard disk, tape), optical medium or semiconductor medium (such as solid state hard disk) etc..
Data source condition judgement method embodiment provided in an embodiment of the present invention can be real with data source state determining apparatus It applies example to refer to mutually, the application is not construed as limiting this.It should be noted that embodiment of the method step provided in an embodiment of the present invention Sequencing be able to carry out appropriate adjustment, step also according to circumstances can accordingly be increased and decreased, any to be familiar with the art Technical staff within the technical scope of the present application, the method that can readily occur in variation should all cover the guarantor in the application Within the scope of shield, therefore repeat no more.
The foregoing is merely the alternative embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (17)

1. a kind of data source condition judgement method, which is characterized in that the described method includes:
It determines in the first preset time period for obtaining p first terminal of data in target data source, p >=1;
Obtain data acquisition failure rate of each first terminal in first preset time period, wherein if in data On source in the estimated acquisition time section of a certain data, a certain data are had not been obtained in terminal, then terminal obtains a certain number According to failure;
According to data acquisition failure rate of the p first terminal in first preset time period, the number of targets is determined It whether is state to be repaired according to the state in source.
2. the method according to claim 1, wherein described pre- described first according to the p first terminal If the data acquisition failure rate in the period, determine whether the state of the target data source is state to be repaired, comprising:
According to data acquisition failure rate of the p first terminal in first preset time period, the number of targets is determined According to target to be repaired rate of the source in first preset time period;
Acquisition probability threshold value;
Judge whether the target data source meets default decision condition, the default decision condition includes: that the target waits tieing up Rate is repaired greater than the probability threshold value;
When the target data source meets the default decision condition, determine that the state of the target data source is described wait tie up Repair state.
3. according to the method described in claim 2, it is characterized in that, described pre- described first according to the p first terminal If the data acquisition failure rate in the period, determine that the target data source sends data in first preset time period Target rate to be repaired, comprising:
According to data acquisition failure rate of the p first terminal in first preset time period, the p first is determined The number q of target terminal in terminal, data acquisition failure of the target terminal in the duration of first preset time period Rate is greater than preset probability threshold value;
By the accounting of target terminal described in the p first terminal, as target rate to be repaired.
4. according to the method described in claim 2, it is characterized in that, the state in the determination target data source is described Before state to be repaired, the method also includes:
Determine that the network insertion node of each first terminal connection, the p first terminal connect r network insertion section altogether Point, r >=1;
Count the number of the first terminal of each network insertion node connection in the r network insertion node;
The dispersion of the first terminal is determined according to the number of the first terminal of each network insertion node connection, it is described Default decision condition further include: the dispersion of the first terminal is greater than the dispersion threshold value.
5. according to the method described in claim 4, it is characterized in that, the default decision condition further include: the p first eventually The number of connected network insertion node is held to be greater than preset number of nodes threshold value.
6. according to any method of claim 2 to 5, which is characterized in that the default decision condition further include: described the The sum of one terminal is greater than preset terminal quantity threshold value.
7. according to the method described in claim 2, it is characterized in that, the acquisition probability threshold value, comprising:
Determine the corresponding second terminal of each second preset time period in m the second preset time periods, wherein the second terminal For obtaining the data in the target data source, the m the second preset times in its corresponding second preset time period Section is respectively positioned on before first preset time period, and the duration of each second preset time period is equal to described first in advance If the duration of period, m >=1;
Obtain data acquisition failure rate of each second terminal in its corresponding second preset time period;
According to the data acquisition failure rate of the second terminal, the rate a reference value to be repaired of the target data source is determined;
The probability threshold value is determined according to the rate a reference value to be repaired.
8. according to the method described in claim 2, it is characterized in that, the acquisition probability threshold value, comprising:
Determine the corresponding third terminal of each source of reference data in n source of reference data, the third terminal is used for described the The data in its corresponding source of reference data, n >=1 are obtained in one preset time period;
Obtain data acquisition failure rate of each third terminal in first preset time period;
According to data acquisition failure of the corresponding third terminal of each source of reference data in first preset time period Rate determines that each source of reference data sends the reference rate to be repaired of data in first preset time period;
Rate to be repaired is referred to according to n of target rate to be repaired and the n source of reference data, determines the probability threshold Value.
9. a kind of data source state determining apparatus, which is characterized in that the data source state determining apparatus includes:
First determining module, for determining in the first preset time period for obtaining p first of data in target data source Terminal, p >=1;
Module is obtained, for obtaining data acquisition failure rate of each first terminal in first preset time period, Wherein, if a certain data have not been obtained in terminal, then terminal obtains in data source in the estimated acquisition time section of a certain data Take a certain data failure;
Second determining module, for being failed according to data acquisition of the p first terminal in first preset time period Rate determines whether the state of the target data source is state to be repaired.
10. data source state determining apparatus according to claim 9, which is characterized in that second determining module includes:
First determination unit, according to data acquisition failure rate of the p first terminal in first preset time period, really The fixed target data source sends the target rate to be repaired of data in first preset time period;
Acquiring unit, for obtaining preset probability threshold value;
First judging unit, for judging whether the target data source meets default decision condition, the default decision condition It include: that target rate to be repaired is greater than the probability threshold value;
Second determination unit, for determining the target data when the target data source meets the default decision condition The state in source is the state to be repaired.
11. data source state determining apparatus according to claim 10, which is characterized in that first determination unit is used In:
According to data acquisition failure rate of the p first terminal in first preset time period, the p first is determined The number q of target terminal in terminal, wherein data acquisition of the target terminal in the duration of first preset time period Failure rate is greater than preset probability threshold value;
By the accounting of target terminal in the p first terminal, as target rate to be repaired.
12. data source state determining apparatus according to claim 10, which is characterized in that the data source state determines dress It sets further include:
Third determining module, for determining that the network insertion node of each first terminal connection, the p first terminal are total Connect r network insertion node, r >=1;
Statistical module, for counting of the first terminal of each network insertion node connection in the r network insertion node Number;
4th determining module, for determining institute according to the number of p and the first terminal of each network insertion node connection State the dispersion of first terminal, the default decision condition further include: the dispersion of the first terminal is greater than the dispersion Threshold value.
13. data source state determining apparatus according to claim 12, which is characterized in that the default decision condition also wraps Include: the number for the network insertion node that the p first terminal is connected is greater than preset number of nodes threshold value.
14. 0 to 13 any data source state determining apparatus according to claim 1, which is characterized in that the default judgement Condition further include: the sum of the first terminal is greater than preset terminal quantity threshold value.
15. data source state determining apparatus according to claim 10, which is characterized in that the acquiring unit is used for:
Determine that the corresponding second terminal of each second preset time period, the second terminal are used in m the second preset time periods The data in the target data source are obtained in its corresponding second preset time period, the m the second preset time periods are equal Before first preset time period, and the duration of each second preset time period be equal to described first it is default when Between section duration, m >=1;
Obtain data acquisition failure rate of each second terminal in its corresponding second preset time period;
According to the data acquisition failure rate of the second terminal got, the rate a reference value to be repaired of the target data source is determined;
The probability threshold value is determined according to the rate a reference value to be repaired.
16. data source state determining apparatus according to claim 10, which is characterized in that the acquiring unit is used for:
Determine the corresponding third terminal of each source of reference data in n source of reference data, the third terminal is used for described the The data in its corresponding source of reference data, n >=1 are obtained in one preset time period;
Obtain data acquisition failure rate of each third terminal in first preset time period;
According to data acquisition failure of the corresponding third terminal of each source of reference data in first preset time period Rate determines that each source of reference data sends the reference rate to be repaired of data in first preset time period;
Rate to be repaired is referred to according to n of target rate to be repaired and the n source of reference data, determines the probability threshold Value.
17. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium, When the computer readable storage medium is run on computers, so that computer is executed as described in claim 1 to 8 is any Data source condition judgement method.
CN201711053363.1A 2017-11-01 2017-11-01 Data source state determination method and device and computer readable storage medium Active CN109756384B (en)

Priority Applications (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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN109756384A true CN109756384A (en) 2019-05-14
CN109756384B CN109756384B (en) 2021-01-15

Family

ID=66397517

Family Applications (2)

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

Cited By (1)

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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420631A (en) * 2008-11-28 2009-04-29 深圳创维数字技术股份有限公司 Set-top box capable of fast detecting failure and detection apparatus thereof
CN102136962A (en) * 2010-06-23 2011-07-27 华为技术有限公司 Method, relative device and system for delimiting quality problems
CN102143375A (en) * 2010-06-23 2011-08-03 华为技术有限公司 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
US8239903B1 (en) * 2008-09-15 2012-08-07 Avaya Inc. Open cable application platform (OCAP), set-top box (STB), next generation service application
US20130019009A1 (en) * 2009-12-30 2013-01-17 Neuralitic Systems Method and system for subscriber journey analytics
CN103873274A (en) * 2012-12-12 2014-06-18 中国电信股份有限公司 End-to-end network element fault diagnosis method and device
CN104811344A (en) * 2014-01-23 2015-07-29 阿里巴巴集团控股有限公司 Network dynamic service monitoring method and apparatus
CN105323639A (en) * 2014-06-10 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for repairing STB
CN106201794A (en) * 2016-06-27 2016-12-07 北京奇虎科技有限公司 The detection method of a kind of server and device
CN106469098A (en) * 2016-09-19 2017-03-01 广州日滨科技发展有限公司 A kind of fault handling method of equipment and device
CN106789223A (en) * 2016-12-13 2017-05-31 中国联合网络通信集团有限公司 A kind of IPTV IPTV service quality determining method and system

Patent Citations (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
US20130019009A1 (en) * 2009-12-30 2013-01-17 Neuralitic Systems Method and system for subscriber journey analytics
CN102136962A (en) * 2010-06-23 2011-07-27 华为技术有限公司 Method, relative device and system for delimiting quality problems
CN102143375A (en) * 2010-06-23 2011-08-03 华为技术有限公司 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
CN103873274A (en) * 2012-12-12 2014-06-18 中国电信股份有限公司 End-to-end network element fault diagnosis method and device
CN104811344A (en) * 2014-01-23 2015-07-29 阿里巴巴集团控股有限公司 Network dynamic service monitoring method and apparatus
CN105323639A (en) * 2014-06-10 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for repairing STB
CN106201794A (en) * 2016-06-27 2016-12-07 北京奇虎科技有限公司 The detection method of a kind of server and device
CN106469098A (en) * 2016-09-19 2017-03-01 广州日滨科技发展有限公司 A kind of fault handling method of equipment and device
CN106789223A (en) * 2016-12-13 2017-05-31 中国联合网络通信集团有限公司 A kind of IPTV IPTV service quality determining method and system

Cited By (2)

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

Also Published As

Publication number Publication date
CN109756384B (en) 2021-01-15
CN112887165A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11386350B2 (en) Model parameter combination method and apparatus
CA3114631A1 (en) Hierarchical update and configuration of software for networked communication devices using multicast
US20120323623A1 (en) System and method for assigning an incident ticket to an assignee
US8667126B2 (en) Dynamic rate heartbeating for inter-node status updating
CN107943697A (en) Problem distribution method, device, system, server and computer-readable storage medium
CN106951966A (en) Device management method and system
CN106454437B (en) A kind of streaming media service rate prediction method and device
CN106412917A (en) Network expansion method and device
EP3136650A1 (en) Method and system for optimizing network parameters to improve customer satisfaction of network content
CN106851341B (en) For measuring the method and mobile terminal of network video delivery quality
US20120323640A1 (en) System and method for evaluating assignee performance of an incident ticket
CN110969560A (en) Security monitoring management platform based on big data
CN111654321B (en) Satellite network management method and device and electronic equipment
CN106713495A (en) Uploading method and apparatus, access method and apparatus, and access system of IP geographic position
CN106803967A (en) A kind for the treatment of method and apparatus of live data
CN109474450A (en) A kind of communication means, relevant device and system
CN111491002A (en) Equipment inspection method and device, inspected equipment, inspection server and system
CN111163482A (en) Data processing method, device and storage medium
WO2021027844A1 (en) Model training method and apparatus, system, prediction method, and computer readable storage medium
CN106303591A (en) A kind of video recommendation method and device
CN109756384A (en) Data source condition judgement method and device
CN109587520B (en) Method and equipment for positioning video service fault
US8908538B1 (en) Impairment discovery using automatic geographical clustering
CN104994181A (en) Method for displaying dynamic MAC address table in distributed OLT system
CN112911272B (en) IPTV group fault early warning 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
GR01 Patent grant
GR01 Patent grant