WO2024146592A1 - Poor-quality identification method and related apparatus - Google Patents

Poor-quality identification method and related apparatus Download PDF

Info

Publication number
WO2024146592A1
WO2024146592A1 PCT/CN2024/070535 CN2024070535W WO2024146592A1 WO 2024146592 A1 WO2024146592 A1 WO 2024146592A1 CN 2024070535 W CN2024070535 W CN 2024070535W WO 2024146592 A1 WO2024146592 A1 WO 2024146592A1
Authority
WO
WIPO (PCT)
Prior art keywords
quality difference
confidence
difference identification
identification result
quality
Prior art date
Application number
PCT/CN2024/070535
Other languages
French (fr)
Chinese (zh)
Inventor
李昂
蔡静宜
彭斌
王宇辰
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024146592A1 publication Critical patent/WO2024146592A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/16Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using machine learning or artificial intelligence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • the present application relates to the field of Internet application technology, and in particular to a quality difference identification method and related devices.
  • Home broadband networks are rapidly developing from digitalization to intelligence, and have expanded from providing basic services such as Internet access and voice to all aspects of users' work and life. According to reports, more than 510 million users in China use online services such as remote office, video browsing, and gaming entertainment through home broadband. Many services such as high-definition video, cloud gaming, enhanced display, and online video conferencing have high real-time requirements. Poor network connection quality or insufficient bandwidth can cause problems such as application freezes or delays, thereby affecting users' service experience. Operators need labels for home network quality to measure the network service experience on the user side and carry out corresponding services based on this. For example: increase the mining of potential customers, improve customer network security, and actively identify poor-quality users to improve user experience.
  • a collection device In order to measure the user's network quality, it is proposed to use a collection device to collect the user's application KPI data and report it in full to the computing device, which then uses a neural network model to identify whether the application used by the user has poor quality.
  • the poor quality identification result can be used as a basis for evaluating the user's network quality, so as to proactively carry out subsequent operations or bandwidth upgrades for the user.
  • an embodiment of the present application provides a method for identifying quality differences, including:
  • the first device analyzes the user's key performance indicator KPI data according to the first quality difference identification model to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result, wherein the confidence level is used to indicate the degree of accuracy represented by the edge side quality difference identification result; the first device sends the KPI data corresponding to the first confidence level in the confidence level to the second device; the first device sends the second quality difference identification result corresponding to the second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
  • KPI data contains various KPI indicators and has a large amount of data, while the data contained in the quality difference identification result obtained after analyzing the KPI data is relatively small.
  • the complexity of the KPI data corresponding to the first confidence level is higher than that of the KPI data corresponding to the second confidence level. Therefore, sending the KPI data corresponding to the first confidence level to the second device and sending the quality difference result corresponding to the second confidence level to the second device can reduce the data communication cost without affecting the accuracy of the quality difference identification result.
  • the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
  • the method before the first device analyzes the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence level corresponding to the edge side quality difference identification result, the method further includes:
  • the further step before the second device sends the first quality difference identification model to the first device, the further step includes:
  • the first quality difference identification model is sent to the first device.
  • the processing module is used to analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
  • the first quality difference recognition model and the second quality difference recognition model are obtained by training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model.
  • FIG6 is a schematic diagram of the structure of a computing device 60 provided in an embodiment of the present application.
  • Data sampling also known as data acquisition, is an interface that uses a device to collect data from outside the system and input it into the system.
  • Flow refers to encapsulated data transmitted in a layered network. For example, a one-way message flow transmitted between a source IP address and a destination IP address within a period of time. Flows are divided into two types: text flow and binary flow.
  • Passive optical network is a point-to-multipoint optical fiber transmission and access technology.
  • a PON system can include an optical line terminal (OLT), an optical distribution network (ODN) and multiple optical network units (ONUs).
  • OLT optical line terminal
  • ODN optical distribution network
  • ONUs optical network units
  • OLT is an optical line terminal, a telecommunications central office device used to connect to the network backbone and is a device for external and internal network entrances. It is placed at the central office and is used for traffic scheduling, buffer control, and providing user-oriented passive optical network interfaces and bandwidth allocation.
  • ONU is used to connect to the local area network or home users, selectively receive the broadcasts sent by the OLT, and collect and cache the data that the users need to send.
  • Passive means that the ODN does not contain any active electronic devices or electronic power supplies, and is entirely composed of passive devices such as optical splitters.
  • PON passive optical network
  • NG-PON next generation PON
  • NG-PON1 gigabit capable PON
  • GPON gigabit capable PON
  • XG-PON 10 gigabit per second PON
  • XGS-PON symmetric 10 gigabit passive optical network
  • EPON 10 gigabit per second EPON (10 gigabit per second EPON, 10G EPON)
  • NG-EPON wavelength division multiplexing
  • TWDM wavelength division stacking multiplexing
  • TWDM Vision multiplexing, TWDM) PON, point to point (point to point, P2P) WDMPON (P2P-WDMPON), asynchronous transfer mode PON (asynchronous transfer mode PON, APON), broadband PON (broadband PON, BPON), etc., as well as 25 gigabit per second PON (25G-PON), 50 gigabit per second PON (50gigabitpersecondPON, 50G-PON), 100 gigabit per second PON (100gigabitpersecondPON, 100G-PON), 25 gigabit per second EPON (25gigabitpersecondEPON, 25G-EPON), 50 gigabit per second EPON (50gigabitpersecondEPON, 50G-EPON), 100 gigabit per second EPON (100gigabitpersecondEPON, 100G-EPON), and GPON, EPON of other rates.
  • 25G-PON 25 gigabit per second PON
  • 50gigabit per second PON 50gigabit
  • the first device 102 can be a device installed on the optical line terminal OLT101, specifically, the first device 102 can be a single board.
  • the second device 103 can be located in the cloud, specifically, the second device 103 can be a server, and the server is equipped with a network performance management system, referred to as a network management system.
  • OLT101 can forward the received upstream and downstream traffic to the first device 102.
  • the upstream and downstream traffic is the user's traffic.
  • the poor quality identification method shown in Figure 1 requires that all KPI data of the application be uploaded to the cloud, the bandwidth resource requirements for data transmission are high. Using the full amount of data for poor quality identification in the cloud results in a large amount of concurrent input of the neural network model, which brings high computing cost and performance pressure.
  • the applicant found that the KPI data of some applications are normal data, which can be accurately identified using a lightweight neural network model.
  • the current poor quality identification method is basically to use a high-precision model for calculation in the cloud, so that the edge computing power cannot be fully utilized. This results in high consumption and waste of computing resources in the cloud. Therefore, under the condition of limited resources, the method shown in FIG1 cannot guarantee the accuracy of poor quality identification of users.
  • the embodiment of the present application provides a quality difference identification method and related devices.
  • the first stage quality difference identification is performed by the first device to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result.
  • the first device sends the KPI data corresponding to the first confidence in the confidence or the second quality difference identification result corresponding to the second confidence in the confidence to the second device.
  • the accuracy of the first quality difference identification result represented by the first confidence is lower than the accuracy of the second quality difference identification result represented by the second confidence, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
  • the second stage quality difference identification is performed by the second device, and the KPI data that cannot be prepared for identification is further judged, and the quality difference identification result can be finally obtained.
  • the second device can send the quality difference identification result to the operator, and the operator can carry out operation and maintenance for the quality difference user based on the quality difference identification result.
  • FIG 2 is a schematic diagram of the architecture of a quality difference identification system 10 provided in an embodiment of the present application.
  • the quality difference identification system 10 includes a second device 110, a first device 120 and a user device 130.
  • the number of devices can be 1 or more.
  • Figure 1 is for the convenience of description, taking a first device 120 and a user device 130 as an example, and the present application is also applicable to quality difference identification systems including other numbers of devices.
  • the second device 110 can train a first quality difference identification model and a second quality difference identification model, and can send the second quality difference identification model to the first device 120.
  • the first device 120 can obtain the user's key performance indicator KPI data from the data stream transmitted by itself, and analyze the KPI data according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result.
  • the confidence is used to indicate the accuracy represented by the edge side quality difference identification result. It can be understood that the higher the confidence, the higher the credibility of the edge side quality difference identification result; the lower the confidence, the lower the credibility of the edge side quality difference identification result.
  • the first device 120 can send the KPI data corresponding to the first confidence in the confidence or the second quality difference identification result corresponding to the second confidence in the confidence to the second device 110.
  • the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification results.
  • ODN122 includes feeder optical fiber, optical splitter and branch line, which are respectively composed of different passive optical devices.
  • the main passive optical devices include: single-mode optical fiber and optical cable, optical fiber ribbon and ribbon cable, optical connector, passive optical splitter, passive optical attenuator and optical fiber interface, etc.
  • the confidence level is used to indicate the accuracy of the edge-side quality difference identification result, that is, the accuracy of the quality difference identification of the KPI data can be distinguished based on the confidence level.
  • the first device can identify more than 100 different APPs in three major categories. For example, suppose that the data streams being transmitted by the first device include KPI data 1, KPI data 2, and KPI data 3. KPI data 1 is the KPI data sent by application 1 of the video playback type, KPI data 2 is the KPI data of application 2 of the live broadcast type, and KPI data 3 is the KPI data sent by application 3 of the game type. Then when the network device transmits KPI data 1, KPI data 2, and KPI data 3, it can identify application 1 as a video playback type application, application 2 as a live broadcast type application, and application 3 as a game type application based on application fingerprint recognition. After identifying the types of application 1, application 2, and application 3, the first device can determine the application types to which KPI data 1, KPI data 2, and KPI data 3 belong.
  • Step S402 The first device sends KPI data corresponding to a first confidence level in the confidence level to the second device. Alternatively, the first device sends a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device.
  • the second device counts the second quality difference identification result reported by the first device and the quality difference result in the cloud quality difference identification result, wherein the quality difference result is used to indicate that the network situation reflected by the KPI data corresponding to the quality difference result is poor.
  • the quality difference result is used to indicate that the network situation reflected by the KPI data corresponding to the quality difference result is poor.
  • the user corresponding to the poor quality result is a poor quality user.
  • Step S11 With the development of Internet technology, various terminal applications emerge in an endless stream. In order to ensure the QoS of applications, operators need to manage application traffic. Performing quality evaluation and analysis on applications to identify poor quality users is a key step for operators to manage application traffic. Therefore, the first device can collect network KPI data of different applications in each user on a user-by-user basis;
  • Step S12 The first device may average and aggregate different flows in the original KPI data according to time and application, and construct new features from the original KPI data.
  • the fields included in the processed KPI data are shown in Table 1:
  • Step S21 From the KPI data outputted in step S12, the user's OLT ID and ONT ID can be extracted through the fields resID and clientLocation, and then the KPI data of the same OLT ID and ONT ID are aggregated in a summation manner according to the time point, that is, the KPI data of different applications at the same time point are aggregated, and the aggregated data is used as the input of the next step. It can be understood that the KPI data of the same OLT ID and ONT ID can be considered as the KPI data of the same user.
  • the confidence threshold can be set by setting the "confidence threshold” field value, and the field value setting range can be 0-1; if the data reporting method is selected, the reported data ratio can be set by setting the "reporting ratio” field value, and the field value setting range can be 0-1.
  • the confidence threshold reporting is to report the original KPI number below the confidence threshold, and report the poor quality identification result above the confidence threshold.
  • Data ratio reporting is to sort the confidence in ascending order, and report the original KPI data for the first X% according to the data ratio, and report the poor quality identification results for the last 1-X%.
  • Confidence threshold reporting scenario The first device can make a judgment based on the confidence threshold set by the interface. If the confidence output by the first quality difference identification model is lower than the confidence threshold, the original KPI data corresponding to the confidence is reported; if it is higher than the confidence threshold, the edge side quality difference identification result corresponding to the confidence is reported. In this scenario, the quantity set by the first device to the second device is in dynamic change.
  • Step S51 The second device may push the poor-quality user identification result outputted in step S43 to the user-side APP, thereby supporting the operation and maintenance of poor-quality users.
  • the processes can be completed by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium.
  • the program When the program is executed, it can include the processes of the above-mentioned method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
  • the embodiment of the present application can process different recognition difficulties in stages based on the lightweight model on the edge and the high-precision model on the cloud.
  • KPI data KPI data.
  • a lightweight model is used on the edge side to perform the first stage of quality difference identification on the KPI data, perform a preliminary screening of the quality difference time, and output the quality difference identification results and confidence. Based on the confidence and the reporting method set by the data reporting interface, the low-confidence original KPI data and the high-confidence quality difference identification results are reported to the cloud.
  • a high-precision multi-neural network model is used on the cloud to perform the second stage of quality difference identification, and the KPI data that cannot be accurately identified is further judged to obtain the quality difference results.
  • FIG 6 is a schematic diagram of the structure of a computing device 60 provided in an embodiment of the present application.
  • the computing device 60 may include a processing module 601 and a communication module 602.
  • the computing device 60 is used to implement the aforementioned quality difference identification method, such as the data processing method in the embodiment shown in Figure 4 or Figure 5.
  • the computing device 60 is the first device in the aforementioned embodiment.
  • the processing module 601 is used to analyze the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result, wherein the confidence is used to indicate the accuracy represented by the edge side quality difference identification result;
  • the communication module 602 is used to send KPI data corresponding to a first confidence level among the confidence levels to a second device;
  • the computing device 60 is a device deployed on the edge side, and the second device is a device deployed on the cloud.
  • processing module 601 is further configured to:
  • the data reporting method is set through the interface, and the reporting method includes a confidence threshold and a data ratio.
  • the first confidence is less than the confidence threshold
  • the second confidence is greater than or equal to the confidence threshold
  • the first confidence is the confidence that is less than the data ratio in the confidence ranking
  • the second confidence is the confidence that is greater than or equal to the data ratio in the confidence ranking
  • the confidence ranking is the numerical value corresponding to the confidence obtained by sorting the confidences corresponding to the edge side recognition results in ascending order.
  • the communication module 602 is further configured to:
  • the first quality difference identification model is received from the second device, where the first quality difference identification model is trained by the second device.
  • the computing device 70 may be an independent device such as a server, a host, an edge device, or a device included in an independent device, such as a chip, a software module, or an integrated circuit.
  • the computing device 70 may include at least one processor 701 and at least one memory 702.
  • a communication interface 703 may also be included.
  • a connection line 704 may also be included, wherein the processor 701 and the memory 702 are connected via the connection line 704, and communicate with each other and transmit control and/or data signals via the connection line 704.
  • the communication interface 703 may include an input interface and an output interface, and the input interface and the output interface may be the same interface, or may be different interfaces.
  • the function of the communication interface 703 may be implemented by a transceiver circuit or a dedicated transceiver chip.
  • the processor 701 may be implemented by a dedicated processing chip, a processing circuit, a processor or a general-purpose chip.
  • the computing device includes at least one memory 702
  • the processor 701 implements the aforementioned quality difference identification method by calling a computer program
  • the computer program may be stored in the memory 702 .
  • the embodiment of the present application further provides a computer program product, which includes computer instructions, and the computer instructions are used to implement the aforementioned quality difference identification method, such as the method described in Figure 4 or Figure 6.
  • At least one refers to one or more, and “more” refers to two or more.
  • Items(s) or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items(s).
  • at least one item(s) of a, b, or c can be represented by: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, c can be single or plural.
  • “And/or” describes the association relationship of associated objects, indicating that three relationships can exist.
  • first and second used in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects.
  • first device and the second device are only for the convenience of description, and do not represent the difference in structure, importance, etc. between the first device and the second device.
  • the first device and the second device can also be the same device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Embodiments of the present application provide a poor-quality identification method and a related apparatus. The method comprises: a first apparatus analyzes key performance indicator (KPI) data of a user according to a first poor-quality identification model, so as to obtain an edge side poor-quality identification result and a confidence level corresponding to the edge side poor-quality identification result, wherein the confidence level is used for indicating the accuracy represented by the edge side poor-quality identification result; and the first apparatus may send to a second apparatus KPI data corresponding to a first confidence level in the confidence level, and may also send to the second apparatus a second poor-quality identification result corresponding to a second confidence level in the confidence level, wherein the accuracy of the first poor-quality identification result represented by the first confidence level is lower than the accuracy of the second poor-quality identification result represented by the second confidence level, and the first poor-quality identification result and the second poor-quality identification result belong to the edge side poor-quality identification result. By using the embodiments of the present application, a transmission bandwidth can be reduced without affecting the accuracy of poor-quality identification, and the communication cost is reduced.

Description

质差识别方法及相关装置Poor quality identification method and related device
本申请要求于2023年01月05日提交中国国家知识产权局、申请号为202310011197.8、申请名称为“质差识别方法及相关装置”的中国专利申请的优先权,以及要求于2023年03月21日提交中国国家知识产权局、申请号为202310283247.8、申请名称为“质差识别方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of China on January 5, 2023, with application number 202310011197.8 and application name “Quality Difference Identification Method and Related Device”, and claims the priority of the Chinese patent application filed with the State Intellectual Property Office of China on March 21, 2023, with application number 202310283247.8 and application name “Quality Difference Identification Method and Related Device”, the entire contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及互联网应用技术领域,尤其涉及一种质差识别方法及相关装置。The present application relates to the field of Internet application technology, and in particular to a quality difference identification method and related devices.
背景技术Background technique
家庭宽带网络从数字化到智能化快速发展,从提供上网、语音等基础业务扩展到用户工作和生活的方方面面。根据报告显示,中国有超过5.1亿用户通过家庭宽带使用远程办公、视频浏览、游戏娱乐等网上服务。很多业务例如高清视频、云游戏、增强显示、在线视频会议等会实时性要求高,网络连接质量差或带宽不足等原因都会导致应用产生卡顿或时延等问题,从而影响用户的业务体验。运营商需要面向家庭网络质量的标签来衡量用户侧的网络业务体验,并且基于此来开展相应业务。例如:增加潜在客户的挖掘,提升客户的用网保障,以及主动识别质差用户来提高用户体验。Home broadband networks are rapidly developing from digitalization to intelligence, and have expanded from providing basic services such as Internet access and voice to all aspects of users' work and life. According to reports, more than 510 million users in China use online services such as remote office, video browsing, and gaming entertainment through home broadband. Many services such as high-definition video, cloud gaming, enhanced display, and online video conferencing have high real-time requirements. Poor network connection quality or insufficient bandwidth can cause problems such as application freezes or delays, thereby affecting users' service experience. Operators need labels for home network quality to measure the network service experience on the user side and carry out corresponding services based on this. For example: increase the mining of potential customers, improve customer network security, and actively identify poor-quality users to improve user experience.
为了衡量用户的网络质量,提出了使用采集装置采集用户的应用KPI数据,并将其全量上报给计算装置,然后计算装置使用神经网络模型识别用户使用的应用是否存在质差。质差识别结果可以作为用户网络质量评估的依据,从而对用户主动开展后续的运维或带宽升级等业务。In order to measure the user's network quality, it is proposed to use a collection device to collect the user's application KPI data and report it in full to the computing device, which then uses a neural network model to identify whether the application used by the user has poor quality. The poor quality identification result can be used as a basis for evaluating the user's network quality, so as to proactively carry out subsequent operations or bandwidth upgrades for the user.
但是,用户的应用KPI数据量大,在质差识别时,将KPI数据全量上报给计算装置来计算,会导致数据通信和计算成本高,性能压力大,无法有效支撑运营商开展相应业务。However, the amount of user application KPI data is large. When identifying poor quality, reporting all KPI data to the computing device for calculation will lead to high data communication and computing costs, high performance pressure, and cannot effectively support operators in carrying out corresponding businesses.
发明内容Summary of the invention
本申请实施例提供一种质差识别方法及相关装置,能够在不影响质差识别准确率的基础上降低传输带宽,减少通信成本。The embodiments of the present application provide a quality difference identification method and related devices, which can reduce the transmission bandwidth and communication costs without affecting the accuracy of quality difference identification.
第一方面,本申请实施例提供了一种质差识别方法,包括:In a first aspect, an embodiment of the present application provides a method for identifying quality differences, including:
第一装置根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,其中,所述置信度用于表明所述边缘侧质差识别结果所代表的准确程度;所述第一装置向第二装置发送所述置信度中第一置信度对应的KPI数据;所述第一装置向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。The first device analyzes the user's key performance indicator KPI data according to the first quality difference identification model to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result, wherein the confidence level is used to indicate the degree of accuracy represented by the edge side quality difference identification result; the first device sends the KPI data corresponding to the first confidence level in the confidence level to the second device; the first device sends the second quality difference identification result corresponding to the second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
容易理解的是,KPI数据包含各种KPI指标,数据量较大,而对KPI数据进行分析后得到的质差识别结果所包含的数据比较小。而第一置信度所对应的KPI数据的复杂程度高于第二置信度对应的KPI数据,所以向第二装置发送第一置信度对应的KPI数据,向第二装置发送第二置信度对应的质差结果,可以在不影响质差识别结果准确率的情况下,减少数据通信成本。It is easy to understand that KPI data contains various KPI indicators and has a large amount of data, while the data contained in the quality difference identification result obtained after analyzing the KPI data is relatively small. The complexity of the KPI data corresponding to the first confidence level is higher than that of the KPI data corresponding to the second confidence level. Therefore, sending the KPI data corresponding to the first confidence level to the second device and sending the quality difference result corresponding to the second confidence level to the second device can reduce the data communication cost without affecting the accuracy of the quality difference identification result.
在第一方面的一种可能的实施方式中,本申请实施例可以应用于云-边-端协同系统中,云-边-端协同系统中包括云端、边缘侧装置和终端,上述第一装置为部署在边缘侧的装置,上述的第二装置为部署在云端的装置。对于边缘侧的装置来说,也具有计算能力,可以利用边缘侧的算力进行一些不太复杂的计算,从而降低传输带宽。在云端资源受限的情况下,可以降低云端计算资源的消耗。In a possible implementation of the first aspect, the embodiment of the present application can be applied to a cloud-edge-end collaborative system, which includes a cloud, an edge-side device and a terminal, wherein the first device is a device deployed on the edge side, and the second device is a device deployed on the cloud. For the edge-side device, which also has computing power, it can use the computing power of the edge side to perform some less complex calculations, thereby reducing the transmission bandwidth. When cloud resources are limited, the consumption of cloud computing resources can be reduced.
在第一方面的一种可能的实施方式中,所述第一装置向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果之前,还包括:In a possible implementation manner of the first aspect, before the first device sends a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device, the method further includes:
所述第一装置通过接口设置数据的上报方式,所述上报方式包括置信度阈值和数据比例。The first device sets a data reporting method through an interface, and the reporting method includes a confidence threshold and a data ratio.
可以看出,本申请可以提供两种数据上报方式,因此可以根据实际应用通过接口来设置上报方式,设置方式灵活且可更改。 It can be seen that the present application can provide two data reporting methods, so the reporting method can be set through the interface according to the actual application, and the setting method is flexible and changeable.
在第一方面的一种可能的实施方式中,所述上报方式为所述置信度阈值的情况下,所述第一置信度小于所述置信度阈值,所述第二置信度大于或等于所述置信度阈值。In a possible implementation of the first aspect, when the reporting method is the confidence threshold, the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
可以看出,置信度阈值的上报方式可以使得上报的数据量处于动态变化中,不会存在低置信度数据漏报情况,可以保证质差识别的准确程度。It can be seen that the reporting method of the confidence threshold can make the amount of reported data change dynamically, and there will be no underreporting of low-confidence data, which can ensure the accuracy of poor quality identification.
在第一方面的一种可能的实施方式中,所述上报方式为所述数据比例的情况下,所述第一置信度为置信度排序中小于所述数据比例的置信度,所述第二置信度为所述置信度排序中大于或等于所述数据比例的置信度,所述置信度排序为将所述边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值。In a possible implementation of the first aspect, when the reporting method is the data ratio, the first confidence is a confidence that is less than the data ratio in the confidence ranking, the second confidence is a confidence that is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is a numerical value corresponding to the confidence obtained by sorting the confidences corresponding to the edge side recognition results in ascending order.
可以看出,数据比例的上报方式可以保证上报的数据量的恒定,使得第二装置可以接收到足够数量的数据量。It can be seen that the data ratio reporting method can ensure the constancy of the reported data volume, so that the second device can receive a sufficient amount of data.
在第一方面的一种可能的实施方式中,所述第一装置根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度之前,还包括:In a possible implementation manner of the first aspect, before the first device analyzes the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence level corresponding to the edge side quality difference identification result, the method further includes:
所述第一装置接收来自所述第二装置的所述第一质差识别模型,所述第一质差识别模型为所述第二装置训练得到的。The first device receives the first quality difference identification model from the second device, where the first quality difference identification model is trained by the second device.
可以看出,由于第一装置的计算资源有限,所以对于模型的训练可以在别的装置上进行,只需在第一装置上部署该训练好的模型即可。这样,可以充分利用第一装置的计算资源进行质差识别。It can be seen that, since the computing resources of the first device are limited, the model training can be performed on other devices, and only the trained model needs to be deployed on the first device. In this way, the computing resources of the first device can be fully utilized for quality difference identification.
第二方面,本申请实施例提供的一种质差识别方法,包括:In a second aspect, an embodiment of the present application provides a method for identifying quality differences, including:
第二装置接收来自第一装置的第一置信度对应的KPI数据;所述第二装置接收来自所述第一装置的第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的第二质差识别结果的准确度;The second device receives KPI data corresponding to the first confidence level from the first device; the second device receives a second quality difference identification result corresponding to the second confidence level from the first device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level;
所述第二装置根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;The second device analyzes the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
所述第二装置根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。The second device obtains the quality difference identification result of the user according to the second quality difference identification result and the cloud quality difference identification result.
在第二方面的一种可能的实施方式中,所述第一装置为部署在边缘侧的装置,所述第二装置为部署在云端的装置。In a possible implementation of the second aspect, the first device is a device deployed on an edge side, and the second device is a device deployed on a cloud side.
在第二方面的一种可能的实施方式中,所述第一置信度小于置信度阈值,所述第二置信度大于或等于所述置信度阈值,其中,所述置信度阈值为所述第一装置设置的上报方式。In a possible implementation of the second aspect, the first confidence is less than a confidence threshold, and the second confidence is greater than or equal to the confidence threshold, wherein the confidence threshold is a reporting method set by the first device.
在第二方面的一种可能的实施方式中,所述第一置信度为置信度排序中小于数据比例的,所述第二置信度为所述置信度排序中大于或等于所述数据比例的,所述置信度排序为将置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值,其中,所述置信度为所述第一装置根据第一质差识别模型对用户的KPI数据进行分析后得到的边缘侧质差识别结果所对应的置信度,所述数据比例为所述第一装置设置的上报方式。In a possible implementation of the second aspect, the first confidence is less than the data ratio in the confidence ranking, the second confidence is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is a numerical value corresponding to the confidence obtained by sorting the confidences in ascending order, wherein the confidence is the confidence corresponding to the edge-side quality difference identification result obtained after the first device analyzes the user's KPI data according to the first quality difference identification model, and the data ratio is the reporting method set by the first device.
在第二方面的一种可能的实施方式中,所述第二装置根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果,包括:In a possible implementation manner of the second aspect, the second device obtains a quality difference identification result of the user according to the second quality difference identification result and the cloud quality difference identification result, including:
所述第二装置统计所述第二质差识别结果和所述云端质差识别结果中的质差结果,所述质差结果用于表明所述质差结果所对应的KPI数据所反映的网络情况差;The second device counts the quality difference results in the second quality difference identification result and the cloud quality difference identification result, and the quality difference results are used to indicate that the network situation reflected by the KPI data corresponding to the quality difference results is poor;
在所述质差结果的数量大于预设阈值的情况下,所述质差结果所对应的用户为质差用户。When the number of the poor quality results is greater than a preset threshold, the users corresponding to the poor quality results are poor quality users.
在第二方面的一种可能的实施方式中,所述第二装置向所述第一装置发送第一质差识别模型之前,还包括:In a possible implementation manner of the second aspect, before the second device sends the first quality difference identification model to the first device, the further step includes:
所述第二装置根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型,其中,所述第一质差识别模型的识别精度低于所述第二质差识别模型的识别精度。The second device obtains the first quality difference recognition model and the second quality difference recognition model through training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model.
在第二方面的一种可能的实施方式中,所述第二装置根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型之后,还包括:In a possible implementation manner of the second aspect, after the second device obtains the first quality difference identification model and the second quality difference identification model through training according to historical KPI data, the second device further includes:
所述第二装置向所述第一装置发送所述第一质差识别模型,其中,所述第一装置用于根据所述第一质差识别模型得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,所述置信度用于表明所述边缘侧质差结果所代表的准确程度,所述置信度包括所述第一置信度和所述第二置信度。The second device sends the first quality difference identification model to the first device, wherein the first device is used to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result according to the first quality difference identification model, and the confidence is used to indicate the accuracy represented by the edge side quality difference result, and the confidence includes the first confidence and the second confidence.
第三方面,本申请实施例提供了一种质差识别系统,该质差识别系统包括第一装置和第二装置,其中,第一装置用于执行前述第一方面任一项所描述的方法,第二装置用于执行前述第二方面任一项所描述的方法。 In a third aspect, an embodiment of the present application provides a quality difference identification system, which includes a first device and a second device, wherein the first device is used to execute the method described in any one of the first aspects, and the second device is used to execute the method described in any one of the second aspects.
在第三方面的一种可能的实施方式中,第一装置,用于:In a possible implementation manner of the third aspect, the first device is used to:
根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,其中,所述置信度用于表明所述边缘侧质差识别结果所代表的准确程度;Analyzing the user's key performance indicator KPI data according to the first quality difference identification model to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result, wherein the confidence level is used to indicate the accuracy represented by the edge side quality difference identification result;
向第二装置发送所述置信度中第一置信度对应的KPI数据;Sending KPI data corresponding to a first confidence level among the confidence levels to a second device;
向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果;Sending a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge-side quality difference identification result;
所述第二装置,用于:The second device is used for:
接收来自第一装置的第一置信度对应的KPI数据;Receiving KPI data corresponding to a first confidence level from a first device;
接收来自所述第一装置的第二置信度对应的第二质差识别结果;receiving a second quality difference identification result corresponding to a second confidence level from the first device;
根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;Analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。A quality difference identification result for the user is obtained according to the second quality difference identification result and the cloud quality difference identification result.
在第三方面的又一种可能的实施方式中,所述第一装置为部署在边缘侧的装置,所述第二装置为部署在云端的装置。In another possible implementation of the third aspect, the first device is a device deployed on an edge side, and the second device is a device deployed on a cloud side.
在第三方面的又一种可能的实施方式中,所述第一装置还用于:通过接口设置数据的上报方式,所述上报方式包括置信度阈值和数据比例。In another possible implementation of the third aspect, the first device is further used to: set a data reporting method through an interface, where the reporting method includes a confidence threshold and a data ratio.
在第三方面的又一种可能的实施方式中,所述上报方式为所述置信度阈值的情况下,所述第一置信度小于所述置信度阈值,所述第二置信度大于或等于所述置信度阈值。In another possible implementation of the third aspect, when the reporting method is the confidence threshold, the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
在第三方面的又一种可能的实施方式中,所述上报方式为所述数据比例的情况下,所述第一置信度为置信度排序中小于所述数据比例的置信度,所述第二置信度为所述置信度排序中大于或等于所述数据比例的置信度,所述置信度排序为将所述边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值。In another possible implementation of the third aspect, when the reporting method is the data ratio, the first confidence is a confidence that is less than the data ratio in the confidence ranking, the second confidence is a confidence that is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is a numerical value corresponding to the confidence obtained by sorting the confidences corresponding to the edge side recognition results in ascending order.
在第三方面的又一种可能的实施方式中,所述第二装置还用于:In yet another possible implementation manner of the third aspect, the second device is further used for:
根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型,其中,所述第一质差识别模型的识别精度低于所述第二质差识别模型的识别精度;The first quality difference recognition model and the second quality difference recognition model are obtained by training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model;
向所述第一装置发送所述第一质差识别模型。The first quality difference identification model is sent to the first device.
在第三方面的又一种可能的实施方式中,所述第二装置还用于:In yet another possible implementation manner of the third aspect, the second device is further used for:
统计所述第二质差识别结果和所述云端质差识别结果中的质差结果,所述质差结果用于表明所述质差结果所对应的KPI数据所反映的网络情况差;Counting the quality difference results in the second quality difference identification result and the cloud quality difference identification result, wherein the quality difference results are used to indicate that the network situation reflected by the KPI data corresponding to the quality difference results is poor;
在所述质差结果的数量大于预设阈值的情况下,所述质差结果所对应的用户为质差用户。When the number of the poor quality results is greater than a preset threshold, the users corresponding to the poor quality results are poor quality users.
第四方面,本申请实施例提供的一种计算装置,所述计算装置包括处理模块和通信模块,其中,In a fourth aspect, an embodiment of the present application provides a computing device, the computing device comprising a processing module and a communication module, wherein:
所述处理模块,用于根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,其中,所述置信度用于表明所述边缘侧质差识别结果所代表的准确程度;The processing module is used to analyze the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result, wherein the confidence is used to indicate the accuracy represented by the edge side quality difference identification result;
所述通信模块,用于向第二装置发送所述置信度中第一置信度对应的KPI数据;The communication module is used to send KPI data corresponding to a first confidence level among the confidence levels to the second device;
所述通信模块,还用于向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。The communication module is also used to send a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
在第四方面的又一种可能的实施方式中,所述计算装置为部署在边缘侧的装置,所述第二装置为部署在云端的装置。In another possible implementation of the fourth aspect, the computing device is a device deployed on an edge side, and the second device is a device deployed on a cloud side.
在第四方面的又一种可能的实施方式中,所述处理模块,还用于:In yet another possible implementation manner of the fourth aspect, the processing module is further used to:
通过接口设置数据的上报方式,所述上报方式包括置信度阈值和数据比例。The data reporting method is set through the interface, and the reporting method includes a confidence threshold and a data ratio.
在第四方面的又一种可能的实施方式中,所述上报方式为所述置信度阈值的情况下,所述第一置信度小于所述置信度阈值,所述第二置信度大于或等于所述置信度阈值。In another possible implementation of the fourth aspect, when the reporting method is the confidence threshold, the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
在第四方面的又一种可能的实施方式中,所述上报方式为所述数据比例的情况下,所述第一置信度为置信度排序中小于所述数据比例的置信度,所述第二置信度为所述置信度排序中大于或等于所述数据比例的置信度,所述置信度排序为将所述边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到 的置信度所对应的数值。In another possible implementation of the fourth aspect, when the reporting method is the data ratio, the first confidence is a confidence that is less than the data ratio in the confidence ranking, the second confidence is a confidence that is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is obtained by sorting the confidences corresponding to the edge side recognition results in order from small to large. The value corresponding to the confidence level.
在第四方面的又一种可能的实施方式中,所述通信模块,还用于:In yet another possible implementation of the fourth aspect, the communication module is further used to:
接收来自所述第二装置的所述第一质差识别模型,所述第一质差识别模型为所述第二装置训练得到的。所述计算装置包括处理模块和通信模块,其中,The first quality difference recognition model is received from the second device, where the first quality difference recognition model is obtained by training the second device. The computing device includes a processing module and a communication module, wherein:
所述通信模块,用于接收来自第一装置的第一置信度对应的KPI数据;The communication module is used to receive KPI data corresponding to the first confidence level from the first device;
所述通信模块,还用于接收来自所述第一装置的第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的第二质差识别结果的准确度;The communication module is further configured to receive a second quality difference identification result corresponding to a second confidence level from the first device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level;
所述处理模块,用于根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;The processing module is used to analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
所述处理模块,还用于根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。The processing module is further used to obtain the user's quality difference identification result according to the second quality difference identification result and the cloud quality difference identification result.
第五方面,本申请实施例提供的一种计算装置,所述计算装置包括处理模块和通信模块,其中,In a fifth aspect, an embodiment of the present application provides a computing device, the computing device comprising a processing module and a communication module, wherein:
所述通信模块,用于接收来自第一装置的第一置信度对应的KPI数据;The communication module is used to receive KPI data corresponding to the first confidence level from the first device;
所述通信模块,还用于接收来自所述第一装置的第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的第二质差识别结果的准确度;The communication module is further configured to receive a second quality difference identification result corresponding to a second confidence level from the first device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level;
所述处理模块,用于根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;The processing module is used to analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
所述处理模块,还用于根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。The processing module is further used to obtain the user's quality difference identification result according to the second quality difference identification result and the cloud quality difference identification result.
在第五方面的又一种可能的实施方式中,所述第一装置为部署在边缘侧的装置,所述计算装置为部署在云端的装置。In another possible implementation of the fifth aspect, the first device is a device deployed on the edge side, and the computing device is a device deployed on the cloud.
在第五方面的又一种可能的实施方式中,所述第一置信度小于置信度阈值,所述第二置信度大于或等于所述置信度阈值,其中,所述置信度阈值为所述第一装置设置的上报方式。In another possible implementation of the fifth aspect, the first confidence is less than a confidence threshold, and the second confidence is greater than or equal to the confidence threshold, wherein the confidence threshold is a reporting method set by the first device.
在第五方面的又一种可能的实施方式中,所述第一置信度为置信度排序中小于数据比例的,所述第二置信度为所述置信度排序中大于或等于所述数据比例的,所述置信度排序为将置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值,其中,所述置信度为所述第一装置根据第一质差识别模型对用户的KPI数据进行分析后得到的边缘侧质差识别结果所对应的置信度,所述数据比例为所述第一装置设置的上报方式。In another possible implementation of the fifth aspect, the first confidence is less than the data ratio in the confidence ranking, the second confidence is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is a numerical value corresponding to the confidence obtained by sorting the confidences in ascending order, wherein the confidence is the confidence corresponding to the edge-side quality difference identification result obtained after the first device analyzes the user's KPI data according to the first quality difference identification model, and the data ratio is the reporting method set by the first device.
在第五方面的又一种可能的实施方式中,所述处理模块,具体用于:In yet another possible implementation manner of the fifth aspect, the processing module is specifically configured to:
统计所述第二质差识别结果和所述云端质差识别结果中的质差结果,所述质差结果用于表明所述质差结果所对应的KPI数据所反映的网络情况差;Counting the quality difference results in the second quality difference identification result and the cloud quality difference identification result, wherein the quality difference results are used to indicate that the network situation reflected by the KPI data corresponding to the quality difference results is poor;
在所述质差结果的数量大于预设阈值的情况下,所述质差结果所对应的用户为质差用户。When the number of the poor quality results is greater than a preset threshold, the users corresponding to the poor quality results are poor quality users.
在第五方面的又一种可能的实施方式中,所述处理模块,还用于:In yet another possible implementation manner of the fifth aspect, the processing module is further used to:
根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型,其中,所述第一质差识别模型的识别精度低于所述第二质差识别模型的识别精度。The first quality difference recognition model and the second quality difference recognition model are obtained by training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model.
在第五方面的又一种可能的实施方式中,所述通信模块,还用于:In yet another possible implementation of the fifth aspect, the communication module is further used to:
向所述第一装置发送所述第一质差识别模型,其中,所述第一装置用于根据所述第一质差识别模型得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,所述置信度用于表明所述边缘侧质差结果所代表的准确程度,所述置信度包括所述第一置信度和所述第二置信度。The first quality difference identification model is sent to the first device, wherein the first device is used to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result according to the first quality difference identification model, the confidence level is used to indicate the accuracy represented by the edge side quality difference result, and the confidence level includes the first confidence level and the second confidence level.
第六方面,本申请实施例提供一种计算设备,该计算设备包括处理器和存储器;所述处理器用于执行存储器中存储的指令,以使得所述计算设备实现前述第一方面任一项所描述的方法,或者第二方面任一项所描述的方法。In a sixth aspect, an embodiment of the present application provides a computing device, comprising a processor and a memory; the processor is used to execute instructions stored in the memory so that the computing device implements the method described in any one of the first aspect or the method described in any one of the second aspect.
可选的,所述计算设备还包括通信接口,所述通信接口用于接收和/或发送数据,和/或,所述通信接口用于为所述处理器提供输入和/或输出。Optionally, the computing device further comprises a communication interface, wherein the communication interface is used to receive and/or send data, and/or the communication interface is used to provide input and/or output for the processor.
需要说明的是,上述实施例是以通过调用计算机指定来执行方法的处理器(或称通用处理器)为例进行说明。具体实施过程中,处理器还可以是专用处理器,此时计算机指令已经预先加载在处理器中。可选的,处理器还可以既包括专用处理器也包括通用处理器。It should be noted that the above embodiment is described by taking a processor (or general-purpose processor) that executes the method by calling a computer specification as an example. In the specific implementation process, the processor can also be a dedicated processor, in which case the computer instructions have been pre-loaded in the processor. Optionally, the processor can also include both a dedicated processor and a general-purpose processor.
可选的,处理器和存储器还可能集成于一个器件中,即处理器和存储器还可以被集成在一起。Optionally, the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.
第七方面,本申请实施例还提供一种计算设备集群,该计算设备集群包含至少一个计算设备,每个计算设备包括处理器和存储器; In a seventh aspect, an embodiment of the present application further provides a computing device cluster, the computing device cluster comprising at least one computing device, each computing device comprising a processor and a memory;
所述至少一个计算设备的处理器用于执行所述至少一个计算设备的存储器中存储的指令,以使得所述计算设备集群执行第一方面任一项所述的方法,或者第二方面任一项所描述的方法。The processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method described in any one of the first aspect or the method described in any one of the second aspect.
第八方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在至少一个处理器上运行时,实现前述第一方面任一项所描述的方法,或者第二方面任一项所描述的方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on at least one processor, the method described in any one of the first aspect or the method described in any one of the second aspect is implemented.
第九方面,本申请提供了一种计算机程序产品,计算机程序产品包括计算机指令,当所述指令在至少一个处理器上运行时,实现前述第一方面任一项所描述的方法,或者第二方面任一项所描述的方法。In a ninth aspect, the present application provides a computer program product, which includes computer instructions. When the instructions are executed on at least one processor, the method described in any one of the first aspect or the method described in any one of the second aspect is implemented.
可选的,该计算机程序产品可以为一个软件安装包或镜像包,在需要使用前述方法的情况下,可以下载该计算机程序产品并在计算设备上执行该计算机程序产品。Optionally, the computer program product may be a software installation package or an image package. When the aforementioned method is required, the computer program product may be downloaded and executed on a computing device.
本申请第二至第九方面所提供的技术方案,其有益效果可以参考第一方面的技术方案的有益效果,此处不再赘述。The beneficial effects of the technical solutions provided in the second to ninth aspects of the present application can refer to the beneficial effects of the technical solution of the first aspect, and will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
以下对本申请实施例用到的附图进行介绍。The following is an introduction to the drawings used in the embodiments of the present application.
图1是本申请实施例提供的一种在云端进行质差识别的示意图;FIG1 is a schematic diagram of quality difference identification in the cloud provided by an embodiment of the present application;
图2是本申请实施例提供的一种质差识别系统10的架构示意图;FIG. 2 is a schematic diagram of the architecture of a quality difference identification system 10 provided in an embodiment of the present application;
图3是本申请实施例提供的一种应用于无源光纤网络的质差识别系统20的架构示意图;FIG3 is a schematic diagram of the architecture of a quality difference identification system 20 applied to a passive optical fiber network provided in an embodiment of the present application;
图4是本申请实施例提供的一种可能的质差识别方法的流程示意图;FIG4 is a schematic diagram of a possible quality difference identification method provided in an embodiment of the present application;
图5是本申请实施例提供的又一种质差识别方法的流程示意图;FIG5 is a flow chart of another quality difference identification method provided in an embodiment of the present application;
图6是本申请实施例提供的一种计算装置60的结构示意图;FIG6 is a schematic diagram of the structure of a computing device 60 provided in an embodiment of the present application;
图7所示为本申请实施例提供的一种计算设备70的结构示意图。FIG. 7 is a schematic diagram showing the structure of a computing device 70 provided in an embodiment of the present application.
具体实施方式Detailed ways
下面结合本发明实施例中的附图对本发明实施例进行描述。需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。The embodiments of the present invention are described below in conjunction with the drawings in the embodiments of the present invention. It should be noted that in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs, and the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
为了便于理解,以下示例地给出了部分与本申请实施例相关概念的说明以供参考,如下所示:For ease of understanding, the following examples provide some concepts related to the embodiments of the present application for reference, as shown below:
1.数据采集(data sampling),又称数据获取,它是利用一种装置,从系统外部采集数据并输入到系统内部的一个接口。1. Data sampling, also known as data acquisition, is an interface that uses a device to collect data from outside the system and input it into the system.
2.质差(low quality),指网络质量差,包括播放卡顿、上传速度慢、下载速度慢、等等。质差用户是指在使用移动通信网络服务时,由于网络质量问题或其他因素对服务体验不满的而用户。2. Low quality refers to poor network quality, including playback freezes, slow upload speeds, slow download speeds, etc. Low-quality users refer to users who are dissatisfied with the service experience when using mobile communication network services due to network quality issues or other factors.
3.神经网络(neural network),由神经单元组成,神经单元可以是指xs和截距b为输入的运算单元,该运算单元的输出可以为:
3. Neural network, composed of neural units, which can refer to a computing unit with x s and intercept b as input, and the output of the computing unit can be:
其中,s=1、2、……n,n为大于1的自然数,ws为xs的权重,b为神经单元的偏置。f为神经单元的激活函数(activation functions),用于将非线性特性引入神经网络中,来将神经单元中的输入信号转换为输出信号。该激活函数的输出信号可以作为下一层卷积层的输入。激活函数可以是sigmoid函数。神经网络是将许多个上述单一的神经单元联结在一起形成的网络,即一个神经单元的输出可以是另一个神经单元的输入。每个神经单元的输入可以与前一层的局部接受域相连,来提取局部接受域的特征,局部接受域可以是由若干个神经单元组成的区域。Where s=1, 2, ...n, n is a natural number greater than 1, ws is the weight of xs , and b is the bias of the neural unit. f is the activation function of the neural unit, which is used to introduce nonlinear characteristics into the neural network to convert the input signal in the neural unit into the output signal. The output signal of the activation function can be used as the input of the next convolutional layer. The activation function can be a sigmoid function. A neural network is a network formed by connecting many of the above-mentioned single neural units together, that is, the output of one neural unit can be the input of another neural unit. The input of each neural unit can be connected to the local receptive field of the previous layer to extract the characteristics of the local receptive field. The local receptive field can be an area composed of several neural units.
4.全连接层(fully connected layer),是指每一个节点都与上一层的所有节点相连的神经网络层。全连接网络是指对n-1层和n层而言,n-1层的任意一个节点(又称为神经元),都和n层的所有节点有连接。4. A fully connected layer is a neural network layer in which every node is connected to all nodes in the previous layer. A fully connected network means that for both n-1 and n layers, any node (also called a neuron) in the n-1 layer is connected to all nodes in the n layer.
5.流(flow),指分层的网络中传输的经过封装的数据。比如说在一段时间内,一个源IP地址好目标IP地址之间传输的单向报文流,流分为两种类型,文本流和二进制流。5. Flow refers to encapsulated data transmitted in a layered network. For example, a one-way message flow transmitted between a source IP address and a destination IP address within a period of time. Flows are divided into two types: text flow and binary flow.
6.无源光网络(passive optical network,PON),是一种点到多点的光纤传输和接入技术。PON系统可以包括光线路终端(optical line terminal,OLT)、光分配网络(optical distribution network ODN)和多个光网络单元(optical network unit,ONU)。 6. Passive optical network (PON) is a point-to-multipoint optical fiber transmission and access technology. A PON system can include an optical line terminal (OLT), an optical distribution network (ODN) and multiple optical network units (ONUs).
OLT是光线路终端,是电信的局端设备,用于连接网络主干,是外网入口和内网入口的一个设备。放置在局端,用于流量调度、缓冲区控制,以及提供面向用户的无源光纤网络接口和分配带宽。OLT is an optical line terminal, a telecommunications central office device used to connect to the network backbone and is a device for external and internal network entrances. It is placed at the central office and is used for traffic scheduling, buffer control, and providing user-oriented passive optical network interfaces and bandwidth allocation.
ONU用于连接区域网或家庭用户,对OLT发送的广播进行选择性接收,对用户需要发送的数据进行收集和缓存。ONU is used to connect to the local area network or home users, selectively receive the broadcasts sent by the OLT, and collect and cache the data that the users need to send.
所谓“无源”,是指ODN中不含有任何有源电子器件及电子电源,全部由光分路器(splitter)等无源器件组成。The so-called "passive" means that the ODN does not contain any active electronic devices or electronic power supplies, and is entirely composed of passive devices such as optical splitters.
本申请实施例的技术方案,可以应用于各种无源光网络(passive optical network,PON)系统,例如,下一代PON(nextgenerationPON,NG-PON)、NG-PON1、NG-PON2、千兆比特PON(gigabitcapablePON,GPON)、10吉比特每秒PON(10gigabitpersecondPON,XG-PON)、对称10吉比特无源光网络(10gigabitcapablesymmetricpassiveopticalnetwork,XGS-PON)、以太网PON(EthernetPON,EPON)、10吉比特每秒EPON(10gigabitpersecondEPON,10GEPON)、下一代EPON(nextgenerationEPON,NG-EPON)、波分复用(wavelengthdivisionmultiplexing,WDM)PON、时分波分堆叠复用(timeandwavelengthdivisionmultiplexing,TWDM)PON、点对点(pointtopoint,P2P)WDMPON(P2P-WDMPON)、异步传输模式PON(asynchronoustransfermodePON,APON)、宽带PON(broadbandPON,BPON),等等,以及25吉比特每秒PON(25gigabitpersecondPON,25G-PON)、50吉比特每秒PON(50gigabitpersecondPON,50G-PON)、100吉比特每秒PON(100gigabitpersecondPON,100G-PON)、25吉比特每秒EPON(25gigabitpersecondEPON,25G-EPON)、50吉比特每秒EPON(50gigabitpersecondEPON,50G-EPON)、100吉比特每秒EPON(100gigabitpersecondEPON,100G-EPON),以及其他速率的GPON、EPON等。The technical solution of the embodiments of the present application can be applied to various passive optical network (PON) systems, for example, next generation PON (NG-PON), NG-PON1, NG-PON2, gigabit capable PON (GPON), 10 gigabit per second PON (XG-PON), symmetric 10 gigabit passive optical network (XGS-PON), Ethernet PON (EPON), 10 gigabit per second EPON (10 gigabit per second EPON, 10G EPON), next generation EPON (NG-EPON), wavelength division multiplexing (WDM) PON, time and wavelength division stacking multiplexing (TWDM) PON, and other systems. Vision multiplexing, TWDM) PON, point to point (point to point, P2P) WDMPON (P2P-WDMPON), asynchronous transfer mode PON (asynchronous transfer mode PON, APON), broadband PON (broadband PON, BPON), etc., as well as 25 gigabit per second PON (25G-PON), 50 gigabit per second PON (50gigabitpersecondPON, 50G-PON), 100 gigabit per second PON (100gigabitpersecondPON, 100G-PON), 25 gigabit per second EPON (25gigabitpersecondEPON, 25G-EPON), 50 gigabit per second EPON (50gigabitpersecondEPON, 50G-EPON), 100 gigabit per second EPON (100gigabitpersecondEPON, 100G-EPON), and GPON, EPON of other rates.
请参见图1,图1是本申请实施例提供的一种在云端进行质差识别的示意图。其中,第一装置102可以是安装在光线路终端OLT101上的装置,具体地,第一装置102可以是单板。第二装置103可以位于云端,具体地,第二装置103可以是服务器,该服务器上搭载有网络性能管理系统,简称网管系统。从图1可以看出,OLT101可以将接收到的上下行流量转发给第一装置102。其中,上下行流量是用户的流量。第一装置102可以按照PON口的粒度来过滤上下行流量,从而对上下行流量进行过滤得到过滤后的上下行流量。位于云端上的第二装置103可以设置采样频率,并将采样频率向第一装置102发送。第一装置102可以根据采样频率对过滤后的上下行流量进行采样,然后对采样后的上下行流程进行应用识别后,进行应用KPI分析得到KPI数据,第一装置102向位于云端的第二装置103发送KPI数据,第二装置103可以使用神经网络模型基于深度学习算法对KPI数据进行质差识别,确定质差用户。Please refer to Figure 1, which is a schematic diagram of quality difference identification in the cloud provided by an embodiment of the present application. Among them, the first device 102 can be a device installed on the optical line terminal OLT101, specifically, the first device 102 can be a single board. The second device 103 can be located in the cloud, specifically, the second device 103 can be a server, and the server is equipped with a network performance management system, referred to as a network management system. As can be seen from Figure 1, OLT101 can forward the received upstream and downstream traffic to the first device 102. Among them, the upstream and downstream traffic is the user's traffic. The first device 102 can filter the upstream and downstream traffic according to the granularity of the PON port, thereby filtering the upstream and downstream traffic to obtain the filtered upstream and downstream traffic. The second device 103 located in the cloud can set the sampling frequency and send the sampling frequency to the first device 102. The first device 102 can sample the filtered uplink and downlink traffic according to the sampling frequency, and then perform application identification on the sampled uplink and downlink processes, and then perform application KPI analysis to obtain KPI data. The first device 102 sends the KPI data to the second device 103 located in the cloud. The second device 103 can use a neural network model to identify quality differences of the KPI data based on a deep learning algorithm to determine poor quality users.
容易理解的是,由网络质量问题导致的质差用户,对网络服务的满意度会降低,且可能存在投诉、转网等行为。质差用户群体流失概率高,但也是可以进行挖掘的潜在客户。运营商一般是通过携带有家庭网络质量的标签数据来挖掘潜在客户,提升客户的体验,以及识别质差用户从而降低投诉率。但是,上述业务开展的前提是保证质差识别的准确率。从图1可以看出,当前的质差识别方法是第一装置全量上报每个应用的KPI数据,然后在云端使用深度学习算法来进行质差识别,得到质差结果。由于图1所示的质差识别方法需要将应用的KPI数据都上传到云端,对数据传输的带宽资源需求高。在云端使用进行全量数据的质差识别,导致神经网络模型的输入并发量大,带来高计算成本和性能压力。本申请人发现,部分应用的KPI数据属于正常数据,使用轻量化的神经网络模型可以准确识别。但是目前的质差识别方法基本上是在云端利用高精度的模型进行计算,这样就无法充分利用边缘侧算力。从而导致云端的计算资源消耗高、浪费大。因此,在资源受限的情况下,图1所示的方法无法保证对用户的质差识别准确率。It is easy to understand that users with poor quality caused by network quality problems will have lower satisfaction with network services, and may complain, switch networks, and so on. The probability of loss of poor quality user groups is high, but they are also potential customers that can be mined. Operators generally mine potential customers by carrying label data with home network quality, improving customer experience, and identifying poor quality users to reduce the complaint rate. However, the premise of the above business is to ensure the accuracy of poor quality identification. As can be seen from Figure 1, the current poor quality identification method is that the first device reports the KPI data of each application in full, and then uses a deep learning algorithm in the cloud to perform poor quality identification to obtain poor quality results. Since the poor quality identification method shown in Figure 1 requires that all KPI data of the application be uploaded to the cloud, the bandwidth resource requirements for data transmission are high. Using the full amount of data for poor quality identification in the cloud results in a large amount of concurrent input of the neural network model, which brings high computing cost and performance pressure. The applicant found that the KPI data of some applications are normal data, which can be accurately identified using a lightweight neural network model. However, the current poor quality identification method is basically to use a high-precision model for calculation in the cloud, so that the edge computing power cannot be fully utilized. This results in high consumption and waste of computing resources in the cloud. Therefore, under the condition of limited resources, the method shown in FIG1 cannot guarantee the accuracy of poor quality identification of users.
本申请实施例提供了一种质差识别方法及相关装置。首先通过第一装置进行第一阶段质差识别,得到边缘侧质差识别结果和边缘侧质差识别结果所对应的置信度。然后第一装置向第二装置发送置信度中第一置信度对应的KPI数据或者置信度中第二置信度对应的第二质差识别结果。其中,第一置信度所代表的第一质差识别结果的准确度低于第二置信度所代表的所述第二质差识别结果的准确度,第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。再然后,通过第二装置进行第二阶段质差识别,对无法准备识别的KPI数据进一步判断,最终可以得到质差识别结果。第二装置可以将质差识别结果向运营商发送,运营商可以基于质差识别结果对质差用户开展运维。通过第一装置和第二装置来协同进行质差识别,可以减少数据通信和计算成本,从而在不影响质差识别准确率的基础上,达到降低带宽和计算资源需求的效果。 The embodiment of the present application provides a quality difference identification method and related devices. First, the first stage quality difference identification is performed by the first device to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result. Then the first device sends the KPI data corresponding to the first confidence in the confidence or the second quality difference identification result corresponding to the second confidence in the confidence to the second device. Among them, the accuracy of the first quality difference identification result represented by the first confidence is lower than the accuracy of the second quality difference identification result represented by the second confidence, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result. Then, the second stage quality difference identification is performed by the second device, and the KPI data that cannot be prepared for identification is further judged, and the quality difference identification result can be finally obtained. The second device can send the quality difference identification result to the operator, and the operator can carry out operation and maintenance for the quality difference user based on the quality difference identification result. By coordinating the quality difference identification by the first device and the second device, the data communication and computing costs can be reduced, thereby achieving the effect of reducing the bandwidth and computing resource requirements without affecting the accuracy of the quality difference identification.
下面对本申请实施例应用的系统架构进行介绍。需要说明的是,本申请描述的系统架构及业务场景是为了更加清楚的说明本申请的技术方案,并不构成对于本申请提供到的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请提供的技术方案对于类似的技术问题,同样适用。The following is an introduction to the system architecture of the embodiment of the present application. It should be noted that the system architecture and business scenarios described in this application are intended to more clearly illustrate the technical solution of this application, and do not constitute a limitation on the technical solution provided by this application. It is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by this application is also applicable to similar technical problems.
请参见图2,图2是本申请实施例提供的一种质差识别系统10的架构示意图。该质差识别系统10包括第二装置110、第一装置120和用户设备130。其中,设备的数量可以是1个,也可以是多个。图1是为了方便描述,以一个第一装置120和一个用户设备130为例,本申请对于包含其他数量的设备的质差识别系统也同样适用。Please refer to Figure 2, which is a schematic diagram of the architecture of a quality difference identification system 10 provided in an embodiment of the present application. The quality difference identification system 10 includes a second device 110, a first device 120 and a user device 130. Among them, the number of devices can be 1 or more. Figure 1 is for the convenience of description, taking a first device 120 and a user device 130 as an example, and the present application is also applicable to quality difference identification systems including other numbers of devices.
第二装置110,可以是云端,云端也称为服务端、云平台,是具有计算能力和通信能力的设备。其通常集中了较多的计算资源,这些计算资源可以包含实体设备,也可以包含虚拟设备。例如,第二装置110可以部署于一个或者多个服务器(例如刀片式服务器、机架式服务器等)中。再如,云端可以包含一个或者多个虚拟机、容器等。第二装置110可以为第一装置120提供多种资源,如计算资源、游戏资源、直播资源和点播资源等。第二装置110还可以为用户设备130提供多种服务,如质差识别结果,等等。The second device 110 can be a cloud, which is also called a server or a cloud platform, and is a device with computing and communication capabilities. It usually concentrates more computing resources, which can include physical devices or virtual devices. For example, the second device 110 can be deployed in one or more servers (such as blade servers, rack servers, etc.). For another example, the cloud can include one or more virtual machines, containers, etc. The second device 110 can provide a variety of resources for the first device 120, such as computing resources, game resources, live broadcast resources, and on-demand resources. The second device 110 can also provide a variety of services for the user device 130, such as quality difference identification results, etc.
第一装置120是具有计算能力和/或通信能力的设备。作为一种可能的方式,第一装置120可以是边缘设备(edge device)。边缘是提供网络入口点的设备,例如:设备可以包含路由器、路由交换机、集成接入设备(integrated access device,IAD)、多路复用器、城域网(metropolitan area network,MAN)接入设备或广域网(wide area network,WAN)接入设备等中的一项或者多项。The first device 120 is a device with computing and/or communication capabilities. As a possible approach, the first device 120 may be an edge device. The edge is a device that provides a network entry point, for example, the device may include one or more of a router, a routing switch, an integrated access device (IAD), a multiplexer, a metropolitan area network (MAN) access device, or a wide area network (WAN) access device.
用户设备130是具有计算能力和/或通信能力的设备,可以是运营商所使用的设备。作为一种可能的方式,用户设备130通常作为输入和/或输出设备,可以应用于多种应用场景,例如本申请实施例中的设备可以应用于多种应用场景中,例如以下应用场景:智能楼宇、移动互联网、车联网、工业控制、无人驾驶、运输安全、物联网(internet of things,IoT)、智慧城市、或智慧家庭等。例如,设备包含但不限于计算机、手持设备(例如平板、或手机等)、可穿戴设备(智能眼睛、或智能手表等)、传感器(例如相机、激光雷达、或毫米波雷达等)、家居设备(智能电视、智能冰箱、或智能安防设备等)、娱乐设备(点歌设备、虚拟现实设备、或游戏机等)、移动工具(车辆、飞机、船舶、或无人机等)等。The user device 130 is a device with computing and/or communication capabilities, and may be a device used by an operator. As a possible approach, the user device 130 is generally used as an input and/or output device, and may be applied to a variety of application scenarios. For example, the device in the embodiment of the present application may be applied to a variety of application scenarios, such as the following application scenarios: smart buildings, mobile Internet, Internet of Vehicles, industrial control, unmanned driving, transportation safety, Internet of Things (IoT), smart cities, or smart homes, etc. For example, the device includes but is not limited to computers, handheld devices (such as tablets, or mobile phones, etc.), wearable devices (smart glasses, or smart watches, etc.), sensors (such as cameras, laser radars, or millimeter wave radars, etc.), home appliances (smart TVs, smart refrigerators, or smart security equipment, etc.), entertainment equipment (song request equipment, virtual reality equipment, or game consoles, etc.), mobile tools (vehicles, aircraft, ships, or drones, etc.), etc.
本申请实施例中,第二装置110可以训练得到第一质差识别模型和第二质差识别模型,可以向第一装置120发送第二质差识别模型。第一装置120可以从自身所传输的数据流中获取到用户的关键表现指标KPI数据,并根据第一质差识别模型对KPI数据进行分析,得到边缘侧质差识别结果和边缘侧质差识别结果对应的置信度。其中,置信度用于表明边缘侧质差识别结果所代表的准确程度。可以理解的是,置信度越高,说明边缘侧质差识别结果的可信度较高;置信度越低,说明边缘侧质差识别结果的可信度较低。因此,第一装置120可以向第二装置110发送置信度中第一置信度对应的KPI数据或者置信度中第二置信度对应的第二质差识别结果。其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。In an embodiment of the present application, the second device 110 can train a first quality difference identification model and a second quality difference identification model, and can send the second quality difference identification model to the first device 120. The first device 120 can obtain the user's key performance indicator KPI data from the data stream transmitted by itself, and analyze the KPI data according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result. Among them, the confidence is used to indicate the accuracy represented by the edge side quality difference identification result. It can be understood that the higher the confidence, the higher the credibility of the edge side quality difference identification result; the lower the confidence, the lower the credibility of the edge side quality difference identification result. Therefore, the first device 120 can send the KPI data corresponding to the first confidence in the confidence or the second quality difference identification result corresponding to the second confidence in the confidence to the second device 110. Among them, the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification results.
第二装置110接收到来自第一装置的第一置信度对应的KPI数据或者第二置信度对应的第二质差识别结果后,第二装置110可以根据第二质差识别模型对第一置信度对应的KPI数据进行分析,得到云端质差识别结果。然后,第二装置110可以根据第二质差识别结果和云端质差识别结果得到用户的质差识别结果。最后第二装置110可以将质差识别结果向用户设备130发送,运营商可以基于质差识别结果对质差用户进行运维。After the second device 110 receives the KPI data corresponding to the first confidence level or the second quality difference identification result corresponding to the second confidence level from the first device, the second device 110 can analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain the cloud quality difference identification result. Then, the second device 110 can obtain the user's quality difference identification result according to the second quality difference identification result and the cloud quality difference identification result. Finally, the second device 110 can send the quality difference identification result to the user equipment 130, and the operator can perform operation and maintenance on the poor quality user based on the quality difference identification result.
在本申请实施例中,通过结合边缘侧的计算能力和云端侧的计算能力来分阶段处理不同识别难度的KPI数据,在不影响质差识别准确率的基础上奖励传输带宽和云端计算资源需求,从而减少资源浪费。In an embodiment of the present application, the computing power of the edge side and the computing power of the cloud side are combined to process KPI data of different recognition difficulties in stages, and the transmission bandwidth and cloud computing resource requirements are rewarded without affecting the accuracy of quality difference recognition, thereby reducing resource waste.
请参见图3,图3是本申请实施例提供的一种应用于无源光纤网络的质差识别系统20的架构示意图。如图3所示,质差识别系统20包括至少一个OLT121、至少一个ODN122、多个ONU123和云端110。其中,OLT121是运营商端设备,可以是图2所示的第一装置,为质差识别系统20提供网络侧接口,通过ODN122为用户侧分配上层业务的网络数据。ONU123是用户端设备,可以是图2所示的用户设备,为质差识别系统20提供用户侧接口,与ODN122相连用于接收OLT121发送的数据。ODN122是由光纤和无源分光器件组成的网络,用于连接OLT121设备和ONU123设备,用于分发或复用OLT121和ONU123之间的数据信号。云端110搭载有智能管控平台,可以是图2所示的第二装置,智能管理平台对接收到的数据进行处理和分析,并将分析得到的结果推送给用户端APP,支持运营商开展业务。 Please refer to Figure 3, which is a schematic diagram of the architecture of a quality difference identification system 20 applied to a passive optical network provided in an embodiment of the present application. As shown in Figure 3, the quality difference identification system 20 includes at least one OLT121, at least one ODN122, multiple ONU123 and a cloud 110. Among them, OLT121 is an operator-side device, which can be the first device shown in Figure 2, providing a network-side interface for the quality difference identification system 20, and allocating network data of upper-layer services to the user side through ODN122. ONU123 is a user-side device, which can be the user device shown in Figure 2, providing a user-side interface for the quality difference identification system 20, and connected to ODN122 for receiving data sent by OLT121. ODN122 is a network composed of optical fibers and passive optical splitters, used to connect OLT121 devices and ONU123 devices, and used to distribute or multiplex data signals between OLT121 and ONU123. The cloud 110 is equipped with an intelligent management and control platform, which may be the second device shown in FIG. 2 . The intelligent management platform processes and analyzes the received data, and pushes the analysis results to the user-side APP to support the operator in conducting business.
ODN122包括馈线光纤、光分路器和支线,它们分别由不同的无源光器件组成,主要的无源光器件包括:单模光纤和光缆、光纤带和带状光缆、光连接器、无源光分支器、无源光衰减器和光纤接口,等。ODN122 includes feeder optical fiber, optical splitter and branch line, which are respectively composed of different passive optical devices. The main passive optical devices include: single-mode optical fiber and optical cable, optical fiber ribbon and ribbon cable, optical connector, passive optical splitter, passive optical attenuator and optical fiber interface, etc.
在质差识别系统20中,从OLT121到ONU123的方向定义为下行方向,而从ONU123到OLT121的方向定义为上行方向。在下行方向,OLT121采用时分复用(time division multiplexing,TDM)方式将下行数据广播给该OLT121管理的多个ONU123,各个ONU123只接受携带自身标识的数据。而在上行方向,多个ONU123采用时分多址(time division multiplexing,TMDA)方式与OLT121进行通信。每个ONU123按照OLT121为其分配的时域资源发送上行数据。采用上述机制,OLT121发送的下行光信号为连续光信号,而ONU123发送的上行光信号为突发光信号。In the quality difference identification system 20, the direction from OLT121 to ONU123 is defined as the downstream direction, and the direction from ONU123 to OLT121 is defined as the upstream direction. In the downstream direction, OLT121 uses time division multiplexing (TDM) to broadcast downstream data to multiple ONU123 managed by the OLT121, and each ONU123 only accepts data carrying its own identification. In the upstream direction, multiple ONU123 use time division multiple access (TMDA) to communicate with OLT121. Each ONU123 sends upstream data according to the time domain resources allocated to it by OLT121. Using the above mechanism, the downstream optical signal sent by OLT121 is a continuous optical signal, and the upstream optical signal sent by ONU123 is a burst optical signal.
该OLT121通常位于中心局(central office,CO),可以统一管理至少一个ONU123,并在ONU123与上层网络之间传输数据。具体来说,该OLT121可以充当ONU123与上层网络(比如说因特网、公共交换电路网络)之间的媒介,将从上层网络接收到的数据转发到ONU123,以及将从ONU123接收到的数据转发到该上层网络。该OLT121的具体配置可能会因该PON系统的具体类型而异,比如,在一种实施例中,该OLT121可以包括发射机和接收机,该发射机用于向ONU123发送下行连续光信号,该接收机用于接收来自ONU123的上行突发光信号,其中该下行光信号和上行光信号可以通过该ODN122进行传输,但本申请实施例不限于此。The OLT 121 is usually located in a central office (CO), and can centrally manage at least one ONU 123 and transmit data between the ONU 123 and the upper network. Specifically, the OLT 121 can act as a medium between the ONU 123 and the upper network (such as the Internet, the public switched circuit network), forwarding the data received from the upper network to the ONU 123, and forwarding the data received from the ONU 123 to the upper network. The specific configuration of the OLT 121 may vary depending on the specific type of the PON system. For example, in one embodiment, the OLT 121 may include a transmitter and a receiver, the transmitter is used to send a downstream continuous optical signal to the ONU 123, and the receiver is used to receive an upstream burst optical signal from the ONU 123, wherein the downstream optical signal and the upstream optical signal can be transmitted through the ODN 122, but the embodiment of the present application is not limited thereto.
该OLT121可以包括通信管理(transportation management,TM)模块、媒体接入控制(media access control,MAC)模块,和中央处理器(central processing unit,CPU),等。该TM模块、MAC模块和CPU等可以集成在第一装置上,第一装置具体可以是单板或者芯片,例如系统级系统(system on chip,SOC)芯片等。单板可以实时的采集OLT121下挂的各个ONU123的KPI数据。The OLT 121 may include a transportation management (TM) module, a media access control (MAC) module, and a central processing unit (CPU), etc. The TM module, MAC module, and CPU, etc. may be integrated on a first device, which may specifically be a single board or a chip, such as a system-on-chip (SOC) chip, etc. The single board may collect KPI data of each ONU 123 attached to the OLT 121 in real time.
该ONU123可以分布式地设置在用户侧位置(比如用户驻地)。该ONU123可以为用于与OLT121和用户进行通信的网络设备,具体而言,该ONU123可以充当OLT121与用户之间的媒介,例如,ONU123可以将从该OLT121接收到的数据转发给用户,以及将从该用户接收到的数据转发到OLT121。如果ONU123具体直接提供用户端口的功能,则称为光网络终端(optical network terminal,ONT)。在一种可能的实现中,ONU123包括家庭网关单元(single family unit,SFU)。该SFU所连接的用户设备包括:个人计算机(personal computer,PC)、交互式网络电视(internet protocol television,IPTV)和/或固定电话。在另一种可能的实现中,ONU123包括多住户单元(multi-dwelling unit,MDU)。该MDU通过超高速数字用户线路(very high bit rate digital subscriber loop,VDSL)技术与用户设备通信。该MDU所连接的用户设备包括:PC、IPTV和/或固定电话。在另一种可能的实现中,ONU123包括单个商业用户单元(single business unit,SBU)。该SBU所连接的用户设备包括:PC和/或固定电话。在另一种可能的实现中,ONU123包括基站单元分光器(cell base unit,CBU)。该CBU所连接的用户设备包括基站(base station)。基站通过该CBU传输互联网信息和/或语音信息。需要说明的是,前述ONU123还可以包括其他类型的单元或模块,本申请实施例对此不作限定。The ONU123 can be distributedly arranged at the user side location (such as the user's premises). The ONU123 can be a network device for communicating with the OLT121 and the user. Specifically, the ONU123 can act as a medium between the OLT121 and the user. For example, the ONU123 can forward the data received from the OLT121 to the user, and forward the data received from the user to the OLT121. If the ONU123 specifically and directly provides the function of the user port, it is called an optical network terminal (ONT). In one possible implementation, the ONU123 includes a single family unit (SFU). The user devices connected to the SFU include: a personal computer (PC), an interactive network television (IPTV) and/or a fixed telephone. In another possible implementation, the ONU123 includes a multi-dwelling unit (MDU). The MDU communicates with user equipment via very high bit rate digital subscriber loop (VDSL) technology. The user equipment connected to the MDU includes: PC, IPTV and/or landline telephone. In another possible implementation, ONU123 includes a single business unit (SBU). The user equipment connected to the SBU includes: PC and/or landline telephone. In another possible implementation, ONU123 includes a base station unit splitter (cell base unit, CBU). The user equipment connected to the CBU includes a base station. The base station transmits Internet information and/or voice information through the CBU. It should be noted that the aforementioned ONU123 may also include other types of units or modules, which are not limited in the embodiments of the present application.
该ODN122可以是一个数据分发网络,可以包括光纤、光耦合器、分光器或其他设备。在一种可能的实现中,该光纤、光耦合器、分光器或其他设备可以是无源器件,具体来说,该光纤、光耦合器、分光器或其他设备可以是在OLT121和ONU123之间分发数据信号时不需要电源支持的器件。具体来说,以光分路器(splitter)为例,该分光器可以通过主干光纤连接到OLT121,并分别通过多个分支光纤连接到多个ONU123,从而实现OLT121和ONU123之间的点到多点连接。在另一种可能的实现中,该ODN122还可以包括一个或多个处理设备,例如光放大器或者中继设备(relay device)。另外,ODN 122具体可以从OLT 121延伸到多个ONU 123,但也可以配置成其他任何点到多点的结构,本发明实施例不限于此。The ODN 122 may be a data distribution network, and may include optical fibers, optical couplers, optical splitters or other devices. In one possible implementation, the optical fibers, optical couplers, optical splitters or other devices may be passive devices. Specifically, the optical fibers, optical couplers, optical splitters or other devices may be devices that do not require power support when distributing data signals between the OLT 121 and the ONU 123. Specifically, taking an optical splitter as an example, the optical splitter may be connected to the OLT 121 via a trunk optical fiber, and connected to multiple ONUs 123 via multiple branch optical fibers, respectively, thereby realizing a point-to-multipoint connection between the OLT 121 and the ONU 123. In another possible implementation, the ODN 122 may also include one or more processing devices, such as an optical amplifier or a relay device. In addition, the ODN 122 may specifically extend from the OLT 121 to multiple ONUs 123, but may also be configured into any other point-to-multipoint structure, and the embodiments of the present invention are not limited thereto.
在一种可能的实施方式中,OLT121中的单板采集到家庭用户中不同管理应用(application,APP)的KPI数据后,首先在单板上设置轻量化的质差识别模型,比如说第一质差识别模型,单板可以根据第一质差识别模型对用户的KPI数据进行第一阶段质差识别,得到边缘侧质差识别结果和边缘侧质差识别结果所对应的置信度。其中,置信度用于表明边缘侧质差识别结果所代表的准确程度。可以理解的是,置信度越高,说明边缘侧质差识别结果的可信度较高;置信度越低,说明边缘侧质差识别结果的可信度较低。In one possible implementation, after the single board in OLT121 collects the KPI data of different management applications (applications, APPs) of home users, a lightweight quality difference identification model is first set on the single board, such as the first quality difference identification model. The single board can perform the first stage quality difference identification on the user's KPI data according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence level corresponding to the edge side quality difference identification result. Among them, the confidence level is used to indicate the accuracy represented by the edge side quality difference identification result. It can be understood that the higher the confidence level, the higher the credibility of the edge side quality difference identification result; the lower the confidence level, the lower the credibility of the edge side quality difference identification result.
在另一种可能的实施方式中,单板可以通过接口设置数据的上报方式和数量,对于高置信度(比如说置信度中的第二置信度)的边缘侧质差识别结果,单板可以直接向云端110发送第二置信度对应的第二质差识别结果。对于低置信度(比如说置信度中的第一置信度)的边缘侧质差识别结果,单板可以向云端110发送第一置信度对应的KPI数据。其中,第一置信度所代表的第一质差识别结果的准确度低于第二置信度所代表的第二质差识别结果的准确度,第一质差识别结果和第二质差识别结果属于边缘侧质差识别结果。 In another possible implementation, the single board can set the reporting method and quantity of data through the interface. For edge-side quality difference recognition results with high confidence (for example, the second confidence in the confidence), the single board can directly send the second quality difference recognition result corresponding to the second confidence to the cloud 110. For edge-side quality difference recognition results with low confidence (for example, the first confidence in the confidence), the single board can send KPI data corresponding to the first confidence to the cloud 110. Among them, the accuracy of the first quality difference recognition result represented by the first confidence is lower than the accuracy of the second quality difference recognition result represented by the second confidence, and the first quality difference recognition result and the second quality difference recognition result belong to edge-side quality difference recognition results.
云端110接收到OLT121的单板上报的数据后,可以利用高精度的神经网络模型(比如说第二质差识别模型)进行第二阶段质差识别,对OLT121侧无法准确识别的数据进一步判断,输出质差识别结果。After receiving the data reported by the single board of OLT121, the cloud 110 can use a high-precision neural network model (such as a second quality difference identification model) to perform a second stage of quality difference identification, further judge the data that cannot be accurately identified by the OLT121 side, and output the quality difference identification result.
运营商可以在智能管控平台的用户端APP上获取质差识别结果,根据质差识别结果来开展质差用户运维业务。通过协同云边的方式可以充分利用边缘侧算力,减少数据通信和云端计算成本,从而实现在不影响质差识别准确率的基础上,达到降低带宽和计算资源需求的效果。Operators can obtain the quality difference identification results on the user-side APP of the intelligent management and control platform, and carry out the quality difference user operation and maintenance services based on the quality difference identification results. The collaborative cloud-edge approach can fully utilize the edge computing power and reduce the data communication and cloud computing costs, thereby achieving the effect of reducing bandwidth and computing resource requirements without affecting the accuracy of quality difference identification.
请参见图4,图4是本申请实施例提供的一种可能的质差识别方法的流程示意图。可选的,该质差识别方法可以应用于图2或图4所示的质差识别系统。Please refer to Figure 4, which is a flow chart of a possible quality difference identification method provided in an embodiment of the present application. Optionally, the quality difference identification method can be applied to the quality difference identification system shown in Figure 2 or Figure 4.
上述质差识别方法包含步骤S401至步骤S404中的一个或者多个步骤。应理解,本申请为了方便描述,故通过S401至S404这一顺序进行描述,并不旨在限定一定通过上述顺序进行执行。本申请实施例对于上述一个或多个步骤的执行的先后顺序、执行的时间、执行的次数等不做限定。S401至步骤S404具体如下:The above-mentioned quality difference identification method includes one or more steps from step S401 to step S404. It should be understood that for the convenience of description, this application is described in the order of S401 to S404, and is not intended to limit the execution to the above order. The embodiment of the present application does not limit the execution order, execution time, execution number, etc. of the above-mentioned one or more steps. S401 to step S404 are as follows:
步骤S401:第一装置根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和边缘侧质差识别结果所对应的置信度。Step S401: The first device analyzes the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence level corresponding to the edge side quality difference identification result.
其中,置信度用于表明边缘侧质差识别结果所代表的准确程度,也即基于置信度可以区分对KPI数据的质差识别的准确程度。The confidence level is used to indicate the accuracy of the edge-side quality difference identification result, that is, the accuracy of the quality difference identification of the KPI data can be distinguished based on the confidence level.
在一种可能的实现中,第一装置为部署在边缘侧的装置,第二装置为部署在云端的装置。第一质差识别模型是轻量化的神经网络模型,对于计算量较小的数据,第一装置通过第一质差识别模型,在较小的计算量下可以得到较为准确的识别结果。但是,对于计算量较大的数据,通过第一质差识别模型可能得不到较为准确的识别结果。可以理解的是,置信度较高,该置信度所对应的边缘侧质差识别结果所代表的准确程度较高;置信度较低,该置信度所对应的边缘侧质差识别结果所代表的准确程度较低。In one possible implementation, the first device is a device deployed on the edge side, and the second device is a device deployed on the cloud. The first quality difference recognition model is a lightweight neural network model. For data with a small amount of calculation, the first device can obtain a more accurate recognition result with a smaller amount of calculation through the first quality difference recognition model. However, for data with a large amount of calculation, a more accurate recognition result may not be obtained through the first quality difference recognition model. It can be understood that the higher the confidence level, the higher the accuracy represented by the edge-side quality difference recognition result corresponding to the confidence level; the lower the confidence level, the lower the accuracy represented by the edge-side quality difference recognition result corresponding to the confidence level.
在一种可能的实现中,第一装置可以是安装在OLT上的单板。第一装置可以提供包括但不限于以下类型的数据:应用指纹识别;OLT ID和ONT ID;网络KPI指标,等等。In one possible implementation, the first device may be a board installed on the OLT. The first device may provide data including but not limited to the following types: application fingerprint identification; OLT ID and ONT ID; network KPI indicators, etc.
其中,应用指纹识别用于分辨用户当前使用的APP种类,第一装置可以识别是三个大类超过100种不同APP。举例来说,假设第一装置正在传输的数据流有KPI数据1、KPI数据2和KPI数据3。KPI数据1为视频播放类型的应用1发送的KPI数据,KPI数据2为直播类型的应用2方的KPI数据,KPI数据3为游戏类型的应用3发送的KPI数据。那么网络设备在传输KPI数据1、KPI数据2和KPI数据3时,根据应用指纹识别可以识别出应用1为视频播放类型的应用,应用2为直播类型的应用,应用3为游戏类型的应用。在识别出应用1、应用2和应用3的类型后,第一装置可以确定KPI数据1、KPI数据2和KPI数据3所属的应用类型。Among them, application fingerprint recognition is used to distinguish the type of APP currently used by the user. The first device can identify more than 100 different APPs in three major categories. For example, suppose that the data streams being transmitted by the first device include KPI data 1, KPI data 2, and KPI data 3. KPI data 1 is the KPI data sent by application 1 of the video playback type, KPI data 2 is the KPI data of application 2 of the live broadcast type, and KPI data 3 is the KPI data sent by application 3 of the game type. Then when the network device transmits KPI data 1, KPI data 2, and KPI data 3, it can identify application 1 as a video playback type application, application 2 as a live broadcast type application, and application 3 as a game type application based on application fingerprint recognition. After identifying the types of application 1, application 2, and application 3, the first device can determine the application types to which KPI data 1, KPI data 2, and KPI data 3 belong.
OLT ID和ONT ID,可以用于确定KPI数据的来源。可以理解的是,第一装置传输的数据流中有KPI数据,KPI数据携带有OLT ID和ONT ID。而OLT是运营商的无源光网络的局端设备,OLT的单板上设置有多个ONT,每个ONT对应一个用户。因此,第一装置根据单板预先设置的OLT ID和ONT ID可以判断当前KPI数据对应于哪一个用户。OLT ID and ONT ID can be used to determine the source of KPI data. It is understandable that the data stream transmitted by the first device contains KPI data, and the KPI data carries OLT ID and ONT ID. OLT is the central office equipment of the operator's passive optical network. Multiple ONTs are set on the single board of OLT, and each ONT corresponds to a user. Therefore, the first device can determine which user the current KPI data corresponds to based on the OLT ID and ONT ID pre-set on the single board.
网络KPI指标,可以用于表示当前用户的网络情况,包括但不限于丢包总数、往返时间、有效速率、平均速率、下载速率,等等。Network KPI indicators can be used to indicate the current user's network status, including but not limited to total packet loss, round-trip time, effective rate, average rate, download rate, etc.
在一种可能的实现中,第一装置从传输的数据流中采集到KPI数据后,对数据进行预处理,比如说对多条数据流进行特征聚合、构建相关特征、数据缺省处理、数据归一化等等。从而可以确定KPI数据所包含的KPI指标、KPI数据所对应的用户和应用。In a possible implementation, after the first device collects KPI data from the transmitted data stream, it pre-processes the data, such as aggregating features of multiple data streams, building relevant features, data default processing, data normalization, etc. Thus, the KPI indicators contained in the KPI data and the users and applications corresponding to the KPI data can be determined.
在一种可能的实现中,第一装置可以接收来自第二装置的第一质差识别模型,也即,第一质差识别模型可以是第二装置使用历史数据训练得到的。In a possible implementation, the first device may receive the first quality difference identification model from the second device, that is, the first quality difference identification model may be obtained by training the second device using historical data.
接下来,第一装置可以将用户在时间窗口内所有应用的KPI数据输入到第一质差识别模型中,输出的是二分类结果以及该二分类结果所对应的置信度。二分类结果用于表明当前时间是否有质差事件发生。基于置信度,第一装置可以区分对KPI数据识别的准确程度。Next, the first device can input the KPI data of all applications of the user within the time window into the first quality difference identification model, and output the binary classification result and the confidence corresponding to the binary classification result. The binary classification result is used to indicate whether a quality difference event occurs at the current time. Based on the confidence, the first device can distinguish the accuracy of the KPI data identification.
步骤S402,第一装置向第二装置发送置信度中第一置信度对应的KPI数据。或者,第一装置向第二装置发送置信度中第二置信度对应的第二质差识别结果。Step S402: The first device sends KPI data corresponding to a first confidence level in the confidence level to the second device. Alternatively, the first device sends a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device.
同理,第二装置可以接收到来自第一装置的第一置信度对应的KPI数据。或者,第二装置可以接收到来自第一装置的第二置信度对应的第二质差识别结果。Similarly, the second device may receive KPI data corresponding to the first confidence level from the first device. Alternatively, the second device may receive a second quality difference identification result corresponding to the second confidence level from the first device.
其中,第一置信度所代表的第一质差识别结果的准确度低于第二置信度所代表的第二质差识别结果的准确度,第一质差识别结果和第二质差识别结果属于边缘侧质差识别结果。 Among them, the accuracy of the first quality difference identification result represented by the first confidence is lower than the accuracy of the second quality difference identification result represented by the second confidence, and the first quality difference identification result and the second quality difference identification result are edge-side quality difference identification results.
因此,置信度高,表明该置信度对应的KPI数据属于正常或质差类别的确定性高,使用轻量化的模型就能有效识别;置信度低,表明对于该置信度对应的KPI数据来说第一装置难以对其进行准确地质差识别,需要利用高精度模型进一步判断。Therefore, a high confidence level indicates that the KPI data corresponding to the confidence level is highly certain to belong to the normal or poor quality category, and can be effectively identified using a lightweight model; a low confidence level indicates that it is difficult for the first device to accurately identify the poor quality of the KPI data corresponding to the confidence level, and further judgment is required using a high-precision model.
在另一种可能的实施方式中,第一装置可以在采集数据和上报数据之间的接口中设置数据的上报方式,增加“置信度阈值”、“上报比例”、“上报方式”等参数。这样第一装置可以根据预设的上报方式向云端发送数据。In another possible implementation, the first device can set a data reporting method in the interface between the collected data and the reported data, and add parameters such as "confidence threshold", "reporting ratio", and "reporting method". In this way, the first device can send data to the cloud according to the preset reporting method.
因此,第一装置可以根据“上报方式”参数确定具体的上报方式,如果“上报方式”参数所对应的上报方式为置信度阈值,则第一装置可以根据置信度阈值向第二装置发送置信度中小于上述置信度阈值所对应的KPI数据。第一装置可以根据置信度阈值向第二装置发送置信度中大于或等于上述置信度阈值对应的第二质差识别结果。因此,第一置信度小于上述置信度阈值,第二置信度大于或等于上述置信度阈值。需要说明的是,“等于”的情况可以放到判断的另一分支,比如说“发送置信度中小于或等于上述置信度阈值所对应的KPI数据”。Therefore, the first device can determine the specific reporting method according to the "reporting method" parameter. If the reporting method corresponding to the "reporting method" parameter is a confidence threshold, the first device can send the KPI data corresponding to the confidence level less than the above confidence threshold to the second device according to the confidence threshold. The first device can send the second quality difference identification result corresponding to the confidence level greater than or equal to the above confidence threshold to the second device according to the confidence threshold. Therefore, the first confidence level is less than the above confidence threshold, and the second confidence level is greater than or equal to the above confidence threshold. It should be noted that the "equal to" situation can be placed in another branch of the judgment, such as "sending the KPI data corresponding to the confidence level less than or equal to the above confidence threshold".
如果“上报方式”参数所对应的上报方式为上报比例,则第一装置可以根据上报比例向第二装置发送置信度排序中小于上述数据比例的置信度所对应的KPI数据。第一装置可以根据上报比例向第二装置发送置信度排序中大于或等于上述数据比例所对应第二质差识别结果。其中,置信度排序为将边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值。需要说明的是,“等于”的情况可以放到判断的另一分支,比如说“发送置信度排名中小于或等于上述数据比例的置信度所对应的KPI数据”。If the reporting method corresponding to the "reporting method" parameter is the reporting ratio, the first device can send the KPI data corresponding to the confidence that is less than the above data ratio in the confidence ranking to the second device according to the reporting ratio. The first device can send the second quality difference recognition result corresponding to the confidence that is greater than or equal to the above data ratio in the confidence ranking to the second device according to the reporting ratio. Among them, the confidence ranking is the value corresponding to the confidence obtained by sorting the confidence corresponding to the edge side recognition result in order from small to large. It should be noted that the "equal to" situation can be placed in another branch of the judgment, such as "sending KPI data corresponding to the confidence that is less than or equal to the above data ratio in the confidence ranking".
综上所述,假设第一装置正在传输的数据流有KPI数据1、KPI数据2和KPI数据3,第一装置从正在传输的数据流中采集KPI数据1、KPI数据2和KPI数据3,并对上述KPI数据进行预处理,根据第一质差识别模型分别对上述预处理后的KPI数据1、KPI数据2和KPI数据3进行分析,得到KPI数据1对应的第一边缘侧质差识别结果和第一边缘侧质差识别结果所对应的置信度,KPI数据2对应的第二边缘侧质差识别结果和第一边缘侧质差识别结果所对应的置信度,KPI数据3对应的第三边缘侧质差识别结果和第一边缘侧质差识别结果所对应的置信度。若第一边缘侧质差识别结果所对应的置信度属于第一置信度,说明置信度较低,则第一装置向第二装置发送KPI数据1。若第二边缘侧质差识别结果所对应的置信度属于第二置信度,说明置信度较高,则第一装置向第二装置发送第二边缘侧质差识别结果。若第三边缘侧质差识别结果所对应的置信度也属于第二置信度,说明置信度较高,则第一装置向第二装置发送第三边缘侧质差识别结果。In summary, assuming that the data stream being transmitted by the first device includes KPI data 1, KPI data 2, and KPI data 3, the first device collects KPI data 1, KPI data 2, and KPI data 3 from the data stream being transmitted, and preprocesses the above KPI data, and analyzes the above preprocessed KPI data 1, KPI data 2, and KPI data 3 according to the first quality difference identification model, respectively, to obtain the first edge side quality difference identification result corresponding to KPI data 1 and the confidence corresponding to the first edge side quality difference identification result, the second edge side quality difference identification result corresponding to KPI data 2 and the confidence corresponding to the first edge side quality difference identification result, and the third edge side quality difference identification result corresponding to KPI data 3 and the confidence corresponding to the first edge side quality difference identification result. If the confidence corresponding to the first edge side quality difference identification result belongs to the first confidence, indicating that the confidence is low, the first device sends KPI data 1 to the second device. If the confidence level corresponding to the second edge side quality difference recognition result belongs to the second confidence level, indicating that the confidence level is relatively high, the first device sends the second edge side quality difference recognition result to the second device. If the confidence level corresponding to the third edge side quality difference recognition result also belongs to the second confidence level, indicating that the confidence level is relatively high, the first device sends the third edge side quality difference recognition result to the second device.
需要说明的是,在实际应用中,预设阈值和数据比例可以根据实际的网络情况进行确定,本申请不做任何限制。It should be noted that, in actual applications, the preset threshold and data ratio can be determined according to the actual network conditions, and this application does not impose any restrictions.
步骤S403,第二装置根据第二质差识别模型对第一置信度对应的KPI数据进行分析,得到云端质差识别结果。In step S403, the second device analyzes the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result.
具体地,第二装置根据历史数据可以训练得到第一质差识别模型和第二质差识别模型。第一质差识别模型是轻量化的神经网络模型,第二质差识别模型是高精度的神经网络模型。进一步地,第二质差识别模型包括三个高精度的神经网络模型,分别对应三大类应用:直播,点播和游戏。第二装置可以使用高精度的神经网络模型对无法准确识别的KPI数据进一步判断,得到云端质差识别结果。Specifically, the second device can train a first quality difference recognition model and a second quality difference recognition model based on historical data. The first quality difference recognition model is a lightweight neural network model, and the second quality difference recognition model is a high-precision neural network model. Furthermore, the second quality difference recognition model includes three high-precision neural network models, corresponding to three major categories of applications: live broadcast, on-demand, and games. The second device can use a high-precision neural network model to further judge the KPI data that cannot be accurately identified, and obtain a cloud-based quality difference recognition result.
在实际应用中,得到训练好的第一质差识别模型和第二质差识别模型后,可以将第一质差识别模型和第二质差识别模型部署到线上进行应用,比如说第二装置向第一装置发送第一质差识别模型。将上述训练好的第一质差识别模型和第二质差识别模型部署到线上应用后,可按照预设时间间隔(比如半个月、一个月,等)定期对训练好的模型的精度进行验证,如果模型的精度下降较多,模型退化验证,可以重新采集数据对训练好的模型进行训练,进一步优化模型参数,以提高模型的精确度,确保质差识别的准确性。In practical applications, after obtaining the trained first quality difference recognition model and the second quality difference recognition model, the first quality difference recognition model and the second quality difference recognition model can be deployed online for application, for example, the second device sends the first quality difference recognition model to the first device. After the above-mentioned trained first quality difference recognition model and the second quality difference recognition model are deployed to the online application, the accuracy of the trained model can be regularly verified at preset time intervals (such as half a month, a month, etc.). If the accuracy of the model decreases significantly, the model is degraded and verified. Data can be re-collected to train the trained model, and the model parameters can be further optimized to improve the accuracy of the model and ensure the accuracy of quality difference recognition.
可以理解的是,第二装置接收到的第一置信度对应的KPI数据,是第一装置进行预处理后的数据,所以KPI数据携带有应用类型。因此,第二装置可以将对应应用的KPI数据输入到对应的质差识别模型中。比如说将直播类型的KPI数据输入到直播应用对应的模型中,将点播类型的KPI数据输入到点播应用对应的模型中,将游戏类型的KPI数据输入到游戏类型对应的模型中。模型的输出是二分类结果,表明当前时间窗口是否有质差事件发生。It is understandable that the KPI data corresponding to the first confidence level received by the second device is data pre-processed by the first device, so the KPI data carries the application type. Therefore, the second device can input the KPI data of the corresponding application into the corresponding quality difference recognition model. For example, the KPI data of the live broadcast type is input into the model corresponding to the live broadcast application, the KPI data of the on-demand type is input into the model corresponding to the on-demand application, and the KPI data of the game type is input into the model corresponding to the game type. The output of the model is a binary classification result, indicating whether a quality difference event occurs in the current time window.
步骤S404,第二装置根据第二质差识别结果和云端质差识别结果得到用户的质差识别结果。Step S404: The second device obtains the quality difference identification result of the user according to the second quality difference identification result and the cloud quality difference identification result.
具体地,第二装置统计第一装置上报的第二质差识别结果和云端质差识别结果中的质差结果,其中,质差结果用于表明质差结果所对应的KPI数据所反映的网络情况差。在统计的质差结果的数量大于预设阈 值的情况下,质差结果所对应的用户为质差用户。Specifically, the second device counts the second quality difference identification result reported by the first device and the quality difference result in the cloud quality difference identification result, wherein the quality difference result is used to indicate that the network situation reflected by the KPI data corresponding to the quality difference result is poor. When the value is , the user corresponding to the poor quality result is a poor quality user.
举例来说,用户1对应的第二质差识别结果包含第一数量的质差结果和第二数量的非质差结果,用户1对应的云端质差识别结果包括第三数量的质差结果和第四数量的非质差结果。如果第一数量的质差结果和第三数量的质差结果的总次数超过预设阈值,则用户1为质差用户。For example, the second quality difference identification result corresponding to user 1 includes a first number of quality difference results and a second number of non-quality difference results, and the cloud quality difference identification result corresponding to user 1 includes a third number of quality difference results and a fourth number of non-quality difference results. If the total number of the first number of quality difference results and the third number of quality difference results exceeds a preset threshold, user 1 is a quality difference user.
请参见图5,图5是本申请实施例提供的又一种质差识别方法的流程示意图。可选的,该质差识别方法可以应用于图2或图3所示的质差识别系统。Please refer to Fig. 5, which is a flow chart of another quality difference identification method provided in an embodiment of the present application. Optionally, the quality difference identification method can be applied to the quality difference identification system shown in Fig. 2 or Fig. 3.
上述应用质差识别方法包含步骤S1至步骤S5中的一个或者多个步骤。应理解,本申请为了方便描述,故通过S1至S5这一顺序进行描述,并不旨在限定一定通过上述顺序进行执行。本申请实施例对于上述一个或多个步骤的执行的先后顺序、执行的时间、执行的次数等不做限定。The above-mentioned application quality difference identification method includes one or more steps from step S1 to step S5. It should be understood that for the convenience of description, this application is described in the order of S1 to S5, and is not intended to limit the execution to the above order. The embodiment of the present application does not limit the execution order, execution time, execution number, etc. of the above-mentioned one or more steps.
从图5可以看出,质差识别方法主要包括5个主要流程:步骤S1:第一装置采集并处理KPI数据;步骤S2:第一装置根据KPI数据输出边缘侧质差识别结果和其对应的置信度;步骤S3:第一装置通过接口设置数据上报方式,并根据上报方式向第二装置上报数据;步骤S4:第二装置根据上报的数据判别是否为质差用户;步骤S5:运营商根据质差识别结果开展质差用户运维业务。As can be seen from Figure 5, the quality difference identification method mainly includes 5 main processes: Step S1: the first device collects and processes KPI data; Step S2: the first device outputs the edge side quality difference identification result and its corresponding confidence according to the KPI data; Step S3: the first device sets the data reporting method through the interface, and reports the data to the second device according to the reporting method; Step S4: the second device determines whether the user is a poor quality user according to the reported data; Step S5: the operator carries out poor quality user operation and maintenance services according to the quality difference identification result.
上述步骤S1至步骤S5的具体实施流程可以如下:The specific implementation process of the above steps S1 to S5 can be as follows:
步骤S11:随着互联网技术的发展,各种终端应用层出不穷,为了保证应用的QoS,运营商需要对应用流量进行管理。对应用进行质差评估分析从而确定质差用户是运营商对应用流量进行管理的关键一步。因此,第一装置可以以用户为单位采集每个用户里不同应用的网络KPI数据;Step S11: With the development of Internet technology, various terminal applications emerge in an endless stream. In order to ensure the QoS of applications, operators need to manage application traffic. Performing quality evaluation and analysis on applications to identify poor quality users is a key step for operators to manage application traffic. Therefore, the first device can collect network KPI data of different applications in each user on a user-by-user basis;
步骤S12:第一装置可以将原始的KPI数据中不同的流根据时间和应用求平均并进行聚合处理,从原始KPI数据中构造新的特征。处理后的KPI数据所包含的字段如表1所示:Step S12: The first device may average and aggregate different flows in the original KPI data according to time and application, and construct new features from the original KPI data. The fields included in the processed KPI data are shown in Table 1:
表1:字段

Table 1: Fields

步骤S21:从步骤S12输出的KPI数据中,通过字段resID和字段clientLocation可以提取用户的OLT ID和ONT ID,然后将相同OLT ID和ONT ID的KPI数据按照时间点以求和的方式进行聚合,也即将相同时点的不同应用的KPI数据进行聚合处理,聚合后的数据作为后一步骤的输入。可以理解的是,相同OLT ID和ONT ID的KPI数据可以认为是同一用户的KPI数据。Step S21: From the KPI data outputted in step S12, the user's OLT ID and ONT ID can be extracted through the fields resID and clientLocation, and then the KPI data of the same OLT ID and ONT ID are aggregated in a summation manner according to the time point, that is, the KPI data of different applications at the same time point are aggregated, and the aggregated data is used as the input of the next step. It can be understood that the KPI data of the same OLT ID and ONT ID can be considered as the KPI data of the same user.
步骤S22:位于边缘侧的第一装置根据第一质差识别模型进行质差识别,也即将步骤S21输出的KPI数据输入到第一质差识别模型中进行二分类,模型输出当前的KPI数据边缘侧质差识别结果和其对应的置 信度。也即,在边缘侧使用二分类神经网络模型进行第一阶段的质差识别。进一步地,上述神经网络包含了4个全连接,将步骤S21经过时间点聚合的多维KPI特征向量(可以是30维KPI特征向量)作为神经网络的输入,最后一个全连接层经过sigmoid函数后将输出值映射到0到1范围,1代表质差,0代表不质差。可以理解的是,在训练第一质差识别模型时,可以利用有标签的数据训练神经网络进行二分类任务,减小二值交叉熵损失函数。训练结束后使用神经网络模型对现网环境下对应的KPI数据进行二分类,选取一个阈值σ1作为分界。神经网络的输出大于σ1则可以判定为质差事件,输出小于或等于σ1可以判定为非质差事件。同时,神经网络么有输出置信度以描述对KPI数据的质差识别的准确程度。Step S22: The first device at the edge side performs quality difference identification according to the first quality difference identification model, that is, the KPI data outputted in step S21 is inputted into the first quality difference identification model for binary classification, and the model outputs the current KPI data edge side quality difference identification result and its corresponding location. Confidence. That is, a binary classification neural network model is used on the edge side to perform the first stage of quality difference identification. Further, the above neural network includes 4 full connections, and the multidimensional KPI feature vector (which can be a 30-dimensional KPI feature vector) aggregated by step S21 through time points is used as the input of the neural network. The last fully connected layer maps the output value to the range of 0 to 1 after the sigmoid function, where 1 represents poor quality and 0 represents non-poor quality. It can be understood that when training the first quality difference identification model, the labeled data can be used to train the neural network for binary classification tasks to reduce the binary cross entropy loss function. After the training, the neural network model is used to classify the corresponding KPI data in the existing network environment, and a threshold σ 1 is selected as the boundary. If the output of the neural network is greater than σ 1 , it can be determined as a quality difference event, and if the output is less than or equal to σ 1 , it can be determined as a non-quality difference event. At the same time, the neural network has an output confidence to describe the accuracy of the quality difference identification of the KPI data.
步骤S31:第一装置可以通过接口设置数据上报方式,进一步地,第一装置可以在采集数据和上报数据的之间订阅数据的接口中新增“置信度阈值”、“数据比例”和“上报方式”等参数。举例来说,将“上报方式”的字段值设置为0,第一装置可以按照置信度阈值向第二装置发送数据。将“上报方式”的字段值设置为1,第一装置可以按照数据比例向第二装置发送数据。若选择置信度阈值上报方式,则可以通过设置“置信度阈值”字段值来设置置信度阈值,字段值设置范围可以是0-1;若选择数据上报方式,则可以通过设置“上报比例”字段值来设置上报数据比例,字段值设置范围可以是0-1。其中,置信度阈值上报,是将低于置信度阈值的上报原始KPI数,高于置信度阈值的上报质差识别结果。数据比例上报,是对置信度进行升序排序,按照数据比例将前X%的上报原始KPI数据,后1-X%的上报质差识别结果。Step S31: The first device can set the data reporting method through the interface. Furthermore, the first device can add parameters such as "confidence threshold", "data ratio" and "reporting method" in the interface for subscribing to data between collecting data and reporting data. For example, the field value of "reporting method" is set to 0, and the first device can send data to the second device according to the confidence threshold. The field value of "reporting method" is set to 1, and the first device can send data to the second device according to the data ratio. If the confidence threshold reporting method is selected, the confidence threshold can be set by setting the "confidence threshold" field value, and the field value setting range can be 0-1; if the data reporting method is selected, the reported data ratio can be set by setting the "reporting ratio" field value, and the field value setting range can be 0-1. Among them, the confidence threshold reporting is to report the original KPI number below the confidence threshold, and report the poor quality identification result above the confidence threshold. Data ratio reporting is to sort the confidence in ascending order, and report the original KPI data for the first X% according to the data ratio, and report the poor quality identification results for the last 1-X%.
步骤S32:第一装置可以结合步骤S31设置的数据上报方式、步骤S22输出的边缘侧质差识别结果和置信度,将KPI数据和边缘侧质差识别结果上报给位于云端的第二装置。根据“上报方式”字段值设置的不同。数据上报场景可以分为置信度阈值上报场景和数据比例上报场景。Step S32: The first device can report the KPI data and the edge-side quality difference identification result to the second device located in the cloud in combination with the data reporting method set in step S31, the edge-side quality difference identification result and the confidence level output in step S22. According to the different values set in the "reporting method" field, the data reporting scenarios can be divided into confidence threshold reporting scenarios and data ratio reporting scenarios.
置信度阈值上报场景:第一装置可以根据接口设置的置信度阈值进行判断。若第一质差识别模型输出的置信度低于置信度阈值,则上报该置信度对应的原始KPI数据;高于置信度阈值,则上报该置信度对应的边缘侧质差识别结果。在该场景中,第一装置向第二装置设置的数量处于动态变化中。Confidence threshold reporting scenario: The first device can make a judgment based on the confidence threshold set by the interface. If the confidence output by the first quality difference identification model is lower than the confidence threshold, the original KPI data corresponding to the confidence is reported; if it is higher than the confidence threshold, the edge side quality difference identification result corresponding to the confidence is reported. In this scenario, the quantity set by the first device to the second device is in dynamic change.
数据比例上报场景:第一装置可以将KPI数据按照置信度进行升序排序,使用接口设置的数据比例进行判断。排序低于数据比例的上报该排序对应的原始KPI数据,排序高于比例的上报该排序对应的质差识别结果。在该场景中,上报的数据量恒定。Data ratio reporting scenario: The first device can sort the KPI data in ascending order according to the confidence level, and use the data ratio set by the interface to make judgments. The original KPI data corresponding to the sorting is reported if the sorting is lower than the data ratio, and the quality difference identification result corresponding to the sorting is reported if the sorting is higher than the ratio. In this scenario, the amount of data reported is constant.
步骤S41:第二装置接收第一装置上报的数据,将步骤S32上报的KPI数据对应到不同应用类型。如果是KPI数据,在进一步使用第二质差识别模型进行质差识别。如果是质差识别结果,则保留该结果,待与第二质差识别模型输出的识别结果进行综合判断。对于KPI数据,第二装置可以使用APP ID(即applicationSubType字段)将数据流中关于直播、点播和游戏的数据筛选出来,选择数据中网络KPI字段的数据作为第二质差识别模型的输入。Step S41: The second device receives the data reported by the first device, and corresponds the KPI data reported in step S32 to different application types. If it is KPI data, the second quality difference identification model is further used for quality difference identification. If it is a quality difference identification result, the result is retained and a comprehensive judgment is made with the identification result output by the second quality difference identification model. For KPI data, the second device can use APP ID (i.e., applicationSubType field) to filter out data about live broadcast, on-demand and games in the data stream, and select the data of the network KPI field in the data as the input of the second quality difference identification model.
步骤S42:第二装置在云端将步骤S41输出的KPI数据输入到对应的第二质差识别模型这一二分类神经网络进行第二阶段质差识别,输出当前的应用KPI数据的云端质差识别结果。进一步地,第二装置可以通过三个神经网络分别识别直播、点播和游戏这三大应用的质差。其中,上述神经网络为高精度神经网络,包含9个全连接层。神经网络的第一层全连接层接受步骤S41输出的多维实值特征向量(可以是30维实值特征向量)作为网络的输入,最后一个全连接层经过sigmoid函数后将输出值映射到0到1范围。其中,1可以代表质差,0可以代表不质差。可以理解的是,在模型训练时,可以利用有标签的实验室构造数据训练网络进行二分类任务,减小二值交叉熵损失函数。训练结束后使用训练好的神经网络模型对现网环境下对应的应用KPI数据进行分类,选取一个阈值σ2作为分界。神经网络的输出大于σ2则判定为质差事件,否则判定为非质差事件。Step S42: The second device inputs the KPI data outputted from step S41 into the corresponding second quality difference identification model, a binary classification neural network, for second-stage quality difference identification in the cloud, and outputs the cloud quality difference identification result of the current application KPI data. Furthermore, the second device can identify the quality difference of the three major applications of live broadcast, on-demand and games through three neural networks. Among them, the above-mentioned neural network is a high-precision neural network, which includes 9 fully connected layers. The first fully connected layer of the neural network accepts the multi-dimensional real-valued feature vector (which can be a 30-dimensional real-valued feature vector) outputted from step S41 as the input of the network, and the last fully connected layer maps the output value to the range of 0 to 1 after the sigmoid function. Among them, 1 can represent poor quality, and 0 can represent no poor quality. It can be understood that when training the model, the network can be trained with labeled laboratory construction data to perform binary classification tasks to reduce the binary cross entropy loss function. After the training, the trained neural network model is used to classify the corresponding application KPI data in the existing network environment, and a threshold σ 2 is selected as the boundary. If the output of the neural network is greater than σ 2 , it is judged as a quality-poor event, otherwise it is judged as a non-quality-poor event.
步骤S43:第二装置可以结合步骤S32上报的边缘侧质差识别结果和步骤S42输出的云端质差识别结果,进行质差用户判断。进一步地,第二装置可以设置一个时间窗口长度L(比如L为一周,)通过字段resID和clientLocation提取用户的OLT ID和ONT ID,然后将窗口L对应这个用户ID的所有质差事件进行次数统计。如果质差事件的总次数超过阈值σ3,则判定该用户属于质差用户。Step S43: The second device can combine the edge-side poor quality identification result reported in step S32 and the cloud-side poor quality identification result output in step S42 to make a poor quality user judgment. Further, the second device can set a time window length L (for example, L is one week), extract the user's OLT ID and ONT ID through the fields resID and clientLocation, and then count the number of all poor quality events corresponding to this user ID in window L. If the total number of poor quality events exceeds the threshold σ 3 , it is determined that the user is a poor quality user.
步骤S51:第二装置可以将步骤S43输出的质差用户识别结果推送到用户端APP,从而支撑运营上开展质差用户运维。Step S51: The second device may push the poor-quality user identification result outputted in step S43 to the user-side APP, thereby supporting the operation and maintenance of poor-quality users.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。A person skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by a computer program to instruct the relevant hardware, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above-mentioned method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
综上所述,本申请实施例可以基于边缘侧轻量化模型协同云端高精度模型来分阶段处理不同识别难度 的KPI数据。在边缘侧使用轻量化模型对KPI数据进行第一阶段质差识别,对质差时间进行初筛,输出质差识别结果和置信度。基于置信度和数据上报接口设置的上报方式,上报低置信度的原始KPI数据和高置信度的质差识别结果至云端。在云端使用高精度多神经网络模型进行第二阶段质差识别,对无法准确识别的KPI数据进一步判断,得到质差结果。通过边缘侧算力进行数据筛选并上报部分数据,可以实现在不影响质差识别准确率的基础上降低传输带宽和运动计算资源需求。In summary, the embodiment of the present application can process different recognition difficulties in stages based on the lightweight model on the edge and the high-precision model on the cloud. KPI data. A lightweight model is used on the edge side to perform the first stage of quality difference identification on the KPI data, perform a preliminary screening of the quality difference time, and output the quality difference identification results and confidence. Based on the confidence and the reporting method set by the data reporting interface, the low-confidence original KPI data and the high-confidence quality difference identification results are reported to the cloud. A high-precision multi-neural network model is used on the cloud to perform the second stage of quality difference identification, and the KPI data that cannot be accurately identified is further judged to obtain the quality difference results. By using the edge-side computing power to screen data and report part of the data, it is possible to reduce the transmission bandwidth and motion computing resource requirements without affecting the accuracy of quality difference identification.
上面说明了本申请实施例的方法,下面提供本申请实施例的装置。The method of the embodiment of the present application is described above, and the device of the embodiment of the present application is provided below.
请参见图6,图6是本申请实施例提供的一种计算装置60的结构示意图。该计算装置60可以包括处理模块601和通信模块602。该计算装置60用于实现前述的质差识别方法,例如图4或图5所示实施例中的数据处理方法。Please refer to Figure 6, which is a schematic diagram of the structure of a computing device 60 provided in an embodiment of the present application. The computing device 60 may include a processing module 601 and a communication module 602. The computing device 60 is used to implement the aforementioned quality difference identification method, such as the data processing method in the embodiment shown in Figure 4 or Figure 5.
在一种可能的实施方式中,该计算装置60为前述实施例中的第一装置。In a possible implementation, the computing device 60 is the first device in the aforementioned embodiment.
所述处理模块601,用于根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,其中,所述置信度用于表明所述边缘侧质差识别结果所代表的准确程度;The processing module 601 is used to analyze the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result, wherein the confidence is used to indicate the accuracy represented by the edge side quality difference identification result;
所述通信模块602,用于向第二装置发送所述置信度中第一置信度对应的KPI数据;The communication module 602 is used to send KPI data corresponding to a first confidence level among the confidence levels to a second device;
所述通信模块602,还用于向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。The communication module 602 is also used to send a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
在一种可能的实施方式中,所述计算装置60为部署在边缘侧的装置,所述第二装置为部署在云端的装置。In a possible implementation, the computing device 60 is a device deployed on the edge side, and the second device is a device deployed on the cloud.
在一种可能的实施方式中,所述处理模块601,还用于:In a possible implementation manner, the processing module 601 is further configured to:
通过接口设置数据的上报方式,所述上报方式包括置信度阈值和数据比例。The data reporting method is set through the interface, and the reporting method includes a confidence threshold and a data ratio.
在一种可能的实施方式中,所述上报方式为所述置信度阈值的情况下,所述第一置信度小于所述置信度阈值,所述第二置信度大于或等于所述置信度阈值。In a possible implementation, when the reporting method is the confidence threshold, the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
在一种可能的实施方式中,所述上报方式为所述数据比例的情况下,所述第一置信度为置信度排序中小于所述数据比例的置信度,所述第二置信度为所述置信度排序中大于或等于所述数据比例的置信度,所述置信度排序为将所述边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值。In a possible implementation, when the reporting method is the data ratio, the first confidence is the confidence that is less than the data ratio in the confidence ranking, the second confidence is the confidence that is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is the numerical value corresponding to the confidence obtained by sorting the confidences corresponding to the edge side recognition results in ascending order.
在一种可能的实施方式中,所述通信模块602,还用于:In a possible implementation manner, the communication module 602 is further configured to:
接收来自所述第二装置的所述第一质差识别模型,所述第一质差识别模型为所述第二装置训练得到的。The first quality difference identification model is received from the second device, where the first quality difference identification model is trained by the second device.
在另一种可能的实施方式中,该计算装置60为前述实施例中的第二装置。In another possible implementation, the computing device 60 is the second device in the aforementioned embodiment.
所述通信模块602,用于接收来自第一装置的第一置信度对应的KPI数据;The communication module 602 is used to receive KPI data corresponding to a first confidence level from a first device;
所述通信模块602,还用于接收来自所述第一装置的第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的第二质差识别结果的准确度;The communication module 602 is further configured to receive a second quality difference identification result corresponding to a second confidence level from the first device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level;
所述处理模块601,用于根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;The processing module 601 is used to analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
所述处理模块601,还用于根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。The processing module 601 is further configured to obtain a quality difference identification result of the user according to the second quality difference identification result and the cloud quality difference identification result.
在另一种可能的实施方式中,所述第一装置为部署在边缘侧的装置,所述计算装置60为部署在云端的装置。In another possible implementation, the first device is a device deployed on the edge side, and the computing device 60 is a device deployed on the cloud.
在另一种可能的实施方式中,所述处理模块601,具体用于:In another possible implementation, the processing module 601 is specifically configured to:
统计所述第二质差识别结果和所述云端质差识别结果中的质差结果,所述质差结果用于表明所述质差结果所对应的KPI数据所反映的网络情况差;Counting the quality difference results in the second quality difference identification result and the cloud quality difference identification result, wherein the quality difference results are used to indicate that the network situation reflected by the KPI data corresponding to the quality difference results is poor;
在所述质差结果的数量大于预设阈值的情况下,所述质差结果所对应的用户为质差用户。When the number of the poor quality results is greater than a preset threshold, the users corresponding to the poor quality results are poor quality users.
在另一种可能的实施方式中,所述处理模块601,还用于:In another possible implementation, the processing module 601 is further configured to:
根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型,其中,所述第一质差识别模型的识别精度低于所述第二质差识别模型的识别精度。The first quality difference recognition model and the second quality difference recognition model are obtained by training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model.
在另一种可能的实施方式中,所述通信模块602,还用于: In another possible implementation, the communication module 602 is further configured to:
向所述第一装置发送所述第一质差识别模型,其中,所述第一装置用于根据所述第一质差识别模型得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,所述置信度用于表明所述边缘侧质差结果所代表的准确程度,所述置信度包括所述第一置信度和所述第二置信度。The first quality difference identification model is sent to the first device, wherein the first device is used to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result according to the first quality difference identification model, the confidence level is used to indicate the accuracy represented by the edge side quality difference result, and the confidence level includes the first confidence level and the second confidence level.
请参见图7,图7是本申请实施例提供的一种计算设备70的结构示意图。Please refer to FIG. 7 , which is a schematic diagram of the structure of a computing device 70 provided in an embodiment of the present application.
该计算设备70可以为服务器、主机、边端设备等独立设备,也可以为包含于独立设备中的器件,例如芯片、软件模块、或集成电路等。该计算设备70可以包括至少一个处理器701和至少一个存储器702。可选的,还可以包括通信接口703。进一步可选的,还可以包含连接线路704,其中,处理器701、存储器702通过连接线路704相连,通过连接线路704互相通信、传递控制和/或数据信号。The computing device 70 may be an independent device such as a server, a host, an edge device, or a device included in an independent device, such as a chip, a software module, or an integrated circuit. The computing device 70 may include at least one processor 701 and at least one memory 702. Optionally, a communication interface 703 may also be included. Further optionally, a connection line 704 may also be included, wherein the processor 701 and the memory 702 are connected via the connection line 704, and communicate with each other and transmit control and/or data signals via the connection line 704.
其中:in:
(1)处理器701是进行算术运算和/或逻辑运算的模块,具体可以包含以下装置中的一项或者多项:中央处理器(central processing unit,CPU)、图片处理器(graphics processing unit,GPU)、微处理器(microprocessor unit,MPU)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程逻辑门阵列(Field Programmable Gate Array,FPGA)、复杂可编程逻辑器件(Complex programmable logic device,CPLD)、协处理器(协助中央处理器完成相应处理和应用)、或微控制单元(Microcontroller Unit,MCU)等。(1) The processor 701 is a module for performing arithmetic operations and/or logical operations, and may specifically include one or more of the following devices: a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a coprocessor (to assist the central processing unit in completing corresponding processing and applications), or a microcontroller unit (MCU), etc.
(2)存储器702用于提供存储空间,存储空间中可以存储操作系统和计算机程序等数据。存储器702可以是随机存储记忆体(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)、或便携式只读存储器(compact disc read-only memory,CD-ROM)等等中的一种或者多种的组合。(2) Memory 702 is used to provide storage space, in which data such as operating system and computer program can be stored. Memory 702 can be one or a combination of random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or compact disc read-only memory (CD-ROM).
(3)通信接口703可以用于为所述至少一个处理器提供信息输入或者输出。在一些可能的场景中,通信接口703可以包含接口电路。和/或,所述通信接口703可以用于接收外部发送的数据和/或向外部发送数据。例如,通信接口703可以包括诸如以太网电缆等的有线链路接口,也可以是无线链路(Wi-Fi、蓝牙、通用无线传输以及其他短距无线通信技术等)接口。可选的,通信接口703还可以包括与接口耦合的发射器(如射频发射器、天线等),或者接收器等。(3) The communication interface 703 may be used to provide information input or output for the at least one processor. In some possible scenarios, the communication interface 703 may include an interface circuit. And/or, the communication interface 703 may be used to receive data sent externally and/or send data to the outside. For example, the communication interface 703 may include a wired link interface such as an Ethernet cable, or a wireless link (Wi-Fi, Bluetooth, general wireless transmission and other short-range wireless communication technologies, etc.) interface. Optionally, the communication interface 703 may also include a transmitter (such as a radio frequency transmitter, antenna, etc.) coupled to the interface, or a receiver, etc.
可选地,若计算设备70为独立设备时,通信接口703可以包括接收器和发送器。其中,接收器和发送器可以为相同的部件,或者为不同的部件。接收器和发送器为相同的部件时,可以将该部件称为收发器。Optionally, if the computing device 70 is an independent device, the communication interface 703 may include a receiver and a transmitter. The receiver and the transmitter may be the same component or different components. When the receiver and the transmitter are the same component, the component may be referred to as a transceiver.
可选地,若计算设备70为芯片或电路时,通信接口703可以包括输入接口和输出接口,输入接口和输出接口可以是相同的接口,或者可以分别是不同的接口。Optionally, if the computing device 70 is a chip or a circuit, the communication interface 703 may include an input interface and an output interface, and the input interface and the output interface may be the same interface, or may be different interfaces.
可选地,通信接口703的功能可以通过收发电路或收发的专用芯片实现。处理器701可以通过专用处理芯片、处理电路、处理器或通用芯片实现。Optionally, the function of the communication interface 703 may be implemented by a transceiver circuit or a dedicated transceiver chip. The processor 701 may be implemented by a dedicated processing chip, a processing circuit, a processor or a general-purpose chip.
其中,以上列举的计算设备70中各模块或单元的功能和动作仅为示例性说明。The functions and actions of the modules or units in the computing device 70 listed above are only for illustrative purposes.
计算设备70中各功能单元可用于实现前述的质差识别方法,例如,计算设备可以为图4或图5所示实施例中的第一装置和/或第二装置。具体可以参考前述。这里为了避免赘述,省略其详细说明。Each functional unit in the computing device 70 can be used to implement the aforementioned quality difference identification method. For example, the computing device can be the first device and/or the second device in the embodiment shown in FIG. 4 or FIG. 5. For details, please refer to the aforementioned. In order to avoid redundancy, the detailed description is omitted here.
可选的,处理器701,可以是专门用于执行前述方法的处理器(便于区别称为专用处理器),也可以是通过调用计算机程序来执行前述方法的处理器(便于区别称为专用处理器)。可选的,至少一个处理器还可以既包括专用处理器也包括通用处理器。Optionally, the processor 701 may be a processor specifically used to execute the aforementioned method (for convenience of distinction, referred to as a dedicated processor), or may be a processor that executes the aforementioned method by calling a computer program (for convenience of distinction, referred to as a dedicated processor). Optionally, the at least one processor may include both a dedicated processor and a general-purpose processor.
可选的,在计算设备包括至少一个存储器702的情况下,若处理器701通过调用计算机程序来实现前述质差识别方法,该计算机程序可以存储在存储器702中。Optionally, in the case where the computing device includes at least one memory 702 , if the processor 701 implements the aforementioned quality difference identification method by calling a computer program, the computer program may be stored in the memory 702 .
本申请实施例还提供了一种芯片系统,该芯片系统包括处理器和通信接口,所述通信接口用于接收和/或发送数据,和/或,所述通信接口用于为所述处理器提供输入和/或输出。所述芯片系统用于实现前述的质差识别方法,例如图4或图5所述的方法。The embodiment of the present application also provides a chip system, which includes a processor and a communication interface, wherein the communication interface is used to receive and/or send data, and/or the communication interface is used to provide input and/or output for the processor. The chip system is used to implement the aforementioned quality difference identification method, such as the method described in Figure 4 or Figure 5.
本申请实施例还提供了一种算机可读存储介质,所述计算机可读存储介质中存储有指令,所述指令用于实现前述的质差识别方法,例如图4或图5所述的方法。The embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored, and the instructions are used to implement the aforementioned quality difference identification method, such as the method described in Figure 4 or Figure 5.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机指令,所述计算机指令用于实现前述的质差识别方法,例如图4或图6所述的方法。The embodiment of the present application further provides a computer program product, which includes computer instructions, and the computer instructions are used to implement the aforementioned quality difference identification method, such as the method described in Figure 4 or Figure 6.
本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
本申请中实施例提到的“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一 项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b、或c中的至少一项(个),可以表示:a、b、c、(a和b)、(a和c)、(b和c)、或(a和b和c),其中a、b、c可以是单个,也可以是多个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B这三种情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。In the embodiments of this application, "at least one" refers to one or more, and "more" refers to two or more. "Item(s)" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one item(s) of a, b, or c can be represented by: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, c can be single or plural. "And/or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and/or B can be represented by: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.
以及,除非有相反的说明,本申请实施例使用“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一装置和第二装置,只是为了便于描述,而并不是表示这第一装置和第二装置的结构、重要程度等的不同,在某些实施例中,第一装置和第二装置还可以是同样的设备。Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" used in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. For example, the first device and the second device are only for the convenience of description, and do not represent the difference in structure, importance, etc. between the first device and the second device. In some embodiments, the first device and the second device can also be the same device.
上述实施例中所用,根据上下文,术语“当……时”可以被解释为意思是“如果……”或“在……后”或“响应于确定……”或“响应于检测到……”。以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In the above embodiments, the term "when..." can be interpreted as meaning "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent substitution, improvement, etc. made within the concept and principle of the present application shall be included in the protection scope of the present application.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。 A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

Claims (30)

  1. 一种质差识别方法,其特征在于,所述方法包括:A method for identifying poor quality, characterized in that the method comprises:
    第一装置根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,其中,所述置信度用于表明所述边缘侧质差识别结果所代表的准确程度;The first device analyzes the key performance indicator KPI data of the user according to the first quality difference identification model to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result, wherein the confidence level is used to indicate the accuracy represented by the edge side quality difference identification result;
    所述第一装置向第二装置发送所述置信度中第一置信度对应的KPI数据;The first device sends KPI data corresponding to a first confidence level among the confidence levels to the second device;
    所述第一装置向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。The first device sends a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
  2. 根据权利要求1所述的方法,其特征在于,所述第一装置为部署在边缘侧的装置,所述第二装置为部署在云端的装置。The method according to claim 1 is characterized in that the first device is a device deployed on the edge side, and the second device is a device deployed on the cloud.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一装置向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果之前,还包括:The method according to claim 1 or 2 is characterized in that before the first device sends the second quality difference identification result corresponding to the second confidence level in the confidence level to the second device, it also includes:
    所述第一装置通过接口设置数据的上报方式,所述上报方式包括置信度阈值和数据比例。The first device sets a data reporting method through an interface, and the reporting method includes a confidence threshold and a data ratio.
  4. 根据权利要求3所述的方法,其特征在于,所述上报方式为所述置信度阈值的情况下,所述第一置信度小于所述置信度阈值,所述第二置信度大于或等于所述置信度阈值。The method according to claim 3 is characterized in that, when the reporting method is the confidence threshold, the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
  5. 根据权利要求3所述的方法,其特征在于,所述上报方式为所述数据比例的情况下,所述第一置信度为置信度排序中小于所述数据比例的置信度,所述第二置信度为所述置信度排序中大于或等于所述数据比例的置信度,所述置信度排序为将所述边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值。The method according to claim 3 is characterized in that, when the reporting method is the data ratio, the first confidence is the confidence that is less than the data ratio in the confidence ranking, the second confidence is the confidence that is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is the numerical value corresponding to the confidence obtained by sorting the confidences corresponding to the edge-side recognition results in ascending order.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述第一装置根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度之前,还包括:The method according to any one of claims 1 to 5 is characterized in that, before the first device analyzes the user's key performance indicator KPI data according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result, it also includes:
    所述第一装置接收来自所述第二装置的所述第一质差识别模型,所述第一质差识别模型为所述第二装置训练得到的。The first device receives the first quality difference identification model from the second device, where the first quality difference identification model is trained by the second device.
  7. 一种质差识别方法,其特征在于,所述方法包括:A method for identifying poor quality, characterized in that the method comprises:
    第二装置接收来自第一装置的第一置信度对应的KPI数据;The second device receives KPI data corresponding to the first confidence level from the first device;
    所述第二装置接收来自所述第一装置的第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的第二质差识别结果的准确度;The second device receives a second quality difference identification result corresponding to a second confidence level from the first device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level;
    所述第二装置根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;The second device analyzes the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
    所述第二装置根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。The second device obtains the quality difference identification result of the user according to the second quality difference identification result and the cloud quality difference identification result.
  8. 根据权利要求7所述的方法,其特征在于,所述第一装置为部署在边缘侧的装置,所述第二装置为部署在云端的装置。The method according to claim 7 is characterized in that the first device is a device deployed on the edge side, and the second device is a device deployed on the cloud.
  9. 根据权利要求7或8所述的方法,其特征在于,所述第一置信度小于置信度阈值,所述第二置信度大于或等于所述置信度阈值,其中,所述置信度阈值为所述第一装置设置的上报方式。The method according to claim 7 or 8 is characterized in that the first confidence is less than a confidence threshold, and the second confidence is greater than or equal to the confidence threshold, wherein the confidence threshold is a reporting method set by the first device.
  10. 根据权利要求7或8所述的方法,其特征在于,所述第一置信度为置信度排序中小于数据比例的,所述第二置信度为所述置信度排序中大于或等于所述数据比例的,所述置信度排序为将置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值,其中,所述置信度为所述第一装置根据第一质差识别模型对用户的KPI数据进行分析后得到的边缘侧质差识别结果所对应的置信度,所述数据比例为所述第一装置设置的上报方式。 According to the method according to claim 7 or 8, it is characterized in that the first confidence is less than the data ratio in the confidence ranking, the second confidence is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is the numerical value corresponding to the confidence obtained after sorting the confidence in ascending order, wherein the confidence is the confidence corresponding to the edge side quality difference identification result obtained after the first device analyzes the user's KPI data according to the first quality difference identification model, and the data ratio is the reporting method set by the first device.
  11. 根据权利要求7至10任一项所述的方法,其特征在于,所述第二装置根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果,包括:The method according to any one of claims 7 to 10 is characterized in that the second device obtains the user's quality difference identification result according to the second quality difference identification result and the cloud quality difference identification result, comprising:
    所述第二装置统计所述第二质差识别结果和所述云端质差识别结果中的质差结果,所述质差结果用于表明所述质差结果所对应的KPI数据所反映的网络情况差;The second device counts the quality difference results in the second quality difference identification result and the cloud quality difference identification result, and the quality difference results are used to indicate that the network situation reflected by the KPI data corresponding to the quality difference results is poor;
    在所述质差结果的数量大于预设阈值的情况下,所述质差结果所对应的用户为质差用户。When the number of the poor quality results is greater than a preset threshold, the users corresponding to the poor quality results are poor quality users.
  12. 根据权利要求7至11任一项所述的方法,其特征在于,所述第二装置向所述第一装置发送第一质差识别模型之前,还包括:The method according to any one of claims 7 to 11, characterized in that before the second device sends the first quality difference identification model to the first device, it also includes:
    所述第二装置根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型,其中,所述第一质差识别模型的识别精度低于所述第二质差识别模型的识别精度。The second device obtains the first quality difference recognition model and the second quality difference recognition model through training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model.
  13. 根据权利要求12所述的方法,其特征在于,所述第二装置根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型之后,还包括:The method according to claim 12 is characterized in that after the second device obtains the first quality difference identification model and the second quality difference identification model through training according to historical KPI data, it also includes:
    所述第二装置向所述第一装置发送所述第一质差识别模型,其中,所述第一装置用于根据所述第一质差识别模型得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,所述置信度用于表明所述边缘侧质差结果所代表的准确程度,所述置信度包括所述第一置信度和所述第二置信度。The second device sends the first quality difference identification model to the first device, wherein the first device is used to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result according to the first quality difference identification model, and the confidence is used to indicate the accuracy represented by the edge side quality difference result, and the confidence includes the first confidence and the second confidence.
  14. 一种质差识别系统,其特征在于,所述系统包括第一装置和第二装置,其中,A quality difference identification system, characterized in that the system comprises a first device and a second device, wherein:
    所述第一装置用于执行权利要求1-6任意一项所述的方法,所述第二装置用于执行权利要求7-13任意一项所述的方法。The first device is used to execute the method according to any one of claims 1 to 6, and the second device is used to execute the method according to any one of claims 7 to 13.
  15. 一种计算装置,其特征在于,所述计算装置包括处理模块和通信模块,其中,A computing device, characterized in that the computing device comprises a processing module and a communication module, wherein:
    所述处理模块,用于根据第一质差识别模型对用户的关键表现指标KPI数据进行分析,得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,其中,所述置信度用于表明所述边缘侧质差识别结果所代表的准确程度;The processing module is used to analyze the key performance indicator KPI data of the user according to the first quality difference identification model to obtain the edge side quality difference identification result and the confidence corresponding to the edge side quality difference identification result, wherein the confidence is used to indicate the accuracy represented by the edge side quality difference identification result;
    所述通信模块,用于向第二装置发送所述置信度中第一置信度对应的KPI数据;The communication module is used to send KPI data corresponding to a first confidence level among the confidence levels to the second device;
    所述通信模块,还用于向所述第二装置发送所述置信度中第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的所述第二质差识别结果的准确度,所述第一质差识别结果和所述第二质差识别结果属于所述边缘侧质差识别结果。The communication module is also used to send a second quality difference identification result corresponding to a second confidence level in the confidence level to the second device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level, and the first quality difference identification result and the second quality difference identification result belong to the edge side quality difference identification result.
  16. 根据权利要求15所述的装置,其特征在于,所述计算装置为部署在边缘侧的装置,所述第二装置为部署在云端的装置。The device according to claim 15 is characterized in that the computing device is a device deployed on the edge side, and the second device is a device deployed on the cloud.
  17. 根据权利要求15或16所述的装置,其特征在于,所述处理模块,还用于:The device according to claim 15 or 16, characterized in that the processing module is further used to:
    通过接口设置数据的上报方式,所述上报方式包括置信度阈值和数据比例。The data reporting method is set through the interface, and the reporting method includes a confidence threshold and a data ratio.
  18. 根据权利要求17所述的装置,其特征在于,所述上报方式为所述置信度阈值的情况下,所述第一置信度小于所述置信度阈值,所述第二置信度大于或等于所述置信度阈值。The device according to claim 17 is characterized in that, when the reporting method is the confidence threshold, the first confidence is less than the confidence threshold, and the second confidence is greater than or equal to the confidence threshold.
  19. 根据权利要求17所述的装置,其特征在于,所述上报方式为所述数据比例的情况下,所述第一置信度为置信度排序中小于所述数据比例的置信度,所述第二置信度为所述置信度排序中大于或等于所述数据比例的置信度,所述置信度排序为将所述边缘侧识别结果所对应的置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值。The device according to claim 17 is characterized in that, when the reporting method is the data ratio, the first confidence is the confidence that is less than the data ratio in the confidence ranking, the second confidence is the confidence that is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is the numerical value corresponding to the confidence obtained by sorting the confidences corresponding to the edge-side recognition results in ascending order.
  20. 根据权利要求15至19任一项所述的装置,其特征在于,所述通信模块,还用于:The device according to any one of claims 15 to 19, characterized in that the communication module is further used for:
    接收来自所述第二装置的所述第一质差识别模型,所述第一质差识别模型为所述第二装置训练得到的。The first quality difference identification model is received from the second device, where the first quality difference identification model is trained by the second device.
  21. 一种计算装置,其特征在于,所示计算装置包括处理模块和通信模块,其中, A computing device, characterized in that the computing device comprises a processing module and a communication module, wherein:
    所述通信模块,用于接收来自第一装置的第一置信度对应的KPI数据;The communication module is used to receive KPI data corresponding to the first confidence level from the first device;
    所述通信模块,还用于接收来自所述第一装置的第二置信度对应的第二质差识别结果,其中,所述第一置信度所代表的第一质差识别结果的准确度低于所述第二置信度所代表的第二质差识别结果的准确度;The communication module is further configured to receive a second quality difference identification result corresponding to a second confidence level from the first device, wherein the accuracy of the first quality difference identification result represented by the first confidence level is lower than the accuracy of the second quality difference identification result represented by the second confidence level;
    所述处理模块,用于根据第二质差识别模型对所述第一置信度对应的KPI数据进行分析,得到云端质差识别结果;The processing module is used to analyze the KPI data corresponding to the first confidence level according to the second quality difference identification model to obtain a cloud quality difference identification result;
    所述处理模块,还用于根据所述第二质差识别结果和所述云端质差识别结果得到用户的质差识别结果。The processing module is further used to obtain the user's quality difference identification result according to the second quality difference identification result and the cloud quality difference identification result.
  22. 根据权利要求21所述的装置,其特征在于,所述第一装置为部署在边缘侧的装置,所述计算装置为部署在云端的装置。The device according to claim 21 is characterized in that the first device is a device deployed on the edge side, and the computing device is a device deployed on the cloud.
  23. 根据权利要求21或22所述的装置,其特征在于,所述第一置信度小于置信度阈值,所述第二置信度大于或等于所述置信度阈值,其中,所述置信度阈值为所述第一装置设置的上报方式。The device according to claim 21 or 22 is characterized in that the first confidence is less than a confidence threshold, and the second confidence is greater than or equal to the confidence threshold, wherein the confidence threshold is a reporting method set by the first device.
  24. 根据权利要求21或22所述的装置,其特征在于,所述第一置信度为置信度排序中小于数据比例的,所述第二置信度为所述置信度排序中大于或等于所述数据比例的,所述置信度排序为将置信度按照从小到大的顺序进行排序后得到的置信度所对应的数值,其中,所述置信度为所述第一装置根据第一质差识别模型对用户的KPI数据进行分析后得到的边缘侧质差识别结果所对应的置信度,所述数据比例为所述第一装置设置的上报方式。The device according to claim 21 or 22 is characterized in that the first confidence is less than the data ratio in the confidence ranking, the second confidence is greater than or equal to the data ratio in the confidence ranking, and the confidence ranking is a numerical value corresponding to the confidence obtained by sorting the confidence in ascending order, wherein the confidence is the confidence corresponding to the edge side quality difference identification result obtained by the first device after analyzing the user's KPI data according to the first quality difference identification model, and the data ratio is the reporting method set by the first device.
  25. 根据权利要求21至24任一项所述的装置,其特征在于,所述处理模块,具体用于:The device according to any one of claims 21 to 24, characterized in that the processing module is specifically used to:
    统计所述第二质差识别结果和所述云端质差识别结果中的质差结果,所述质差结果用于表明所述质差结果所对应的KPI数据所反映的网络情况差;Counting the quality difference results in the second quality difference identification result and the cloud quality difference identification result, wherein the quality difference results are used to indicate that the network situation reflected by the KPI data corresponding to the quality difference results is poor;
    在所述质差结果的数量大于预设阈值的情况下,所述质差结果所对应的用户为质差用户。When the number of the poor quality results is greater than a preset threshold, the users corresponding to the poor quality results are poor quality users.
  26. 根据权利要求21至25任一项所述的装置,其特征在于,所述处理模块,还用于:The device according to any one of claims 21 to 25, characterized in that the processing module is further used to:
    根据历史KPI数据训练得到所述第一质差识别模型和所述第二质差识别模型,其中,所述第一质差识别模型的识别精度低于所述第二质差识别模型的识别精度。The first quality difference recognition model and the second quality difference recognition model are obtained by training according to historical KPI data, wherein the recognition accuracy of the first quality difference recognition model is lower than the recognition accuracy of the second quality difference recognition model.
  27. 根据权利要求26所述的装置,其特征在于,所述通信模块,还用于:The device according to claim 26, characterized in that the communication module is further used to:
    向所述第一装置发送所述第一质差识别模型,其中,所述第一装置用于根据所述第一质差识别模型得到边缘侧质差识别结果和所述边缘侧质差识别结果所对应的置信度,所述置信度用于表明所述边缘侧质差结果所代表的准确程度,所述置信度包括所述第一置信度和所述第二置信度。The first quality difference identification model is sent to the first device, wherein the first device is used to obtain an edge side quality difference identification result and a confidence level corresponding to the edge side quality difference identification result according to the first quality difference identification model, the confidence level is used to indicate the accuracy represented by the edge side quality difference result, and the confidence level includes the first confidence level and the second confidence level.
  28. 一种计算设备,其特征在于,所述计算设备包括处理器和存储器,所述处理器用于执行存储器中存储的指令,以使得所述计算设备实现权利要求1-13任一项所述的方法。A computing device, characterized in that the computing device comprises a processor and a memory, and the processor is used to execute instructions stored in the memory so that the computing device implements the method described in any one of claims 1 to 13.
  29. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有程序指令,当所述程序指令在计算机或处理器上运行时,实现权利要求1-13任一所述的方法。A computer-readable storage medium, characterized in that program instructions are stored in the computer-readable storage medium, and when the program instructions are executed on a computer or a processor, the method described in any one of claims 1 to 13 is implemented.
  30. 一种计算机程序产品,其特征在于,所述计算机程序产品包括程序指令,当所述程序指令在计算机或处理器上运行时,实现权利要求1-13任一项所述的方法。 A computer program product, characterized in that the computer program product comprises program instructions, and when the program instructions are executed on a computer or a processor, the method described in any one of claims 1 to 13 is implemented.
PCT/CN2024/070535 2023-01-05 2024-01-04 Poor-quality identification method and related apparatus WO2024146592A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202310011197 2023-01-05
CN202310011197.8 2023-01-05
CN202310283247.8 2023-03-21
CN202310283247.8A CN118301013A (en) 2023-01-05 2023-03-21 Quality difference identification method and related device

Publications (1)

Publication Number Publication Date
WO2024146592A1 true WO2024146592A1 (en) 2024-07-11

Family

ID=91685161

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/070535 WO2024146592A1 (en) 2023-01-05 2024-01-04 Poor-quality identification method and related apparatus

Country Status (2)

Country Link
CN (1) CN118301013A (en)
WO (1) WO2024146592A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188119A (en) * 2011-12-27 2013-07-03 特克特朗尼克公司 Confidence intervals for key performance indicators in communication networks
US20200027047A1 (en) * 2018-07-19 2020-01-23 Sage Intacct, Inc. Automated identification and notification of performance trends
CN112183758A (en) * 2019-07-04 2021-01-05 华为技术有限公司 Method and device for realizing model training and computer storage medium
CN114091910A (en) * 2021-11-23 2022-02-25 广州瀚信通信科技股份有限公司 5G user quality difference complaint source tracing analysis method and device
CN115065606A (en) * 2022-05-31 2022-09-16 中移(杭州)信息技术有限公司 Home wide difference analysis method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188119A (en) * 2011-12-27 2013-07-03 特克特朗尼克公司 Confidence intervals for key performance indicators in communication networks
US20200027047A1 (en) * 2018-07-19 2020-01-23 Sage Intacct, Inc. Automated identification and notification of performance trends
CN112183758A (en) * 2019-07-04 2021-01-05 华为技术有限公司 Method and device for realizing model training and computer storage medium
CN114091910A (en) * 2021-11-23 2022-02-25 广州瀚信通信科技股份有限公司 5G user quality difference complaint source tracing analysis method and device
CN115065606A (en) * 2022-05-31 2022-09-16 中移(杭州)信息技术有限公司 Home wide difference analysis method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "Add use case and potential solutions of KPI anomaly analysis", 3GPP TSG-SA5 MEETING #131E, S5-203201, 15 May 2020 (2020-05-15), XP051886565 *

Also Published As

Publication number Publication date
CN118301013A (en) 2024-07-05

Similar Documents

Publication Publication Date Title
Paolucci et al. Network telemetry streaming services in SDN-based disaggregated optical networks
CN112567647B (en) PON fault positioning method and device
US20180359029A1 (en) Distributed measurements and analysis in networks
US10091675B2 (en) System and method for estimating an effective bandwidth
CN104429029A (en) Delay-based traffic rate control in networks with central controllers
CN108260034B (en) Method and device for acquiring service bearing capacity of access network
WO2011124107A1 (en) Method and system for detecting fiber connection
WO2009011768A1 (en) Method and apparatus for monitoring multicast bandwidth to a user
US20140341566A1 (en) Speed test throughput distribution
DE202017105896U1 (en) Wavelength tuning of an optical network termination unit
CN108768882A (en) A kind of processing method and system of protocol massages
Barsellotti et al. Introducing data processing units (DPU) at the edge
US20100332642A1 (en) System and method for analyzing domino impact of network growth
WO2024146592A1 (en) Poor-quality identification method and related apparatus
CN114244737A (en) Method, device and system for evaluating network quality
CN112751710A (en) Broadband user quality difference scaling method and system
Mogyorósi et al. Adaptive protection of scientific backbone networks using machine learning
CN214045899U (en) I-PON system with UDP tunnel constructed by using server
Hui et al. A dynamic bandwidth allocation Algorithm based on differentiated service cycle in multi-service hybrid VPON
CN1997238A (en) TDMA passive optical network OLT system for broadcast service
Vallejos et al. Fast blocking probability evaluation of end-to-end optical burst switching networks with non-uniform ON–OFF input traffic model
WO2024109604A1 (en) Fault analysis method and apparatus for pon system, and device
Liem et al. A Novel Temporal Dynamic Wavelength Bandwidth Allocation based on Long-Short-Term-Memory in NG-EPON
CN107835466B (en) Statistical method and statistical system for PON equipment service flow
Oh et al. SDN based real-time latency measurement and its monitoring for 5G mobile convergence passive optical networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24738525

Country of ref document: EP

Kind code of ref document: A1