CN114254770A - Work order generation method, device, equipment and storage medium - Google Patents

Work order generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114254770A
CN114254770A CN202111425910.0A CN202111425910A CN114254770A CN 114254770 A CN114254770 A CN 114254770A CN 202111425910 A CN202111425910 A CN 202111425910A CN 114254770 A CN114254770 A CN 114254770A
Authority
CN
China
Prior art keywords
optical
attenuation
network unit
optical network
optical attenuation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111425910.0A
Other languages
Chinese (zh)
Inventor
华一强
李洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111425910.0A priority Critical patent/CN114254770A/en
Publication of CN114254770A publication Critical patent/CN114254770A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/60Business processes related to postal services

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Optical Communication System (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a work order generation method, a work order generation device, a work order generation equipment and a storage medium. The method comprises the following steps: acquiring an optical attenuation message uploaded by each optical network unit in each period within a set time period, wherein the optical attenuation message comprises a device identifier of the optical network unit and an optical attenuation value of the optical network unit corresponding to the current uploading period; determining the light attenuation characteristic value of each optical network unit according to the equipment identifier and the light attenuation value in each light attenuation message received in a set time period; the optical attenuation maintenance work orders are generated according to the optical attenuation characteristic values of the optical network units, tracking of the optical attenuation values based on equipment identification is achieved, comprehensive evaluation of the optical attenuation of the optical network units is conducted based on the optical attenuation values of multiple periods, the work orders aiming at the optical attenuation problem are automatically generated based on the optical attenuation characteristic values, maintenance of the optical network units is conducted, the order dispatching efficiency and the network quality are improved, and the satisfaction degree of users on broadband services is improved.

Description

Work order generation method, device, equipment and storage medium
Technical Field
The present application relates to communications technologies, and in particular, to a work order generation method, apparatus, device, and storage medium.
Background
The Optical attenuation is the received Optical power of an Optical Network Unit (ONU) PON (Passive Optical Network) port, and is an important index for evaluating the Network quality of the ONU.
A telecom operator receives and uploads optical attenuation data uploaded by each ONU through a set of access network comprehensive network management platform, and then relevant personnel send orders based on the optical attenuation data uploaded by each ONU so as to inform smart home engineers to maintain the ONU with smaller optical attenuation, so that the network quality is improved.
Then, because the number of ONUs is huge, the manual order dispatching mode is inefficient, and the ONUs with abnormal risks cannot be maintained in time, so that the internet surfing experience of a user is influenced, and the satisfaction degree of the user on broadband services is reduced.
Disclosure of Invention
The application provides a work order generation method, a work order generation device, a work order generation equipment and a storage medium, which are used for solving the problem of poor work order distribution efficiency.
In a first aspect, the present application provides a work order generation method, including:
acquiring an optical attenuation message uploaded by each optical network unit in each period within a set time period, wherein the optical attenuation message comprises a device identifier of the optical network unit and an optical attenuation value of the optical network unit corresponding to the current uploading period; determining the light attenuation characteristic value of each optical network unit according to the equipment identifier and the light attenuation value in each light attenuation message received in a set time period; and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit.
Optionally, determining the characteristic value of the optical attenuation of each optical network unit according to the device identifier and the optical attenuation value in each optical attenuation message received in the set time period includes:
searching each optical attenuation message uploaded by each optical network unit in a set time period from each optical attenuation message received in the set time period based on the equipment identifier; and aiming at each optical network unit, determining the optical attenuation characteristic value of the optical network unit according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period.
Optionally, determining the characteristic value of optical attenuation of the optical network unit according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period includes:
determining an optical attenuation characteristic value of the optical network unit according to each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, wherein the optical attenuation characteristic value comprises one or more of an average value, a variance, a maximum value, a minimum value and a mode of each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within the set time period.
Optionally, after searching each optical attenuation packet uploaded by each optical network unit within the set time period from each optical attenuation packet received within the set time period based on the device identifier, the method further includes:
aiming at optical attenuation messages uploaded by each optical network unit within a set time period, screening the optical attenuation messages uploaded by the optical network units within the set time period based on optical attenuation values to obtain a preset number of optical attenuation messages corresponding to the optical network units, and determining optical attenuation characteristic values of the optical network units according to the preset number of optical attenuation messages corresponding to the optical network units; and/or, for the optical attenuation messages uploaded by each optical network unit within a set time period, performing validity judgment on each optical attenuation message uploaded by the optical network unit within the set time period to delete the optical attenuation messages which fail to pass the validity judgment.
Optionally, the validity of each optical attenuation packet uploaded by the optical network unit within a set time period is determined, where the validity includes at least one of the following:
aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether an optical attenuation value in the optical attenuation message is located in a first interval, and if not, determining that the optical attenuation message is illegal; aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether the date in the optical attenuation message is consistent with the date corresponding to the period for uploading the optical attenuation message, and if not, determining that the optical attenuation message is illegal; calculating the similarity between the light attenuation value in each light attenuation message uploaded on the current day and the light attenuation value in each light attenuation message uploaded on the previous day aiming at each light attenuation message uploaded by the optical network unit every day in a set time period; and judging whether the similarity between the current day and the previous day is in a second interval, and if not, determining that all the optical attenuation messages uploaded on the current day are not legal.
Optionally, generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit includes:
determining the order dispatching priority of each optical network unit according to the light attenuation characteristic value of each optical network unit; and generating each light attenuation maintenance work order according to the order dispatching priority of each optical network unit.
Optionally, the light attenuation characteristic values include a light attenuation average value and a light attenuation variance, and the determining the order priority of each optical network unit according to the light attenuation characteristic values of each optical network unit includes:
aiming at each optical network unit, judging whether the optical attenuation variance of the optical network unit is smaller than a first variance; if the light attenuation variance of the optical network unit is smaller than the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a first relational expression; and if the light attenuation variance of the optical network unit is greater than or equal to the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a second relational expression.
Optionally, the first relation is:
Figure BDA0003378439330000031
or the like, or, alternatively,
Figure BDA0003378439330000032
the second relation is:
Pi=|AVGi-THR|×VARieither, or,
Figure BDA0003378439330000033
wherein, PiAssigning a priority to the optical network unit with the equipment identifier i; AVGiThe average value of the optical attenuation of the optical network unit with equipment identification i; VARiThe variance of optical attenuation for the optical network unit identified as i by the device; THR is the first light attenuation threshold.
Optionally, generating each light attenuation maintenance work order according to the order dispatching priority of each optical network unit includes:
according to the order dispatching priority of each network unit, sequencing each optical network unit according to the order dispatching priority from high to low; determining each target optical network unit according to the sequencing result; and aiming at each target optical network unit, generating an optical attenuation maintenance work order of the target optical network unit according to the optical attenuation characteristic value of the target optical network unit and/or each optical attenuation value corresponding to the target optical network unit.
Optionally, before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, the method further includes:
and aiming at each optical network unit, judging whether the optical network unit meets a preset condition or not according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period.
Correspondingly, generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, including:
and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit meeting the preset condition.
Optionally, the determining, according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, whether the optical network unit meets a preset condition includes:
judging whether the average value of the light attenuation values in the light attenuation messages uploaded by the optical network unit in a set time period is smaller than a second light attenuation threshold or not; and if the light attenuation value is smaller than the second light attenuation threshold, determining whether the optical network unit meets a preset condition.
Optionally, the determining, according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, whether the optical network unit meets a preset condition includes:
judging whether an optical attenuation value smaller than a second optical attenuation threshold exists in optical attenuation values in optical attenuation messages uploaded by the optical network unit within a set time period; and if so, determining whether the optical network unit meets a preset condition.
In a second aspect, the present application provides a work order generation apparatus, comprising:
the message acquisition module is used for acquiring optical attenuation messages uploaded by each optical network unit in each period within a set time period, wherein the optical attenuation messages comprise equipment identifiers of the optical network units and optical attenuation values of the optical network units corresponding to the current uploading period; the characteristic value determining module is used for determining the light attenuation characteristic value of each optical network unit according to the equipment identifier and the light attenuation value in each light attenuation message received in the set time period; and the work order generating module is used for generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit.
Optionally, the characteristic value determining module includes:
the message searching unit is used for searching each optical attenuation message uploaded by each optical network unit in a set time period from each optical attenuation message received in the set time period based on the equipment identifier; and the characteristic value determining unit is used for determining the light attenuation characteristic value of each optical network unit according to the light attenuation value in each light attenuation message uploaded by the optical network unit within a set time period.
Optionally, the characteristic value determining unit is specifically configured to:
and for each optical network unit, determining an optical attenuation characteristic value of the optical network unit according to each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, wherein the optical attenuation characteristic value comprises one or more of an average value, a variance, a maximum value, a minimum value and a mode of each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within the set time period.
Optionally, the apparatus further comprises:
the screening module is used for screening each optical attenuation message uploaded by each optical network unit in a set time period based on an optical attenuation value aiming at the optical attenuation message uploaded by each optical network unit in the set time period after searching each optical attenuation message uploaded by each optical network unit in the set time period from each optical attenuation message received in the set time period based on the equipment identification so as to obtain a preset number of optical attenuation messages corresponding to the optical network unit, and determining an optical attenuation characteristic value of the optical network unit according to the preset number of optical attenuation messages corresponding to the optical network unit; and/or the legality judging module is used for judging the legality of each optical attenuation message uploaded by each optical network unit in a set time period aiming at the optical attenuation message uploaded by each optical network unit in the set time period so as to delete the optical attenuation message which is not judged by the legality.
Optionally, the validity determining module is specifically configured to execute at least one of the following:
aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether an optical attenuation value in the optical attenuation message is located in a first interval, and if not, determining that the optical attenuation message is illegal; aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether the date in the optical attenuation message is consistent with the date corresponding to the period for uploading the optical attenuation message, and if not, determining that the optical attenuation message is illegal; calculating the similarity between the light attenuation value in each light attenuation message uploaded on the current day and the light attenuation value in each light attenuation message uploaded on the previous day aiming at each light attenuation message uploaded by the optical network unit every day in a set time period; and judging whether the similarity between the current day and the previous day is in a second interval, and if not, determining that all the optical attenuation messages uploaded on the current day are not legal.
Optionally, the work order generation module includes:
the priority determining unit is used for determining the order dispatching priority of each optical network unit according to the light attenuation characteristic value of each optical network unit; and the work order generating unit is used for generating each light attenuation maintenance work order according to the order dispatching priority of each optical network unit.
Optionally, the light attenuation characteristic value includes a light attenuation average value and a light attenuation variance, and the priority determining unit is specifically configured to:
aiming at each optical network unit, judging whether the optical attenuation variance of the optical network unit is smaller than a first variance; if the light attenuation variance of the optical network unit is smaller than the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a first relational expression; and if the light attenuation variance of the optical network unit is greater than or equal to the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a second relational expression.
Optionally, the work order generating unit is specifically configured to:
according to the order dispatching priority of each network unit, sequencing each optical network unit according to the order dispatching priority from high to low; determining each target optical network unit according to the sequencing result; and aiming at each target optical network unit, generating an optical attenuation maintenance work order of the target optical network unit according to the optical attenuation characteristic value of the target optical network unit and/or each optical attenuation value corresponding to the target optical network unit.
Optionally, the apparatus further comprises:
and the equipment judgment module is used for judging whether the optical network units meet preset conditions or not according to the optical attenuation values in the optical attenuation messages uploaded by the optical network units within a set time period aiming at the optical network units before generating the optical attenuation maintenance work orders according to the optical attenuation characteristic values of the optical network units.
Correspondingly, the work order generation module is specifically configured to:
and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit meeting the preset condition.
Optionally, the device determination module is specifically configured to:
before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, judging whether the average value of the optical attenuation values in each optical attenuation message uploaded by the optical network unit in a set time period is smaller than a second optical attenuation threshold or not aiming at each optical network unit; and if the light attenuation value is smaller than the second light attenuation threshold, determining whether the optical network unit meets a preset condition.
Optionally, the device determination module is specifically configured to:
before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, judging whether an optical attenuation value smaller than a second optical attenuation threshold exists in the optical attenuation values in each optical attenuation message uploaded by the optical network unit in a set time period or not aiming at each optical network unit; and if so, determining whether the optical network unit meets a preset condition.
In a third aspect, the present application further provides a work order generating device, including: a processor, and a memory communicatively coupled to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the work order generation method provided by the first aspect of the present application.
In a fourth aspect, the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the work order generation method provided in the first aspect of the present application.
In a fifth aspect, the present application further provides a computer program product comprising a computer program, which when executed by a processor, implements the work order generation method provided in the first aspect of the present application.
According to the work order generation method, device, equipment and storage medium, aiming at a scene of dispatching orders based on optical attenuation values of optical network units, the optical attenuation messages comprising equipment identifications and optical attenuation values are uploaded by controlling the optical network units according to a set period, then the optical attenuation values of the optical network units are tracked based on the equipment identifications, the optical attenuation characteristic values of the optical network units are determined based on the optical attenuation values of the optical network units in a set time period, the optical attenuation conditions of the optical network units are evaluated based on the optical attenuation characteristic values and an optical attenuation maintenance work order is generated to indicate relevant engineers to maintain the optical network units, automatic dispatching orders are achieved, dispatching efficiency of dispatching orders is improved, further efficiency and timeliness of optical attenuation problem maintenance are improved, and network experience of users and satisfaction of broadband services are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an operation and maintenance system architecture according to an embodiment of the present application;
FIG. 2 is a flow chart of a work order generation method provided by an embodiment of the present application;
FIG. 3 is a flow chart of a work order generation method provided by another embodiment of the present application;
FIG. 4 is a flowchart of step S306 in the embodiment of FIG. 3;
FIG. 5 is a flowchart of step S307 in the embodiment shown in FIG. 3;
fig. 6 is a schematic structural diagram of a work order generation apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a work order generating device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Fig. 1 is a schematic diagram of an operation and maintenance system architecture provided in an embodiment of the present application, and as shown in fig. 1, an operation and maintenance system for an optical attenuation problem is a distributed system and is composed of an operation and maintenance platform and a comprehensive network management platform, where the operation and maintenance platform is responsible for receiving optical attenuation values uploaded by optical network units ONU in a corresponding area, and the comprehensive network management platform receives optical attenuation values uploaded by the optical network units on the operation and maintenance platform, so that an operation and maintenance person determines an optical network unit to be maintained based on the optical attenuation values of the optical network units received by the comprehensive network management platform, thereby performing order distribution.
In some embodiments, in order to improve the order dispatching efficiency, the integrated network management platform may sort the light attenuation values of the optical network units received at the current time, so that the operation and maintenance personnel dispatches orders for the optical network units with smaller light attenuation values, for example, the operation and maintenance plane of the integrated network management platform performs corresponding operations, and for example, each smaller light attenuation value is selected, so as to trigger generation and issuing of a work order of the optical network unit corresponding to the light attenuation value, thereby implementing light attenuation adjustment on each optical network unit with smaller light attenuation value.
Due to the fact that the number of the optical network units is large, operation and maintenance personnel cannot carry out dispatching rapidly and accurately, and dispatching efficiency is low; when the work order is generated, the optical network unit corresponding to the optical attenuation value can be determined only by loading a plurality of resources, so that the work order generation efficiency is low; due to the complexity of the optical attenuation problem, the optical network unit which may have the optical attenuation problem cannot be accurately evaluated based on the optical attenuation value acquired once, so that the accuracy of operation and maintenance of the optical network unit is low.
The work order generation method provided by the application aims to solve the technical problems in the prior art. The main conception is as follows: tracking of the light attenuation value is achieved based on the equipment identification in the light attenuation message, the light attenuation problem of each optical network unit is evaluated based on the light attenuation value in the light attenuation message uploaded by each optical network unit in a plurality of periods, so that the optical network unit needing to be maintained is determined through the calculated light attenuation characteristic value, the light attenuation maintenance work order of the optical network unit is generated and issued, automatic order dispatching aiming at the light attenuation problem is achieved, and the order dispatching efficiency is improved; meanwhile, the light attenuation problem is evaluated through multiple groups of light attenuation values for a long time, and the accuracy and timeliness of the order dispatching are improved.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a work order generation method according to an embodiment of the present application, where the method may be executed by a work order generation device, and the work order generation device may be the above-mentioned integrated network management platform 120 or other devices, and may be in the form of a computer, a server, and the like, as shown in fig. 2, the work order generation method includes the following steps:
step S201, obtaining the optical attenuation messages uploaded by each optical network unit in each period within a set time period.
The set time period may be 1 day, 3 days, 7 days, 14 days or other time periods, the set time period includes a plurality of cycles, and one cycle may be 1 hour, 2 hours, 6 hours, 12 hours, 1 day or other time periods. The optical attenuation message includes an equipment identifier of the optical network unit and an optical attenuation value of the optical network unit corresponding to the current uploading period. The device identifier of the optical network unit may be used to identify the corresponding optical network unit, and the device identifier may be composed of characters such as multi-digit numbers and letters. The optical attenuation value is the receiving optical power of the PON port of the optical network unit.
In some embodiments, the device identification may be a globally unique identification, i.e. the device identifications of different optical network units are different.
In some embodiments, the device identification may be a locally unique identification, such as one that remains unique only within the scope of the work order generating device to which it belongs, without guaranteeing global uniqueness.
Exemplarily, taking two ONUs as an example, the two ONUs are named as ONU1 and ONU2, and the two ONUs belong to or correspond to the same work order generating device, that is, are located in the same platform, the device identifiers of ONU1 and ONU2 may be 043100444781 and 043100444889, when the optical attenuation values of ONU1 and ONU2 are reported each time, the device identifiers in the generated optical attenuation messages are kept unchanged, for example, 0431004447812994, 0431004447812935, and 0431004448892763, the last four bits of the optical attenuation messages are used for describing the optical attenuation values, "0431004447812994" indicates that the optical attenuation value of ONU1 in the corresponding period is-29.94 dBm, and "0431004448892763" indicates that the optical attenuation value of ONU2 in the corresponding period is-27.63 dBm.
Specifically, the work order generating device may directly obtain the optical attenuation messages uploaded by each optical network unit in each period. Or the operation and maintenance platform arranged in each region may acquire and store the optical attenuation messages uploaded by each optical network unit in each period in the region, and then each operation and maintenance platform sends the optical attenuation messages uploaded by each optical network unit in each period to the work order generation device by using the set time period, period or other time periods as step lengths, so as to dispatch the work order according to the optical attenuation problem.
In some embodiments, each province may correspond to a work order generation device, so as to be responsible for generation and issue of work orders of each optical network unit of the province. The device identification may be globally unique only within the corresponding province. Or the device identifier may include an identifier of the work order generation device to which the work order generation device belongs, so as to obtain a globally unique device identifier.
Further, the optical attenuation messages uploaded by each optical network unit within a set time period can be preprocessed. The preprocessing may include one or more of a screening process and a legitimacy determination process. The screening treatment specifically comprises the following steps: screening the optical attenuation messages corresponding to each optical network unit based on the optical attenuation values so as to enable the number of the optical attenuation messages corresponding to each optical network unit to be a preset number; the validity judgment may include the validity judgment of a single optical attenuation message, and the validity judgment of each group of optical attenuation messages according to a set step length, such as one day, for each optical network unit. The validity judgment of the light attenuation message may include validity judgment of factors such as a light attenuation value and a date in the light attenuation message.
In some embodiments, the preprocessing may further include format conversion, for example, formats of optical attenuation messages uploaded by optical network units of different models or brands may be different, and the optical attenuation messages of the respective optical network units are converted into optical attenuation messages of a uniform format through the preprocessing.
Step S202, determining the light attenuation characteristic value of each optical network unit according to the equipment identifier and the light attenuation value in each light attenuation message received in the set time period.
The characteristic value of light attenuation may include one or more of parameters such as an average value, a variance, a maximum value, a minimum value, a mode, and the like of each light attenuation value corresponding to the optical network unit.
Specifically, the set time periods are used as step lengths, and the optical attenuation values of the optical network units are counted and tracked based on the device identifiers in the optical attenuation messages obtained in each set time period, so that the optical attenuation characteristic values of the optical network units are determined based on the optical attenuation values uploaded by the optical network units in each period in the set time periods.
Specifically, the device identifier and the light attenuation value in each light attenuation message in the set time period may be extracted, and the light attenuation characteristic value of each optical network unit may be determined based on the extracted device identifier and the corresponding light attenuation value in the preset time period.
Optionally, determining the characteristic value of the optical attenuation of each optical network unit according to the device identifier and the optical attenuation value in each optical attenuation message received in the set time period includes:
searching each optical attenuation message uploaded by each optical network unit in a set time period from each optical attenuation message received in the set time period based on the equipment identifier; and aiming at each optical network unit, determining the optical attenuation characteristic value of the optical network unit according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period.
Specifically, since the device identifier is unique within the range corresponding to the work order generating device, the optical attenuation messages uploaded by each optical network unit in each period within the set time period can be counted based on the device identifier, so as to obtain each optical attenuation message corresponding to each optical network unit; and further determining the light attenuation characteristic value of the optical network unit based on the light attenuation value in each light attenuation message corresponding to the optical network unit or the light attenuation value in each light attenuation message uploaded in a set time period.
Step S203, generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit.
The optical attenuation maintenance work order may include an identifier of the optical network unit that needs to be maintained, and may further include information such as a historical optical attenuation value and an optical attenuation characteristic value of the optical network unit, for example, the optical attenuation value and the optical attenuation characteristic value in the set time period.
Specifically, whether the optical network unit needs to be maintained or not can be judged according to the optical attenuation characteristic value of the optical network unit, and if yes, the optical attenuation maintenance work order of the optical network unit is generated.
Further, whether the optical network unit needs to be maintained may be determined based on a comparison result between each light attenuation characteristic value and a corresponding threshold value, for example, whether an average value in the light attenuation characteristic values of the optical network unit is smaller than a second threshold, such as-27 dBm, and whether a variance in the light attenuation characteristic values of the optical network unit exceeds a preset interval may be determined, and if at least one of the values is yes, it may be determined that the optical network unit needs to be maintained.
In some embodiments, it may also be determined whether the optical network unit needs to be maintained according to the optical attenuation values in the optical attenuation messages uploaded by the optical network unit within the set time period, for example, whether an optical attenuation value smaller than the second threshold exists in the optical attenuation values in the optical attenuation messages uploaded by the optical network unit within the set time period is determined, and if the optical attenuation value exists, it is determined that the optical network unit needs to be maintained.
Further, when there are a large number of optical network units to be maintained, for example, the number of optical network units is greater than the first number of smart home engineers corresponding to the work order generating device, the optical network units may be sorted according to the optical attenuation characteristic values of the optical network units to generate the first number of optical attenuation maintenance work orders of the optical network units before ranking, so as to maintain the optical attenuation problem of the first number of optical network units before ranking.
Further, after each optical attenuation maintenance work order is generated, the responsible person of each optical attenuation maintenance work order is determined based on the address of the PON port of the optical network unit corresponding to each optical attenuation maintenance work order, and public information such as the work order number of each optical attenuation maintenance work order or each optical attenuation maintenance work order is sent to the terminal of the corresponding responsible person, such as a mobile terminal, a computer, a notebook, and the like, so that the responsible person can maintain the corresponding optical network unit.
The work order generation method provided by this embodiment is directed to a scenario of dispatching orders based on optical attenuation values of optical network units, and is implemented by controlling each optical network unit to upload an optical attenuation message including an equipment identifier and an optical attenuation value according to a set period, tracking the optical attenuation value of each optical network unit based on the equipment identifier, determining an optical attenuation characteristic value of each optical network unit based on the optical attenuation value of each optical network unit in a set time period, evaluating the optical attenuation condition of each optical network unit based on the optical attenuation characteristic value and generating an optical attenuation maintenance work order to instruct a relevant engineer to maintain the optical network unit, so that automatic dispatching orders are implemented, the dispatching efficiency is improved, the maintenance efficiency and timeliness of optical attenuation problems are improved, and the network experience of users and the satisfaction degree of broadband services are improved.
Optionally, before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, the method further includes: aiming at each optical network unit, judging whether the optical network unit meets a preset condition or not according to an optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period; correspondingly, generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, including: and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit meeting the preset condition.
Specifically, when the optical network unit meets a preset condition, or an optical attenuation value of the optical network unit within a set time period meets the preset condition, it is determined that the optical network unit needs to be maintained. Then, only for the optical network unit that needs to be maintained or the optical network unit that meets the preset condition, according to the device identifier of each optical network unit that meets the preset condition, each optical attenuation message that is uploaded by each optical network unit that meets the preset condition within the set time period is searched from each optical attenuation message that is received within the set time period, so that each optical attenuation maintenance work order is generated according to the optical attenuation characteristic value of each optical network unit that meets the preset condition.
By judging the preset conditions, the optical network units are screened, so that the evaluation and the subsequent work order generation are performed only on the basis of the optical attenuation messages of the optical network units with high possibility of problems, the quantity of data to be processed is reduced, and the order generation efficiency is further improved.
Optionally, the determining, according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, whether the optical network unit meets a preset condition includes:
judging whether the average value of the light attenuation values in the light attenuation messages uploaded by the optical network unit in a set time period is smaller than a second light attenuation threshold or not; and if the light attenuation value is smaller than the second light attenuation threshold, determining whether the optical network unit meets a preset condition.
The second light attenuation threshold may be-26 dBm, -27dBm, -28dBm or other values, and may be determined according to parameters such as the number of optical network units corresponding to the work order generating device, the number of smart home engineers, and the like.
Specifically, the average value of the optical attenuation values in the optical attenuation messages uploaded by the optical network unit within the set time period may be an average value of non-zero optical attenuation values in the optical attenuation messages uploaded by the optical network unit within the set time period.
Through the screening of the preset conditions based on the average value, more optical network units can be filtered, so that targeted optical attenuation problem maintenance is realized, the number of optical attenuation messages to be processed is greatly reduced, the time for generating the work order is shortened, and the necessity of work order maintenance is improved.
Optionally, the determining, according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, whether the optical network unit meets a preset condition includes:
judging whether an optical attenuation value smaller than a second optical attenuation threshold exists in optical attenuation values in optical attenuation messages uploaded by the optical network unit within a set time period; and if so, determining whether the optical network unit meets a preset condition.
Through a loose preset condition, the omission of the optical network units with hidden troubles of optical attenuation can be avoided, and the comprehensiveness of operation and maintenance is improved.
Fig. 3 is a flowchart of a work order generation method according to another embodiment of the present application, where this embodiment is based on the embodiment shown in fig. 2, further refines step S202 and step S203, and adds a step of preprocessing each light attenuation packet after step S201, and as shown in fig. 3, the work order generation method according to this embodiment may include the following steps:
step S301, obtaining the optical attenuation messages uploaded by each optical network unit in each period within a set time period.
The optical attenuation message includes the device identifier of the optical network unit and the optical attenuation value of the optical network unit corresponding to the current uploading period.
Step S302, based on the device identifier, searching each optical attenuation message uploaded by each optical network unit within a set time period from each optical attenuation message received within the set time period.
Step S303, for the optical attenuation packets uploaded by each optical network unit within the set time period, performing validity judgment on each optical attenuation packet uploaded by the optical network unit within the set time period to delete the optical attenuation packets that fail the validity judgment.
Specifically, whether the optical attenuation messages uploaded by the optical network unit in each set time period satisfy each legitimacy judgment condition can be judged through the preset legitimacy judgment condition.
The validity judging condition may include a validity judging condition of the light attenuation value to judge whether the light attenuation value in each light attenuation message is located in the first interval, and may also include a time validity judging condition to judge whether the reporting time of each light attenuation message is within a preset time period, and judge whether the time in the light attenuation message is consistent with the period corresponding to the light attenuation message; the validity judgment condition of the similarity can also be included, and whether the similarity between the light attenuation value in the light attenuation message of each period uploaded by the optical network unit on the current day and the light attenuation value in the light attenuation message of each period uploaded by the optical network unit on the previous day is in a second interval or not is judged aiming at each optical network unit; if the judgment result of any one of the legality judgment conditions is negative, determining that the corresponding light attenuation message does not pass the legality judgment, and deleting the light attenuation message which does not pass the legality judgment.
Through the legality judgment, the accuracy of the light attenuation value for light attenuation judgment is improved, and therefore the accuracy of the work order maintenance order is improved.
Optionally, the validity of each optical attenuation packet uploaded by the optical network unit within a set time period is determined, where the validity includes at least one of the following:
aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether an optical attenuation value in the optical attenuation message is located in a first interval, and if not, determining that the optical attenuation message is illegal; aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether the date in the optical attenuation message is consistent with the date corresponding to the period for uploading the optical attenuation message, and if not, determining that the optical attenuation message is illegal; calculating the similarity between the light attenuation value in each light attenuation message uploaded on the current day and the light attenuation value in each light attenuation message uploaded on the previous day aiming at each light attenuation message uploaded by the optical network unit every day in a set time period; and judging whether the similarity between the current day and the previous day is in a second interval, and if not, determining that all the optical attenuation messages uploaded on the current day are not legal.
The upper limit value of the first interval may be-8 dBm, -7dBm or other values, and the lower limit value of the first interval may be-27 dBm, -28dBm or other values. The similarity may be expressed as a percentage, and the upper limit value of the second interval may be 80%, 90%, or other values, and the lower limit value of the second interval may be 10%, 20%, or other values.
Specifically, the similarity between the light attenuation values in each light attenuation message uploaded on the current day and the light attenuation values in each light attenuation message uploaded on the previous day is calculated, and the calculated similarity may be calculated as a percentage of the light attenuation values with the same numerical value and sequence of the light attenuation values in the array of the light attenuation values corresponding to the current day and the array of the light attenuation values corresponding to the previous day in the array of the light attenuation values corresponding to the current day. Or determining the similarity between the current day and the previous day according to the overlapping rate of the two curves by fitting the curve where the array of the light attenuation values corresponding to the current day and the array of the light attenuation values corresponding to the previous day are located.
Through the validity judgment, abnormal light attenuation messages, such as light attenuation messages with abnormal light attenuation value range, light attenuation messages with abnormal reporting date, and a group of light attenuation messages with extremely high or extremely low similarity between the light attenuation value and the previous group of light attenuation messages, can be deleted, so that the accuracy of the light attenuation messages for evaluation is improved.
Step S304, if the number of the optical attenuation packets that the optical network unit judges through the legality is greater than the preset number, screening each optical attenuation packet that the optical network unit judges through the legality based on the optical attenuation value to obtain the preset number of optical attenuation packets corresponding to the optical network unit.
Specifically, the screening of each optical attenuation packet of the optical network unit according to the legality judgment based on the optical attenuation value may be to delete one or more optical attenuation packets of the optical network unit with an optical attenuation value of 0 according to the legality judgment and with a larger or smaller optical attenuation value, so that the number of the optical attenuation packets corresponding to the screened optical network unit is a preset number.
For example, taking a day as a period for screening, assuming that each optical network unit needs to upload n optical attenuation messages every day, that is, the preset number is n, and the optical network unit O1 actually uploads n + n1 optical attenuation messages on a certain day, the optical attenuation values in the n + n1 optical attenuation messages can be obtained, and then n1 optical attenuation messages with the highest optical attenuation values are deleted, or n1 optical attenuation messages with the lowest optical attenuation values are deleted, or the average avg of the optical attenuation values in the n + n1 optical attenuation messages is calculated, and n1 optical attenuation messages with the largest absolute value of the difference between the optical attenuation values and the avg are deleted.
Through the screening operation, the quantity of the optical attenuation messages uploaded by each optical network unit every day is the preset quantity, so that the situation that the evaluation of the optical network units has deviation due to the deviation of the quantity of the optical attenuation values is avoided.
Specifically, if the number of the optical attenuation packets determined by the onu based on the validity determination is less than or equal to the preset number, step S304 may be omitted, and step S305 is directly performed.
Further, if the number of the optical attenuation packets judged by the optical network unit through legitimacy is smaller than the preset number, the number of the optical attenuation packets of the optical network unit can be supplemented to the preset number through an interpolation method.
Step S305, determining an optical attenuation characteristic value of the optical network unit according to each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period.
The characteristic value of light attenuation includes one or more of an average value, a variance, a maximum value, a minimum value and a mode of each non-zero light attenuation value in each light attenuation message uploaded by the optical network unit within a set time period.
In some embodiments, when the user does not turn on the optical network unit, in the optical attenuation message uploaded in the time period, the optical attenuation value of the optical network unit is 0. In order to reduce the influence of the light attenuation value with the value of 0 on the generation of the subsequent work order or the determination of the priority, the evaluation of the light attenuation problem is carried out aiming at the non-zero light attenuation value, and the accuracy of the work order generation and the accuracy of the operation and maintenance are further improved.
Specifically, the characteristic value of the optical attenuation of the optical network unit may be determined according to nonzero optical attenuation values in a preset number of optical attenuation messages corresponding to the optical network unit uploaded within a set time period.
Step S306, determining the order dispatching priority of each optical network unit according to the light attenuation characteristic value of each optical network unit.
The order priority is used for evaluating the possibility that each optical network unit may have the light attenuation problem, and the higher the order priority is, the higher the possibility that the optical network unit has the light attenuation problem is.
Specifically, the order priority of the onu may be determined according to one or more of an average value, a variance, a maximum value, a minimum value, and a mode of each non-zero optical attenuation value in each optical attenuation message uploaded by the onu within a set time period.
Further, a first corresponding relationship may be established in advance, and the order dispatching priority of the onu may be determined based on the first corresponding relationship and one or more of an average value, a variance, a maximum value, a minimum value, and a mode of each non-zero optical attenuation value in each optical attenuation message uploaded by the onu within a set time period. The first corresponding relation is used for describing the corresponding relation between each light attenuation characteristic value, such as an average value, a variance, a maximum value, a minimum value, a mode and the like, and the order priority.
Optionally, fig. 4 is a flowchart of step S306 in the embodiment shown in fig. 3 of the present application, and as shown in fig. 4, step S306 may include the following steps:
step S3061, for each onu, determining whether the variance of optical attenuation of the onu is smaller than the first variance.
The first variance may be 1.2, 1, 0.5, or other values.
Step S3062, if the light attenuation variance of the optical network unit is smaller than the first variance, determining the order priority of the optical network unit according to the light attenuation average of the optical network unit and the first relational expression.
Step S3063, if the light attenuation variance of the optical network unit is greater than or equal to the first variance, determining a dispatch priority of the optical network unit according to the light attenuation average of the optical network unit and the second relational expression.
Wherein, the first relational expression and the second relational expression are different relational expressions.
The calculation of the order dispatching priority is carried out by adopting different relational expressions in a segmented mode based on the variance, so that the setting of the order dispatching priority is more in line with the emergency degree of the light attenuation problem of the optical network unit, the accuracy of the priority setting is improved, and the accuracy and pertinence of the work order generation are further improved.
Optionally, the first relation is:
Figure BDA0003378439330000141
or
Figure BDA0003378439330000142
Or
Figure BDA0003378439330000143
Or
Figure BDA0003378439330000144
The second relation is:
Pi=|AVGi-THR|×VARior is or
Figure BDA0003378439330000145
Figure BDA0003378439330000146
Or
Figure BDA0003378439330000147
Wherein, PiAssigning a priority to the optical network unit with the equipment identifier i; AVGiThe average value of the optical attenuation of the optical network unit with equipment identification i; VARiThe variance of optical attenuation for the optical network unit identified as i by the device; THR is the first light attenuation threshold.
For example, taking 1 optical attenuation message reported every day with a set time period of 10 days as an example, optical attenuation values of optical attenuation messages uploaded by two ONUs in 10 days after being preprocessed are shown in table 1, and based on optical attenuation values of ten days D1 to D10, an average value or an average value of optical attenuation values of ONUs 3 and 4 may be calculated as: -29.84dBm and-29.21 dBm, the variance of the optical attenuation values of ONU3 and ONU4 being 0.30 and 0.78, respectively. Taking the first variance of 0.5 and THR of-27 dBm as an example, it can be based on a first relation, such as Pi=|AVGi-THR|/VARiDetermining the dispatching priority of the ONU3 to be 9.47; based on a second relation, e.g. Pi=|AVGi-THR|×VARiDetermining that ONU4 has a scheduling priority of 1.72, then ONU3 has a scheduling priority much higher than ONU 4.
TABLE 1 light attenuation table
ONU ONU3 ONU4
Device identification 043100444785 043100444989
D1 -29.94 -30.48
D2 -29.87 -28.01
D3 -30.99 -30.64
D4 -29.23 -28.06
D5 -29.91 -29.33
D6 -29.21 -29.64
D7 -30.23 -29.29
D8 -29.89 -28.16
D9 -30.10 -29.40
D10 -29.04 -29.05
And S307, generating each light attenuation maintenance work order according to the order dispatching priority of each optical network unit.
Specifically, the optical attenuation maintenance work orders of each optical network unit with the order dispatching priority being greater than the preset priority can be generated, so that targeted order dispatching is achieved, the situation that a responsible person or operation and maintenance personnel receive too many optical attenuation maintenance work orders is avoided, each optical attenuation maintenance work order cannot be processed in time, and the work order processing efficiency is improved.
Specifically, when the optical attenuation maintenance work order of the optical network unit is generated, the optical attenuation maintenance work order of the optical network unit can be generated according to the optical attenuation characteristic value of the optical network unit, each optical attenuation value corresponding to the optical network unit, and the like, so that relevant operation and maintenance personnel or responsible personnel can evaluate the optical attenuation problem based on data in the optical attenuation maintenance work order, and the efficiency of fault solution can be improved.
Optionally, fig. 5 is a flowchart of step S307 in the embodiment shown in fig. 3 of the present application, and as shown in fig. 5, step S307 may include the following steps:
step S3071, according to the order priority of each network unit, sorting each optical network unit according to the order priority from high to low.
Further, the method can also be based on the order priority of each optical network unit and at least one of the following items: and sorting the optical network units according to the mean value, the variance, the maximum value, the minimum value and the mode of the corresponding optical attenuation values, so that when the dispatching priorities are the same, sorting the optical network units according to the mean value, the variance, the maximum value, the minimum value, the mode and the like of the corresponding optical attenuation values of the optical network units. Specifically, when the order priority and other factors are the same, the smaller the mean value, the maximum value, the minimum value or the mode of each corresponding light attenuation value of the optical network unit is, the more the optical network unit is ranked; when the order priority and other factors are the same, the larger the absolute value of the difference between the variance of each corresponding light attenuation value of the optical network unit and the set variance is, the higher the ranking of the optical network unit is.
And step S3072, determining each target optical network unit according to the sequencing result.
Specifically, the optical network units with the first preset names, such as the first 1000 names and the first 800 names, in the sorting result may be determined as the target optical network units.
Specifically, the optical network units located in the top 5%, 10%, or other percentages of the sorting result may be determined as the respective target optical network units.
Step S3073, for each target optical network unit, generating an optical attenuation maintenance work order of the target optical network unit according to the optical attenuation characteristic value of the target optical network unit and/or each optical attenuation value corresponding to the target optical network unit.
The optical network units are sequenced according to the determined order dispatching priority, so that orders are dispatched preferentially for the optical network units with higher order dispatching priority, timeliness, accuracy and pertinence of work order generation are improved, the number of work orders received by the smart home engineer is reduced, the problem of light attenuation of the optical network units which most affect user experience can be preferentially rectified under the condition that human resources of the smart home engineer are limited, and the pertinence of light attenuation rectification is improved.
Fig. 6 is a schematic structural diagram of a work order generating apparatus according to an embodiment of the present application, and as shown in fig. 6, the apparatus includes: a message acquisition module 610, a characteristic value determination module 620 and a work order generation module 630.
The message obtaining module 610 is configured to obtain an optical attenuation message uploaded by each optical network unit in each period within a set time period, where the optical attenuation message includes an equipment identifier of the optical network unit and an optical attenuation value of the optical network unit corresponding to a current uploading period; a characteristic value determining module 620, configured to determine an optical attenuation characteristic value of each optical network unit according to the device identifier and the optical attenuation value in each optical attenuation message received in the set time period; the work order generating module 630 is configured to generate each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit.
Optionally, the feature value determining module 620 includes:
the message searching unit is used for searching each optical attenuation message uploaded by each optical network unit in a set time period from each optical attenuation message received in the set time period based on the equipment identifier; and the characteristic value determining unit is used for determining the light attenuation characteristic value of each optical network unit according to the light attenuation value in each light attenuation message uploaded by the optical network unit within a set time period.
Optionally, the characteristic value determining unit is specifically configured to:
and for each optical network unit, determining an optical attenuation characteristic value of the optical network unit according to each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, wherein the optical attenuation characteristic value comprises one or more of an average value, a variance, a maximum value, a minimum value and a mode of each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within the set time period.
Optionally, the apparatus further comprises:
the screening module is used for screening each optical attenuation message uploaded by each optical network unit in a set time period based on an optical attenuation value aiming at the optical attenuation message uploaded by each optical network unit in the set time period after searching each optical attenuation message uploaded by each optical network unit in the set time period from each optical attenuation message received in the set time period based on the equipment identification so as to obtain a preset number of optical attenuation messages corresponding to the optical network unit, and determining an optical attenuation characteristic value of the optical network unit according to the preset number of optical attenuation messages corresponding to the optical network unit; and/or the legality judging module is used for judging the legality of each optical attenuation message uploaded by each optical network unit in a set time period aiming at the optical attenuation message uploaded by each optical network unit in the set time period so as to delete the optical attenuation message which is not judged by the legality.
Optionally, the validity determining module is specifically configured to execute at least one of the following:
aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether an optical attenuation value in the optical attenuation message is located in a first interval, and if not, determining that the optical attenuation message is illegal; aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether the date in the optical attenuation message is consistent with the date corresponding to the period for uploading the optical attenuation message, and if not, determining that the optical attenuation message is illegal; calculating the similarity between the light attenuation value in each light attenuation message uploaded on the current day and the light attenuation value in each light attenuation message uploaded on the previous day aiming at each light attenuation message uploaded by the optical network unit every day in a set time period; and judging whether the similarity between the current day and the previous day is in a second interval, and if not, determining that all the optical attenuation messages uploaded on the current day are not legal.
Optionally, the work order generating module 630 includes:
the priority determining unit is used for determining the order dispatching priority of each optical network unit according to the light attenuation characteristic value of each optical network unit; and the work order generating unit is used for generating each light attenuation maintenance work order according to the order dispatching priority of each optical network unit.
Optionally, the light attenuation characteristic value includes a light attenuation average value and a light attenuation variance, and the priority determining unit is specifically configured to:
aiming at each optical network unit, judging whether the optical attenuation variance of the optical network unit is smaller than a first variance; if the light attenuation variance of the optical network unit is smaller than the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a first relational expression; and if the light attenuation variance of the optical network unit is greater than or equal to the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a second relational expression.
Optionally, the work order generating unit is specifically configured to:
according to the order dispatching priority of each network unit, sequencing each optical network unit according to the order dispatching priority from high to low; determining each target optical network unit according to the sequencing result; and aiming at each target optical network unit, generating an optical attenuation maintenance work order of the target optical network unit according to the optical attenuation characteristic value of the target optical network unit and/or each optical attenuation value corresponding to the target optical network unit.
Optionally, the apparatus further comprises:
and the equipment judgment module is used for judging whether the optical network units meet preset conditions or not according to the optical attenuation values in the optical attenuation messages uploaded by the optical network units within a set time period aiming at the optical network units before generating the optical attenuation maintenance work orders according to the optical attenuation characteristic values of the optical network units.
Correspondingly, the work order generation module 630 is specifically configured to:
and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit meeting the preset condition.
Optionally, the device determination module is specifically configured to:
before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, judging whether the average value of the optical attenuation values in each optical attenuation message uploaded by the optical network unit in a set time period is smaller than a second optical attenuation threshold or not aiming at each optical network unit; and if the light attenuation value is smaller than the second light attenuation threshold, determining whether the optical network unit meets a preset condition.
Optionally, the device determination module is specifically configured to:
before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, judging whether an optical attenuation value smaller than a second optical attenuation threshold exists in the optical attenuation values in each optical attenuation message uploaded by the optical network unit in a set time period or not aiming at each optical network unit; and if so, determining whether the optical network unit meets a preset condition.
The work order generation device provided by the embodiment of the application can execute the work order generation method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 7 is a schematic structural diagram of a work order generating device according to an embodiment of the present application, and as shown in fig. 7, the work order generating device includes: memory 710, processor 720, and computer programs.
The computer program is stored in the memory 710 and configured to be executed by the processor 720 to implement the work order generation method provided in any one of the embodiments corresponding to fig. 2 to 5 of the present application.
Wherein the memory 710 and the processor 720 are connected by a bus 730.
The related description may be understood by referring to the related description and effect corresponding to the steps in fig. 2 to fig. 5, and redundant description is not repeated here.
A non-transitory computer readable storage medium having instructions therein that, when executed by a processor of a work order generation device, enable the work order generation device to perform the work order generation method described above.
For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Embodiments of the present application also provide a computer program product comprising an executable computer program, which is stored in a readable storage medium. The computer program may be read from a readable storage medium by at least one processor of the work order generation apparatus, and the computer program may be executed by the at least one processor to cause the work order generation device to implement the work order generation method provided by the various embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A method of work order generation, the method comprising:
acquiring an optical attenuation message uploaded by each optical network unit in each period within a set time period, wherein the optical attenuation message comprises a device identifier of the optical network unit and an optical attenuation value of the optical network unit corresponding to the current uploading period;
determining the light attenuation characteristic value of each optical network unit according to the equipment identifier and the light attenuation value in each light attenuation message received in a set time period;
and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit.
2. The method according to claim 1, wherein determining the characteristic value of the optical attenuation of each onu according to the device identifier and the optical attenuation value in each optical attenuation message received in the set time period comprises:
searching each optical attenuation message uploaded by each optical network unit in a set time period from each optical attenuation message received in the set time period based on the equipment identifier;
and aiming at each optical network unit, determining the optical attenuation characteristic value of the optical network unit according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period.
3. The method according to claim 2, wherein determining the characteristic value of the optical attenuation of the optical network unit according to the optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period includes:
determining an optical attenuation characteristic value of the optical network unit according to each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period, wherein the optical attenuation characteristic value comprises one or more of an average value, a variance, a maximum value, a minimum value and a mode of each non-zero optical attenuation value in each optical attenuation message uploaded by the optical network unit within the set time period.
4. The method according to claim 2, wherein after searching each optical attenuation message uploaded by each optical network unit within the set time period from each optical attenuation message received within the set time period based on the device identifier, the method further comprises:
aiming at optical attenuation messages uploaded by each optical network unit within a set time period, screening the optical attenuation messages uploaded by the optical network units within the set time period based on optical attenuation values to obtain a preset number of optical attenuation messages corresponding to the optical network units, and determining optical attenuation characteristic values of the optical network units according to the preset number of optical attenuation messages corresponding to the optical network units; and/or the presence of a gas in the gas,
and aiming at the optical attenuation messages uploaded by each optical network unit within a set time period, carrying out legality judgment on each optical attenuation message uploaded by the optical network unit within the set time period so as to delete the optical attenuation messages which do not pass the legality judgment.
5. The method according to claim 4, wherein the determining the validity of each optical attenuation packet uploaded by the optical network unit within a set time period includes at least one of:
aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether an optical attenuation value in the optical attenuation message is located in a first interval, and if not, determining that the optical attenuation message is illegal;
aiming at each optical attenuation message uploaded by the optical network unit within a set time period, judging whether the date in the optical attenuation message is consistent with the date corresponding to the period for uploading the optical attenuation message, and if not, determining that the optical attenuation message is illegal;
calculating the similarity between the light attenuation value in each light attenuation message uploaded on the current day and the light attenuation value in each light attenuation message uploaded on the previous day aiming at each light attenuation message uploaded by the optical network unit every day in a set time period; and judging whether the similarity between the current day and the previous day is in a second interval, and if not, determining that all the optical attenuation messages uploaded on the current day are not legal.
6. The method according to claim 1, wherein generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit comprises:
determining the order dispatching priority of each optical network unit according to the light attenuation characteristic value of each optical network unit;
and generating each light attenuation maintenance work order according to the order dispatching priority of each optical network unit.
7. The method as claimed in claim 6, wherein the light attenuation characteristic values include a light attenuation average value and a light attenuation variance, and determining the order priority of each onu according to the light attenuation characteristic values of each onu comprises:
aiming at each optical network unit, judging whether the optical attenuation variance of the optical network unit is smaller than a first variance;
if the light attenuation variance of the optical network unit is smaller than the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a first relational expression;
and if the light attenuation variance of the optical network unit is greater than or equal to the first variance, determining the order dispatching priority of the optical network unit according to the light attenuation average value of the optical network unit and a second relational expression.
8. The method of claim 7, wherein the first relationship is:
Figure FDA0003378439320000021
or the like, or, alternatively,
Figure FDA0003378439320000022
the second relation is:
Pi=|AVGi-THR|×VARieither, or,
Figure FDA0003378439320000023
wherein, PiAssigning a priority to the optical network unit with the equipment identifier i; AVGiThe average value of the optical attenuation of the optical network unit with equipment identification i; VARiThe variance of optical attenuation for the optical network unit identified as i by the device; THR is the first light attenuation threshold.
9. The method of claim 6, wherein generating each optical attenuation maintenance work order according to the order priority of each optical network unit comprises:
according to the order dispatching priority of each network unit, sequencing each optical network unit according to the order dispatching priority from high to low;
determining each target optical network unit according to the sequencing result;
and aiming at each target optical network unit, generating an optical attenuation maintenance work order of the target optical network unit according to the optical attenuation characteristic value of the target optical network unit and/or each optical attenuation value corresponding to the target optical network unit.
10. The method according to any of claims 1-9, wherein before generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, the method further comprises:
aiming at each optical network unit, judging whether the optical network unit meets a preset condition or not according to an optical attenuation value in each optical attenuation message uploaded by the optical network unit within a set time period;
correspondingly, generating each optical attenuation maintenance work order according to the optical attenuation characteristic value of each optical network unit, including:
and generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit meeting the preset condition.
11. The method according to claim 10, wherein determining whether the onu meets a preset condition according to the optical attenuation values in the optical attenuation messages uploaded by the onu within a set time period comprises:
judging whether the average value of the light attenuation values in the light attenuation messages uploaded by the optical network unit in a set time period is smaller than a second light attenuation threshold or not;
and if the light attenuation value is smaller than the second light attenuation threshold, determining whether the optical network unit meets a preset condition.
12. The method according to claim 10, wherein determining whether the onu meets a preset condition according to the optical attenuation values in the optical attenuation messages uploaded by the onu within a set time period comprises:
judging whether an optical attenuation value smaller than a second optical attenuation threshold exists in optical attenuation values in optical attenuation messages uploaded by the optical network unit within a set time period;
and if so, determining whether the optical network unit meets a preset condition.
13. A work order generation apparatus, the apparatus comprising:
the message acquisition module is used for acquiring optical attenuation messages uploaded by each optical network unit in each period within a set time period, wherein the optical attenuation messages comprise equipment identifiers of the optical network units and optical attenuation values of the optical network units corresponding to the current uploading period;
the characteristic value determining module is used for determining the light attenuation characteristic value of each optical network unit according to the equipment identifier and the light attenuation value in each light attenuation message received in the set time period;
and the work order generating module is used for generating each light attenuation maintenance work order according to the light attenuation characteristic value of each optical network unit.
14. A work order generation apparatus, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the work order generation method of any of claims 1-12.
15. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the work order generation method of any one of claims 1-12.
CN202111425910.0A 2021-11-26 2021-11-26 Work order generation method, device, equipment and storage medium Pending CN114254770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425910.0A CN114254770A (en) 2021-11-26 2021-11-26 Work order generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425910.0A CN114254770A (en) 2021-11-26 2021-11-26 Work order generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114254770A true CN114254770A (en) 2022-03-29

Family

ID=80793419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425910.0A Pending CN114254770A (en) 2021-11-26 2021-11-26 Work order generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114254770A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884569A (en) * 2022-06-09 2022-08-09 中国联合网络通信集团有限公司 Method, device and equipment for determining optical network unit to be remediated and storage medium
CN115001581A (en) * 2022-06-16 2022-09-02 中国联合网络通信集团有限公司 Optical attenuation processing method and equipment of optical network unit and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884569A (en) * 2022-06-09 2022-08-09 中国联合网络通信集团有限公司 Method, device and equipment for determining optical network unit to be remediated and storage medium
CN114884569B (en) * 2022-06-09 2023-06-16 中国联合网络通信集团有限公司 Method, device, equipment and storage medium for determining optical network unit to be remediated
CN115001581A (en) * 2022-06-16 2022-09-02 中国联合网络通信集团有限公司 Optical attenuation processing method and equipment of optical network unit and storage medium
CN115001581B (en) * 2022-06-16 2023-05-16 中国联合网络通信集团有限公司 Optical attenuation processing method, equipment and storage medium of optical network unit

Similar Documents

Publication Publication Date Title
CN114254770A (en) Work order generation method, device, equipment and storage medium
CN102368714A (en) Network alarm processing method, apparatus and system thereof
CN104917627B (en) A kind of log cluster for large server cluster scans and analysis method
CN110796343A (en) Intelligent dispatching method, device and system
CN110969341A (en) Intelligent maintenance method, device and system for power distribution terminal
CN101945353A (en) Method and system for remote adjustment of system resources
CN116797404A (en) Intelligent building operation and maintenance supervision system based on big data and data processing
CN111461539A (en) Distribution network dispatching work task difficulty grading method and system and computer equipment
CN110807618A (en) Dynamic scheduling method, device and equipment
CN113473449A (en) Intelligent connection system based on Internet of things terminal
CN111291905B (en) Equipment maintenance management system based on cloud platform
CN112541837A (en) Electric power platform district service system based on big data
CN117078208A (en) Project management system of intelligent environment-friendly supervision platform
CN105610593B (en) Method and device for distributing resource identification in network management system
CN114330879B (en) Order distribution method and system of multi-dimensional constraint
CN113795032B (en) Method and device for judging invisible faults of indoor division, storage medium and equipment
CN115603448A (en) Low-voltage line operation and maintenance management method based on edge calculation
CN111563665A (en) Voltage quality management method
CN112559577A (en) Recommendation method and system for plate processing technology
CN115456328A (en) Processing and dispatching system with timing and charging functions and traceable orders
CN117578742B (en) Intelligent power dispatching system safety monitoring method and system
CN115988437B (en) Service short message monitoring system and method based on big data
CN108376316B (en) Wind power prediction method and system
CN108234553A (en) Control method, the device and system of data center
CN116112985A (en) 5G network slicing system based on intelligent power grid

Legal Events

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