CN114648255B - Inspection method and platform based on marketing business risk digital internal control system - Google Patents

Inspection method and platform based on marketing business risk digital internal control system Download PDF

Info

Publication number
CN114648255B
CN114648255B CN202210535510.3A CN202210535510A CN114648255B CN 114648255 B CN114648255 B CN 114648255B CN 202210535510 A CN202210535510 A CN 202210535510A CN 114648255 B CN114648255 B CN 114648255B
Authority
CN
China
Prior art keywords
monitoring
monitoring time
code
time
code segment
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.)
Active
Application number
CN202210535510.3A
Other languages
Chinese (zh)
Other versions
CN114648255A (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
Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd
Ningbo Power Supply Co 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, Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd
Priority to CN202210535510.3A priority Critical patent/CN114648255B/en
Publication of CN114648255A publication Critical patent/CN114648255A/en
Application granted granted Critical
Publication of CN114648255B publication Critical patent/CN114648255B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The invention provides an inspection method and a platform based on a marketing business risk digital internal control system, which comprises the following steps: generating a corresponding first monitoring time table based on the first monitoring time, wherein an initial calculation code corresponding to the intelligent electric meter is stored in the block chain server; classifying a total code configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment; the first monitoring plug-in monitors the calculation time of the first fixed code segment to generate second monitoring time, generates a second monitoring time table according to the second monitoring time, and fills the second monitoring time table into the dynamic change code; if the initial calculation code corresponds to the first fixed code segment and the first monitoring schedule corresponds to the dynamic change code, outputting a first inspection result. By the scheme, the intelligent electric meter can be digitally checked for marketing service risks, and the problem that the intelligent electric meter cannot be normally detected after being tampered by a hacker is avoided.

Description

Inspection method and platform based on marketing business risk digital internal control system
Technical Field
The invention relates to the technical field of data processing, in particular to an inspection method and an inspection platform based on a marketing business risk digital internal control system.
Background
The electric power marketing inspection is a main component of an internal control constraint mechanism of the electric power marketing link and is an important content and an effective way for electric power marketing risk management. By effectively carrying out the electric power inspection work, the aims of standardizing marketing behaviors, blocking loopholes, exploiting potential and improving efficiency, improving marketing policy execution power and reducing marketing accidents can be achieved.
In the electric power marketing inspection, the inspection of electricity stealing behaviors is a key point, a large amount of electric energy is needed in the production and life processes of the current factories, and the intelligent electric meter for calculating the electric energy is tampered by some factories, so that the electric energy calculation amount of the intelligent electric meter has errors.
In the prior art, the method can compare an initial code configured previously by the smart meter with a detection code during detection to judge whether the smart meter is tampered, and is only suitable for local detection, namely, the code of the smart meter is directly extracted in a manual mode. When the code is extracted remotely, a hacker may save the initial code and feed back the initial code to the remote server through some processes, so that the remote server cannot realize normal detection and is under the shielding.
Disclosure of Invention
The embodiment of the invention provides an inspection method and an inspection platform based on a marketing business risk digital internal control system, which can inspect the marketing business risk of an intelligent electric meter in a digital mode and avoid the problem that the intelligent electric meter cannot be normally detected after being tampered by hackers.
In order to solve the above problems, the present invention provides the following technical solutions:
in a first aspect, an inspection method based on a marketing business risk digitization internal control system provided by the embodiment of the present invention includes:
configuring a first monitoring plug-in at an intelligent electric meter, wherein the first monitoring plug-in is used for monitoring first monitoring time of an electric energy metering signal received by the intelligent electric meter and uploading the first monitoring time to a corresponding block chain server in real time;
the block chain server generates a corresponding first monitoring time table based on the first monitoring time, and initial calculation codes corresponding to the intelligent electric meter are stored in the block chain server;
classifying a total code configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment, wherein the first fixed code segment is used for calculating an electric energy metering signal to generate corresponding electric energy data;
the first monitoring plug-in monitors the calculation time of the first fixed code segment to generate second monitoring time, generates a second monitoring time table according to the second monitoring time, and fills the second monitoring time table to the dynamic change code segment;
after receiving a validation request for any one intelligent electric meter, a pre-configured marketing service risk digital internal control server acquires a corresponding first monitoring time table and an initial calculation code in a block chain server and a first fixed code segment and a dynamic change code segment at the intelligent electric meter according to the validation request;
if the initial calculation code corresponds to the first fixed code segment and the first monitoring schedule corresponds to the dynamic change code segment, outputting a first inspection result.
Further, configuring a first monitoring plug-in at the smart meter, where the first monitoring plug-in is configured to monitor a first monitoring time of the electric energy metering signal received by the smart meter, and uploading the first monitoring time to a corresponding block chain server in real time specifically includes:
acquiring user attributes of the position where the intelligent electric meter is located, and generating one-dimensional cyclic monitoring time of the first monitoring plug-in unit according to the user attributes, wherein the one-dimensional cyclic monitoring time comprises a plurality of monitoring time points;
generating a monitoring time period corresponding to each monitoring time point according to the one-dimensional cycle monitoring time and the cycle time value;
and generating a monitoring time schedule corresponding to the first monitoring plug-in unit according to the monitoring time point and the monitoring time period, wherein the first monitoring plug-in unit monitors according to the monitoring time schedule.
Further, the obtaining of the user attribute of the position where the smart meter is located, and generating a one-dimensional cycle monitoring time with the first monitoring plug-in according to the user attribute, where the one-dimensional cycle monitoring time includes a plurality of monitoring time points, includes:
acquiring a historical electricity utilization value of the intelligent electric meter in a last time period and reference electricity utilization values of other intelligent electric meters in the area where the intelligent electric meter is located in the last time period;
the user attribute of the position where the intelligent ammeter is located is quantized to obtain a quantized attribute value (inverse ratio);
performing initialization calculation according to the historical electricity utilization value, the reference electricity utilization value and the quantitative attribute value to obtain one-dimensional cycle monitoring time; the formula is as follows:
Figure 950682DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 523745DEST_PATH_IMAGE002
the time is monitored for a one-dimensional cycle,
Figure 414341DEST_PATH_IMAGE003
in order to be the historical electricity utilization value,
Figure 476975DEST_PATH_IMAGE004
for intelligent electric meterOther second in the area
Figure 85811DEST_PATH_IMAGE005
The reference electricity consumption value of each smart meter,
Figure 587199DEST_PATH_IMAGE006
for the upper limit values of other smart meters in the area,
Figure 597881DEST_PATH_IMAGE007
the number values of other smart meters in the area,
Figure 831416DEST_PATH_IMAGE008
in order to quantify the value of the property,
Figure 927548DEST_PATH_IMAGE009
is a first time weight value.
Further, the generating a monitoring time period corresponding to each monitoring time point according to the one-dimensional cyclic monitoring time and the cycle time value specifically includes:
dividing the period duration value by the one-dimensional cycle monitoring time to obtain time section values corresponding to all the monitoring time points respectively;
decomposing the cycle time value of each monitoring time point based on the time paragraph value to obtain a monitoring time period corresponding to each monitoring time point;
and carrying out one-to-one corresponding distribution according to the time sequence of the monitoring time points and the monitoring time periods.
Further, the monitoring, by the first monitoring plug-in, the computation time of the first fixed code segment to generate a second monitoring time, generating a second monitoring schedule according to the second monitoring time, and filling the second monitoring schedule into the dynamically changing code segment specifically includes:
the first monitoring plug-in monitors a code interface of a microprocessor and a storage unit for storing a first fixed code segment at the intelligent electric meter;
if the first fixed code segment is judged to be called through the code interface, generating a starting monitoring time, if the first fixed code segment is judged to be called, generating an ending monitoring time, and generating a corresponding second monitoring time table according to the starting monitoring time and the ending monitoring time;
and acquiring a first code slot position and a second code slot position of the dynamic change code segment, extracting the starting monitoring time to fill the first code slot position, and extracting the ending monitoring time to fill the second code slot position.
Further, the obtaining a first code slot and a second code slot of the dynamically changing code segment, extracting the start monitoring time to fill in the first code slot, and extracting the end monitoring time to fill in the second code slot includes:
newly building a plurality of time-dimension code lines at the dynamic change code section according to the monitoring time point and the monitoring time period, wherein each code line at least corresponds to one first code slot position and one second code slot position;
if the monitoring time period is judged to have a plurality of monitoring starting times and monitoring ending times, establishing a new first code slot position and a new second code slot position at corresponding code lines according to the number of the monitoring starting times and the monitoring ending times;
and counting the sum of the number of the first code slot position and the second code slot position in each code line to obtain the total slot position number, adding a suffix mark to the code line according to the total slot position number, and dynamically updating the dynamically-changed code segment.
Further, if the initial calculation code corresponds to a first fixed code segment and the first monitoring schedule corresponds to the dynamic change code segment, outputting a first inspection result specifically includes:
extracting code characters of the initial calculation code and the first fixed code segment in a plurality of same code lines based on a preset comparison table;
if the code characters in all the same code lines are completely the same, judging that the initial calculation code corresponds to the first fixed code segment;
performing time allocation processing on all monitoring time in a certain monitoring time period in a first monitoring time schedule to obtain a plurality of sub-monitoring time periods, and acquiring the number of paragraphs of the sub-monitoring time periods;
extracting a code line corresponding to the monitoring time period in the first monitoring time table, and if the total slot bit number of the code line corresponds to the paragraph number, acquiring the sub starting time and the sub ending time of the sub monitoring time period;
and if the sub starting time and the sub ending time respectively correspond to the starting monitoring time and the ending monitoring time of the first code slot position and the second code slot position, the first monitoring time table corresponds to the dynamic change code segment.
Further, if it is determined that a plurality of start monitoring times and end monitoring times occur in the monitoring time period, establishing new first code slots and second code slots at corresponding code lines according to the number of the start monitoring times and the end monitoring times, including:
if the first monitoring plug-in judges that the first fixed code segment exists at the initial moment of the monitoring time period and is called through the code interface, directly taking the initial moment of the monitoring time period as the planned starting monitoring time;
if the first monitoring plug-in judges that the first fixed code segment is called through the code interface at the end time of the monitoring time period, directly taking the end time of the monitoring time period as the planned end monitoring time;
and adding a first start label and a first end label to the planned start monitoring time and the planned end monitoring time respectively.
Further, counting the number of all first start tags and first end tags of the smart meter in the current time period;
adjusting the one-dimensional cycle monitoring time according to the number of the first start tags and the first end tags;
calculating the adjusted one-dimensional cycle monitoring time by the following formula;
Figure 842414DEST_PATH_IMAGE010
wherein the content of the first and second substances,
Figure 973181DEST_PATH_IMAGE011
for the adjusted one-dimensional cycle monitoring time,
Figure 112038DEST_PATH_IMAGE012
in order to preset the value of the cyclic constant,
Figure 23363DEST_PATH_IMAGE013
as to the number of first start tags,S 2 for the number of the first end tags,
Figure 273078DEST_PATH_IMAGE014
weights are adjusted for the tags.
In a second aspect, an embodiment of the present invention provides an inspection platform based on a marketing service risk digital internal control system, including:
the system comprises a configuration module, a block chain server and a monitoring module, wherein the configuration module is used for configuring a first monitoring plug-in at an intelligent electric meter, and the first monitoring plug-in is used for monitoring first monitoring time of an electric energy metering signal received by the intelligent electric meter and uploading the first monitoring time to a corresponding block chain server in real time;
the generating module is used for enabling a block chain server to generate a corresponding first monitoring time table based on the first monitoring time, and the block chain server stores an initial calculation code corresponding to the intelligent electric meter;
the system comprises a classification module, a first data acquisition module, a second data acquisition module and a second data acquisition module, wherein the classification module is used for classifying a total code configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment, and the first fixed code segment is used for calculating according to an electric energy metering signal to generate corresponding electric energy data;
the monitoring module is used for enabling the first monitoring plug-in to monitor the calculation time of the first fixed code segment to generate second monitoring time, generating a second monitoring time table according to the second monitoring time, and filling the second monitoring time table into the dynamic change code segment;
the acquisition module is used for acquiring a corresponding first monitoring time table and initial calculation codes in the block chain server according to a validation request after the pre-configured internal control server for digitalizing the marketing service risk receives the validation request for any one intelligent electric meter, and acquiring a first fixed code segment and a dynamic change code segment at the intelligent electric meter;
and the output module is used for outputting a first inspection result if the initial calculation code corresponds to the first fixed code segment and the first monitoring time table corresponds to the dynamic change code segment.
In a third aspect, an embodiment of the present invention provides an electronic device, including: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect of the invention as well as various possible aspects of the first aspect.
In a fourth aspect, the embodiments of the present invention provide a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the first aspect of the present invention and various possible related methods of the first aspect when executed by a processor.
The invention has the following beneficial effects:
1. the method comprises the steps that a first monitoring plug-in is arranged to collect first monitoring time when an intelligent electric meter starts to meter electricity, a first monitoring time table is generated and stored in a block chain server, then a first fixed code segment in the intelligent electric meter is called by the first monitoring plug-in to execute second monitoring time for calculating electric quantity and electric charge, and a second monitoring time table is generated and filled into a dynamic change code segment; and then comparing the initial calculation code with the first fixed code segment, checking whether the comparison result of the codes is consistent, simultaneously, comparing the first monitoring time table with the dynamic change code segment, checking whether the comparison result of the time is consistent, if the comparison result of the codes is consistent, indicating that the codes in the intelligent electric meter are not changed, if the comparison result of the codes is inconsistent, indicating that the codes in the intelligent electric meter are changed, and at the moment, generating code early warning information. It can be understood that as long as one code warning message and one time warning message are provided, the possibility that the smart meter is tampered is indicated, and engineering personnel can be assigned to check and confirm on site. In the scheme, if a hacker changes the code, the code can be found through comparison, if the hacker does not change the code but reconfigures a new code, the hacker can find through comparison through the second monitoring time table in the dynamic code segment in the scheme, and the intelligent electric meter can be comprehensively detected through the combination of code detection and time detection, so that the normal operation of the intelligent electric meter is ensured;
2. according to the scheme, a scheme of acquiring time is generated by combining one-dimensional cycle monitoring time with a scheme of cycle time value, so that monitoring on the intelligent electric meter can be comprehensively covered, and data processing capacity of a server can be reduced; in addition, the scheme also adjusts the one-dimensional cycle monitoring time by utilizing the historical electricity utilization value, the reference electricity utilization value and the quantitative attribute value to obtain the one-dimensional cycle monitoring time which accords with the user, so that the monitoring time can be more fit with the user;
3. the dynamic change code segment is provided with a first code slot position and a second code slot position and is used for filling the starting time and the ending time in a second monitoring time table, and when time is monitored subsequently, the dynamic change code segment is directly extracted and compared; in addition, after the first code slot position and the second code slot position of the dynamic change code segment are obtained in the first circulation, the dynamic change code segment with the same total slot position can be adopted in each monitoring time period in the next circulation, and the second monitoring time table can be combined more quickly.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of an inspection method based on a digital internal control system of marketing business risk according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an inspection platform based on a marketing business risk digital internal control system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are described in further detail below with reference to the embodiments and the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the prior art, when an operator needs to remotely check a code of the smart meter, the code in the smart meter is generally extracted in a remote manner, a hacker may save the initial code and feed the initial code back to a remote server through some processing, and at this time, a comparison result may be wrong.
In order to solve the above problems, referring to fig. 1, a flowchart of an inspection method based on a digital marketing business risk internal control system according to an embodiment of the present invention is shown, an execution subject of the method shown in fig. 1 may be a software and/or hardware device, which is not limited in this embodiment. The method comprises steps S1 to S6, which are as follows:
s1, configuring a first monitoring plug-in at the intelligent electric meter, wherein the first monitoring plug-in is used for monitoring first monitoring time of the electric energy metering signal received by the intelligent electric meter and uploading the first monitoring time to a corresponding block chain server in real time.
Firstly, the scheme can monitor and collect the first monitoring time of the electric energy metering signal received by the intelligent electric meter in real time, and then uploads the first monitoring time to the block chain server to store the first monitoring time.
In order to monitor and obtain first monitoring time, this scheme is provided with first monitoring plug-in components for real-time supervision and the first monitoring time of the electric energy metering signal that gathers intelligent ammeter received. It can be understood that, when the user begins to use electricity, the smart meter will begin to generate an electric energy metering signal, and at this time, the first monitoring plug-in will be triggered to act, and the collection time is taken as the first monitoring time.
In practical application, the blockchain server comprises a plurality of nodes, each node can correspond to one intelligent electric meter, and then the first monitoring time is safely stored, so that the first monitoring time cannot be easily tampered.
It can be understood that if let first monitoring plug-in keep on real-time supervision data every day and upload, can make the data bulk huge, increase the data processing burden of server, in order to enough let first monitoring plug-in effectively monitor, can also reduce data processing volume, this scheme provides following mode:
in some embodiments, the step S1 (configuring the first monitoring plug-in at the smart meter, the first monitoring plug-in being configured to monitor the first monitoring time of the power metering signal received by the smart meter, and upload the first monitoring time to the corresponding blockchain server in real time) includes steps S11 to S13, which are as follows:
s11, obtaining the user attribute of the position where the intelligent electric meter is located, and generating one-dimensional cycle monitoring time of the first monitoring plug-in unit according to the user attribute, wherein the one-dimensional cycle monitoring time comprises a plurality of monitoring time points.
The user attribute may be a type of the electricity user, such as an enterprise attribute, a family attribute, and the like; the one-dimensional cycle monitoring time is the time to complete one monitoring cycle, and can be 3 days; the monitoring time points may be set one per day.
According to the scheme, the one-dimensional cycle monitoring time is related to the user attribute, so that the one-dimensional cycle monitoring time can be obtained by combining the user attribute.
In some embodiments, the step S11 (obtaining the user attribute of the location where the smart meter is located, and generating a one-dimensional cyclic monitoring time with the first monitoring plugin according to the user attribute, where the one-dimensional cyclic monitoring time includes multiple monitoring time points) includes steps S111 to S113, which are as follows:
and S111, acquiring a historical electricity utilization value of the intelligent electric meter in the last time period and reference electricity utilization values of other intelligent electric meters in the region where the intelligent electric meter is located in the last time period.
According to the scheme, in order to accurately obtain the one-dimensional cycle monitoring time of the intelligent electric meter, the one-dimensional cycle monitoring time of the intelligent electric meter can be calculated by referring to the historical electricity utilization value of the intelligent electric meter in the last time period and combining the reference electricity utilization values of other intelligent electric meters in the region where the intelligent electric meter is located in the last time period.
And S112, carrying out quantization processing on the user attribute of the position where the intelligent electric meter is located to obtain a quantization attribute value.
In step S11, the solution considers that the one-dimensional loop monitoring time is related to the user attribute, and therefore the solution combines the user attribute to obtain the one-dimensional loop monitoring time. It can be understood that, in order to combine the user attributes, the scheme needs to perform quantization processing on the user attributes of the location where the smart meter is located to obtain a quantized attribute value.
For example, when the user attribute is an enterprise attribute, the power consumption of the user attribute is large, the user attribute needs to be monitored accurately, and the quantitative attribute value of the user attribute can be set to be smaller; when the user attribute is the family attribute, the power consumption is small, compared with the enterprise attribute, the power consumption is monitored by using small precision, and the quantitative attribute value can be set to be relatively large by the scheme. That is, the precision requirement of the quantization attribute value and the user attribute correlation in the scheme is inversely proportional.
S113, performing initialization calculation according to the historical electricity utilization value, the reference electricity utilization value and the quantitative attribute value to obtain one-dimensional cycle monitoring time,
Figure 523931DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 36952DEST_PATH_IMAGE002
the one-dimensional cycle monitoring time is the one-dimensional cycle monitoring time,
Figure 107676DEST_PATH_IMAGE003
in order to be the historical electricity utilization value,
Figure 426662DEST_PATH_IMAGE004
for other second meters in the region where the intelligent electric meter is positioned
Figure 266442DEST_PATH_IMAGE005
The reference electricity consumption value of each smart meter,
Figure 72069DEST_PATH_IMAGE006
for the upper limit values of other smart meters in the area,
Figure 364510DEST_PATH_IMAGE007
the number values of other smart meters in the area,
Figure 487186DEST_PATH_IMAGE008
in order to quantify the value of the property,
Figure 181473DEST_PATH_IMAGE009
is a first time weight value.
The basic concept of the above calculation formula is as follows:
firstly, combining other second meters in the region where the intelligent electric meter is positioned
Figure 36296DEST_PATH_IMAGE005
Reference electricity utilization value of intelligent ammeter
Figure 81613DEST_PATH_IMAGE004
Calculating the average reference electricity utilization value of other intelligent electric meters and then obtaining the historical electricity utilization value
Figure 476822DEST_PATH_IMAGE015
Difference from average reference electricity consumption value, using difference to influence one-dimensional cyclic monitoring time
Figure 291194DEST_PATH_IMAGE002
It can be understood that the larger the difference value is, the larger the risk of the intelligent electric meter is, and the one-dimensional cycle monitoring time is
Figure 379236DEST_PATH_IMAGE002
The intelligent electric meter is required to be adjusted to be small, and the intelligent electric meter is monitored in a more accurate monitoring mode; quantifying attribute values
Figure 974165DEST_PATH_IMAGE008
The smaller the size, the more accurate the smart meter needs to be monitored, and the one-dimensional cycle monitoring time is also used
Figure 173066DEST_PATH_IMAGE002
Reducing; first time weight value
Figure 841944DEST_PATH_IMAGE009
Can be manually set to monitor the time for a one-dimensional cycle
Figure 100887DEST_PATH_IMAGE002
And adjusting to obtain more accurate results.
And S12, generating a monitoring time period corresponding to each monitoring time point according to the one-dimensional cycle monitoring time and the cycle time value.
In the present scheme, after the one-dimensional cycle monitoring time is obtained in step S11, the one-dimensional cycle monitoring time is used to divide the cycle time value (e.g., 24 hours of a day) to obtain the monitoring time period corresponding to each monitoring time point.
In some embodiments, step S12 (generating the monitoring time period corresponding to each monitoring time point according to the one-dimensional cyclic monitoring time and cycle time value) includes steps S121 to S123, which are as follows:
and S121, dividing the period duration value by the one-dimensional cycle monitoring time to obtain time segment fall values respectively corresponding to all the monitoring time points.
And S122, decomposing the cycle time value of each monitoring time point based on the time paragraph value to obtain the corresponding monitoring time period of each monitoring time point.
And S123, carrying out one-to-one corresponding distribution according to the time sequence of the monitoring time points and the monitoring time periods.
Illustratively, the one-dimensional cyclic monitoring time is 3 days, with one monitoring time point per day, and a composite time point of 3 days is required to cover a monitoring interval of periodic time values (e.g., 24 hours of a day). For example, the monitoring time points on the first day are 0 to 8 points, the monitoring time points on the second day are 8 to 16 points, the monitoring time points on the third day are 16 to 24 points, a time interval is monitored every day, and a time zone of 3 days covers 24 hours.
It can be understood that, in order to implement effective monitoring of the first monitoring plugin, monitoring needs a monitoring interval covering a cycle time value (for example, 24 hours of a day), but the monitoring interval covering 24 hours may be divided by using a one-dimensional cyclic monitoring time, so as to implement full-range monitoring of each time period of a day, and compared with 24-hour monitoring performed every day, data processing amount of a server may be reduced to a greater extent.
And S13, generating a monitoring time schedule corresponding to the first monitoring plug-in according to the monitoring time point and the monitoring time period, wherein the first monitoring plug-in monitors according to the monitoring time schedule.
After the monitoring time period corresponding to each monitoring time point is obtained in step S12, a monitoring time schedule corresponding to the first monitoring plug-in may be generated according to the monitoring time point and the monitoring time period, and then the first monitoring plug-in monitors the smart meter according to the generated monitoring time schedule.
For example, the monitoring schedule may be 0 to 8 monitoring time points on the first day, 8 to 16 monitoring time points on the second day, and 16 to 24 monitoring time points on the third day, where the first monitoring plug-in monitors the smart meter at 0 to 8 points on the first day, monitors the smart meter at 8 to 16 points on the second day, and monitors the smart meter at 16 to 24 points on the third day.
And S2, generating a corresponding first monitoring time table by the blockchain server based on the first monitoring time, wherein the blockchain server stores an initial calculation code corresponding to the smart meter.
Since the first monitoring plug-in monitors the first monitoring time of the electric energy metering signal in real time, for example, in the monitoring timetable from 0 point to 8 points, the electric energy metering signal is monitored at 2 points, the electric energy metering signal disappears at 3 points, the electric energy metering signal disappears at 5 points, and the electric energy metering signal disappears at 7 points, the block chain server generates the corresponding first monitoring timetable from 2 points to 3 points and from 5 points to 7 points according to the first monitoring time.
It should be noted that, in order to ensure that the initial computation code is not tampered, the present solution utilizes the blockchain server to store the initial computation code.
S3, classifying the total codes configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment, wherein the first fixed code segment is used for calculating the electric energy metering signals to generate corresponding electric energy data.
According to the scheme, the total code configured by the intelligent electric meter is divided into two types, one type is a first fixed code segment, the other type is a dynamic change code segment, the first fixed code segment is used for calculating according to the electric energy metering signal to generate corresponding electric energy data, the dynamic change code segment can be dynamically changed and adjusted, and the specific change mode is shown below.
It can be understood that when there is an electric energy metering signal, it needs to be calculated to obtain electric energy data, and the electric energy data may be data such as electric quantity and electric charge.
And S4, the first monitoring plug-in monitors the calculation time of the first fixed code segment to generate a second monitoring time, generates a second monitoring time table according to the second monitoring time, and fills the second monitoring time table into the dynamic change code segment.
First, the first monitoring plug-in is used for monitoring the calculation time of the first fixed code segment to generate second monitoring time.
It can be understood that when the electric energy metering signal is input, the first fixed code segment needs to be called to calculate the electric energy metering signal, and the first monitoring plug-in monitors the calculation time of the first fixed code segment to generate the second monitoring time.
For example, in the monitoring timetable from 0 point to 8 points, if the electric energy metering signal is monitored at 2 points, the electric energy metering signal disappears at 3 points, the electric energy metering signal disappears at 5 points, and the electric energy metering signal disappears at 7 points, the second monitoring time is the corresponding 2 points to 3 points and 5 points to 7 points.
According to the scheme, after the corresponding 2-point-3-point and 5-point-7-point are obtained, the dynamic change code segment is filled with the obtained data, so that the dynamic change code segment is adjusted.
To populate the second monitoring time into the dynamically changing code segment, in some embodiments, step S4 (the first monitoring plug-in monitors the computation time of the first fixed code segment to generate the second monitoring time, generates the second monitoring schedule according to the second monitoring time, and populates the dynamically changing code segment with the second monitoring schedule) includes steps S41 to S43, as follows:
s41, the first monitoring plug-in monitors the code interface of the microprocessor and the storage unit for storing the first fixed code segment at the intelligent electric meter.
And S42, if the first fixed code segment is judged to be called through the code interface, generating a starting monitoring time, if the first fixed code segment is judged to be called, generating an ending monitoring time, and generating a corresponding second monitoring time table according to the starting monitoring time and the ending monitoring time.
It can be understood that when the first fixed code segment is required to process the electric energy metering signal, the microprocessor at the smart meter calls the storage unit storing the first fixed code segment to perform the calculation task.
According to the scheme, the real-time monitoring is carried out on the microprocessor at the intelligent electric meter and the code interface of the storage unit for storing the first fixed code segment through the set first monitoring plug-in, so that the first fixed code segment is collected and called through the code interface to generate the starting monitoring time, the first fixed code segment is judged to be called to generate the ending monitoring time, and the corresponding second monitoring time table is generated according to the starting monitoring time and the ending monitoring time.
For example, taking a metering interval of 2 points to 3 points as an example, the first monitoring plugin monitors that the first fixed code segment is called through the code interface at 2 points, at this time, 2 points are the starting monitoring time, then judges that the first fixed code segment is called after 3 points, at this time, 3 points are the starting monitoring time, and then generates a corresponding second monitoring time table by using the 2 points to 3 points.
S43, a first code slot and a second code slot of the dynamic change code segment are obtained, the starting monitoring time is extracted to be filled into the first code slot, and the ending monitoring time is extracted to be filled into the second code slot.
The dynamic change code segment is provided with a first code slot position and a second code slot position, wherein the first code slot position is used for filling the starting monitoring time, and the second code slot position is used for filling the ending monitoring time, so that the dynamic combination between the second monitoring time table and the dynamic code segment is realized.
In some embodiments, the step S43 (obtaining the first code slot and the second code slot of the dynamically changing code segment, extracting the start monitoring time to fill in the first code slot, and extracting the end monitoring time to fill in the second code slot) includes steps S431 to S433, which are as follows:
and S431, newly building a plurality of time-dimension code lines at the dynamic change code section according to the monitoring time point and the monitoring time period, wherein each code line at least corresponds to one first code slot position and one second code slot position.
After the monitoring time period is obtained in step S12, a plurality of time-dimension code lines are newly created at the dynamically changing code segment by using the monitoring time point and the monitoring time period, and each code line corresponds to at least one first code slot position and one second code slot position.
For example, if the monitoring period is 0 point-8 point, 8 point-16 point and 16 point-24 point, then the scheme will create 3 new code lines, which may be code line 1, code line 2 and code line 3, where code line 1 may correspond to 0 point-8 point, code line 2 may correspond to 8 point-16 point and code line 3 may correspond to 16 point-24 point.
And S432, if the monitoring time period is judged to have a plurality of starting monitoring times and ending monitoring times, establishing new first code slot positions and second code slot positions at corresponding code lines according to the number of the starting monitoring times and the ending monitoring times.
In the present embodiment, in order to combine multiple start monitoring times and end monitoring times into a dynamic code line, the scheme of step S432 is provided in order to consider that multiple start monitoring times and end monitoring times may occur within one monitoring time period.
Illustratively, in the monitoring time period from 0 point to 8 points, an electric energy metering signal is monitored at 2 points, the monitoring starting time is 2 points, the electric energy metering signal is monitored to disappear at 3 points, and the monitoring ending time is 3 points; monitoring an electric energy metering signal at 5 points, wherein the 5 points are monitoring starting time, monitoring the disappearance of the electric energy metering signal at 7 points, and the 7 points are monitoring ending time, and at the moment, a plurality of monitoring starting time and monitoring ending time appear in the monitoring time period from 0 point to 8 points.
At this time, in order to fill a plurality of start monitoring times and end monitoring times into a code line, the present scheme may establish a new first code slot and a second code slot at the corresponding code line. For example, the line of code may have 2 first code slots and 2 second code slots, where one set of first and second code slots is for storing 2 and 3 dots, respectively, and another set of first and second code slots is for storing 5 and 6 dots, respectively.
In other embodiments, step S432 (if it is determined that multiple start monitoring times and end monitoring times occur in a monitoring time period, new first code slot and second code slot are established at corresponding code lines according to the number of the start monitoring times and the end monitoring times) includes steps S4321 to S4323, which are as follows:
s4321, if the first monitoring plug-in judges that the first fixed code segment is called through the code interface at the initial moment of the monitoring time period, directly taking the initial moment of the monitoring time period as the planned starting monitoring time.
According to the scheme, the condition that the first fixed code segment is called through the code interface at the initial time of the monitoring time period is considered, and then the initial time of the monitoring time period is used as the planned starting monitoring time.
S4322, if the first monitoring plug-in determines that the first fixed code segment is called through the code interface at the end time of the monitoring time period, directly taking the end time of the monitoring time period as the planned end monitoring time.
For example, if the electric quantity signal exists in the monitoring time period from 0 point to 8 points, that is, the electric quantity signal exists before 8 points, then 8 points are directly used as the planned starting monitoring time in the monitoring time period from 8 points to 16 points.
Similarly, in the monitoring time period from 8 to 16 points, there is a continuous electric quantity signal, and the electric quantity signal is not finished at 16 points, at this time, 16 points are directly used as the planned finished monitoring time.
S4323, adding a first start tag and a first end tag to the planned start monitoring time and the planned end monitoring time, respectively.
In this step, a first start tag is established for the planned start monitoring time, and a second end tag is established for the planned end monitoring time.
In view of the fact that the first start tag and the second end tag may affect the one-dimensional loop monitoring time, on the basis of the foregoing embodiment, the present solution further includes:
counting the number of all first starting tags and first ending tags of the intelligent electric meter in the current time period;
adjusting the one-dimensional cycle monitoring time according to the number of the first start tags and the first end tags;
the adjusted one-dimensional cycle monitoring time is calculated by the following formula,
Figure 58479DEST_PATH_IMAGE010
wherein the content of the first and second substances,
Figure 795491DEST_PATH_IMAGE011
for the adjusted one-dimensional cycle monitoring time,
Figure 584455DEST_PATH_IMAGE012
in order to preset the value of the cyclic constant,
Figure 14300DEST_PATH_IMAGE013
as to the number of first start tags,S 2 for the number of the first end tags,
Figure 318242DEST_PATH_IMAGE014
weights are adjusted for the tags.
The basic concept of the above formula is:
if the number of first start tags
Figure 124524DEST_PATH_IMAGE013
And the number of first end labelsS 2 The more the intelligent electric meter is, the longer the continuous running time of the intelligent electric meter is, and in order to improve the monitoring degree of the intelligent electric meter, the adjusted one-dimensional cycle monitoring time can be adjusted by the scheme
Figure 971257DEST_PATH_IMAGE011
The reduction may be, for example, from 3 days to 2 days or 1 day, and if the reduction is to 2 days, then it is 2 days for a cycle monitoring period; tag adjustment weights
Figure 899899DEST_PATH_IMAGE014
Can be manually set to count the number of first start labels
Figure 628821DEST_PATH_IMAGE013
And the number of first end labelsS 2 Making an adjustment to the number of first start tags
Figure 973214DEST_PATH_IMAGE013
And the number of first end labelsS 2 Is accurate, thereby ensuring the adjusted one-dimensional cycle monitoring time
Figure 471192DEST_PATH_IMAGE011
Is more accurate.
And S433, counting the sum of the first code slot position and the second code slot position in each code line to obtain the total slot position number, and adding a suffix mark to the code line according to the total slot position number to dynamically update the dynamically-changed code segment.
According to the scheme, after the code line corresponding to the monitoring time period is obtained, the sum of the number of the first code slot position and the number of the second code slot position in each code line is counted to obtain the total slot position number, for example, the code line has 2 first code slot positions and 2 second code slot positions, the total slot position number is 4, and the suffix mark is added to the code line by using the total slot position number of 4.
It is understood that, by adding suffix marks to the code line by using the total slot number of 4, the corresponding slot number can be directly allocated to the code line in the next cycle.
For example, in the first monitoring loop, for the time period from 0 point to 8 points, the code line has 2 first code slots and 2 second code slots, so that the total number of slots in the time period from 0 point to 8 points is 4, and in the next loop, the code line with the number of 4 slots is allocated for the time period from 0 point to 8 points, and the start monitoring time and the end monitoring time in the monitoring time period can be filled more quickly.
Generally, the electricity utilization condition of one user is changed regularly, the scheme can find the electricity utilization interval in a plurality of cycles, and then code lines corresponding to the number of the slot positions are distributed to the electricity utilization interval, so that the number of the slot positions does not need to be calculated every time, and the data processing amount of the server is reduced. For example, if a user has a power utilization interval of 2 times between 0 and 8, it is sufficient to allocate code lines corresponding to 4 slot numbers. It should be noted that, in the present embodiment, the number of slots may also be determined by using the calculation method in the foregoing embodiment, and a configurator may configure the slots according to the situation, which is not limited in this embodiment.
S5, after receiving a validation request for any one intelligent electric meter, the pre-configured marketing business risk digital internal control server acquires a corresponding first monitoring time table and initial calculation codes in the block chain server, and a first fixed code segment and a dynamic change code segment at the intelligent electric meter according to the validation request.
In practical application, when a checker needs to check the smart meter, the checker can input a check request, the pre-configured internal control server with the digital marketing service risk receives the check request, and then the smart meter is checked according to the check request.
During verification, the corresponding first monitoring time table and initial calculation codes stored in the block chain server, and a first fixed code segment and a dynamic change code segment of the intelligent electric meter are obtained.
S6, if the initial calculation code corresponds to the first fixed code segment and the first monitoring schedule corresponds to the dynamic change code segment, outputting a first checking result.
After a first monitoring time table, an initial calculation code, a first fixed code segment and a dynamic change code segment of the intelligent electric meter are obtained in the block chain server, the initial calculation code and the first fixed code segment are compared, whether a code comparison result is consistent or not is checked, meanwhile, the first monitoring time table and the dynamic change code segment are compared, and whether a time comparison result is consistent or not is checked.
If the code comparison result is consistent, the code in the intelligent electric meter is not changed, and if the code comparison result is inconsistent, the code in the intelligent electric meter is changed, and at the moment, the code early warning information can be generated.
Similarly, because the first monitoring schedule is a time period with electric quantity input, the dynamically changing code segment is filled with the second monitoring schedule, and the second monitoring schedule is the time for the code of the scheme to be called and executed, if the two are inconsistent, the code of the scheme is inconsistent with the time for calculating the electric quantity, and the time early warning information can be generated at the moment.
It can be understood that as long as one code warning message and one time warning message are provided, the possibility that the smart meter is tampered is indicated, and engineering personnel can be assigned to check and confirm on site.
In some embodiments, the step S6 (outputting the first checking result if the initial calculation code corresponds to the first fixed code segment and the first monitoring schedule corresponds to the dynamic change code segment) includes steps S61 to S65, which are as follows:
s61, extracting the code characters of the initial calculation code and the first fixed code segment in a plurality of same code lines based on a preset comparison table.
When the codes are compared, all code characters cannot be extracted, so that the comparison amount is large, and the code characters of the initial calculation codes and the first fixed code segments in a plurality of same code lines can be extracted by utilizing a preset comparison table.
For example, the preset comparison table may be for a code segment in the code for calculating the power amount, such as a code segment corresponding to a calculation formula, because the code segment will affect the power amount and the power fee, and the other code segments do not need to be compared.
S62, if all the code characters in the same code line are completely the same, the initial calculation code is judged to correspond to the first fixed code segment.
It can be understood that if the comparison result of the codes is consistent, the codes in the smart meter are not changed, and if the comparison result of the codes is inconsistent, the codes in the smart meter are changed, and at this time, the code warning information may be generated.
And S63, performing time grouping processing on all monitoring time in a certain monitoring time period in the first monitoring time schedule to obtain a plurality of sub-monitoring time periods, and acquiring the number of paragraphs of the sub-monitoring time periods.
For example, in the time period from 0 point to 8 points, a plurality of sub-monitoring time periods from 2 points to 3 points and from 5 points to 7 points can be obtained, and in this case, the corresponding segment number can be 2 segments.
And S64, extracting a code line corresponding to the monitoring time period in the first monitoring time table, and if the total slot number of the code line corresponds to the paragraph number, acquiring the sub start time and the sub end time of the sub monitoring time period.
Illustratively, the total slot number of the code line 1 is 4, and if the corresponding number of paragraphs is 2, the total slot number of the caption code line corresponds to the number of paragraphs, and if the total slot number of the code line 2 is 2, the total slot number of the caption code line does not correspond to the number of paragraphs.
After the total slot bit number corresponds to the number of paragraphs, the sub start times (e.g., 2 points and 5 points) and the sub end times (e.g., 3 points and 7 points) of the sub monitoring period are acquired.
S65, if the sub start time and the sub end time correspond to the start monitoring time and the end monitoring time of the first code slot and the second code slot, respectively, the first monitoring schedule corresponds to the dynamic change code segment.
After obtaining the sub start times (e.g., 2 and 5 points) and the sub end times (e.g., 3 and 7 points) of the sub monitoring periods, the sub start times and the sub end times are compared with the start monitoring times and the end monitoring times of the first code slot and the second code slot.
For example, taking 2 o 'clock to 3 o' clock as an example, if the time of the first code slot is 2 o 'clock and the time of the second code slot is 3 o' clock, it indicates that the comparison results are consistent; if the time of the first code slot is 3 points and the time of the second code slot is 4 points, the comparison result is inconsistent.
Referring to fig. 2, it is a schematic structural diagram of an inspection platform based on a marketing business risk digitization internal control system provided in an embodiment of the present invention, and the inspection platform based on the marketing business risk digitization internal control system includes:
the system comprises a configuration module, a block chain server and a monitoring module, wherein the configuration module is used for configuring a first monitoring plug-in at an intelligent electric meter, and the first monitoring plug-in is used for monitoring first monitoring time of an electric energy metering signal received by the intelligent electric meter and uploading the first monitoring time to a corresponding block chain server in real time;
the generating module is used for enabling a block chain server to generate a corresponding first monitoring time table based on the first monitoring time, and the block chain server stores an initial calculation code corresponding to the intelligent electric meter;
the system comprises a classification module, a first data acquisition module, a second data acquisition module and a second data acquisition module, wherein the classification module is used for classifying a total code configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment, and the first fixed code segment is used for calculating according to an electric energy metering signal to generate corresponding electric energy data;
the monitoring module is used for enabling the first monitoring plug-in to monitor the calculation time of the first fixed code segment to generate second monitoring time, generating a second monitoring time table according to the second monitoring time, and filling the second monitoring time table into the dynamic change code segment;
the acquisition module is used for acquiring a corresponding first monitoring time table and initial calculation codes in the block chain server according to a validation request after the pre-configured internal control server for digitalizing the marketing service risk receives the validation request for any one intelligent electric meter, and acquiring a first fixed code segment and a dynamic change code segment at the intelligent electric meter;
and the output module is used for outputting a first inspection result if the initial calculation code corresponds to the first fixed code segment and the first monitoring time table corresponds to the dynamic change code segment.
The apparatus in the embodiment shown in fig. 2 can be correspondingly used to perform the steps in the method embodiment shown in fig. 1, and the implementation principle and technical effect are similar, which are not described herein again.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be substantially implemented or a part of the technical solutions contributing to the prior art may be embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a hard disk, or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. An inspection method based on a marketing business risk digital internal control system is characterized by comprising the following steps:
configuring a first monitoring plug-in at an intelligent electric meter, wherein the first monitoring plug-in is used for monitoring first monitoring time of an electric energy metering signal received by the intelligent electric meter and uploading the first monitoring time to a corresponding block chain server in real time;
the block chain server generates a corresponding first monitoring time table based on the first monitoring time, and initial calculation codes corresponding to the intelligent electric meter are stored in the block chain server;
classifying a total code configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment, wherein the first fixed code segment is used for calculating an electric energy metering signal to generate corresponding electric energy data;
the first monitoring plug-in monitors a called time period of a code interface of the first fixed code segment to generate second monitoring time, generates a second monitoring time table according to the second monitoring time, and fills the second monitoring time table into the dynamic change code segment;
after receiving a validation request for any one intelligent electric meter, a pre-configured marketing service risk digital internal control server acquires a corresponding first monitoring time table and an initial calculation code in a block chain server and a first fixed code segment and a dynamic change code segment at the intelligent electric meter according to the validation request;
if the initial calculation code corresponds to the first fixed code segment and the first monitoring schedule corresponds to the dynamic change code segment, outputting a first inspection result.
2. The method for inspecting marketing business risk digital internal control system according to claim 1,
the configuration of a first monitoring plug-in at a smart electric meter is used for monitoring first monitoring time of an electric energy metering signal received by the smart electric meter, and uploading the first monitoring time to a corresponding block chain server in real time, and the configuration of the first monitoring plug-in includes:
acquiring user attributes of the position where the intelligent electric meter is located, and generating one-dimensional cyclic monitoring time of the first monitoring plug-in unit according to the user attributes, wherein the one-dimensional cyclic monitoring time comprises a plurality of monitoring time points;
generating a monitoring time period corresponding to each monitoring time point according to the one-dimensional cycle monitoring time and the cycle time value;
and generating a monitoring time schedule corresponding to the first monitoring plug-in unit according to the monitoring time point and the monitoring time period, wherein the first monitoring plug-in unit monitors according to the monitoring time schedule.
3. The method for examining based on the digital internal control system of marketing business risk as claimed in claim 2,
the method comprises the steps of obtaining user attributes of the position where the intelligent electric meter is located, and generating one-dimensional cyclic monitoring time of the first monitoring plug-in unit according to the user attributes, wherein the one-dimensional cyclic monitoring time comprises a plurality of monitoring time points, and the method comprises the following steps:
acquiring a historical electricity utilization value of the intelligent electric meter in a last time period and reference electricity utilization values of other intelligent electric meters in the area where the intelligent electric meter is located in the last time period;
the user attribute of the position where the intelligent ammeter is located is quantized to obtain a quantized attribute value;
performing initialization calculation according to the historical electricity utilization value, the reference electricity utilization value and the quantitative attribute value to obtain one-dimensional cycle monitoring time; the formula is as follows:
Figure 822232DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE003
the time is monitored for a one-dimensional cycle,
Figure 59440DEST_PATH_IMAGE004
in order to be the historical electricity utilization value,
Figure DEST_PATH_IMAGE005
for other second meters in the region where the intelligent electric meter is positioned
Figure 147482DEST_PATH_IMAGE006
The reference electricity consumption value of each smart meter,
Figure DEST_PATH_IMAGE007
for the upper limit values of other smart meters in the area,
Figure 306193DEST_PATH_IMAGE008
the number values of other smart meters in the area,
Figure DEST_PATH_IMAGE009
in order to quantify the value of the property,
Figure 160885DEST_PATH_IMAGE010
is a first time weight value.
4. The method for inspecting marketing business risk digitization internal control system according to claim 3,
the generating of the monitoring time period corresponding to each monitoring time point according to the one-dimensional cycle monitoring time and the cycle time value comprises:
dividing the period duration value by the one-dimensional cycle monitoring time to obtain time section values corresponding to all the monitoring time points respectively;
decomposing the cycle time value of each monitoring time point based on the time paragraph value to obtain a monitoring time period corresponding to each monitoring time point;
and carrying out one-to-one corresponding distribution according to the time sequence of the monitoring time points and the monitoring time periods.
5. The method for examining based on the digital internal control system of marketing business risk as claimed in claim 4,
the first monitoring plug-in monitors a called time period of a code interface of the first fixed code segment to generate second monitoring time, generates a second monitoring time table according to the second monitoring time, and fills the second monitoring time table into the dynamic change code segment, wherein the method comprises the following steps:
the first monitoring plug-in monitors a code interface of a microprocessor and a storage unit for storing a first fixed code segment at the intelligent electric meter;
if the first fixed code segment is judged to be called through the code interface, generating a starting monitoring time, if the first fixed code segment is judged to be called, generating an ending monitoring time, and generating a corresponding second monitoring time table according to the starting monitoring time and the ending monitoring time;
and acquiring a first code slot position and a second code slot position of the dynamic change code segment, extracting the starting monitoring time to fill the first code slot position, and extracting the ending monitoring time to fill the second code slot position.
6. The method for inspecting marketing business risk digital internal control system according to claim 5,
acquiring a first code slot position and a second code slot position of the dynamic change code segment, extracting the starting monitoring time to fill the first code slot position, and extracting the ending monitoring time to fill the second code slot position, including:
newly building a plurality of time-dimension code lines at the dynamic change code section according to the monitoring time point and the monitoring time period, wherein each code line at least corresponds to a first code slot position and a second code slot position;
if the monitoring time period is judged to have a plurality of monitoring starting times and monitoring ending times, establishing a new first code slot position and a new second code slot position at corresponding code lines according to the number of the monitoring starting times and the monitoring ending times;
and counting the sum of the number of the first code slot position and the second code slot position in each code line to obtain the total slot position number, adding a suffix mark to the code line according to the total slot position number, and dynamically updating the dynamically-changed code segment.
7. The method for inspecting marketing business risk digital internal control system according to claim 6,
if the initial calculation code corresponds to a first fixed code segment and the first monitoring schedule corresponds to the dynamic change code segment, outputting a first inspection result, comprising:
extracting code characters of the initial calculation code and the first fixed code segment in a plurality of same code lines based on a preset comparison table;
if the code characters in all the same code lines are completely the same, judging that the initial calculation code corresponds to the first fixed code segment;
performing time allocation processing on all monitoring time in a certain monitoring time period in a first monitoring time schedule to obtain a plurality of sub-monitoring time periods, and acquiring the number of paragraphs of the sub-monitoring time periods;
extracting a code line corresponding to the monitoring time period in the first monitoring time table, and if the total slot bit number of the code line corresponds to the paragraph number, acquiring the sub starting time and the sub ending time of the sub monitoring time period;
and if the sub starting time and the sub ending time respectively correspond to the starting monitoring time and the ending monitoring time of the first code slot position and the second code slot position, the first monitoring time table corresponds to the dynamic change code segment.
8. The method for inspecting marketing business risk digital internal control system according to claim 6,
if the monitoring time period is judged to have a plurality of starting monitoring times and ending monitoring times, new first code slot positions and second code slot positions are established at corresponding code lines according to the number of the starting monitoring times and the ending monitoring times, and the method comprises the following steps:
if the first monitoring plug-in judges that the first fixed code segment exists at the initial moment of the monitoring time period and is called through the code interface, directly taking the initial moment of the monitoring time period as the planned starting monitoring time;
if the first monitoring plug-in judges that the first fixed code segment is called through the code interface at the end time of the monitoring time period, directly taking the end time of the monitoring time period as the planned end monitoring time;
and adding a first start label and a first end label to the planned start monitoring time and the planned end monitoring time respectively.
9. The marketing service risk digitization internal control system-based inspection method of claim 8, further comprising:
counting the number of all first starting tags and first ending tags of the intelligent electric meter in the current time period;
adjusting the one-dimensional cycle monitoring time according to the number of the first start tags and the first end tags;
calculating the adjusted one-dimensional cycle monitoring time by the following formula:
Figure 659125DEST_PATH_IMAGE012
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE013
for the adjusted one-dimensional cycle monitoring time,
Figure 42702DEST_PATH_IMAGE014
in order to preset the value of the cyclic constant,
Figure DEST_PATH_IMAGE015
as to the number of first start tags,
Figure 417270DEST_PATH_IMAGE016
for the number of the first end tags,
Figure DEST_PATH_IMAGE017
weights are adjusted for the tags.
10. An inspection platform based on a marketing business risk digital internal control system is characterized by comprising:
the system comprises a configuration module, a block chain server and a monitoring module, wherein the configuration module is used for configuring a first monitoring plug-in at an intelligent electric meter, and the first monitoring plug-in is used for monitoring first monitoring time of an electric energy metering signal received by the intelligent electric meter and uploading the first monitoring time to a corresponding block chain server in real time;
the generating module is used for enabling a block chain server to generate a corresponding first monitoring time table based on the first monitoring time, and the block chain server stores an initial calculation code corresponding to the intelligent electric meter;
the system comprises a classification module, a first data acquisition module, a second data acquisition module and a second data acquisition module, wherein the classification module is used for classifying a total code configured by the intelligent electric meter to obtain a first fixed code segment and a dynamic change code segment, and the first fixed code segment is used for calculating according to an electric energy metering signal to generate corresponding electric energy data;
the monitoring module is used for enabling the first monitoring plug-in to monitor the called time period of the code interface of the first fixed code segment to generate second monitoring time, generating a second monitoring time table according to the second monitoring time, and filling the second monitoring time table into the dynamic change code segment;
the acquisition module is used for acquiring a corresponding first monitoring time table and an initial calculation code in the block chain server according to a validation request after the pre-configured internal control server for digitizing the marketing service risk receives the validation request of any intelligent electric meter, and acquiring a first fixed code segment and a dynamic change code segment at the intelligent electric meter;
and the output module is used for outputting a first inspection result if the initial calculation code corresponds to the first fixed code segment and the first monitoring time table corresponds to the dynamic change code segment.
CN202210535510.3A 2022-05-18 2022-05-18 Inspection method and platform based on marketing business risk digital internal control system Active CN114648255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210535510.3A CN114648255B (en) 2022-05-18 2022-05-18 Inspection method and platform based on marketing business risk digital internal control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210535510.3A CN114648255B (en) 2022-05-18 2022-05-18 Inspection method and platform based on marketing business risk digital internal control system

Publications (2)

Publication Number Publication Date
CN114648255A CN114648255A (en) 2022-06-21
CN114648255B true CN114648255B (en) 2022-08-16

Family

ID=81996664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210535510.3A Active CN114648255B (en) 2022-05-18 2022-05-18 Inspection method and platform based on marketing business risk digital internal control system

Country Status (1)

Country Link
CN (1) CN114648255B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845646A (en) * 2016-12-02 2017-06-13 国网山东省电力公司电力科学研究院 A kind of power marketing intelligence auditing system and method based on GIS platform
CN113239087A (en) * 2021-04-06 2021-08-10 中国电力科学研究院有限公司 Anti-electricity-stealing inspection monitoring method and system
CN113886475A (en) * 2021-09-24 2022-01-04 华北电力大学 Block chain-based electricity stealing early warning system and method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2602382Y (en) * 2002-12-25 2004-02-04 王荣安 Intelligence electric metering device for avoiding electric burglary
JP2005050184A (en) * 2003-07-30 2005-02-24 Hitachi Ltd Device and program for detecting code modification and equipment loan system using them
GB0719250D0 (en) * 2007-10-02 2007-11-14 Iti Scotland Ltd Anti-hack method
CN106203852A (en) * 2016-07-13 2016-12-07 广东电网有限责任公司 Online inspection rule determines method and device, method for processing business and system
CN109146316A (en) * 2018-09-10 2019-01-04 广东电网有限责任公司 Power marketing checking method, device and computer readable storage medium
CN109490679B (en) * 2018-12-31 2021-01-26 天津求实智源科技有限公司 Intelligent electricity stealing inspection system and method based on non-invasive load monitoring
EP3696698A1 (en) * 2019-02-18 2020-08-19 Verimatrix Method of protecting a software program against tampering
CN111752935B (en) * 2020-06-03 2024-03-26 深圳供电局有限公司 Method and device for checking power transaction user data
CN111932780B (en) * 2020-07-11 2022-03-04 南京理工大学 Power management system based on block chain technology
CN114298862A (en) * 2021-12-29 2022-04-08 浙江工商大学 Smart power grid privacy protection and electricity stealing detection method based on block chain
CN114490358A (en) * 2022-01-13 2022-05-13 南方电网数字电网研究院有限公司 Data acquisition and timely inspection method based on non-buried point technology
CN114399317A (en) * 2022-01-17 2022-04-26 国网电子商务有限公司 On-chain anti-electricity-stealing management method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106845646A (en) * 2016-12-02 2017-06-13 国网山东省电力公司电力科学研究院 A kind of power marketing intelligence auditing system and method based on GIS platform
CN113239087A (en) * 2021-04-06 2021-08-10 中国电力科学研究院有限公司 Anti-electricity-stealing inspection monitoring method and system
CN113886475A (en) * 2021-09-24 2022-01-04 华北电力大学 Block chain-based electricity stealing early warning system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于数据融合分析实现在线智能稽查的探讨;肖传炜;《机电信息》;20200624(第18期);全文 *

Also Published As

Publication number Publication date
CN114648255A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN112650762B (en) Data quality monitoring method and device, electronic equipment and storage medium
CN108776934B (en) Distributed data calculation method and device, computer equipment and readable storage medium
Gmach et al. Capacity management and demand prediction for next generation data centers
CN106651161A (en) Acquisition operation and maintenance and dynamic tasking method
CN109495318A (en) A kind of mobile communications network method for predicting, device and readable storage medium storing program for executing
CN109658050A (en) A kind of management method and equipment of wage report
CN111651170B (en) Instance dynamic adjustment method and device and related equipment
CN107704387A (en) For the method, apparatus of system early warning, electronic equipment and computer-readable medium
da Silva et al. A science-gateway workload archive to study pilot jobs, user activity, bag of tasks, task sub-steps, and workflow executions
CN108809760A (en) The control method and device in sampling period in sampled-data system
CN111585798B (en) Network resource parameter configuration method, device and computer readable storage medium
CN112527601A (en) Monitoring early warning method and device
CN111651121A (en) Data logic calculation method and device, electronic equipment and storage medium
CN112965981B (en) Data checking method, device, computer equipment and storage medium
CN114648255B (en) Inspection method and platform based on marketing business risk digital internal control system
CN110689259A (en) Power system statistic digital detection management system
CN116167599B (en) Information platform management method and system based on BIM data and field data
JP2007172133A (en) Calculation system, calculation method and calculation computer program for increase and decrease in charge for resource use
CN112686773A (en) Method for constructing power metering full-link key service abnormity positioning model based on fusion service topology
CN115471215B (en) Business process processing method and device
CN113052417A (en) Resource allocation method and device
CN113360321B (en) Micro-service retry calling method and device, electronic equipment and storage medium
CN112099413B (en) Household electricity consumption data monitoring method and device
White et al. Monitoring and analysis of power consumption on hpc clusters using xdmod
CN112580881A (en) Business site selection method and device, computer equipment and storage medium

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