Electric energy meter topology upgrading method and system and intelligent terminal

By obtaining the scope and target information of the requirements upgrade range and target information, selecting the range master information and upgrading, and optimizing and upgrading the smart energy meter with the base meter upgrade control information, solving the communication problems during the remote upgrade process and improving the upgrade success rate and integrity.

CN120492000AActive Publication Date: 2025-08-15HANGZHOU YUDIAN MICROELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510616327.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-14
Publication Date
2025-08-15
Estimated Expiration
2045-05-14

AI Technical Summary

Technical Problem

During the remote upgrade of smart power meters, it is easy to encounter communication problems such as signal instability or data transmission terminals, which will affect the upgrade success rate and integrity.

Method used

By obtaining the requirements upgrade range and upgrade target information, determining the range power meter information, selecting the range master information and upgrading, and upgrading the range base table information in combination with the base table upgrade control information, optimizing the upgrade process to improve success rate and integrity.

Benefits of technology

It reduces the chance of communication problems such as signal instability and data transmission terminals, and improves the success rate and integrity of the upgrade of smart power meters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492000A_ABST
    Figure CN120492000A_ABST
Patent Text Reader

Abstract

The invention relates to an electric energy meter topology upgrading method and system and an intelligent terminal, and relates to the technical field of electric energy meters, and the method comprises the steps: obtaining a required upgrading range and upgrading target information; range electric energy meter information is determined according to the demand upgrading range; calling upgrading data information and upgrading type information based on the upgrading target information; according to the required upgrading range and the upgrading type information, selecting the range electric energy meter information to obtain range master information, and taking the range electric energy meter information except the range master information as range base meter information; the intelligent electric energy meter corresponding to the range master information is upgraded based on the upgrading data information; and determining base meter upgrading control information according to the range master information and the range base meter information, and upgrading the intelligent electric energy meter corresponding to the range base meter information based on the base meter upgrading control information and the upgrading data information. The intelligent electric energy meter upgrading method has the effects of upgrading success rate and integrity of the intelligent electric energy meter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric energy meters, and in particular to an electric energy meter topology upgrading method, system and intelligent terminal. Background Art

[0002] An electric energy meter is an instrument used to measure electrical energy, also known as an watt-hour meter or electricity meter. Electricity meters include induction meters, electronic meters, and smart meters.

[0003] Smart meters collect real-time electricity usage data and transmit it to the utility's monitoring center via a communications network, enabling real-time monitoring and analysis of user electricity usage. When smart meters need to add new features, fix known vulnerabilities, improve metering accuracy, or optimize communication performance, they must be upgraded. Currently, smart meters are typically upgraded remotely. This involves first identifying the smart meters that need to be upgraded, then transmitting the upgrade data simultaneously to all of them, allowing them to be upgraded simultaneously.

[0004] When remotely upgrading all smart energy meters that need to be upgraded at the same time, it is easy to encounter communication problems such as unstable signals or data transmission terminals, which may affect the upgrade success rate and integrity of the smart energy meters. Summary of the Invention

[0005] In order to improve the upgrade success rate and integrity of smart electric energy meters, the present invention provides an electric energy meter topology upgrade method, system and smart terminal.

[0006] In a first aspect, the present invention provides a method for upgrading an electric energy meter topology, which adopts the following technical solution: A method for upgrading an electric energy meter topology, comprising: Obtain the required upgrade scope and upgrade target information; Determine the range of electric energy meter information according to the required upgrade scope; Retrieving upgrade data information and upgrade type information based on upgrade target information; Select the range electric energy meter information according to the required upgrade range and upgrade type information to obtain the range master machine information, and use the range electric energy meter information other than the range master machine information as the range base meter information; Upgrading the smart electric energy meter corresponding to the range master machine information based on the upgrade data information; The base meter upgrade control information is determined according to the range master machine information and the range base meter information, and the smart electric energy meter corresponding to the range base meter information is upgraded based on the base meter upgrade control information and the upgrade data information.

[0007] Optionally, methods for selecting range master machine information include: Retrieve the location point and version information of the range electric energy meter based on the range electric energy meter information; Determine the upgraded electric energy meter information according to the electric energy meter version information and the upgrade type information, and define the electric energy meter position point in the range corresponding to the upgraded electric energy meter information as the upgraded electric energy meter position point; Determine the center point of the scope based on the required upgrade scope; Calculate the distance between the upgraded electric energy meter location and the center point of the range and use it as the electric energy meter center distance value; Determine whether there is an electric energy meter center distance value that falls within a preset distance selection reference interval; If yes, then based on the falling condition of the reference interval between the center distance value of the electric energy meter and the preset distance, the distance compliance value and the distance compliance position point are determined; Determine the distance-compliant electric energy meter information based on the distance-compliant value and the distance-compliant location point, and use the distance-compliant electric energy meter information as the range master information; If not, the electric energy meter center distance values are sorted from small to large, and the upgraded electric energy meter information corresponding to the first-ranked electric energy meter center distance value is used as the range master machine information.

[0008] Optionally, a method for determining whether the distance complies with the electric energy meter information includes: Determine whether the distance meets the value of only one; If yes, the upgraded electric energy meter information corresponding to the distance-compliant location point is used as the distance-compliant electric energy meter information; If not, define the range of electric energy meter locations other than the distance-compliant location point as the distance-away location point, and define the range of electric energy meter location points adjacent to the distance-compliant location point as the adjacent location point; Calculate the sum of the distances between the distance-matching point and each distance-far-away point and use it as the comprehensive value of the distance to the far-away point; Calculate the sum of the distances between the distance-matching position point and the adjacent position points and use it as the integrated value of the adjacent position distances; The distance selection location point is determined according to the comprehensive value of the distance to the far position and the comprehensive value of the distance to the adjacent position, and the upgraded electric energy meter information corresponding to the distance selection location point is used as the distance compliance electric energy meter information.

[0009] Optionally, a method for determining the distance selection location point includes: Sort the distance from the remote location by the comprehensive value from the smallest to the largest, and obtain the distance ranking value from the remote location according to the sorting result; Calculate the product value between the distance ranking value of the far position and the preset far ranking reference ratio value and use it as the far ranking reference result value; Sort the adjacent position distances from small to large based on the comprehensive value, and obtain the adjacent position distance sorting value based on the sorting result; Calculate the product value between the adjacent position distance sorting value and the preset adjacent sorting reference ratio value and use it as the adjacent sorting reference result value; Calculate the sum of the far-away sorting reference result value and the adjacent sorting reference result value and use it as the sorting reference comprehensive result value; The sorting is performed from large to small based on the sorting reference comprehensive result value, and the distance corresponding to the first sorting reference comprehensive result value is used as the distance selection position point.

[0010] Optionally, the method further includes the following steps after calculating the product value between the adjacent position distance sorting value and a preset adjacent sorting reference ratio value and using the product value as the adjacent sorting reference result value: Determining the type time impact information corresponding to the upgrade type information according to the correspondence between the upgrade type information and the preset type time impact information; Get the current time point; Retrieving a category time impact value from category time impact information based on a current time point; Determining the category distance impact value corresponding to the upgrade category information according to the correspondence between the upgrade category information and the preset category distance impact value; Determine the species selection impact value based on the species time impact value and the species distance impact value; An influence value is selected based on the category to adjust the adjacent sorting reference result value to form a new adjacent sorting reference result value and replace it.

[0011] Optionally, methods for determining the category selection impact value include: Determine whether the species time impact value is greater than the species distance impact value; If yes, the category time impact value is used as the category selection impact value; If not, the difference between the species time impact value and the species distance impact value is calculated and used as the time distance impact deviation value; According to the correspondence between the time-distance impact deviation value and the preset distance impact adjustment value, a distance impact adjustment value corresponding to the time-distance impact deviation value is determined; The sum of the distance impact adjustment value and the category time impact value is calculated and used as the distance impact correction value, and the distance impact correction value is used as the category selection impact value.

[0012] Optionally, a method for determining base table upgrade control information includes: Based on the range master machine information, retrieve the range master machine location point and range master machine working time information; Based on the range base table information, retrieve the range base table location point and range base table working time information; Calculate the distance between the range master position point and the range base table position point and use it as the master base table distance value; Sort the distance values of the master table from small to large, and obtain the distance sorting value of the two tables based on the sorting results; Calculate the product value between the distance ranking value of the two tables and the preset reference influence value of the distance ranking of the two tables and use it as the reference result value of the distance ranking of the two tables; Determine the upgrade time information based on the range master machine working time information and the range base table working time information; The base table control information is selected based on the reference result value of the distance sorting between the two tables and the upgrade time information, and the selected base table control information is used as the base table upgrade control information.

[0013] Optionally, a method for determining the base table control information includes: Retrieve the upgrade start time point and upgrade end time point based on the upgrade time information; Calculate the interval between the upgrade start time point and the upgrade end time point and use it as the upgrade duration value; According to the correspondence between the upgrade duration value and the preset duration selection reference value, the duration selection reference value corresponding to the upgrade duration value is determined; Calculate the middle time between the upgrade start time point and the upgrade end time point and use it as the upgrade middle time point; According to the correspondence between the intermediate time point of the upgrade and the preset intermediate time selection reference value, the intermediate time selection reference value corresponding to the intermediate time point of the upgrade is determined; Calculate the sum of the distance sorting reference result value, duration selection reference value and intermediate time selection reference value of the two tables and use it as the reference comprehensive value for base table selection; Sort the reference comprehensive values selected from the base table from large to small, and use the range base table information corresponding to the first-ranked reference comprehensive value as the base table selection information, and use the upgrade time information corresponding to the base table selection information as the base table selection time information; According to the correspondence between the base table selection time information, the base table selection information and the preset base table selection comprehensive control information, the base table selection comprehensive control information corresponding to the base table selection time information and the base table selection information is determined, and the base table selection comprehensive control information is used as the selected base table control information.

[0014] In a second aspect, the present invention provides an electric energy meter topology upgrade system, which adopts the following technical solution: An electric energy meter topology upgrade system, comprising: The acquisition module is used to obtain the required upgrade scope, upgrade target information and current time point; A memory, configured to store a method for upgrading an electric energy meter topology as described in any one of the first aspects; The processor loads and executes the program in the memory.

[0015] In a third aspect, the present invention provides an intelligent terminal, which adopts the following technical solution: An intelligent terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes an electric energy meter topology upgrade method as described in any one of the first aspects.

[0016] In summary, the present invention includes at least one of the following beneficial technical effects: 1. By acquiring and determining the required upgrade scope and upgrade target information, the scoped electric energy meter information is selected after retrieving the upgrade data information and upgrade type information, and the scoped base meter information is defined. The smart electric energy meters corresponding to the scoped master machine information are upgraded using the upgrade data information. The base meter upgrade control information is determined using the scoped master machine information and the scoped base meter information. The smart electric energy meters corresponding to the scoped base meter information are upgraded using the base meter upgrade control information and the upgrade data information. Thus, the smart electric energy meters within the required upgrade scope are upgraded in sequence, reducing the probability of encountering communication problems such as unstable signals or data transmission terminals, and improving the upgrade success rate and integrity of the smart electric energy meters. 2. Retrieve the range electric energy meter location and electric energy meter version information through the range electric energy meter information, and determine the upgraded electric energy meter information and upgraded electric energy meter location through the electric energy meter version information and upgrade type information. Determine the range center point based on the required upgrade range and calculate the electric energy meter center distance value. Determine the range master device information based on whether the electric energy meter center distance value falls within the preset distance selection benchmark interval, thereby improving the accuracy of the acquired range master device information. 3. By judging whether there is only one distance-compliant value, if there is only one, the upgraded electric energy meter information corresponding to the distance-compliant position point is used as the distance-compliant electric energy meter information; if there is more than one, the distance-far position point and the adjacent position point are defined, and then the distance comprehensive value of the distance-far position and the distance comprehensive value of the adjacent position are calculated respectively to determine the distance selection position point, and the upgraded electric energy meter information corresponding to the distance selection position point is used as the distance-compliant electric energy meter information, thereby improving the accuracy of the obtained distance-compliant electric energy meter information. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a flow chart of a method for upgrading the topology of an electric energy meter according to an embodiment of the present application; Figure 2 This is a flow chart of a method for selecting range master information according to an embodiment of the present application; Figure 3 This is a flow chart of a method for determining distance compliance with electric energy meter information according to an embodiment of the present application; Figure 4 This is a flow chart of a method for determining a distance selection location point according to an embodiment of the present application; Figure 5 This is a flowchart of a method according to an embodiment of the present application for steps after calculating the product value between the adjacent position distance ranking value and the preset adjacent ranking reference ratio value and using it as the adjacent ranking reference result value; Figure 6 This is a flow chart of a method for determining the impact value of category selection according to an embodiment of the present application; Figure 7 This is a flow chart of a method for determining base table upgrade control information according to an embodiment of the present application. DETAILED DESCRIPTION

[0018] The present invention is further described in detail below with reference to the accompanying drawings and embodiments.

[0019] A method for upgrading electric energy meter topology obtains the required upgrade scope, upgrade target information, and current time point, analyzes and determines the scope master machine information, and upgrades the smart electric energy meter corresponding to the scope master machine information. Then, the method further analyzes and determines the scope base meter information, and upgrades the smart electric energy meter corresponding to the scope base meter information. This method reduces the probability of encountering communication problems such as unstable signals or data transmission terminals, and improves the upgrade success rate and integrity of smart electric energy meters.

[0020] Reference Figure 1 , an embodiment of the present invention discloses a method for upgrading an electric energy meter topology, which includes: Step S100: Obtain the required upgrade scope and upgrade target information.

[0021] The upgrade requirement range refers to the area where the smart energy meter needs to be upgraded, and is obtained through pre-input. The upgrade target information refers to the data, type, and other information of the smart energy meter that needs to be upgraded, and is obtained through pre-input.

[0022] Step S101: Determine range electric energy meter information according to the required upgrade range.

[0023] Among them, the range electricity meter information refers to the model, location, version and other parameter information of the smart electricity meters within the upgrade scope. By querying the smart electricity meters within the required upgrade range, and combining the model and other parameters of the queried smart electricity meters according to the location as the range electricity meter information, it is convenient for subsequent use.

[0024] Step S102: Retrieve upgrade data information and upgrade type information based on the upgrade target information.

[0025] The upgrade target information includes upgrade data and upgrade category information. The upgrade data refers to the data that needs to be upgraded for the smart energy meter, and the upgrade category information refers to the category of the data to be upgraded for the smart energy meter. The upgrade target information allows you to retrieve the upgrade data and upgrade category information for subsequent use.

[0026] Step S103: selecting the range electric energy meter information according to the required upgrade range and upgrade type information to obtain the range master machine information, and using the range electric energy meter information except the range master machine information as the range base meter information.

[0027] The range master information refers to the location, operating hours, and other parameter information corresponding to the smart energy meters prioritized for upgrade. The range base meter information refers to the parameter information corresponding to the smart energy meters not prioritized for upgrade. By analyzing the upgrade range and upgrade type information, the range meter information is selected to obtain the range master information, and the range base meter information is defined for subsequent use. The range master information can be directly selected from any smart energy meter, or it can be selected by referring to steps S200 to S207.

[0028] Step S104: upgrading the smart electric energy meter corresponding to the range master information based on the upgrade data information.

[0029] Among them, by using upgrade data information to give priority to upgrading the smart electricity meters corresponding to the range master machine information, the probability of encountering communication problems such as unstable signals or data transmission terminals is reduced, and the upgrade success rate and integrity of the smart electricity meters are improved.

[0030] Step S105: determining base meter upgrade control information according to the range master machine information and the range base meter information, and upgrading the smart electric energy meter corresponding to the range base meter information based on the base meter upgrade control information and the upgrade data information.

[0031] The base meter upgrade control information refers to the control information used to control the master machine to upgrade the base meter. The base meter upgrade control information is determined by analyzing the range master machine information and the range base meter information. The smart energy meter corresponding to the range base meter information is upgraded using the base meter upgrade control information and the upgrade data information. This further reduces the probability of encountering communication problems such as unstable signals or data transmission terminals, thereby improving the success rate and integrity of smart energy meter upgrades. The specific steps for determining the base meter upgrade control information are as follows: Steps S700 to S706.

[0032] exist Figure 1In step S103, in order to further ensure the rationality of the range master information, it is necessary to further analyze and calculate the range master information. Figure 2 The steps shown are explained in detail.

[0033] Reference Figure 2 , the method for selecting range mother machine information includes the following steps: Step S200: Retrieve the location point and version information of the range electric energy meter based on the range electric energy meter information.

[0034] The range meter information includes the range meter location and meter version information. The range meter location refers to the location of the smart meters within the upgrade range, and the meter version information refers to the current version information of the smart meters within the upgrade range. The range meter location and meter version information can be retrieved through the range meter information for subsequent use.

[0035] Step S201: determining upgraded electric energy meter information according to the electric energy meter version information and the upgrade type information, and defining electric energy meter location points within a range corresponding to the upgraded electric energy meter information as upgraded electric energy meter location points.

[0036] The upgraded meter information refers to the parameter information corresponding to the smart meter that can be upgraded, and the upgraded meter location refers to the location of the smart meter being upgraded. The upgrade type information is used to query the upgradeable version information. The parameters corresponding to the successfully matched smart meter in the meter version information are used as the upgraded meter information. The upgraded meter location is also defined for easy subsequent use.

[0037] Step S202: Determine the center point of the range according to the required upgrade range.

[0038] The range center point refers to the center position of the upgrade range. The range center point is obtained by retrieving the outline position of the required upgrade range and calculating the center position based on the outline position, which is convenient for subsequent use.

[0039] Step S203: Calculate the distance between the upgraded electric energy meter location and the range center point and use it as the electric energy meter center distance value.

[0040] Among them, the center distance value of the electricity meter refers to the distance value between the location of the smart electricity meter that can be upgraded and the center location of the range. By calculating the distance value between the upgraded electricity meter location point and the center point of the range and using it as the center distance value of the electricity meter, it is convenient for subsequent use.

[0041] Step S204: Determine whether the center distance value of the electric energy meter falls within the preset distance selection reference interval. If yes, execute step S205; if not, execute step S207.

[0042] The distance selection reference interval refers to the reference distance interval required for normal upgrades. This distance selection reference interval is obtained through pre-input. The system determines whether there are any smart energy meters within the range that can be upgraded by checking whether the distance value to the center of the energy meter falls within the preset distance selection reference interval.

[0043] Step S205: selecting a reference interval based on the center distance value of the electric energy meter and a preset distance to determine a distance compliance value and a distance compliance position point.

[0044] The "distance compliance number value" refers to the number of smart energy meters that can be upgraded within the range, and the "distance compliance location point" refers to the location point where a smart energy meter that can be upgraded is located within the range. When the center distance value of an energy meter falls within the preset distance selection reference interval, it indicates that a smart energy meter that can be upgraded exists within the range. Therefore, by analyzing the range of the center distance value of the energy meter and the preset distance selection reference interval, the location points corresponding to the center distance values of the energy meter that fall within the distance selection reference interval are regarded as distance compliance location points. The number of distance compliance location points is then counted, and the count result is used as the distance compliance number value for convenience in subsequent use.

[0045] Step S206: determining the distance-matching electric energy meter information according to the distance-matching value and the distance-matching position point, and using the distance-matching electric energy meter information as the range master information.

[0046] The distance-matching energy meter information refers to the parameter information corresponding to the selected smart energy meter with the matching distance. The distance-matching energy meter information is determined by analyzing the distance-matching values and the distance-matching locations. This information is then used as the range master information to improve the accuracy of the obtained range master information. For the specific steps for determining the distance-matching energy meter information, refer to steps S300 to S305.

[0047] Step S207: sorting the electric energy meters from small to large based on their center distance values, and taking the upgraded electric energy meter information corresponding to the first-ranked electric energy meter center distance value as the range master information.

[0048] Among them, when there is no electric energy meter center distance value falling within the preset distance selection reference interval, it means that there is no smart electric energy meter that can be upgraded within the range at this time, so the electric energy meter center distance values are sorted from small to large, and the upgraded electric energy meter information corresponding to the electric energy meter center distance value ranked first is used as the range master machine information, thereby improving the accuracy of the obtained range master machine information.

[0049] exist Figure 2 In step S206, in order to further ensure that the distance is consistent with the rationality of the energy meter information, it is necessary to further analyze and calculate the distance according to the energy meter information. Figure 3 The steps shown are explained in detail.

[0050] Reference Figure 3 The method for determining the distance according to the electric energy meter information includes the following steps: Step S300: Determine whether the distance matches only one value. If yes, execute step S301; if no, execute step S302.

[0051] Here, it is determined whether the distance meets only one value, thereby determining whether the master machine can be directly selected.

[0052] Step S301: taking the upgraded electric energy meter information corresponding to the distance-compliant location point as the distance-compliant electric energy meter information.

[0053] Among them, when the distance meets the value of only one, it means that the master machine can be directly selected at this time, so the upgraded electric energy meter information corresponding to the distance meeting the position point is used as the distance meeting the electric energy meter information, thereby facilitating and quickly obtaining the distance meeting the electric energy meter information.

[0054] Step S302: defining the electric energy meter location points in a range other than the distance-matching location point as distance-away location points, and defining the electric energy meter location points in a range adjacent to the distance-matching location point as adjacent location points.

[0055] A distant location refers to a smart meter's location outside the distance selection benchmark range, and an adjacent location refers to a smart meter's location adjacent to a smart meter within the distance selection benchmark range. If there are more than one distance match value, it means the master unit cannot be directly selected. Therefore, distant and adjacent locations are defined for ease of use.

[0056] Step S303: Calculate the sum of the distances between the distance-matching point and each distance-distancing point and use it as the distance-distancing comprehensive value.

[0057] The out-of-distance comprehensive value refers to the total distance between smart meters within and outside the distance selection reference interval. The distance between the distance-compliant point and each out-of-distance point is calculated and summed to obtain the out-of-distance comprehensive value for subsequent use.

[0058] Step S304: Calculate the sum of the distances between the distance-matching position point and the adjacent position points and use it as the adjacent position distance comprehensive value.

[0059] The combined adjacent distance value refers to the total distance between a smart meter and its adjacent smart meters within the selected distance reference interval. The combined adjacent distance value is calculated by summing the distances between the distance-matching point and the adjacent points, facilitating subsequent use.

[0060] Step S305: determining a distance selection location point according to the distance comprehensive value of the far position and the distance comprehensive value of the adjacent position, and taking the upgraded electric energy meter information corresponding to the distance selection location point as the distance-compliant electric energy meter information.

[0061] The distance selection location point refers to the location of the smart energy meter, selected based on the distance from the far location and the distance from the adjacent location. The distance selection location point is determined by analyzing the combined distance values of the far location and the adjacent location. The upgraded energy meter information corresponding to the distance selection location point is used as the distance-compliant energy meter information, thereby improving the accuracy of the obtained distance-compliant energy meter information.

[0062] exist Figure 3 In step S305, in order to further ensure the rationality of the distance selected position point, it is necessary to further analyze and calculate the distance selected position point. Figure 4 The steps shown are explained in detail.

[0063] Reference Figure 4 , the method for determining the distance selection position point includes the following steps: Step S400: sorting from small to large based on the distance comprehensive value, and obtaining the distance ranking value based on the sorting result.

[0064] Among them, the away position distance ranking value refers to the ranking value determined based on the ranking result of the away position distance comprehensive value. The away position distance comprehensive value is sorted from small to large, and the away position distance ranking value is obtained based on the sorting result, which is convenient for subsequent use.

[0065] Step S401: Calculate the product value between the distance ranking value of the remote position and the preset remote ranking reference ratio value and use it as the remote ranking reference result value.

[0066] The "distance sorting reference ratio value" refers to the ratio used as a reference based on the sorting results of the distance-to-combination value. This ratio is obtained by pre-entering. The "distance sorting reference result value" refers to the result value used as a reference based on the sorting results of the distance-to-combination value. The product of the distance-to-combination value and the preset distance sorting reference ratio is calculated and used as the distance sorting reference result value for subsequent use.

[0067] Step S402: sorting from small to large based on the integrated value of the adjacent position distances, and obtaining the adjacent position distance sorting value according to the sorting result.

[0068] Among them, the adjacent position distance sorting value refers to the sorting value determined based on the sorting result of the adjacent position distance comprehensive value. The adjacent position distance comprehensive value is sorted from small to large, and the adjacent position distance sorting value is obtained based on the sorting result, which is convenient for subsequent use.

[0069] Step S403: Calculate the product value between the adjacent position distance ranking value and the preset adjacent ranking reference ratio value and use it as the adjacent ranking reference result value.

[0070] The adjacent sorting reference ratio value refers to the ratio used as a reference based on the sorting results of the combined adjacent distance values. This ratio is obtained by pre-entering. The adjacent sorting reference result value refers to the result value used as a reference based on the sorting results of the combined adjacent distance values. The product of the adjacent distance sorting value and the preset adjacent sorting reference ratio value is calculated and used as the adjacent sorting reference result value for easy subsequent use.

[0071] Step S404: Calculate the sum of the distant sorting reference result value and the adjacent sorting reference result value and use it as the sorting reference comprehensive result value.

[0072] Among them, the sorting reference comprehensive result value refers to the comprehensive result value when making a reference based on the sorting result. The sum of the distant sorting reference result value and the adjacent sorting reference result value is calculated and used as the sorting reference comprehensive result value to facilitate subsequent use.

[0073] Step S405: Sort the values of the sorting reference comprehensive result from large to small, and use the distance matching position point corresponding to the first sorting reference comprehensive result value as the distance selection position point.

[0074] Among them, by sorting the sorting reference comprehensive result values from large to small, and taking the distance-compliant position point corresponding to the sorting reference comprehensive result value ranked first as the distance selection position point, the obtained distance selection position point is affected by the distance away from the position and the distance to the adjacent position at the same time, thereby improving the accuracy of the obtained distance selection position point.

[0075] exist Figure 4 After step S403, in order to further ensure the rationality of the adjacent sorting reference result value, it is necessary to further analyze and calculate the adjacent sorting reference result value separately, specifically by Figure 5 The steps shown are explained in detail.

[0076] Reference Figure 5 The steps after calculating the product value between the adjacent position distance sorting value and the preset adjacent sorting reference ratio value and using it as the adjacent sorting reference result value include the following steps: Step S500: determining the type time impact information corresponding to the upgrade type information according to the correspondence between the upgrade type information and the preset type time impact information.

[0077] The category time impact information refers to the impact of upgrade categories at different times. Different upgrade categories correspond to different category time impact information. The category time impact information is retrieved by querying a database that stores different upgrade categories and their corresponding category time impact information. This database is pre-populated and retrieved. Determining the category time impact information through the upgrade category query facilitates subsequent use.

[0078] Step S501: Get the current time point.

[0079] The current time point refers to the current time point, which is obtained by querying a database that counts and stores time in real time.

[0080] Step S502: Retrieve the category time impact value from the category time impact information based on the current time point.

[0081] Among them, the category time impact value refers to the impact value of the upgraded category at the current time. By querying the impact value of the time consistent with the current time point from the category time impact information and retrieving it as the retrieved category time impact value, it is convenient for subsequent use.

[0082] Step S503: determining the category distance impact value corresponding to the upgrade category information according to the correspondence between the upgrade category information and the preset category distance impact value.

[0083] The type distance impact value refers to the degree to which the upgrade type is affected by distance. Different upgrade types correspond to different type distance impact values. The type distance impact value is retrieved from a database that stores different upgrade types and their corresponding type distance impact values. This database is pre-populated and retrieved. Determining the type distance impact value through the upgrade type information query facilitates subsequent use.

[0084] Step S504: determining the category selection influence value according to the category time influence value and the category distance influence value.

[0085] The category selection impact value refers to the degree of influence of the upgrade category on the selection. By analyzing the category time impact value and the category distance impact value, the category selection impact value is determined to facilitate subsequent use. The specific steps for determining the category selection impact value are shown in steps S600 to S604.

[0086] Step S505: selecting an influence value based on the category to adjust the adjacent sorting reference result value to form a new adjacent sorting reference result value and replace it.

[0087] Among them, the accuracy of the obtained adjacent sorting reference result value is improved by calculating the product value between the category selection influence value and the adjacent sorting reference result value, and using the calculated result as the new adjacent sorting reference result value and replacing it.

[0088] exist Figure 5 In step S504, in order to further ensure the rationality of the category selection impact value, it is necessary to further analyze and calculate the category selection impact value. Figure 6 The steps shown are explained in detail.

[0089] Reference Figure 6 ,The method for determining the type selection influence value includes the following steps: Step S600: Determine whether the time impact value of the category is greater than the distance impact value of the category. If yes, execute step S601; if not, execute step S602.

[0090] Here, whether the time influence value of the category is greater than the distance influence value of the category is judged, thereby judging whether the influence generated by time can be directly adopted.

[0091] Step S601: taking the category time impact value as the category selection impact value.

[0092] Among them, when the species time influence value is greater than the species distance influence value, it means that the influence caused by time can be directly used at this time, so the species time influence value is used as the species selection influence value.

[0093] Step S602: Calculate the difference between the category time impact value and the category distance impact value and use it as the time distance impact deviation value.

[0094] The time-distance impact deviation value refers to the deviation between the impact of time and the impact of distance. If the time impact value of a category is not greater than the distance impact value, the time impact cannot be directly used. Therefore, the difference between the time impact value and the distance impact value is calculated and used as the time-distance impact deviation value for subsequent use.

[0095] Step S603: determining a distance impact adjustment value corresponding to the time-distance impact deviation value according to a correspondence between the time-distance impact deviation value and a preset distance impact adjustment value.

[0096] The distance impact adjustment value is an adjustment value that adjusts the degree of time impact based on the deviation between the degree of impact of time and distance. Different time-distance impact deviation values correspond to different distance impact adjustment values. The distance impact adjustment value is obtained by querying a database that stores different time-distance impact deviation values and their corresponding distance impact adjustment values. This database is obtained through pre-input. Determining the distance impact adjustment value by querying the time-distance impact deviation value facilitates subsequent use.

[0097] Step S604: Calculate the sum of the distance impact adjustment value and the category time impact value and use it as the distance impact correction value, and use the distance impact correction value as the category selection impact value.

[0098] Among them, the distance impact correction value refers to the correction value after correcting the degree of impact on time. The sum of the distance impact adjustment value and the category time impact value is calculated and used as the distance impact correction value, and the distance impact correction value is used as the category selection impact value, thereby improving the accuracy of the obtained category selection impact value.

[0099] exist Figure 1 In step S105, in order to further ensure the rationality of the base table upgrade control information, it is necessary to further analyze and calculate the base table upgrade control information. Figure 7 The steps shown are explained in detail.

[0100] Reference Figure 7 The method for determining the base table upgrade control information includes the following steps: Step S700: Retrieve the range master machine location point and range master machine working time information based on the range master machine information.

[0101] The range master machine information includes the range master machine location and range master machine operating hours. The range master machine location refers to the location of the selected master machine within the range, and the range master machine operating hours refers to the time information corresponding to the selected master machine within the range. The range master machine location and range master machine operating hours information can be retrieved through the range master machine information for subsequent use.

[0102] Step S701: Retrieve the range base table location point and range base table working time information based on the range base table information.

[0103] The range base table information includes the range base table location and range base table operating hours. The range base table location refers to the location of the range base table, and the range base table operating hours refer to the time information corresponding to the range base table operating. The range base table location and operating hours information can be retrieved through the range base table information for subsequent use.

[0104] Step S702: Calculate the distance between the range master position point and the range base table position point and use it as the master base table distance value.

[0105] Among them, the mother machine base table distance value refers to the distance value between the mother machine and the base table. The distance between the range mother machine position point and the range base table position point is calculated and used as the mother machine base table distance value for convenience of subsequent use.

[0106] Step S703: sorting the distance values of the master machine base table from small to large, and obtaining the distance sorting value between the two tables according to the sorting result.

[0107] Among them, the distance sorting value between the two tables refers to the sorting value after sorting according to the distance between the master machine and the base table. The master machine base table distance values are sorted from small to large, and the distance sorting value between the two tables is obtained based on the sorting result, which is convenient for subsequent use.

[0108] Step S704: Calculate the product value between the distance ranking value of the two tables and the preset reference influence value of the distance ranking of the two tables and use it as the reference result value of the distance ranking of the two tables.

[0109] The reference impact value for sorting the distances between the two tables refers to the impact generated when the sorting results of the distances between the master and base tables are used as a reference. This value is obtained by pre-input. The reference result value for sorting the distances between the two tables refers to the result value corresponding to the sorting results of the distances between the master and base tables. This value is calculated by multiplying the distance sorting value between the two tables by the preset reference impact value for sorting the distances between the two tables and serving as the reference result value for sorting the distances between the two tables.

[0110] Step S705: Determine the upgrade time information according to the range master machine working time information and the range base table working time information.

[0111] Among them, the upgrade time information refers to the time information corresponding to when the master machine upgrades the base table. By analyzing the working time information of the range master machine and the working time information of the range base table, and taking the overlapping time between the working time of the master machine and the working time of the base table as the upgrade time information, it is convenient for subsequent use.

[0112] Step S706: determining the selected base table control information according to the reference result value of the distance sorting between the two tables and the upgrade time information, and using the selected base table control information as the base table upgrade control information.

[0113] The base table control information refers to the control information used to control the master machine to upgrade the selected base table. The selected base table control information is determined by analyzing the reference result value of the distance sorting between the two tables and the upgrade time information. The selected base table control information is used as the base table upgrade control information, thereby improving the accuracy of the obtained base table upgrade control information. The specific steps for determining the selected base table control information are described in steps S800 to S807.

[0114] exist Figure 7 In step S706 shown, in order to further ensure the rationality of the selected base table control information, it is necessary to perform further separate analysis and calculation on the selected base table control information, which is specifically described in detail through the following steps.

[0115] The method for determining the base table control information includes the following steps: Step S800: Retrieve the upgrade start time point and the upgrade end time point based on the upgrade time information.

[0116] The upgrade time information includes the upgrade start time and upgrade end time. The upgrade start time refers to the time corresponding to the start of the upgrade, and the upgrade end time refers to the time corresponding to the end of the upgrade. The upgrade time information can be used to retrieve the upgrade start time and upgrade end time for subsequent use.

[0117] Step S801: Calculate the interval between the upgrade start time point and the upgrade end time point and use it as the upgrade duration value.

[0118] The upgrade duration value refers to the time value required for the upgrade. The interval between the upgrade start time point and the upgrade end time point is calculated and used as the upgrade duration value for subsequent use.

[0119] Step S802: determining a duration selection reference value corresponding to the upgrade duration value according to a correspondence between the upgrade duration value and a preset duration selection reference value.

[0120] The duration selection reference value refers to the reference value corresponding to the duration required for the upgrade. Different upgrade duration values correspond to different duration selection reference values. The duration selection reference value is obtained by querying a database that stores different upgrade duration values and corresponding duration selection reference values. This database is obtained through pre-input. Determining the duration selection reference value through the upgrade duration value query facilitates subsequent use.

[0121] Step S803: Calculate the intermediate time between the upgrade start time point and the upgrade end time point and use it as the upgrade intermediate time point.

[0122] The intermediate time point of the upgrade refers to the intermediate time point corresponding to the upgrade period. The intermediate time between the upgrade start time point and the upgrade end time point is calculated and used as the intermediate time point of the upgrade for convenience in subsequent use.

[0123] Step S804: determining an intermediate time selection reference value corresponding to the intermediate time point of the upgrade according to the correspondence between the intermediate time point of the upgrade and the preset intermediate time selection reference value.

[0124] The intermediate time selection reference value refers to the reference value corresponding to the intermediate time of the upgrade period. Different intermediate time points of the upgrade correspond to different intermediate time selection reference values. The intermediate time selection reference value is obtained by querying from a database that stores different intermediate time points of the upgrade and the corresponding intermediate time selection reference values. This database is obtained after pre-entry. The intermediate time selection reference value is determined by querying the intermediate time point of the upgrade for convenience in subsequent use.

[0125] Step S805: Calculate the sum of the distance sorting reference result values, the duration selection reference value, and the intermediate time selection reference value of the two tables and use it as the base table selection reference comprehensive value.

[0126] Among them, the reference comprehensive value for base table selection refers to the comprehensive value used as a reference when selecting the base table. It is calculated by summing the reference result values of the distance sorting between the two tables, the reference value for duration selection, and the reference value for intermediate time selection, and used as the reference comprehensive value for base table selection to facilitate subsequent use.

[0127] Step S806: Sort the reference comprehensive values selected based on the base table from large to small, and use the range base table information corresponding to the base table selection reference comprehensive value ranked first as the base table selection information, and use the upgrade time information corresponding to the base table selection information as the base table selection time information.

[0128] The base table selection information refers to the parameter information corresponding to the base table selection, and the base table selection time information refers to the time information when the selected base table was upgraded. By sorting the base table selection reference comprehensive values from largest to smallest, the range of base table information corresponding to the first-ranked base table selection reference comprehensive value is used as the base table selection information, and the upgrade time information corresponding to the base table selection information is used as the base table selection time information, thereby facilitating subsequent use.

[0129] Step S807: Determine the base table selection comprehensive control information corresponding to the base table selection time information and the base table selection information according to the correspondence between the base table selection time information, the base table selection information and the preset base table selection comprehensive control information, and use the base table selection comprehensive control information as the selected base table control information.

[0130] The base table selection comprehensive control information refers to control information for upgrading the selected base table at the upgrade time. Different base table selection time information and base table selection information correspond to different base table selection comprehensive control information. The base table selection comprehensive control information is obtained by querying from a database that stores different base table selection time information and base table selection information and the corresponding base table selection comprehensive control information. The database is obtained through pre-input. The base table selection comprehensive control information is obtained by querying the base table selection time information and base table selection information, and the base table selection comprehensive control information is used as the selected base table control information, thereby improving the accuracy of the obtained selected base table control information.

[0131] Based on the same inventive concept, an embodiment of the present invention provides an electric energy meter topology upgrade system, including: The acquisition module is used to obtain the required upgrade scope, upgrade target information and current time point; A memory, used to store the above-mentioned method for upgrading the topology of an electric energy meter; The processor loads and executes the program in the memory.

[0132] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the above-mentioned method for upgrading the topology of an electric energy meter.

[0133] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0134] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiment. All technical solutions based on the concept of the present invention are within the scope of protection of the present invention. It should be noted that for those skilled in the art, various improvements and modifications that do not depart from the principles of the present invention should also be considered within the scope of protection of the present invention.

Claims

1. A method for upgrading electric energy meter topology, characterized in that: include: Obtain the required upgrade scope and upgrade target information; Determine the range of electric energy meter information according to the required upgrade scope; Retrieving upgrade data information and upgrade type information based on upgrade target information; Select the range electric energy meter information according to the required upgrade range and upgrade type information to obtain the range master machine information, and use the range electric energy meter information other than the range master machine information as the range base meter information; Upgrading the smart electric energy meter corresponding to the range master machine information based on the upgrade data information; The base meter upgrade control information is determined according to the range master machine information and the range base meter information, and the smart electric energy meter corresponding to the range base meter information is upgraded based on the base meter upgrade control information and the upgrade data information.

2. The method for upgrading the topology of an electric energy meter according to claim 1, characterized in that: Methods for selecting range master machine information include: Retrieve the location point and version information of the range electric energy meter based on the range electric energy meter information; Determine the upgraded electric energy meter information according to the electric energy meter version information and the upgrade type information, and define the electric energy meter position point in the range corresponding to the upgraded electric energy meter information as the upgraded electric energy meter position point; Determine the center point of the scope based on the required upgrade scope; Calculate the distance between the upgraded electric energy meter location and the center point of the range and use it as the electric energy meter center distance value; Determine whether there is an electric energy meter center distance value that falls within a preset distance selection reference interval; If yes, then based on the falling condition of the reference interval between the center distance value of the electric energy meter and the preset distance, the distance conformity value and the distance conformity position point are determined; Determine the distance-compliant electric energy meter information based on the distance-compliant value and the distance-compliant location point, and use the distance-compliant electric energy meter information as the range master information; If not, the electric energy meter center distance values are sorted from small to large, and the upgraded electric energy meter information corresponding to the first-ranked electric energy meter center distance value is used as the range master machine information.

3. The method for upgrading the topology of an electric energy meter according to claim 2, characterized in that: Methods for determining distance compliance with electric energy meter information include: Determine whether the distance meets the value of only one; If yes, the upgraded electric energy meter information corresponding to the distance-compliant location point is used as the distance-compliant electric energy meter information; If not, define the range of electric energy meter locations other than the distance-compliant location point as the distance-away location point, and define the range of electric energy meter location points adjacent to the distance-compliant location point as the adjacent location point; Calculate the sum of the distances between the distance-matching point and each distance-far-away point and use it as the comprehensive value of the distance to the far-away point. Calculate the sum of the distances between the distance-matching position point and the adjacent position points and use it as the integrated value of the adjacent position distances; The distance selection location point is determined according to the comprehensive value of the distance to the far position and the comprehensive value of the distance to the adjacent position, and the upgraded electric energy meter information corresponding to the distance selection location point is used as the distance compliance electric energy meter information.

4. The method for upgrading the topology of an electric energy meter according to claim 3, characterized in that: Methods for determining distance selection location points include: Sort the distance from the remote location by the comprehensive value from small to large, and obtain the distance ranking value from the remote location according to the sorting result; Calculate the product value between the distance ranking value of the far position and the preset far ranking reference ratio value and use it as the far ranking reference result value; Sort the adjacent position distances from small to large based on the comprehensive value, and obtain the adjacent position distance sorting value based on the sorting result; Calculate the product value between the adjacent position distance sorting value and the preset adjacent sorting reference ratio value and use it as the adjacent sorting reference result value; Calculate the sum of the far-away sorting reference result value and the adjacent sorting reference result value and use it as the sorting reference comprehensive result value; The sorting is performed from large to small based on the sorting reference comprehensive result value, and the distance corresponding to the first sorting reference comprehensive result value is used as the distance selection position point.

5. The method for upgrading the topology of an electric energy meter according to claim 4, characterized in that: The method further includes the following steps after calculating the product value between the adjacent position distance sorting value and the preset adjacent sorting reference ratio value and using the product value as the adjacent sorting reference result value: Determining the type time impact information corresponding to the upgrade type information according to the correspondence between the upgrade type information and the preset type time impact information; Get the current time point; Retrieving a category time impact value from category time impact information based on a current time point; Determining the category distance impact value corresponding to the upgrade category information according to the correspondence between the upgrade category information and the preset category distance impact value; Determine the species selection impact value based on the species time impact value and the species distance impact value; An influence value is selected based on the category to adjust the adjacent sorting reference result value to form a new adjacent sorting reference result value and replace it.

6. The method for upgrading the topology of an electric energy meter according to claim 5, characterized in that: Methods for determining the impact value of species selection include: Determine whether the species time impact value is greater than the species distance impact value; If yes, the category time impact value is used as the category selection impact value; If not, the difference between the species time impact value and the species distance impact value is calculated and used as the time distance impact deviation value; According to the correspondence between the time-distance impact deviation value and the preset distance impact adjustment value, a distance impact adjustment value corresponding to the time-distance impact deviation value is determined; The sum of the distance impact adjustment value and the category time impact value is calculated and used as the distance impact correction value, and the distance impact correction value is used as the category selection impact value.

7. The method for upgrading the topology of an electric energy meter according to claim 1, characterized in that: Methods for determining base table upgrade control information include: Based on the range master machine information, retrieve the range master machine location point and range master machine working time information; Based on the range base table information, retrieve the range base table location point and range base table working time information; Calculate the distance between the range master position point and the range base table position point and use it as the master base table distance value; Sort the distance values of the master table from small to large, and obtain the distance sorting value of the two tables based on the sorting results; Calculate the product value between the distance ranking value of the two tables and the preset reference influence value of the distance ranking of the two tables and use it as the reference result value of the distance ranking of the two tables; Determine the upgrade time information based on the range master machine working time information and the range base table working time information; The base table control information is selected based on the reference result value of the distance sorting between the two tables and the upgrade time information, and the selected base table control information is used as the base table upgrade control information.

8. The method for upgrading the topology of an electric energy meter according to claim 7, characterized in that: Methods for determining base table control information include: Retrieve the upgrade start time point and upgrade end time point based on the upgrade time information; Calculate the interval between the upgrade start time point and the upgrade end time point and use it as the upgrade duration value; According to the correspondence between the upgrade duration value and the preset duration selection reference value, the duration selection reference value corresponding to the upgrade duration value is determined; Calculate the middle time between the upgrade start time point and the upgrade end time point and use it as the upgrade middle time point; According to the correspondence between the intermediate time point of the upgrade and the preset intermediate time selection reference value, the intermediate time selection reference value corresponding to the intermediate time point of the upgrade is determined; Calculate the sum of the distance sorting reference result value, duration selection reference value and intermediate time selection reference value of the two tables and use it as the reference comprehensive value for base table selection; Sort the reference comprehensive values selected from the base table from large to small, and use the range base table information corresponding to the first-ranked reference comprehensive value as the base table selection information, and use the upgrade time information corresponding to the base table selection information as the base table selection time information; According to the correspondence between the base table selection time information, the base table selection information and the preset base table selection comprehensive control information, the base table selection comprehensive control information corresponding to the base table selection time information and the base table selection information is determined, and the base table selection comprehensive control information is used as the selected base table control information.

9. An electric energy meter topology upgrade system, characterized in that: include: The acquisition module is used to obtain the required upgrade scope, upgrade target information and current time point; A memory, configured to store a method for upgrading an electric energy meter topology according to any one of claims 1 to 8; The processor loads and executes the program in the memory.

10. An intelligent terminal, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes an electric energy meter topology upgrading method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and apparatus for online upgrade of Bluetooth cluster

    CN109417691A

  • Intelligent electric meter upgrading method

    CN112532417A

  • Software version upgrading method and system of terminal and vehicle

    CN114422486A

  • Equipment upgrading method, device and system, electronic equipment and carrier

    CN118984274A

  • Technique for topology aware network device upgrades

    US20180375718A1