CN114647743A - Power marketing full-service access control rule map generation and processing method and device - Google Patents

Power marketing full-service access control rule map generation and processing method and device Download PDF

Info

Publication number
CN114647743A
CN114647743A CN202210546235.5A CN202210546235A CN114647743A CN 114647743 A CN114647743 A CN 114647743A CN 202210546235 A CN202210546235 A CN 202210546235A CN 114647743 A CN114647743 A CN 114647743A
Authority
CN
China
Prior art keywords
rule
atom
information
atomic
map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210546235.5A
Other languages
Chinese (zh)
Other versions
CN114647743B (en
Inventor
马亮
王伟峰
朱林
刘欢
金家红
周晨晖
楼霞薇
周瑶
叶旭东
俞益
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd
Marketing Service Center of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd
Marketing Service Center of State Grid Zhejiang Electric Power 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 State Grid Zhejiang Electric Power Co Ltd, Marketing Service Center of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd
Priority to CN202210546235.5A priority Critical patent/CN114647743B/en
Publication of CN114647743A publication Critical patent/CN114647743A/en
Application granted granted Critical
Publication of CN114647743B publication Critical patent/CN114647743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • 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/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Animal Behavior & Ethology (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Water Supply & Treatment (AREA)
  • Public Health (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Computational Linguistics (AREA)
  • Tourism & Hospitality (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Algebra (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Marketing (AREA)
  • Pure & Applied Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for generating and processing a power marketing full-service access control rule map, which comprise the following steps: respectively acquiring a first rule map and a second rule map of a first target area and a second target area at intervals of a first preset time period; sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to the rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set; generating a first newly-added atom subset, and configuring a first credibility label for each newly-added atom information in the first newly-added atom subset; generating a second newly-added atom set, and configuring a second credibility label for each same atom information in the second newly-added atom set; and obtaining the updated first rule map and second rule map according to the first atom set and/or second atom set and the first credibility label and/or second credibility label pair.

Description

Power marketing full-service access control rule map generation and processing method and device
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for generating and processing a power marketing full-service access control rule map and a storage medium.
Background
The business expansion installation normative verification, the electricity charge calculation accuracy verification, the inspection compliance verification and the emergent condition handling rule are basic verification and rule requirements in the electric power marketing process, and in the prior art, various electric power marketing services are mostly verified according to data such as a rule map and the like.
When different checks are performed, input information corresponding to events of the same type and different spaces is different, which results in that rule maps deployed at different servers have different atomic units in the continuous use process. The more atomic units, the more information dimensions of result references output by the corresponding rule atlas are proved, and the more accurate the output is. In addition, because different atomic units have different dimensions, reliability also has a certain difference, in the prior art, when the rule is verified through the rule map, only a single result is output, the shared updating of the map in the rule maps respectively corresponding to the multiple target areas cannot be performed, and corresponding reliability cannot be obtained according to the difference of the output results, so that the current verification rule cannot be updated rapidly and continuously, and the reliability of the output result cannot be quantified.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating and processing a power marketing full-service access control rule map, which can share and update maps in rule maps corresponding to a plurality of target areas respectively, and output different rule results and credibility according to different events, so that the credibility of the output results can be quantized.
In a first aspect of the embodiments of the present invention, a method for generating and processing a power marketing full-service access control rule map is provided, where an initialized power marketing full-service access control rule map is preset as a rule map in a plurality of target areas, and the map generation and storage are performed through the following steps, including:
respectively acquiring a first rule map and a second rule map of a first target area and a second target area at intervals of a first preset time period;
sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to a preset rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set;
acquiring newly added same first atom information and second atom information of the first atom set and the second atom set in a first preset time period, generating a first newly added atom set, and configuring a first credibility label for each newly added atom information in the first newly added atom set;
acquiring first atom information and second atom information which are newly added with different atom information in a first preset time period in the first atom set and the second atom set, generating a second newly added atom set, and configuring a second credibility label for each same atom information in the second newly added atom set;
updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set and the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map;
and processing the received rule event by the updated first rule map and/or second rule map to obtain a corresponding first target rule unit and/or second target rule unit, and generating a rule result and a reliability result.
Optionally, in a possible implementation manner of the first aspect, in the step of obtaining first atom information and second atom information that are newly added to the first atom set and the second atom set within a first preset time period, and generating a first newly added atom set, and configuring a first credibility tag for each newly added atom information in the first newly added atom set, the step includes:
acquiring a first time label and a second time label corresponding to each piece of first atomic information and second atomic information in a first atomic set and a second atomic set;
determining that the same first atom information and second atom information are newly added in a first preset time period to generate a first newly added atom set according to the first time tag and the second time tag;
respectively obtaining a first triggering frequency and a second triggering frequency of the first atomic information and the second atomic information triggered in a first preset time period to obtain a first triggering total frequency, and calculating according to the first triggering total frequency and a first reference credibility label to obtain a first credibility label corresponding to the first atomic information and the second atomic information together.
Optionally, in a possible implementation manner of the first aspect, in the step of obtaining a first total number of triggering times by respectively obtaining a first number of triggering times and a second number of triggering times that the first atomic information and the second atomic information are triggered within a first preset time period, and obtaining a first reliability label corresponding to the first atomic information and the second atomic information at the same time by performing calculation according to the first total number of triggering times and a first reference reliability label, the step includes:
acquiring the number of atom information respectively contained in the first target rule unit and the second target rule unit to obtain a first atom number and a second atom number;
obtaining a first basic coefficient value and a second basic coefficient value of the first atomic information and the second atomic information according to the first atomic number and the second atomic number;
obtaining a first credibility label according to the first basic coefficient value, the second basic coefficient value, the first total triggering times and a first reference credibility label, and setting the first credibility label to correspond to the first atomic information and the second atomic information at the same time;
calculating a first confidence label by:
Figure 368893DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 817192DEST_PATH_IMAGE002
is a first confidence label that is a first confidence label,
Figure 128087DEST_PATH_IMAGE003
is the first number of times of triggering,
Figure 788876DEST_PATH_IMAGE004
is the second number of triggers and is,
Figure 134407DEST_PATH_IMAGE005
is the first number of atoms, and is,
Figure 488027DEST_PATH_IMAGE006
is the second number of atoms, and is,
Figure 286219DEST_PATH_IMAGE007
is a first constant value that is a function of,
Figure 750699DEST_PATH_IMAGE008
is a first reference confidence label.
Optionally, in a possible implementation manner of the first aspect, in the step of obtaining first atom information and second atom information that are different and newly added to the first atom set and the second atom set within a first preset time period, generating a second newly added atom set, and configuring a second credibility label for each same atom information in the second newly added atom set, the step includes:
acquiring a first time label and a second time label corresponding to each piece of first atomic information and second atomic information in a first atomic set and a second atomic set;
determining that different first atom information and second atom information are newly added in a first preset time period according to the first time tag and the second time tag to generate a second newly added atom set;
respectively acquiring a third triggering time and a fourth triggering time of the first atomic information and the second atomic information triggered in a first preset time period, and calculating according to the third triggering time, the fourth triggering time and a second reference credibility label to obtain second credibility labels respectively corresponding to the first atomic information and the second atomic information.
Optionally, in a possible implementation manner of the first aspect, in the step of obtaining a third triggering time and a fourth triggering time that the first atomic information and the second atomic information are triggered within a first preset time period, and obtaining a second reliability label corresponding to the first atomic information and the second atomic information by performing calculation according to the third triggering time, the fourth triggering time, and a second reference reliability label, the step includes:
acquiring the number of atom information respectively contained in the first target rule unit and the second target rule unit to obtain a first atom number and a second atom number;
obtaining a third basic coefficient value and a fourth basic coefficient value of the first atom information and the second atom information according to the third triggering times, the fourth triggering times, the first atom number and the second atom number;
obtaining a second reliability label according to the third basic coefficient value, the fourth basic coefficient value and a second reference reliability label, and setting the second reliability label to correspond to the first atomic information or the second atomic information respectively;
calculating a second credibility label for the first atomic information or the second atomic information by the following formula:
Figure 685157DEST_PATH_IMAGE010
wherein the content of the first and second substances,
Figure 209679DEST_PATH_IMAGE011
a second credibility label corresponding to the first atomic information,
Figure 229587DEST_PATH_IMAGE012
is the third number of triggers and is,
Figure 497758DEST_PATH_IMAGE005
is the first number of atoms, and is,
Figure 552301DEST_PATH_IMAGE013
is a second constant value which is a function of,
Figure 513304DEST_PATH_IMAGE014
for the purposes of the second reference confidence label,
Figure 20509DEST_PATH_IMAGE015
a second credibility label corresponding to the second atomic information,
Figure 826791DEST_PATH_IMAGE016
as the fourth number of times of triggering,
Figure 4350DEST_PATH_IMAGE017
is the second number of atoms.
Optionally, in a possible implementation manner of the first aspect, in the step of updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set, the first credibility label and/or the second credibility label to obtain the updated first rule map and the updated second rule map, the step includes:
determining atom information which does not exist in the second atom set as first newly added atom information, and adding the first newly added atom information into a first target rule unit;
acquiring historical selection times of each atom information in the first rule map, and generating initial selection times according to the selection times of the first newly added atom information in a first preset time period;
updating the traversal sequencing sequence of all the atom information in the first target rule unit based on the historical selection times and the initial selection times of all the atom information;
and obtaining an updated first rule map based on the updated first target rule unit.
Optionally, in a possible implementation manner of the first aspect, in the step of processing the received rule event by the first rule map and/or the second rule map, obtaining the corresponding first target rule unit and/or second target rule unit, and generating the rule result and the confidence result, the method includes:
extracting event labels of the received rule events by using a first rule map, and selecting at least one corresponding first target rule unit according to the event labels;
extracting sub-event information in the rule event, determining corresponding calculation atom information based on each atom information in the traversal sequencing order according to the sub-event information, and calculating the credibility of the atom information;
and obtaining a rule result according to the calculation atom information, and obtaining a reliability result corresponding to the rule result according to the number of the calculation atom information and the reliability of each calculation atom information.
Optionally, in a possible implementation manner of the first aspect, in the step of obtaining a rule result according to the atomic information, and obtaining a reliability result corresponding to the rule result according to the number of the atomic information and the reliability of each piece of atomic information, the step includes:
acquiring a rule sub-result corresponding to each piece of calculated atomic information;
if only one rule sub-result exists, outputting the rule sub-result as a rule result;
if a plurality of rule sub-results exist, determining to obtain rule reliability according to the calculation atom information corresponding to each rule sub-result;
and determining a preset number of rule sub-results according to the rule credibility of the rule sub-results, outputting the preset number of rule sub-results as rule results, and outputting the rule credibility corresponding to the preset number of rule sub-results as credibility results.
Optionally, in a possible implementation manner of the first aspect, in the step of determining the preset number of rule sub-results according to a plurality of rule credibility of the plurality of rule sub-results, the step of:
according to the credibility of the multiple rules, performing descending sorting on the multiple rule sub-results to obtain a first descending sorting result;
and determining a preset number of rule sub-results in front of the first descending sorting result.
In a second aspect of the embodiments of the present invention, there is provided a device for generating and processing a power marketing full-service access control rule map, where an initialized power marketing full-service access control rule map is preset as a rule map in a plurality of target areas, and the map generation and storage are performed by the following modules, including:
the map acquisition module is used for respectively acquiring a first regular map and a second regular map of a first target area and a second target area at intervals of a first preset time period;
the map decomposition module is used for sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to a preset rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set;
the first configuration module is used for acquiring first atom information and second atom information which are newly added in the first atom set and the second atom set in the same way in a first preset time period, generating a first newly added atom subset, and configuring a first credibility label for each newly added atom information in the first newly added atom subset;
the second configuration module is used for acquiring first atom information and second atom information which are newly added with different information in a first preset time period from the first atom set and the second atom set, generating a second newly added atom set, and configuring a second credibility label for each same atom information in the second newly added atom set;
the map updating module is used for updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set and the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map;
and the map processing module is used for processing the received rule event by the updated first rule map and/or the updated second rule map, acquiring the corresponding first target rule unit and/or second target rule unit, and generating a rule result and a reliability result.
In a third aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored, which, when being executed by a processor, is adapted to implement the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention.
The generation and processing method and the device of the power marketing full-service access control rule map can update the mutual influence among different power marketing full-service access control rule maps according to the dimension of atoms, so that the updated power marketing full-service access control rule map has more atom information, stronger event processing capability and more accurate rule result. In the mutual updating and learning processes, the credibility of the newly added atomic information can be determined according to different scenes of the newly added atomic information, so that the corresponding credibility can be obtained when the rule result is calculated, machines and workers have more detailed reference dimensions in subsequent work processing, more accurate processing direction can be determined, and loss or waste of personnel and property is avoided.
According to the technical scheme provided by the invention, different first credibility labels and second credibility labels are configured according to different types of newly added atomic information in a first preset time period, so that corresponding credibility can be obtained according to different atomic information when a rule result is obtained subsequently, and when the first credibility labels and the second credibility labels are calculated, different calculation modes are adopted for the first credibility labels and the second credibility labels by combining the triggering times, the first atomic number and the second atomic number of the corresponding atomic information, so that the calculated first credibility labels and the calculated second credibility labels have more referenced dimensions and are more accurate.
According to the technical scheme provided by the invention, when the rule result is obtained, at least one rule sub-result is output according to the credibility of each rule sub-result, so that the rule sub-results with lower credibility can be automatically filtered according to the credibility, and a plurality of rule sub-results with higher credibility can be simultaneously output, so that machines and workers can take various processing measures according to the rule sub-results, and the damage and the loss of the personnel and property are avoided.
Drawings
Fig. 1 is a flowchart of a first embodiment of a power marketing full-service access control rule map generation and processing method;
FIG. 2 is a flowchart of a second embodiment of a power marketing full-service access control rule map generation and processing method;
FIG. 3 is a flowchart of a third embodiment of a power marketing full-service access control rule map generation and processing method;
FIG. 4 is a schematic structural diagram of a first rule map;
fig. 5 is a block diagram of a first embodiment of a power marketing all-service access control rule map generation and processing device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that A, B, C all comprise, "comprises A, B or C" means comprise one of A, B, C, "comprises A, B and/or C" means comprise any 1 or any 2 or 3 of A, B, C.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. 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.
The invention provides a method for generating and processing a power marketing full-service access control rule map, wherein an initialized power marketing full-service access control rule map serving as a rule map is preset in a plurality of target areas, and the map generation and storage are carried out through the following steps, as shown in figure 1, the method comprises the following steps:
step S110, a first rule map and a second rule map of a first target area and a second target area are respectively obtained at intervals of a first preset time period. The first preset time period may be 10 days, 20 days, and the like, generally, after the first preset time period, new atomic information may be added to the first rule map and the second rule map in different regions, where the new atomic information may be actively entered by a user and obtained by a server according to semantic understanding and word segmentation, and a generation manner of the new atomic information in the first rule map and the second rule map is not limited in any way.
Step S120, sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to a preset rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set. The invention can actively traverse according to the rule set to obtain a first target rule unit and a second target rule unit, wherein the rule set comprises business expansion installation normative verification rules, electric charge calculation accuracy verification rules, inspection compliance verification specifications, emergency handling rules and the like. At this time, the first rule map may correspond to an business expansion installation normative verification unit, an electric charge calculation accuracy verification unit, an inspection compliance verification unit, an emergency handling unit and the like, and the above units may be used as a first target rule unit and a second target rule unit. The first target rule unit and the second target rule unit are decomposed to obtain a first atom set and a second atom set, for example, the first target rule unit is an electricity fee calculation accuracy verification unit, the atom information included in the electricity fee calculation accuracy verification unit can be whether the electricity meter is in shallow movement or not, whether the electricity meter has a wrong wiring condition or not, whether the difference value between the monthly electricity consumption and the monthly electricity consumption is larger than a preset electricity consumption value, the electricity meter grade, the service life of the electricity meter and the like, and the first atom set can obtain a plurality of atom information.
Step S130, obtaining the first atom set and the second atom set, adding the same first atom information and second atom information in a first preset time period, generating a first newly added atom set, and configuring a first credibility tag for each added atom information in the first newly added atom set. In an actual application scenario, the rule maps are continuously updated along with the lapse of time, so that the invention needs to determine that the first atom set and the second atom set newly add the same first atom information and second atom information in a first preset time period, if a plurality of atom sets have the same newly added atom information, the reliability of the result corresponding to the atom information is higher, and the approval of the first rule map and the second rule map is obtained at the same time. Each atomic information or combination of each atomic information may correspond to a rule sub-result.
For example, the same first atomic information and second atomic information are newly added in the first preset time period, and the difference between the monthly electricity consumption and the last monthly electricity consumption is larger than the preset electricity consumption value, at this time, the first atomic information and the second atomic information are regarded as the same first atomic information and second atomic information.
In a possible implementation manner of the technical solution provided by the present invention, as shown in fig. 2, step S130 includes:
step S1301, acquiring a first time tag and a second time tag corresponding to each of the first atomic information and the second atomic information in the first atomic set and the second atomic set. According to the method, the first time label and the second time label corresponding to the first atomic information and the second atomic information are obtained, and the adding time of each atomic information in the first atomic set and the second atomic set can be determined through the first time label and the second time label.
Step S1302, determining to add the same first atomic information and second atomic information within a first preset time period according to the first time tag and the second time tag to generate a first newly added atomic subset. The method and the device can determine the same first atomic information and second atomic information in a first preset time period according to the first time label and the second time label so as to obtain a first newly-increased atom set. It can be understood that all the atom information in the first newly added atom set is newly added by the first rule map and the second rule map, that is, the atom information is recognized by the first rule map and the second rule map respectively, and both maps consider that the atom information of the dimension can be used as an influence factor for generating a rule result decision.
Step S1303, obtaining a first triggering frequency and a second triggering frequency of the first atomic information and the second atomic information triggered in a first preset time period respectively to obtain a first triggering total frequency, and calculating according to the first triggering total frequency and a first reference reliability label to obtain a first reliability label corresponding to the first atomic information and the second atomic information at the same time. It can be understood that, the larger the first triggering times, the second triggering times, and the total first triggering times, the more accurate the rule results corresponding to the first atomic information and the second atomic information are verified, so the first credibility labels corresponding to the first atomic information and the second atomic information are larger. In an actual working scene, the atomic information simultaneously and actively entered by the workers in the two maps is high in accuracy, and the workers in different areas may enter corresponding atomic information in corresponding regular maps synchronously.
In a possible implementation manner of the technical solution provided by the present invention, step S1303 includes:
and acquiring the number of the atom information respectively contained in the first target rule unit and the second target rule unit to obtain the first atom number and the second atom number. The method comprises the steps of firstly counting the number of atom information respectively contained in a first target rule unit and a second target rule unit to obtain the corresponding first atom number and second atom number. The more the first atom number and the second atom number are, the more information dimensions that can be referred to by the result corresponding to the corresponding rule are proved to be, the more complicated the scene corresponding to the corresponding rule is possibly, and the credibility at this time may be more dispersed.
And obtaining a first basic coefficient value and a second basic coefficient value of the first atomic information and the second atomic information according to the first atomic number and the second atomic number. The larger the first and second fundamental coefficient values are, the greater the specific gravity of the first and second atomic information proves, and the greater the corresponding first confidence label should be.
Obtaining a first credibility label according to the first basic coefficient value, the second basic coefficient value, the first total triggering times and a first reference credibility label, and setting the first credibility label to correspond to the first atomic information and the second atomic information at the same time;
the first confidence label is calculated by the following formula,
Figure 605096DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 865176DEST_PATH_IMAGE002
is a first confidence label that is a first confidence label,
Figure 209569DEST_PATH_IMAGE003
is the first number of times of triggering,
Figure 238705DEST_PATH_IMAGE004
is the second number of triggers and is,
Figure 275931DEST_PATH_IMAGE005
is the first number of atoms, and is,
Figure 757728DEST_PATH_IMAGE006
is the second number of atoms, and is,
Figure 171392DEST_PATH_IMAGE007
is a first constant value that is a function of,
Figure 55034DEST_PATH_IMAGE008
is a first reference confidence label. The invention can be realized by
Figure 528741DEST_PATH_IMAGE018
Obtaining an average number of triggers by
Figure 232255DEST_PATH_IMAGE019
Obtaining a first base coefficient value by
Figure 184030DEST_PATH_IMAGE020
Obtaining a second base coefficient value by
Figure 922179DEST_PATH_IMAGE021
The first reference confidence label may be influenced such thatAccording to the method, when the first credibility labels corresponding to the same first atomic information and second atomic information are calculated, the first credibility labels are added according to actual scenes, the credibility of each newly added atomic information is relatively objective and accurate, and the first constant value can be preset by a worker according to the actual scenes.
Step S140, acquiring first atom information and second atom information of the first atom set and the second atom set, which are newly added with different information in a first preset time period, to generate a second newly added atom set, and configuring a second credibility tag for each identical atom information in the second newly added atom set. In an actual application scenario, the rule maps are continuously updated along with the lapse of time, so that the invention needs to determine that the first atom set and the second atom set newly add the same first atom information and second atom information within a first preset time period, and if a plurality of atom sets have different newly added atom information, the reliability of the result corresponding to the different atom information relative to the same atom information is low, and the first rule map and the second rule map are not approved at the same time. Each atomic information or combination of each atomic information may correspond to a rule sub-result.
For example, the first atom information newly added in the first preset time period is that the difference value between the monthly electricity consumption and the previous monthly electricity consumption is larger than the preset electricity consumption value, and the second atom information is not newly added, and then different first atom information exists. Likewise, there may be non-identical second atomic information.
In a possible implementation manner of the technical solution provided by the present invention, as shown in fig. 3, step S140 includes:
step S1401, obtaining a first time tag and a second time tag corresponding to each of the first atomic information and the second atomic information in the first atomic set and the second atomic set. According to the method, the first time label and the second time label corresponding to the first atomic information and the second atomic information are obtained, and the adding time of each atomic information in the first atomic set and the second atomic set can be determined through the first time label and the second time label.
Step S1402, determining to add different first atom information and second atom information within a first preset time period according to the first time tag and the second time tag, and generating a second added atom set. The method and the device can determine the first atom information and the second atom information which are different in the first preset time period according to the first time label and the second time label, and further obtain a second newly added atom set. It can be understood that all the atom information in the second newly added atom set is not newly added in the first rule map and the second rule map at the same time, that is, the atom information is only approved by one of the first rule map or the second rule map, and one of the maps considers that the atom information of the dimension can be used as an influencing factor for generating a rule result and a decision.
Step S1403, a third trigger time and a fourth trigger time of the first atomic information and the second atomic information being triggered within a first preset time period are respectively obtained, and a second reliability label corresponding to the first atomic information and the second atomic information is obtained through calculation according to the third trigger time, the fourth trigger time and a second reference reliability label. It can be understood that, the larger the third trigger time and the fourth trigger time are, the more accurate the rule result corresponding to the first atomic information and the second atomic information is verified, so that the second credibility label corresponding to the first atomic information and the second atomic information is larger. In an actual working scene, the accuracy of atomic information actively input by workers in the two maps at the non-same time is low, and the first atomic information and the second atomic information corresponding to the credibility label can also be obtained by word segmentation when a machine processes a certain rule.
In a possible implementation of the technical solution provided by the present invention, step S1403 includes:
and acquiring the number of the atom information respectively contained in the first target rule unit and the second target rule unit to obtain the first atom number and the second atom number. The method comprises the steps of firstly counting the number of atom information respectively contained in a first target rule unit and a second target rule unit to obtain the corresponding first atom number and second atom number. The more the first atom number and the second atom number are, the more information dimensions that can be referred to by the result corresponding to the corresponding rule are proved to be, the more complicated the scene corresponding to the corresponding rule is possibly, and the credibility at this time may be more dispersed.
And obtaining a third basic coefficient value and a fourth basic coefficient value of the first atom information and the second atom information according to the third triggering times, the fourth triggering times, the first atom number and the second atom number. The larger the third and fourth basis coefficient values are, the larger the specific gravity of the first and second atomic information proves, and the larger the corresponding second confidence label should be at that time.
Obtaining a second reliability label according to the third basic coefficient value, the fourth basic coefficient value and a second reference reliability label, and setting the second reliability label to correspond to the first atomic information or the second atomic information respectively;
a second confidence label for the first atomic information or the second atomic information is calculated by the following formula,
Figure 566787DEST_PATH_IMAGE022
wherein the content of the first and second substances,
Figure 23176DEST_PATH_IMAGE011
a second credibility label corresponding to the first atomic information,
Figure 513063DEST_PATH_IMAGE012
as the third number of times of triggering, the trigger signal,
Figure 105719DEST_PATH_IMAGE005
is the first number of atoms to be used,
Figure 655649DEST_PATH_IMAGE013
is a second constant value which is a function of,
Figure 599334DEST_PATH_IMAGE014
is a second reference confidence label that is,
Figure 892912DEST_PATH_IMAGE015
a second credibility label corresponding to the second atomic information,
Figure 608583DEST_PATH_IMAGE016
as a fourth number of triggers, the number of triggers,
Figure 63835DEST_PATH_IMAGE017
is the second number of atoms. By passing
Figure 494816DEST_PATH_IMAGE023
Obtaining a third base coefficient value by
Figure 326506DEST_PATH_IMAGE024
Obtaining a fourth base coefficient value by
Figure 893754DEST_PATH_IMAGE025
And
Figure DEST_PATH_IMAGE026
the second reference credibility labels of the first atomic information and the second atomic information can be influenced, so that the adding can be carried out according to the actual scene when the second credibility labels corresponding to the same first atomic information and second atomic information are calculated, and the credibility of each newly added atomic information is relatively objective and accurate. Second constant value
Figure 51066DEST_PATH_IMAGE013
The setting of the staff can be preset according to the actual scene.
And S150, updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set, the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map. According to the technical scheme provided by the invention, after the first atom set and/or the second atom set are obtained, the first target rule unit and the second target rule unit are updated according to all atom information in the first atom set and/or the second atom set and the credibility corresponding to each atom information, and the final first rule map and the final second rule map are obtained, so that the corresponding rule units in the two different rule maps can be subjected to atom information expansion and synchronous updating, and the processing capacity of the rule maps is improved.
In one possible implementation manner of the technical solution provided by the present invention, step S150 includes:
and determining the atom information which is not contained in the second atom set as the first newly added atom information, and adding the first newly added atom information into the first target rule unit. When the first rule map and the second rule map are updated, a corresponding updating mode is adopted. Taking the first rule-graph update as an example, first, it is necessary to determine atom information in the second atom set, which is not contained in the first rule-graph, as first newly added atom information, and add the first newly added atom information to the first target rule unit.
And acquiring the historical selection times of each atom information in the first rule map, and generating the initial selection times according to the selection times of the first newly added atom information in a first preset time period. The invention can count the selected times of each atom information, wherein the selected times can be understood as the times of determining the atom information according to the sub-event information of the event when the event corresponding to the first target rule unit occurs, and combining the atom information to make result decision and obtain the rule result. The greater the number of historical hits and/or initial hits, the greater the heat of the atomic information.
And updating the traversal sequencing sequence of all the atom information in the first target rule unit based on the historical selection times and the initial selection times of all the atom information. According to the technical scheme provided by the invention, the selected times are counted to obtain the corresponding traversal sequencing order, so that all the atomic information in the corresponding first target rule unit can be sequenced again after the atomic information is added, and the efficiency and hit rate of determining all the atomic information are further improved.
And obtaining an updated first rule map based on the updated first target rule unit. According to the invention, after the first target rule unit is updated, the first rule map can be updated. As shown in the schematic diagram of the first rule map of fig. 4, the first target rule unit may have the same atomic information.
Step S160, the updated first rule map and/or second rule map processes the received rule event, obtains the corresponding first target rule unit and/or second target rule unit, and generates a rule result and a reliability result. After the first rule map and/or the second rule map are updated, the corresponding rule event is received at this time, taking the example that the first rule map receives the rule event, the first rule map firstly determines a corresponding first target rule unit according to the rule event, and analyzes and processes the rule event according to the first target rule unit to obtain a rule result and a reliability result. The staff is assisted in making decisions through the rule results, or the staff makes active decisions according to different actual scenes. When the rule result is output, the corresponding credibility result is output, and the staff or the machine is assisted and guided to carry out the next operation through the credibility result.
In one possible implementation manner, the technical solution provided by the present invention, in step S160, includes:
the first rule map extracts event labels of the received rule events, and at least one corresponding first target rule unit is selected according to the event labels. Generally, different regular events have different event labels, taking the regular events as an example of the electricity fee calculation accuracy verification, at this time, the corresponding event label can be an electricity fee calculation accuracy judgment label, and at this time, the electricity fee calculation accuracy verification unit is determined according to the electricity fee calculation accuracy judgment label.
Extracting sub-event information in the rule event, determining corresponding calculated atom information based on each atom information in the traversal sequencing order according to the sub-event information, and calculating the credibility of the atom information. The method can extract the sub-event information in the rule event, and the sub-event information can be a plurality of sub-event information, can be actively acquired, and can also be actively input by a user and a worker. Taking automatic obtaining as an example, for example, the electricity consumption of the user in month 3 is 50 degrees, the electricity consumption of the user in month 4 is 100 degrees, the electricity consumption may be actively obtained through an electricity meter with a wireless transmission function, the sub-event information at this time is that corresponding atomic information is determined according to the electricity consumption of the user in month 3 being 50 degrees and the electricity consumption of the user in month 4 being 150 degrees, the determined atomic information is taken as the calculated atomic information, the calculated atomic information at this time may be that the difference between the electricity consumption in month and the electricity consumption in month before is greater than a preset electricity consumption value, and the reliability of the calculated atomic information may be obtained through the step S130 or the step S140, which is not described in detail herein.
And obtaining a rule result according to the calculation atom information, and obtaining a reliability result corresponding to the rule result according to the number of the calculation atom information and the reliability of each calculation atom information. The method can obtain a corresponding rule result according to the calculated atomic information, for example, if the rule result corresponding to the fact that the difference value between the monthly electricity consumption and the previous monthly electricity consumption is larger than the preset electricity consumption value is that the electricity meter is inaccurate, the inaccurate rule result of the electricity meter and the corresponding credibility can be output at the moment.
In a possible implementation manner, the method for obtaining the rule result according to the atomic information, and obtaining the reliability result corresponding to the rule result according to the number of the atomic information and the reliability of each piece of atomic information includes:
and acquiring a rule sub-result corresponding to each piece of calculation atom information. In an actual calculation scenario, one rule event may have multiple pieces of sub-event information, the multiple pieces of sub-event information may correspond to multiple rule sub-results, for example, the calculation atomic information further includes an electricity meter service life, the electricity meter service life may be that the electricity meter service life needs to be replaced after exceeding a preset life, at this time, two pieces of atomic information correspond to two rule sub-results, the first rule sub-result is that the electricity meter is damaged and needs to be maintained, the second rule sub-result is that the electricity meter is aged and needs to be replaced, the two rule sub-results are not necessarily conflicting, and different processing manners may be adopted, such as maintenance or replacement.
And if only one rule sub-result exists, outputting the rule sub-result as a rule result. A unique rule result can be output if there is only one rule sub-result.
And if a plurality of rule sub-results exist, determining to obtain the rule reliability according to the calculation atom information corresponding to each rule sub-result. If more rule sub-results exist, it is proved that the input rule event has more sub-event information and may have more rule sub-results.
And determining a preset number of rule sub-results according to the rule credibility of the rule sub-results, outputting the preset number of rule sub-results as rule results, and outputting the rule credibility corresponding to the preset number of rule sub-results as credibility results. After the rule sub-results are more, the invention can determine the rule sub-results with preset quantity according to the rule credibility corresponding to different rule sub-results. For example, if a plurality of pieces of calculation atomic information correspond to one rule sub-result, the credibility of the plurality of pieces of calculation atomic information is added to obtain the credibility of the rule sub-result, in such a way that the rule sub-results of the plurality of pieces of calculation atomic information can be obtained by fusion. Through the technical scheme, the more the sub-event information in the rule event and the more the atom information in the rule map are, the more and higher the types and the credibility of the output rule results are.
In a possible embodiment, the step of determining a preset number of rule sub-results according to a plurality of rule credibility of a plurality of rule sub-results includes:
and performing descending sorting on the plurality of rule sub-results according to the credibility of the plurality of rules to obtain a first descending sorting result. After the plurality of rule sub-results are obtained, in order to avoid outputting useless rule sub-results, the method can perform descending sorting on the plurality of rule sub-results according to the rule reliability, so that the rule sub-results with high rule reliability are arranged in front of the first descending sorting result.
And determining a preset number of rule sub-results in front of the first descending sorting result. The preset number may be 1, 2, 3, and the like, a worker may set the preset number according to an actual scene, and different first target rule units and second target rule units may correspond to different preset numbers.
In order to implement the method for generating and processing the power marketing full-service access control rule map provided by the invention, the invention also provides a device for generating and processing the power marketing full-service access control rule map, the initialized power marketing full-service access control rule map is preset in a plurality of target areas as the rule map, and the map generation and storage are performed through the following modules, as shown in fig. 5, the method comprises the following steps:
the map acquisition module is used for respectively acquiring a first regular map and a second regular map of a first target area and a second target area at intervals of a first preset time period;
the map decomposition module is used for sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to a preset rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set;
the first configuration module is used for acquiring first atom information and second atom information which are newly added in the first atom set and the second atom set in the same way in a first preset time period, generating a first newly added atom subset, and configuring a first credibility label for each newly added atom information in the first newly added atom subset;
the second configuration module is used for acquiring first atom information and second atom information which are newly added with different information in a first preset time period from the first atom set and the second atom set, generating a second newly added atom set, and configuring a second credibility label for each same atom information in the second newly added atom set;
the map updating module is used for updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set and the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map;
and the map processing module is used for processing the received rule event by the first rule map and/or the second rule map, acquiring a corresponding first target rule unit and/or a corresponding second target rule unit, and generating a rule result and a reliability result.
The present invention also provides a storage medium having a computer program stored therein, the computer program being executable by a processor to implement the methods provided by the various embodiments described above.
The storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device. The storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and the like.
The present invention also provides a program product comprising execution instructions stored in a storage medium. The at least one processor of the device may read the execution instructions from the storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The method for generating and processing the power marketing full-service access control rule map is characterized in that the initialized power marketing full-service access control rule map is preset in a plurality of target areas as a rule map, and map generation and storage are performed through the following steps, and the method comprises the following steps:
respectively acquiring a first rule map and a second rule map of a first target area and a second target area at intervals of a first preset time period;
sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to a preset rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set;
acquiring newly added same first atom information and second atom information of the first atom set and the second atom set in a first preset time period, generating a first newly added atom set, and configuring a first credibility label for each newly added atom information in the first newly added atom set;
acquiring first atom information and second atom information which are newly added with different atom information in a first preset time period in the first atom set and the second atom set, generating a second newly added atom set, and configuring a second credibility label for each same atom information in the second newly added atom set;
updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set and the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map;
and processing the received rule event by the updated first rule map and/or second rule map to obtain a corresponding first target rule unit and/or second target rule unit, and generating a rule result and a reliability result.
2. The power marketing full-service entrance guard rule map generating and processing method of claim 1, wherein,
the method for configuring the first credibility label for each newly added atom information in the first newly added atom set comprises the following steps of obtaining the same first atom information and second atom information newly added to the first atom set and the second atom set in a first preset time period, generating a first newly added atom set, and configuring the first credibility label for each newly added atom information in the first newly added atom set:
acquiring a first time label and a second time label corresponding to each piece of first atomic information and second atomic information in a first atomic set and a second atomic set;
determining that the same first atom information and second atom information are newly added in a first preset time period to generate a first newly added atom set according to the first time tag and the second time tag;
respectively obtaining a first triggering frequency and a second triggering frequency of the first atomic information and the second atomic information triggered in a first preset time period to obtain a first triggering total frequency, and calculating according to the first triggering total frequency and a first reference credibility label to obtain a first credibility label corresponding to the first atomic information and the second atomic information together.
3. The power marketing full-service entrance guard rule map generating and processing method of claim 2, wherein,
the method comprises the steps of respectively obtaining a first triggering frequency and a second triggering frequency of triggering the first atomic information and the second atomic information in a first preset time period to obtain a first triggering total frequency, and calculating according to the first triggering total frequency and a first reference credibility label to obtain a first credibility label corresponding to the first atomic information and the second atomic information at the same time, wherein the steps comprise:
acquiring the number of atom information respectively in the first target rule unit and the second target rule unit to obtain a first atom number and a second atom number;
obtaining a first basic coefficient value and a second basic coefficient value of the first atomic information and the second atomic information according to the first atomic number and the second atomic number;
obtaining a first credibility label according to the first basic coefficient value, the second basic coefficient value, the first total triggering times and a first reference credibility label, and setting the first credibility label to correspond to the first atomic information and the second atomic information at the same time;
calculating a first confidence label by:
Figure 480296DEST_PATH_IMAGE001
wherein, the first and the second end of the pipe are connected with each other,
Figure 64861DEST_PATH_IMAGE002
is a first confidence label that is a first confidence label,
Figure 170220DEST_PATH_IMAGE003
is the first number of times of triggering,
Figure 182039DEST_PATH_IMAGE004
is the second number of triggers and is,
Figure 740059DEST_PATH_IMAGE005
is the first number of atoms to be used,
Figure 128315DEST_PATH_IMAGE006
is the number of the second atom, and,
Figure 88181DEST_PATH_IMAGE007
is a first constant value that is a function of,
Figure 270900DEST_PATH_IMAGE008
is a first reference confidence label.
4. The power marketing full-service entrance guard rule map generating and processing method of claim 1, wherein,
the steps of acquiring the first atom set and the second atom set, adding different first atom information and second atom information in a first preset time period, generating a second added atom set, and configuring a second credibility label for each same atom information in the second added atom set comprise:
acquiring a first time label and a second time label corresponding to each piece of first atomic information and second atomic information in a first atomic set and a second atomic set;
determining that different first atom information and second atom information are newly added in a first preset time period according to the first time tag and the second time tag to generate a second newly added atom set;
respectively acquiring a third triggering time and a fourth triggering time of the first atomic information and the second atomic information triggered in a first preset time period, and calculating according to the third triggering time, the fourth triggering time and a second reference credibility label to obtain second credibility labels respectively corresponding to the first atomic information and the second atomic information.
5. The power marketing full-service entrance guard rule map generating and processing method of claim 4, wherein,
in the step of respectively obtaining a third triggering time and a fourth triggering time of triggering the first atomic information and the second atomic information within a first preset time period, and calculating according to the third triggering time, the fourth triggering time and a second reference credibility label to obtain second credibility labels corresponding to the first atomic information and the second atomic information respectively, the method includes:
acquiring the number of atom information respectively contained in the first target rule unit and the second target rule unit to obtain a first atom number and a second atom number;
obtaining a third basic coefficient value and a fourth basic coefficient value of the first atom information and the second atom information according to the third triggering times, the fourth triggering times, the first atom number and the second atom number;
obtaining a second reliability label according to the third basic coefficient value, the fourth basic coefficient value and a second reference reliability label, and setting the second reliability label to correspond to the first atomic information or the second atomic information respectively;
calculating a second credibility label for the first atomic information or the second atomic information by the following formula:
Figure 581796DEST_PATH_IMAGE009
wherein the content of the first and second substances,
Figure 242584DEST_PATH_IMAGE010
a second credibility label corresponding to the first atomic information,
Figure 322536DEST_PATH_IMAGE011
as the third number of times of triggering, the trigger signal,
Figure 944666DEST_PATH_IMAGE005
is the first number of atoms, and is,
Figure 477278DEST_PATH_IMAGE012
is a second constant value which is a function of,
Figure 207337DEST_PATH_IMAGE013
for the purposes of the second reference confidence label,
Figure 876216DEST_PATH_IMAGE014
a second credibility label corresponding to the second atomic information,
Figure 666317DEST_PATH_IMAGE015
as the fourth number of times of triggering,
Figure 686226DEST_PATH_IMAGE016
is a second atomic number.
6. The power marketing full-service access control rule map generating and processing method of claim 1, wherein,
in the step of updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set, the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map, the method includes:
determining atom information which does not exist in the second atom set as first newly added atom information, and adding the first newly added atom information into a first target rule unit;
acquiring historical selection times of each atom information in the first rule map, and generating initial selection times according to the selection times of the first newly-added atom information in a first preset time period;
updating the traversing and sequencing sequence of all the atomic information in the first target rule unit based on the historical selection times and the initial selection times of all the atomic information;
and obtaining an updated first rule map based on the updated first target rule unit.
7. The power marketing full-service entrance guard rule map generating and processing method of claim 6, wherein,
the steps of processing the received rule event by the first rule map and/or the second rule map, acquiring a corresponding first target rule unit and/or a corresponding second target rule unit, and generating a rule result and a credibility result comprise:
extracting event labels of the received rule events by using a first rule map, and selecting at least one corresponding first target rule unit according to the event labels;
extracting sub-event information in the rule event, determining corresponding calculation atom information based on each atom information in the traversal sequencing order according to the sub-event information, and calculating the credibility of the atom information;
and obtaining a rule result according to the calculation atom information, and obtaining a reliability result corresponding to the rule result according to the number of the calculation atom information and the reliability of each calculation atom information.
8. The power marketing full-service entrance guard rule map generating and processing method of claim 7, wherein,
the steps of obtaining rule results according to the calculated atomic information, and obtaining reliability results corresponding to the rule results according to the number of the calculated atomic information and the reliability of each calculated atomic information include:
acquiring a rule sub-result corresponding to each piece of calculated atomic information;
if only one rule sub-result exists, outputting the rule sub-result as a rule result;
if a plurality of rule sub-results exist, determining to obtain rule reliability according to the calculation atom information corresponding to each rule sub-result;
and determining a preset number of rule sub-results according to the rule credibility of the rule sub-results, outputting the preset number of rule sub-results as rule results, and outputting the rule credibility corresponding to the preset number of rule sub-results as credibility results.
9. The power marketing full-service entrance guard rule map generating and processing method of claim 8, wherein,
in the step of determining a preset number of rule sub-results based on a plurality of rule trustworthiness of the plurality of rule sub-results, comprising:
according to the credibility of the multiple rules, performing descending sorting on the multiple rule sub-results to obtain a first descending sorting result;
and determining a preset number of rule sub-results in front of the first descending sorting result.
10. Electric power marketing full-service entrance guard rule map generates and processing apparatus, its characterized in that, sets up the electric power marketing full-service entrance guard rule map of initialization in advance in a plurality of target areas as the rule map, carries out the map through following module and generates and the storage, includes:
the map acquisition module is used for respectively acquiring a first regular map and a second regular map of a first target area and a second target area at intervals of a first preset time period;
the map decomposition module is used for sequentially traversing and acquiring a first target rule unit and a second target rule unit in a first rule map and a second rule map according to a preset rule set, and decomposing the first target rule unit and the second target rule unit to obtain a first atom set and a second atom set;
the first configuration module is used for acquiring first atom information and second atom information which are newly added in the first atom set and the second atom set in the same way in a first preset time period, generating a first newly added atom subset, and configuring a first credibility label for each newly added atom information in the first newly added atom subset;
the second configuration module is used for acquiring first atom information and second atom information which are newly added with different information in a first preset time period from the first atom set and the second atom set, generating a second newly added atom set, and configuring a second credibility label for each same atom information in the second newly added atom set;
the map updating module is used for updating the first target rule unit and the second target rule unit according to the first atom set and/or the second atom set and the first credibility label and/or the second credibility label to obtain an updated first rule map and an updated second rule map;
and the map processing module is used for processing the received rule event by the updated first rule map and/or the updated second rule map, acquiring the corresponding first target rule unit and/or second target rule unit, and generating a rule result and a reliability result.
CN202210546235.5A 2022-05-20 2022-05-20 Method and device for generating and processing power marketing full-service access control rule map Active CN114647743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210546235.5A CN114647743B (en) 2022-05-20 2022-05-20 Method and device for generating and processing power marketing full-service access control rule map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210546235.5A CN114647743B (en) 2022-05-20 2022-05-20 Method and device for generating and processing power marketing full-service access control rule map

Publications (2)

Publication Number Publication Date
CN114647743A true CN114647743A (en) 2022-06-21
CN114647743B CN114647743B (en) 2022-08-26

Family

ID=81996942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210546235.5A Active CN114647743B (en) 2022-05-20 2022-05-20 Method and device for generating and processing power marketing full-service access control rule map

Country Status (1)

Country Link
CN (1) CN114647743B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200081931A1 (en) * 2018-09-11 2020-03-12 Apple Inc. Techniques for disambiguating clustered occurrence identifiers
CN110929036A (en) * 2019-11-29 2020-03-27 南方电网数字电网研究院有限公司 Electric power marketing inspection management method and device, computer equipment and storage medium
CN111144697A (en) * 2019-11-29 2020-05-12 泰康保险集团股份有限公司 Data processing method, data processing device, storage medium and electronic equipment
CN112463974A (en) * 2019-09-09 2021-03-09 华为技术有限公司 Method and device for establishing knowledge graph
CN112565193A (en) * 2020-11-06 2021-03-26 西安电子科技大学 Network security policy conflict resolution method, system, storage medium and equipment
WO2021107447A1 (en) * 2019-11-25 2021-06-03 주식회사 데이터마케팅코리아 Document classification method for marketing knowledge graph, and apparatus therefor
CN113283772A (en) * 2021-06-04 2021-08-20 云南电网有限责任公司信息中心 Electric power marketing inspection business rule analysis and application method
WO2021175009A1 (en) * 2020-03-02 2021-09-10 深圳壹账通智能科技有限公司 Early warning event graph construction method and apparatus, device, and storage medium
WO2021196520A1 (en) * 2020-03-30 2021-10-07 西安交通大学 Tax field-oriented knowledge map construction method and system
CN113986241A (en) * 2021-10-25 2022-01-28 北京元年科技股份有限公司 Configuration method and device of business rules based on knowledge graph
CN114077674A (en) * 2021-10-31 2022-02-22 国电南瑞科技股份有限公司 Power grid dispatching knowledge graph data optimization method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200081931A1 (en) * 2018-09-11 2020-03-12 Apple Inc. Techniques for disambiguating clustered occurrence identifiers
CN112463974A (en) * 2019-09-09 2021-03-09 华为技术有限公司 Method and device for establishing knowledge graph
WO2021107447A1 (en) * 2019-11-25 2021-06-03 주식회사 데이터마케팅코리아 Document classification method for marketing knowledge graph, and apparatus therefor
CN110929036A (en) * 2019-11-29 2020-03-27 南方电网数字电网研究院有限公司 Electric power marketing inspection management method and device, computer equipment and storage medium
CN111144697A (en) * 2019-11-29 2020-05-12 泰康保险集团股份有限公司 Data processing method, data processing device, storage medium and electronic equipment
WO2021175009A1 (en) * 2020-03-02 2021-09-10 深圳壹账通智能科技有限公司 Early warning event graph construction method and apparatus, device, and storage medium
WO2021196520A1 (en) * 2020-03-30 2021-10-07 西安交通大学 Tax field-oriented knowledge map construction method and system
CN112565193A (en) * 2020-11-06 2021-03-26 西安电子科技大学 Network security policy conflict resolution method, system, storage medium and equipment
CN113283772A (en) * 2021-06-04 2021-08-20 云南电网有限责任公司信息中心 Electric power marketing inspection business rule analysis and application method
CN113986241A (en) * 2021-10-25 2022-01-28 北京元年科技股份有限公司 Configuration method and device of business rules based on knowledge graph
CN114077674A (en) * 2021-10-31 2022-02-22 国电南瑞科技股份有限公司 Power grid dispatching knowledge graph data optimization method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卢菁等: "一种挖掘标准模式的知识图谱更新方法", 《小型微型计算机***》 *

Also Published As

Publication number Publication date
CN114647743B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN109033200B (en) Event extraction method, device, equipment and computer readable medium
CN111176953B (en) Abnormality detection and model training method, computer equipment and storage medium
CN112016905B (en) Information display method and device based on approval process, electronic equipment and medium
CN102902960A (en) Leave-behind object detection method based on Gaussian modelling and target contour
CN106998336B (en) Method and device for detecting user in channel
CN112446637A (en) Building construction quality safety online risk detection method and system
CN112925899B (en) Ordering model establishment method, case clue recommendation method, device and medium
CN111612499A (en) Information pushing method and device, storage medium and terminal
CN114647743B (en) Method and device for generating and processing power marketing full-service access control rule map
CN111325255B (en) Specific crowd delineating method and device, electronic equipment and storage medium
CN113688870A (en) Group renting house identification method based on user electricity utilization behavior by adopting hybrid algorithm
CN105930430B (en) Real-time fraud detection method and device based on non-accumulative attribute
CN116127337B (en) Risk mining method, device, storage medium and equipment based on position and image
CN116739408A (en) Power grid dispatching safety monitoring method and system based on data tag and electronic equipment
Thomas et al. Imputation of trip data for a docked bike-sharing system
WO2023039973A1 (en) Abnormal false alarm processing method and apparatus, and storage medium and terminal
CN111383032B (en) Method and device for detecting authenticity of house source information
CN114692978A (en) Social media user behavior prediction method and system based on big data
CN112434653A (en) Method and system for detecting building area by using remote sensing image
CN112434650A (en) Multi-spectral image building change detection method and system
CN112434648A (en) Wall shape change detection method and system
CN114780756B (en) Entity alignment method and device based on noise detection and noise perception
CN114691668B (en) Inspection data automatic processing method suitable for multidimensional measurement asset management
CN109189908A (en) Mass data extracts push working method
Bauer Probabilistic reasoning on object occurrence in complex scenes

Legal Events

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