Intelligent electric meter dual-mode communication adaptive switching method
By performing differentiated allocation and sparse coding on the data in the smart meter data acquisition system, the problems of uneven allocation of link resources and unstable data transmission in the existing technology are solved. This achieves a balance between the timeliness and economy of key data, and improves the utilization rate of the power grid and the stability of data acquisition.
Patent Information
- Application Number
- CN202511418351.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-30
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2045-09-30
AI Technical Summary
Existing smart meter data acquisition systems struggle to simultaneously ensure the timeliness of critical data, the economic efficiency of transmitting ordinary data, and the consistency of data across links in dual-mode communication scenarios, leading to uneven allocation of link resources and unstable data transmission.
By dividing the data into multiple data units at the sending end, and combining link status parameters and priority evaluation, the data is dynamically allocated to high-speed and low-speed links. On the low-speed link, sparse coding and dictionary differential update mechanism are used to ensure accurate parsing and consistency of the data at the receiving end.
It ensures the timely delivery of critical data and the efficient transmission of general data, reduces energy consumption and resource waste, and improves the utilization rate of the power grid and the stability and economy of data collection.
Smart Images

Figure CN120896894A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of digital communication, and in particular to a smart meter dual-mode communication adaptive switching method. BACKGROUND
[0002] The existing smart meter data acquisition mainly relies on a single communication link, or adopts a session-level whole section switching strategy in a dual-mode communication scenario. In this mode, key messages may be delayed or lost due to untimely switching, and ordinary large-volume data may long-term occupy high-speed link resources, causing uneven allocation of link resources. On the other hand, although the low-speed link has the advantages of stability and free of charges, it is often in a standby state in actual application, has low utilization rate, and is difficult to bear large-scale data transmission demand. In addition, when data transmission is performed by using the low-speed link, the analysis of the messages at the receiving end often lacks precision guarantee, and errors in reconstruction or inconsistency of data are prone to occur. Overall, the existing technology is difficult to simultaneously consider the timeliness of key data, the transmission economy of ordinary data, and the data consistency across links, resulting in that the potential of dual-mode communication cannot be effectively exerted.
[0003] To solve the above problems, the present application designs a smart meter dual-mode communication adaptive switching method. SUMMARY
[0004] The technical problem to be solved by the present application is to provide a smart meter dual-mode communication adaptive switching method in view of the shortcomings of the prior art, which divides the running data into multiple data units and performs priority evaluation at the sending end, locates the clearing cut point in the priority sequence in combination with the delay, packet loss, energy consumption and bandwidth state of the two links, to realize differentiated allocation of data between the high-speed link and the low-speed link. When the data is allocated to the low-speed link, sparse coding is performed by using a preset dictionary, and differential update is triggered when the error exceeds the limit, to ensure decoding consistency; the receiving end realizes unified analysis of the original message and the sparse message through cross-link association, dictionary update and residual synthesis.
[0005] To achieve the above purpose, the present application provides the following technical scheme:
[0006] A smart meter dual-mode communication adaptive switching method applied to a sending end of a communication system, the communication system comprising a first communication link and a second communication link, the transmission rate of the second communication link being less than that of the first communication link, the communication system further comprising a receiving end, the receiving end being in communication connection with the sending end through the first communication link and the second communication link, the sending end and the receiving end being configured with the same preset dictionary set, the method comprising:
[0007] dividing the data to be sent into multiple data units, each data unit comprising at least one message;
[0008] obtaining link state parameters of the first communication link and the second communication link, determining a target communication link corresponding to each data unit according to the priority of the data unit and the link state parameters, wherein the determination of the target communication link comprises:
[0009] obtaining a priority sequence by aggregating the priorities of the plurality of data units, and locating a clearing cut point in the priority sequence according to the link state parameters, and assigning data units before the clearing cut point in the priority sequence to the first communication link and assigning data units after the clearing cut point in the priority sequence to the second communication link;
[0010] if the target communication link corresponding to the data unit is the second communication link, generating encoded information of the data unit by using a sparse strategy and forwarding the encoded information through the second communication link.
[0011] if the target communication link corresponding to the data unit is the first communication link, sending the corresponding data unit through the first communication link to the receiving end.
[0012] The link state parameters comprise at least one of a time delay, a packet loss rate, a bandwidth utilization rate and an energy consumption index.
[0013] The calculation method of the priority comprises:
[0014] performing feature processing on the packets in the data unit to generate an abstract layer for representing a service semantic and a plurality of residual layers according to an increasing information granularity;
[0015] performing priority evaluation on the abstract layer according to a preset service semantic strategy library to obtain an initial priority of the data unit;
[0016] calculating an effect index of each residual layer, and synthesizing the effect index into an effect score by using a preset mapping function, wherein the effect index comprises at least one of a marginal information gain of the residual, a substitutability index with historical samples, a remaining time limit margin and an estimated transmission energy consumption;
[0017] obtaining the priority of the data unit according to the initial priority and the effect score in combination with a preset grading threshold.
[0018] The determination of the target communication link corresponding to each data unit comprises:
[0019] obtaining a priority sequence by aggregating the priorities of the plurality of data units, wherein the priority sequence is sorted in descending order according to the priorities of the data units;
[0020] According to the priority sequence, in combination with link state parameters of the first communication link and the second communication link, a clearing cut point in the priority sequence is located, data units in the priority sequence before the clearing cut point are allocated to the first communication link, and data units in the priority sequence after the clearing cut point and the data unit corresponding to the clearing cut point are allocated to the second communication link.
[0021] The locating of the clearing cut point in the priority sequence comprises:
[0022] In a preset prediction time window, shadow prices corresponding to the first communication link and the second communication link are calculated according to the link state parameters, and an available service budget of the first communication link in the prediction time window is determined;
[0023] For each data unit in the priority sequence, a marginal utility density of the data unit in the case of unit transmission overhead is calculated;
[0024] A difference between the shadow prices corresponding to the first communication link and the second communication link is taken as a clearing threshold, and transmission overheads of data units are sequentially accumulated from a head of the priority sequence until an accumulated value is less than the available service budget and a marginal utility density of a current data unit is greater than or equal to the clearing threshold, and the current data unit is taken as the clearing cut point.
[0025] The generating of the encoding information of the data unit by the sparse strategy comprises:
[0026] The data unit is subjected to type identification, and a target dictionary is selected from the preset dictionary set according to a result of the identification, wherein the target dictionary comprises version identification and fingerprint check information;
[0027] The data unit is subjected to sparse coding and local reconstruction according to the target dictionary, to obtain a sparse position set and quantization coefficients, and an error estimation value is calculated according to a result of the local reconstruction;
[0028] If the error estimation value is greater than a preset error threshold, the preset dictionary set is updated according to the error estimation value, to obtain a dictionary differential update package;
[0029] An encoding head corresponding to the data unit is generated according to the dictionary differential update package, the sparse position set and the quantization coefficients, and a transmission message comprising the encoding head is sent to the receiving end through the second communication link.
[0030] The application discloses a smart meter dual-mode communication adaptive switching method, which is applied to a receiving end of a communication system, wherein the communication system comprises a first communication link and a second communication link, the transmission rate of the second communication link is less than that of the first communication link, the communication system further comprises a sending end, the sending end is in communication connection with the receiving end through the first communication link and the second communication link, the sending end and the receiving end are configured with the same preset dictionary set, and the method comprises the following steps:
[0031] receiving a first type of transmission message of the first communication link and a second type of transmission message of the second communication link, wherein the first type of transmission message is an original message, and the second type of transmission message is a sparse coded message;
[0032] determining whether the second type of transmission message carries indication information of a dictionary difference update package;
[0033] if yes, updating the preset dictionary set according to the dictionary difference update package to obtain an updated dictionary set;
[0034] analyzing the second type of transmission message according to the updated dictionary set to obtain a corresponding data unit reconstruction message;
[0035] synthesizing the data unit reconstruction message and the first type of transmission message to obtain a final message.
[0036] The method further comprises establishing a corresponding relationship between the second type of transmission message and the first type of transmission message, and specifically comprises the following steps:
[0037] constructing a cross-link association account at the receiving end, wherein the cross-link association account is managed in a partitioned manner according to a time grid of the first type of transmission message;
[0038] for the first type of transmission message, extracting an alignment binding code used for cross-link alignment, and storing the first type of transmission message into the cross-link association account according to the alignment binding code, wherein the alignment binding code is obtained by combining a transaction serial number, a time index and a semantic anchor set calculated based on the original message of the first type of transmission message;
[0039] for the second type of transmission message, extracting an alignment candidate binding code used for cross-link alignment, wherein the alignment candidate binding code is obtained by combining a transaction serial number, a time index and a sparse support abstract of the second type of transmission message;
[0040] determining a time expansion window matched with the alignment candidate binding code according to a time delay distribution of the second communication link, and searching the cross-link association account according to the time expansion window to obtain a plurality of candidate grids, wherein the candidate grids comprise at least one first type of transmission message.
[0041] According to the alignment candidate binding code and the corresponding alignment binding code in the candidate grid, a first type of transmission message corresponding to the second type of transmission message is determined.
[0042] The updating of the preset dictionary set according to the dictionary differential update package comprises:
[0043] The dictionary differential update package is subjected to integrity authentication and source authentication, and target version identification, parent version fingerprint, segment index and atomic operation sequence are parsed;
[0044] The consistency of the preset dictionary set is checked according to the parent version fingerprint, and if the consistency is not consistent, the preset dictionary set is updated, wherein the updating comprises: code word addition, code word deletion, code word replacement, code word rearrangement mapping, weight correction, subspace merging and subspace splitting of the preset dictionary set according to the atomic operation sequence and segment index, and a check hash is gradually generated, and the version identification of the preset dictionary set is modified according to the target version identification.
[0045] Compared with the prior art, the beneficial effects of the present application are:
[0046] The present application realizes the dynamic allocation of different value data between high-speed links and low-speed links by constructing a clearing cut point mechanism based on a priority sequence, so that key messages can obtain time efficiency guarantee of high-speed links in priority, and ordinary large volume data is efficiently transmitted in low-speed links in sparse coding mode, thereby balancing transmission efficiency and cost control. By introducing dictionary differential update and cross-link association mechanism, the receiving end can complete accurate reconstruction of the message without relying on full transmission, ensuring data consistency and integrity. The present application reduces the number of cellular link wake-ups and energy consumption, improves the utilization rate of the power special network, and finally realizes the stability, economy and long-term sustainability of smart meter data acquisition in a dual-mode communication environment. BRIEF DESCRIPTION OF DRAWINGS
[0047] Other features, objects and advantages of the present application will become more apparent from the following detailed description of non-limiting embodiments made with reference to the accompanying drawings:
[0048] Figure 1 An exemplary application scenario of an embodiment of the present application is shown in the figure;
[0049] Figure 2 A principle diagram of a solution of an embodiment of the present application is shown in the figure;
[0050] Figure 3 A module diagram of a communication system of an embodiment of the present application is shown in the figure;
[0051] Figure 4A flowchart of a smart meter dual-mode communication adaptive switching method according to an embodiment of the present application is shown in FIG. 1.
[0052] Figure 5 A priority sequence diagram according to an embodiment of the present application is shown in FIG. 2.
[0053] Figure 6 A clearing cut point positioning principle diagram according to an embodiment of the present application is shown in FIG. 3.
[0054] Figure 7 A flowchart of another smart meter dual-mode communication adaptive switching method according to an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION
[0055] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments.
[0056] In this document, the term "embodiment" means that a specific feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily all refer to the same embodiment, nor is it necessarily mutually exclusive of other embodiments. It will be explicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0057] The present application is proposed for a dual-mode communication scenario in a smart power consumption information collection system, and is applicable to a field environment with coexistence of wireless communication and power special network, and obvious asymmetry of link capacity and cost model.
[0058] It can be understood that the wireless communication refers to a cellular communication network based on a public mobile communication operator, such as a cellular public network, wifi, 2.4G, Bluetooth, zigbee, lora, and sub-1G, which has the characteristics of wide coverage and relatively high bandwidth, but will generate traffic fees and wake-up expenses in long-term use.
[0059] The power special network refers to a communication network built by the power system or industry, such as a power carrier communication network, a power distribution automation optical fiber network, or a power industry wireless special network, which has the characteristics of no additional traffic fees and relatively stable access relationship, but is subject to bandwidth, time delay, and anti-interference capability, and usually has a lower transmission rate than wireless communication.
[0060] In the present application, the wireless communication is the first communication link, and the power special network is the second communication link.
[0061] In the industry consensus, the data volume of conventional meter reading business is not large; however, in real operation and maintenance, data is not the only bottleneck, and the question of when to take which chain and how to stably deliver under the constraints of energy consumption and cost is a more common and more difficult engineering dilemma.
[0062] Typically, the typical period includes centralized reporting in the fee control settlement window, demand assessment slice alternation, distributed power grid disturbance, or alarm storm in the transformer area, etc. At this time, the cellular side may fluctuate due to cell congestion, and the private network side is often affected by carrier noise, in-house wiring and metal meter box shielding, resulting in sudden increase in latency, uneven packet loss or high wake-up overhead.
[0063] It is easy to understand that the existing communication method is often forced to swing between session-level one-size-fits-all and frequent switching, resulting in a sharp increase in handshake cost, affecting real-time control and fee control feedback, and reducing the service life of battery and supercapacitor meters; when the scale expands to thousands of terminals, even if the data of a single meter is not large, the systematic cost of switching and retransmission will be amplified as a continuous burden for the main station and the access side.
[0064] Under the foregoing precondition, the present application starts with the link selection of the sending end and gives a more robust path selection logic, the core principle of which is as follows:
[0065] The information to be transmitted is extracted according to the business semantics into message information that can directly drive settlement and operation and maintenance decisions, and the details that have a minor impact on the results are folded into normal information; on this basis, the sending end and the receiving end maintain a lightweight consensus dictionary, so that the normal information is transmitted on the second communication link with a low speed and a low power consumption in a sparse coefficient, and the occasional dictionary difference and the message that needs to be quickly transmitted are only a small amount of carrying in the available window of the first link.
[0066] It can be understood that the present application does not pursue the extreme compression rate, but converts the implicit cost of frequent switching and repeated handshake into low-frequency consistency maintenance, so as to obtain the stability of the latency and the certainty of the energy consumption of the whole network side.
[0067] The application object of the present application covers the in-house meters in the urban basement and the metal distribution box, the long-wired centralized meters in the mountainous area, the intermittent online terminals with battery power supply, and the transformer groups in the grid fluctuation or alarm intensive period, etc.
[0068] The common characteristics of the application object are asymmetric link capacity, limited collection perspective, occasional alarm or feedback superposition, and hard constraint of data consistency for compliance audit.
[0069] The sending end strategy proposed by the present application rearranges the timing of part of the data to be transmitted on the fast chain and part of the data on the slow chain without changing the business process on the main station side, avoids the shock of session-level switching and the waste of energy consumption, and fits the real rhythm of long-term operation and maintenance on the power distribution side.
[0070] Reference Figure 1 , Figure 1 An exemplary application scenario schematic diagram is provided for an embodiment of the present application.
[0071] Figure 1 A plurality of smart meters distributed in the power consumption site are shown, which need to transmit meter reading data and event information to the data center on the access side through the communication network.
[0072] Figure 1 It is shown that all messages are converged along a single communication path, and the meter end does not process the messages by type, information value or network load state. This way can still meet the needs in the ordinary periodic meter reading scene, but when there are alarm reporting, fee control instruction feedback and a large amount of curve data transmission in the site at the same time, the bandwidth and access stability of the cellular link are difficult to match the differentiated needs of diversified businesses.
[0073] On the other hand, although the power special network exists as a backup path in the prior art, Figure 1 it is often positioned as a remedial link after failure, and is almost idle in the normal business process, resulting in low resource utilization. As a result, an asymmetry between link utilization and business needs is formed: critical instructions may be delayed after low-priority data transmission, and low-value bulk data occupies high-cost and high-power cellular links for a long time.
[0074] Reference Figure 2 , Figure 2 A principle schematic diagram of a solution provided for an embodiment of the present application.
[0075] It can be understood that the present application does not simply switch the wireless communication and the power special network as the primary / backup link, but differentiates the data units.
[0076] In an embodiment not shown, the smart meter side first analyzes the data to be transmitted, and divides it into critical data units with high timeliness or strong consistency requirements, and ordinary data units with larger volume but lower value density. Figure 2 In this way, the wireless communication is no longer occupied by low-value data for a long time, and the power special network is no longer in a simple backup state, but forms a dynamic complement with the wireless communication.
[0077] Reference
[0078] , Figure 3 A module schematic diagram of a communication system provided for an embodiment of the present application. Figure 3
[0079] Figure 3 It is shown that the communication system includes a sending end and a receiving end, and the sending end and the receiving end are configured with the same preset dictionary set, wherein:
[0080] The sending end comprises a data unit division module, a link allocation module, and a data compression and transmission module.
[0081] The data unit division module is configured to split the data to be transmitted into a plurality of data units and perform feature processing.
[0082] The link allocation module is configured to determine a target communication link according to a link state parameter and a priority sequence.
[0083] The data compression and transmission module is configured to, when the data unit is allocated to the power private network, generate a sparse position set and a quantization coefficient based on a target dictionary, and send the encoded information via the power private network, and directly send the original message when the data unit is allocated to the wireless communication.
[0084] The receiving end comprises a data receiving module, a data matching module, and a data restoration module.
[0085] The data receiving module is configured to receive the first type of message and the second type of message uploaded via different links.
[0086] The data matching module is configured to establish a mapping relationship in the cross-link association account according to the dictionary version identifier, the transaction sequence number, and the time index in the message header, and trigger a dictionary differential update when necessary.
[0087] The data restoration module decodes and reconstructs the sparse parameters based on the updated dictionary set, and synthesizes the first type of message to obtain the final message.
[0088] It is easy to understand that, Figure 3 The modular structure shown embodies the core idea of the present application: through the link differentiation allocation and sparse strategy compression of the sending end, and the version consistency maintenance and cross-link message synthesis of the receiving end, efficient and stable data transmission in the smart meter dual-mode communication scenario is achieved.
[0089] Next, combined with Figure 4 , a smart meter dual-mode communication adaptive switching method provided by an embodiment of the present application is introduced, Figure 4 The method shown is applied to a sending end of a communication system, the communication system comprising a first communication link and a second communication link, the transmission rate of the second communication link being less than that of the first communication link, the communication system further comprising a receiving end, the receiving end being in communication connection with the sending end through the first communication link and the second communication link, the sending end and the receiving end being configured with the same preset dictionary set, and the specific steps of the method being as follows:
[0090] S1: dividing the data to be sent into a plurality of data units, each data unit comprising at least one message;
[0091] In the embodiment, the division of the data unit can be based on periodic meter reading data, event alarm information, fee control instruction receipt, and operation log, and the like.
[0092] The type of the multi-source data can be flexibly configured according to actual application, and only needs to support the judgment of the meter operation state to the minimum extent, and the present application does not make too many limitations.
[0093] Through the division mode, on the one hand, the whole batch message processing mode is avoided, and on the other hand, the subsequent link allocation can be adjusted in the granularity of the data unit, so that the dual-link resources are more flexibly utilized in the diversified business scene.
[0094] S2: Obtain the link state parameters of the first communication link and the second communication link, determine the target communication link corresponding to each data unit in combination with the priority of the data unit;
[0095] In the embodiment, the link state parameters can include any one or more of the time delay, the packet loss rate, the bandwidth utilization rate, or the energy consumption index, and the specific collection mode can be obtained by the existing link detection means, which will not be described herein.
[0096] As can be appreciated by those skilled in the art, by combining the link parameters and the data unit priority to form a priority sequence, and further positioning the clearing cut point, the data units before the cut point are allocated to the first communication link, and the data units after the cut point are allocated to the second communication link, so that the transmission timeliness of the key message is ensured, and the risk of redundant transmission on the low-speed link is also reduced, avoiding the delay and energy waste caused by coarse-grained switching in the traditional method.
[0097] S3: If the target communication link corresponding to the data unit is the second communication link, the encoding information of the data unit is generated by the sparse strategy, and the encoding information is forwarded through the second communication link;
[0098] In the embodiment, the encoding information is obtained by selecting a target dictionary in a preset dictionary set to perform sparse coding, obtaining a sparse position set and a quantization coefficient, and generating a dictionary difference update package when necessary to maintain the consistency of the receiver dictionary and the sender, so that the low-speed link does not need to transmit the complete original message, but performs lightweight transmission in the form of sparse parameters, thereby significantly reducing the transmission delay and energy consumption. Especially in the scene where the bandwidth of the power special network is limited, the effective restoration of the data unit can still be guaranteed, solving the problem that the low-speed link can only be used as a backup channel in the existing scheme.
[0099] S4: If the target communication link corresponding to the data unit is the first communication link, the corresponding data unit is sent to the receiving end through the first communication link;
[0100] In the embodiment, when the link determination result is the first communication link, the transmitted data can be the original packet. When the key packet must arrive within a specified time limit, directly transmitting the original packet can avoid errors and delays introduced by compression and restoration. This hierarchical processing mode effectively balances the resource contradiction between high-time-efficiency services and low-value services, and realizes differentiated scheduling in a dual-mode communication scenario.
[0101] Before the specific technical content corresponding to the unfolding step is described, the embodiment of the present application needs to be emphasized again:
[0102] Although the single data volume of the smart meter is not large in daily application, in the context of concurrent multiple services or frequent network state fluctuations, link selection and energy consumption balance are the core factors affecting system stability. The traditional method often takes the whole session as the granularity, resulting in inevitable delay and retransmission cost of the whole batch once the path selection is wrong. Unlike this, the implementation logic of the present application does not regard the communication link as a simple primary and backup relationship, but connects the link state and data utility by constructing a priority sequence and a cut point logic, so that the dual link forms a complement in the same time window.
[0103] In the specific implementation, the utility of the data unit is abstracted as the ratio of information gain to energy cost, and a decreasing distribution curve is formed in the time window through the ratio. The change of the link state does not directly trigger the overall switching, but determines the boundary by finding a stable intersection point on the curve, so as to ensure that the key data in the first half is carried by the high-speed link, and the remaining part is transmitted on the low-speed link in the form of sparse coefficient. The focus of the processing logic is not the extreme compression ratio, but to eliminate the shock caused by frequent switching, so that the link usage is naturally layered according to the service value.
[0104] Further, the present application also considers the dictionary update behavior and link scheduling together. When it is found that the reconstruction error of sparse decoding exceeds the threshold, the sending end does not immediately give up the low-speed link, but inserts the dictionary difference update package as a special data unit into the transmission sequence, and clears it together with other data.
[0105] Next, the technical content of the priority in the method of the present application is further unfolded.
[0106] The calculation method of the priority includes:
[0107] The packet in the data unit is subjected to feature processing to generate an abstract layer representing the service semantics and a plurality of residual layers according to the increasing information granularity;
[0108] Specifically, the packet is subjected to semantic reorganization before entering the priority evaluation:
[0109] Extracting statistics for metering messages, including time period power, quantile, peak and valley extreme value, and out-of-limit markers;
[0110] Extracting trigger code, duration, and level for events or alarms;
[0111] Extracting execution status and failure reason code for fee control receipts; and performing detrending, cycle stripping, and change point detection on curve-shaped data to form summary elements that can directly support settlement and operation judgment.
[0112] Further, the original sequence is mapped to baseline reconstruction, and residual errors are divided from low to high according to information granularity, including shape correction residual error (low-frequency structure difference), local anomaly residual error (short-time pulse / step), and detail texture residual error (high-frequency disturbance), to obtain a summary layer and a multi-level residual layer.
[0113] In the embodiment, to ensure that different data sources can be uniformly processed, the summary layer is packaged with structured key-value layout and fixed sequence fields, and the residual layer is described with block slicing and atomic residual units, which record dictionary index range, start and end timestamps, and verification fingerprints.
[0114] According to a preset business semantic policy library, the priority of the data unit is obtained.
[0115] Specifically, the business semantic policy library maintains the mapping of different message semantics to basic priorities in the form of a rule set, covering settlement sensitivity, control timeliness, operation and maintenance evidence, and compliance retention dimensions. For example, fee control execution and abnormal trip feedback belong to the time-limited control class, settlement correction and theft alarm belong to the evidence-dependent class, and regular curves and operation logs belong to the statistical class.
[0116] It can be understood that the construction process of the business semantic policy library includes the following three aspects:
[0117] In the first aspect, according to the settlement scope, dispatching / fee control SOP, alarm grading specification, and compliance retention requirements, the historical messages and on-site work orders are extracted to form a reusable semantic tag system and scene metadata.
[0118] In the second aspect, an atomic rule unit is established for each type of semantic tag, which at least includes trigger conditions, context conditions, output items, conflict resolution, and inheritance relationships; according to the business link, the atomic rules are arranged as combined strategies according to transaction chains, and the progressive weight and cross-message association are set for the front and back links of the same transaction, so that the subsequent link obtains promotion after the previous link is triggered, and a decay curve is configured for repeated statistical messages to avoid occupying the emergency channel.
[0119] In a third aspect, the combination strategy is verified and A / B controlled by an offline regression method, the arrival rate and cellular / special network sharing ratio in a key period are checked, and after meeting the threshold, the strategy package is solidified, the strategy package carries a version number, a fingerprint, and an effective range, and can be differentially issued according to a substation, a device type, or an account period dimension.
[0120] Those skilled in the art can understand that the specific field name, threshold setting, and verification process can be adjusted according to the operation regulations and regional differences, as long as the stable mapping from the message semantics to the basic priority can be realized to the minimum extent, and the present application does not make more limitations.
[0121] An effect index of each residual layer is calculated, and the effect index is integrated into an effect score through a preset mapping function, wherein the effect index at least includes one of a marginal information gain of the residual, a replaceability index with historical samples, a remaining time limit margin, and an estimated transmission energy consumption.
[0122] Specifically, for each residual layer, the marginal contribution to the business target and the transmission cost paid are calculated.
[0123] The marginal information gain is evaluated by comparing the difference between the determination made only with the abstract layer and the determination made after adding the residual layer, for example, whether the settlement error is reduced to an acceptable range, whether the fault location is narrowed down to a single device, or whether the abnormal reconstruction excludes false positives; the replaceability index is based on local short-term prediction and adjacent device reference, and judges whether the layer information can be inferred from historical patterns or neighborhood correlation, the higher the index, the more difficult it is to be inferred and replaced; the remaining time limit margin is given by the scene strategy, for example, the last available time for compliance retention, account reconciliation, and period settlement; and the estimated transmission energy consumption is evaluated according to the message byte amount, whether the first link needs to be awakened, possible retransmission, and handshake overhead.
[0124] In the present embodiment, in order to facilitate stable operation on the end side, the mapping function adopts a segmented decision table rather than a complex model: when the marginal gain is high and the replaceability is low, a high effect level is directly assigned; when the marginal gain is in a moderate range but the remaining time limit is approaching, the level is raised; when the estimated energy consumption exceeds the budget and the replaceability is high, the level is lowered; when the receiving end feedback dictionary consistency gap or reconstruction verification fails, the corresponding residual layer is marked as necessary for correction, and its effect level is temporarily raised. The mapping is traceable and verifiable with explicit rules, which facilitates the explanation of the judgment basis in the regulation audit or acceptance occasion.
[0125] According to the initial priority and the effect score, a priority of the data unit is obtained in combination with a preset grading threshold;
[0126] Specifically, the synthesis process takes data units as carriers, and merges the initial priority with the residual layer effect scores: if a data unit only contains the summary layer or the residual layer effects are all at a low level, the initial priority is kept unchanged; if any residual layer reaches the correction necessity or time urgency, a link tendency mark is set on the data unit, indicating that the subsequent scheduling should give priority to the high-speed link; if the effects of multiple residual layers are scattered in different levels, the dominant layer is set according to the decisiveness of the results and the pressure on energy consumption, and the tendency and level of the dominant layer are used to correct the final level of the data unit.
[0127] Next, the technical content of the target communication link in the method of the present application is further expanded.
[0128] It can be understood that after obtaining the priority corresponding to all data units, the data units of different priorities need to be allocated in a defined time window combined with the running state of the link to determine their target communication link. The core of the present application is not a simple binary judgment of high priority on fast link and low priority on slow link, but through comprehensive modeling, the link capacity, delay fluctuation, energy consumption budget and closed-loop demand of business are unified into the calculation framework to form a dynamically updated allocation logic.
[0129] In one example, the determination of the target communication link corresponding to each data unit comprises:
[0130] S2.1: aggregate the priorities of multiple data units to obtain a priority sequence, wherein the priority sequence is sorted in descending order according to the priority of the data unit;
[0131] Reference Figure 5 , Figure 5 is a schematic diagram of the priority sequence of an embodiment of the present application.
[0132] Figure 5 It is shown that the data to be transmitted includes five data units, in turn, data unit one, data unit two, data unit three, data unit four and data unit five.
[0133] As Figure 5 shown, the priorities of the data units are sorted in descending order as data unit four, data unit two, data unit one, data unit five and data unit three.
[0134] S2.2: according to the priority sequence, combined with the link state parameters of the first communication link and the second communication link, locate the clearing cut point in the priority sequence, allocate the data units before the clearing cut point in the priority sequence to the first communication link, and allocate the data units after the clearing cut point in the priority sequence and the data unit corresponding to the clearing cut point to the second communication link;
[0135] Specifically, in the dual-mode communication scenario, there are natural differences between the capabilities and costs of wireless communication and power private network: wireless communication has high bandwidth and low latency, but is accompanied by traffic fees and frequent energy consumption overheads; power private network is free of charge and has stable access relationship, but has low transmission rate and is prone to accumulation when the concurrent volume is large.
[0136] In the embodiment, a balance point is found as the clearing cut point in combination with the service budget and the comprehensive cost of the two links in the current time window. The clearing cut point is the intersection of the service value and the link cost, and is also the watershed of high and low priority data on the two links, so as to realize fine scheduling. The data units located before the clearing cut point are all allocated to wireless communication to ensure the timeliness and reliability of high-value messages; the data units after the clearing cut point are borne by the power private network to take advantage of its stable and free characteristics; and the data units at the clearing cut point are allocated to the power private network by default.
[0137] Reference Figure 6 , Figure 6 is a schematic diagram of the positioning principle of the clearing cut point of the embodiment of the application.
[0138] Figure 6 Taking the priority sequence in Figure 5 as an example, the clearing threshold and the available service budget are first calculated, and whether the first data unit four in the priority sequence is less than the clearing threshold and the available service budget is judged. If yes, the data unit two is added, and the calculation is repeated. After adding the data unit one, it is confirmed that it is less than the available service budget but greater than the clearing threshold, and the data unit one is positioned as the clearing cut point.
[0139] In an embodiment not shown in Figure 6 , the data unit four and the data unit two are packaged and allocated to the first communication link, and the data unit one, the data unit five and the data unit three are packaged and allocated to the second communication link.
[0140] It can be understood that the judgment condition of the application may appear two types of situations in different scenarios: one type is that the cumulative cost is less than the service budget, but the marginal utility density is greater than or equal to the clearing threshold, at this time it is indicated that putting the data unit into the first communication link will lead to the decline of the link cost performance, so the data unit is directly taken as the clearing cut point; the other type is that the cumulative cost has exceeded the service budget, but the marginal utility density of the data unit is still less than the clearing threshold, at this time it is indicated that the data unit has value but exceeds the budget bearing range, and the unit is also taken as the clearing cut point. Regardless of which type of situation, the essential significance of the cut point is that it is the last intersection point between the service cost that the link can bear and the business utility that the data embodies.
[0141] In one example, the positioning of the clearing cut point in the priority sequence includes:
[0142] S2.2.1: calculating a shadow price corresponding to the first communication link and the second communication link according to the link state parameters within a preset prediction time window, and determining an available service budget of the first communication link in the prediction time window;
[0143] Specifically, the shadow price is used to unify different sources and different dimensions of link costs to a comparable scale of comprehensive overhead per bit, facilitating alignment with the service value of data units. Within the prediction time window, the composition of the shadow price includes uncertainty of transmission delay, retransmission risk caused by packet loss, handshake overhead required for keeping and waking up, energy consumption per bit, and cost or quota penalty.
[0144] It should be noted that the handshake and wake-up are not constant values and are affected by the activity window, the intermittent reception state and the concurrent occupation, and need to be amortized according to the expected burst pattern within the time window. The available service budget is used to depict the available carrying capacity of the communication link that can be flexibly scheduled within the prediction time window. It is neither the peak rate nor the instantaneous upper limit of the physical layer throughput, but the allocable interval after deducting the rigid occupation and reserving the necessary redundancy, considering the activity window structure.
[0145] It is easy to understand that simply using rate or delay as a criterion will mask the cost of handshake and energy consumption, and simply using cost or energy consumption as a criterion will ignore the service benefit of low latency. Both of them can form executable scheduling constraints at the sending end.
[0146] In this embodiment, the calculation of the shadow price relies on the aforementioned calculated link state parameters:
[0147] By combining passive statistics and lightweight probe packets, the quantile trajectory of round-trip time, the sliding statistics of packet loss and retransmission, the time proportion of duty cycle and available rate, the start and end distribution of active time slots and activity windows are collected;
[0148] The estimation of energy consumption uses a decomposition model based on a static baseline, and the one-time cost is amortized to unit bit according to the expected burst size. The influence of cost or quota is injected into the shadow price in the form of step penalty, so that the cost per bit in the time window close to the threshold is automatically raised.
[0149] Further, the determination of the available service budget follows the principle of hard priority and soft guarantee: first, deduct the rigid occupation such as upstream issued instructions and mandatory acknowledgement from the theoretical carrying capacity, then deduct the minimum heartbeat and keep-alive load required for RRC maintenance, and reserve a certain proportion of disturbance redundancy in the remaining part to obtain the flexible budget available for the allocation logic of the present application, where RRC represents a resource control protocol.
[0150] In some special cases, if it is detected that concurrent traffic will trigger the active window, the amount of bearers within the window is singled out as parasitic available amount, and only the boundary term is allowed to be injected by micro-slices without extending the active window.
[0151] S2.2.2: For each data unit in the priority sequence, calculate the marginal utility density of the data unit under the condition of unit transmission overhead;
[0152] Specifically, the marginal utility density is used to measure "how much additional benefit can be brought to the service target for every unit of link resource consumed", which establishes a direct correspondence between service semantics and link cost.
[0153] In some optional embodiments, the measurement of service benefit is not limited to a single dimension, but is evaluated around four aspects of settlement accuracy, control timeliness, operation positioning ability and compliance retention reliability; if the summary layer alone can achieve the expectation, the marginal benefit of the data unit is low; if adding a certain residual layer can reduce the settlement deviation to an acceptable interval, converge the alarm positioning range from the district area level to the device level, or complete the evidence chain closure before the retention time limit expires, the marginal benefit of the data unit is considered decisive. At the same time, the unit transmission overhead includes but is not limited to the number of bytes, and also considers the volume after sparse coding under the second communication link, the residual compensation volume under the first communication link, whether additional wake-up is needed, and the number of retransmissions and handshakes that may be triggered.
[0154] In this embodiment, the marginal utility density of each data unit is obtained by a rule table, which specifically includes the following two dimensions:
[0155] In the first dimension, the role of the data unit in the current transaction phase is determined based on the service semantic policy library, and then the effect index of the residual layer is combined to determine whether it belongs to one of the three categories of decisive, supportive or modifying; the decisive term is directly assigned a high density, the supportive term is set to an intermediate density according to the remaining time limit and the replaceability index, and the modifying term is adjusted within the low density range;
[0156] In the second dimension, when the estimated transmission overhead reaches the energy consumption upper limit or may extend the active window, the density under the same service benefit is moderately adjusted according to the energy consumption sensitivity. To avoid short-term fluctuations causing density levels to jump back and forth, a double-threshold control is used to enter / exit different thresholds, and a boundary label is preset for data units near the threshold, so that they can use gentle means such as slice parallel and parasitic injection in subsequent allocation.
[0157] As can be easily understood, the present application maps the service value to the benefit of unit resources with auditable and interpretable rules without relying on complex models, providing monotonic and stable input for cut point positioning.
[0158] S2.2.3: taking the difference between the shadow prices corresponding to the first and second communication links as a liquidation threshold, sequentially accumulating the transmission overheads of the data units from the head of the priority sequence until the accumulated value is less than the available service budget and the marginal utility density of the current data unit is greater than or equal to the liquidation threshold, taking the current data unit as the liquidation cut point;
[0159] Specifically, the liquidation threshold represents the additional unit cost needed to promote a certain data unit from the second communication link to the first communication link, which is directly related to the shadow price.
[0160] It can be understood that the process of locating the cut point is to find the last position in the priority sequence that is still profitable and does not exceed the budget. Operationally, scanning and accumulating from the head of the sequence: as long as the marginal utility density of the current data unit is not lower than the liquidation threshold and the accumulated expected load is still within the available service budget, the data unit is included in the first communication link; when either condition is no longer met, the current data unit is determined as the liquidation cut point.
[0161] In some optional embodiments, to improve the stability and operability of the promotion of the liquidation cut point, an inner and outer two-layer hysteresis band is set around the liquidation cut point:
[0162] The boundary items falling into the inner hysteresis band adopt a dual-link fragmentation parallel strategy, i.e., sending summaries or low-cost parameters first using the second communication link, and then supplementing key residuals within the active window of the first communication link;
[0163] The boundary items falling into the outer hysteresis band maintain the last allocation result, and only adjust when both of the two consecutive prediction time windows show that the liquidation threshold or the budget moves in the same direction.
[0164] For delayed arrival or out-of-order entries, the time water line and the backfill area mechanism are used for insertion without disrupting the order of transactions already determined; for cases where dictionary consistency gaps are significant, the dictionary difference is inserted as a virtual data unit before the liquidation cut point, preferentially occupying the small budget of the first communication link to ensure that the sparse parameters of the second communication link can still be decoded; for windows where the budget is occupied by a large number of upstream rigid tasks, it is allowed to perform degradation on a number of supporting entries before the cut point, and record compensation placeholders to indicate backfilling in the next active window in the form of merging small packets or micro-fragments.
[0165] It is easy to understand that in the foregoing optional embodiments, the position of the liquidation cut point will not swing back and forth between the two links due to instantaneous jitter, the number of cellular wake-ups and the frequency of handshakes are effectively controlled, the second communication link maintains a continuous and decodable carrying capacity for a long time, and a comprehensive balance of time efficiency, energy consumption and cost is achieved.
[0166] In some alternative embodiments, the clearing cut point can be located by using geometric curve modeling.
[0167] Specifically, in the preset decision time window, the expected transmission overhead of each data unit in the second communication link is mapped as the abscissa, the marginal utility of the settlement accuracy, the control timeliness or the abnormality identification under the unit transmission overhead is mapped as the ordinate, and the items are connected in the order of priority to form a monotone broken line.
[0168] On the basis of the monotone broken line, shape regularization is performed on the monotone broken line to obtain an upper envelope curve, and geometric features such as inflection points, bending degree changes and slope transitions are extracted from the curve to represent the trend of the change of the service value with the transmission cost.
[0169] Further, according to the delay, packet loss, energy consumption, congestion and wake-up / authentication overhead amortization parameters of the first communication link and the second communication link in the time window, a price band reference line is generated to represent the comprehensive cost difference of the two links. By comparing the upper envelope curve and the price band reference line, in the interval where the two lines first form a stable intersection, the service budget projection of the first communication link in the time window is combined to determine the location of the clearing cut point.
[0170] Next, the technical content of the sparse strategy in the method of the present application is further expanded.
[0171] In one example, the generating of the encoding information of the data unit by the sparse strategy includes:
[0172] S3.1: Type identification is performed on the data unit, and a target dictionary is selected from the preset dictionary set according to the identification result, wherein the target field includes version identification and fingerprint check information;
[0173] Specifically, type identification is used to map the data unit to a dictionary family that matches its statistical structure and event semantics, in order to avoid reconstruction bias and sparse failure caused by processing heterogeneous data with a single dictionary. The identification process first performs preliminary screening according to the packet header and field semantics to extract business categories (periodic meter reading, event alarm, fee control receipt, operation log, load waveform, etc.) and transaction phase information; then light structure features are extracted from the original or denoised sequence, including periodicity indication, trend stability, local mutation degree, energy concentration, neighborhood similarity, missing distribution, etc.; according to the judgment, a target dictionary is selected from the preset dictionary set, and version identification and fingerprint check information are carried to ensure subsequent end-to-end consistency and traceability.
[0174] In some optional embodiments, the preset dictionary set adopts a multi-layer organization of "family-subclass-subspace"; for example, the periodic load dictionary family contains subclasses subdivided by season / period, and the emergency dictionary family contains subclasses refined by equipment type and alarm level; each subclass is provided with a plurality of subspaces to adapt to different sampling granularities and window lengths. The type identification output contains: target dictionary family and subclass number, subspace number, version identification, fingerprint summary, confidence, and alternative dictionary pointer. When the confidence is insufficient or the features conflict, the conservative strategy is adopted, and the basic subclass with higher tolerance is preferentially selected, and is explicitly marked in the encoding header, so that the receiving end triggers differential clarification when necessary.
[0175] S3.2: sparse coding and local reconstruction of the data unit according to the target dictionary, to obtain a sparse position set and a quantized coefficient, and to calculate an error estimation value according to the local reconstruction result;
[0176] Specifically, sparse coding is constrained by the target dictionary to find a sparse representation that can describe the data unit with the least parameters, while controlling the quantization error and reconstruction deviation. Before coding, normalization processing (detrusion, scale alignment, and mild suppression of abnormal points) is performed, and the data is divided into blocks aligned with the dictionary atoms; then a step-by-step sparse solving process is performed: candidate atoms with the highest correlation with the current residual and no strong correlation with selected atoms in the support set are preferentially selected until the set sparse degree or local error threshold is reached; adaptive quantization is performed on the coefficients of the selected atoms, and the quantization step is automatically set according to the coefficient distribution and the target accuracy to balance the code rate and the error; after completion, the same target dictionary is used for local reconstruction to obtain a reconstructed sequence for self-checking.
[0177] In this embodiment, the error estimation value not only considers numerical deviation, but also considers structural consistency. Numerical deviation can be evaluated comprehensively through residual energy after reconstruction, deviation of key statistics, recovery degree of spikes or platforms, etc.; structural consistency is evaluated through support set stability, whether the residual energy is abnormally concentrated in the frequency band, and the degree of overlap with the historical support trajectory. When the reconstruction result has potential misjudgment risk at key elements, even if the overall numerical deviation is not large, the error estimation value is still prioritized to be increased to promote the subsequent triggering of the remediation mechanism. This process is completed at the end side and does not rely on receiving end feedback to predict whether differential, residual, or switching link is needed, thereby shortening the closed-loop delay.
[0178] S3.3: if the error estimation value is greater than a preset error threshold, updating the preset dictionary set according to the error estimation value to obtain a dictionary differential update package;
[0179] Specifically, when the error estimate value shows that the existing target dictionary cannot reconstruct the current data unit at low cost, or that the support set continues to drift within a short window, indicating that the data statistical structure has deviated, the dictionary needs to be fine-tuned without transmitting the complete dictionary. The differential update package describes the transition from the current version to the target version in the form of an atomic operation sequence, including adding new atoms, eliminating old atoms, modifying the weight or center of gravity of existing atoms, mapping the order of atoms in the subspace, and fine-tuning the quantization table; each atomic operation carries the necessary parameters and minimal check information, and generates an integrity digest and a parent version fingerprint at the segment level for the receiving end to apply incrementally and verify across versions.
[0180] S3.4: Generating an encoding header corresponding to the data unit according to the dictionary differential update package, the sparse position set, and the quantized coefficients, and sending a transmission message including the encoding header to the receiving end through the second communication link.
[0181] Next, in combination with Figure 7 , another kind of intelligent electric meter dual-mode communication adaptive switching method provided by the embodiment of the application is introduced, Figure 7 The method shown in the figure is applied to the receiving end of a communication system, the communication system includes a first communication link and a second communication link, the transmission rate of the second communication link is less than that of the first communication link, and the communication system also includes a sending end, the sending end is in communication connection with the receiving end through the first communication link and the second communication link, and the sending end and the receiving end are configured with the same preset dictionary set, and the specific steps of the method are as follows:
[0182] A1: Receiving first type transmission messages of the first communication link and second type transmission messages of the second communication link, wherein the first type transmission message is an original message, and the second type transmission message is a sparse coded message;
[0183] A2: Establishing a corresponding relationship between the second type transmission message and the first type transmission message;
[0184] In this embodiment, the first type message refers to the original message transmitted through the first communication link, and the second type message refers to the sparse coded message transmitted through the second communication link. Because there are differences in link delay and arrival order between the two types of messages, the receiving end needs to buffer them separately, and keep transaction index and time grid index in the cross-link account, to ensure that they can be aligned asynchronously later. This is done to avoid the situation that high-speed messages arrive first but lack completion, and low-speed messages arrive late and cause loss of context. By reserving double buffering and asynchronous index table, it can be ensured that messages can be included in the unified processing link regardless of the order in which they arrive.
[0185] A3: For the second type of transmission packet, determine whether to carry the indication information of the dictionary difference update package;
[0186] In this embodiment, the receiving end determines whether to attach the difference update package by checking the version identification and indication bit in the packet header. If the version fingerprint is found to be inconsistent with the local dictionary, the difference update processing logic is activated. The dictionary used in sparse decoding is ensured to be synchronized with the sending end, otherwise the sparse parameters on the low-speed link may not be correctly restored. By identifying and triggering the update in advance at the receiving end, decoding failure and retransmission can be effectively reduced.
[0187] A4: If yes, update the preset dictionary set according to the dictionary difference update package to obtain an updated dictionary set;
[0188] In this embodiment, the receiving end performs integrity check and parent version fingerprint verification on the difference package, confirms that it has not been tampered with, and then applies the atomic operations therein, including adding new atoms, deleting inefficient atoms, fine-tuning parameters or adjusting the quantization table. The updated dictionary set replaces the old version, and a new version number and a check digest are generated. The receiving end can quickly obtain the dictionary state consistent with the sending end, ensuring that all subsequent sparse packets can be correctly parsed, while also avoiding wasting link resources due to frequent transmission of complete dictionaries.
[0189] A5: Parse the second type of transmission packet according to the updated dictionary set to obtain a corresponding data unit reconstruction packet;
[0190] In this embodiment, the receiving end decodes the sparse position set and the quantization coefficient using the updated dictionary, and performs reconstruction to obtain a data unit reconstruction packet. In this process, the receiving end performs residual consistency check and statistical feature comparison on the reconstruction result to ensure that the reconstruction packet and the first type of packet can form a logical closed loop. If the error is detected to be out of limit or the data gap is detected, the receiving end will mark the packet as needing compensation and request residual compensation through uplink feedback. Even if there is jitter or loss on the low-speed link, effective reconstruction can still be completed in most cases.
[0191] A6: Synthesize the data unit reconstruction packet and the first type of transmission packet to obtain a final packet;
[0192] In the embodiment, the receiving end synthesizes the reconstructed message and the corresponding original message at the data unit level according to the cross-link association account book. The specific synthesis strategy includes: if the reconstructed message only supplements the abstract, the first type of message is used as the main part and sparse details are inserted; if the reconstructed message provides key residuals, the reconstructed message is used as the main part and statistical errors in the first type of message are corrected. The final message after synthesis has integrity and consistency and can be directly used for settlement, control or archiving. Through this synthesis mechanism, the receiving end effectively utilizes the complementary characteristics of the dual link: the high-speed link ensures timeliness and the low-speed link provides precision, thereby balancing stability and economy.
[0193] In one example, the specific steps of A2 are as follows:
[0194] A2.1: Construct a cross-link association account book at the receiving end, wherein the cross-link association account book is managed in a partitioned manner according to the time grid of the first type of transmission message;
[0195] A2.2: For the first type of transmission message, extract an alignment binding code for cross-link alignment, and store the first type of transmission message to the cross-link association account book according to the alignment binding code, wherein the alignment binding code is obtained by combining the transaction serial number, time index and semantic anchor set calculated based on the original message of the first type of transmission message;
[0196] A2.3: For the second type of transmission message, extract an alignment candidate binding code for cross-link alignment, wherein the alignment candidate binding code is obtained by combining the transaction serial number, time index and sparse support abstract of the second type of transmission message;
[0197] A2.3: According to the time delay distribution of the second communication link, determine a time expansion window matched with the alignment candidate binding code, and retrieve the cross-link association account book according to the time expansion window to obtain a plurality of candidate grids, wherein the candidate grids include at least one first type of transmission message;
[0198] A2.4: According to the alignment candidate binding code and the corresponding alignment binding code in the candidate grid, determine the first type of transmission message corresponding to the second type of transmission message.
[0199] The updating of the preset dictionary set according to the dictionary difference update package includes:
[0200] Integrity authentication and source authentication are performed on the dictionary difference update package, and the target version identifier, parent version fingerprint, segment index and atomic operation sequence are parsed;
[0201] According to the parent version fingerprint, consistency of the preset dictionary set is checked, and if the consistency is not met, the preset dictionary set is updated, wherein the updating includes code word addition, code word deletion, code word replacement, code word rearrangement mapping, weight correction, subspace merging and subspace splitting of the preset dictionary set according to the atomic operation sequence and the segment index, and a check hash is gradually generated, and a version identifier of the preset dictionary set is modified according to a target version identifier.
[0202] Although the embodiments of the present application have been shown and described above, it should be understood by those skilled in the art that the above embodiments are exemplary and cannot be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above embodiments within the scope of the present application.
Claims
1. A dual-mode communication adaptive switching method for smart meters, applied to the transmitting end of a communication system, characterized in that, The communication system includes a first communication link and a second communication link, wherein the transmission rate of the second communication link is less than that of the first communication link. The communication system also includes a receiving end, which is communicatively connected to the sending end via the first and second communication links. The sending end and the receiving end are configured with the same preset dictionary set. The method includes: The data to be sent is divided into multiple data units, each of which includes at least one message. Obtain the link status parameters of the first and second communication links, and determine the target communication link corresponding to each data unit based on the priority of the data unit. Determining the target communication link includes: The priorities of multiple data units are aggregated to obtain a priority sequence. Based on the link status parameters, the clearing cut point in the priority sequence is located. Data units in the priority sequence that are before the clearing cut point are assigned to the first communication link, and data units in the priority sequence that are at or after the clearing cut point are assigned to the second communication link. If the target communication link corresponding to the data unit is the second communication link, the encoding information of the data unit is generated through a sparse strategy, and the encoding information is forwarded through the second communication link.
2. The adaptive switching method for dual-mode communication in a smart meter according to claim 1, characterized in that, If the target communication link corresponding to the data unit is the first communication link, the corresponding data unit is sent to the receiving end through the first communication link.
3. The adaptive switching method for dual-mode communication in a smart meter according to claim 1, characterized in that, The link status parameters include at least one of latency, packet loss rate, bandwidth utilization, and energy consumption indicators.
4. The adaptive switching method for dual-mode communication in a smart meter according to claim 1, characterized in that, The priority is calculated in the following ways: The messages in the data unit are characterized to generate a summary layer for representing business semantics and multiple residual layers with increasing information granularity. The summary layer is prioritized according to a preset business semantic strategy library to obtain the initial priority of the data unit; The effect index of each residual layer is calculated, and the effect index is synthesized into an effect score through a preset mapping function. The effect index includes at least one of the following: the marginal information gain of the residual, the substitutability index with historical samples, the remaining time margin, and the estimated transmission energy consumption. The priority of a data unit is obtained based on the initial priority and the effect score, combined with a preset grading threshold.
5. The adaptive switching method for dual-mode communication in a smart meter according to claim 1, characterized in that, Determining the target communication link corresponding to each data unit includes: The priorities of multiple data units are aggregated to obtain a priority sequence, wherein the priority sequence is sorted in descending order according to the priority of the data units; Based on the priority sequence and in conjunction with the link state parameters of the first and second communication links, the clearing cut point in the priority sequence is located. Data units in the priority sequence located before the clearing cut point are allocated to the first communication link, while data units in the priority sequence located after the clearing cut point and data units corresponding to the clearing cut point are allocated to the second communication link.
6. The adaptive switching method for dual-mode communication in a smart meter according to claim 5, characterized in that, The liquidation cut points in the location priority sequence include: Within a preset prediction time window, the shadow prices corresponding to the first communication link and the second communication link are calculated based on the link status parameters, and the available service budget of the first communication link in the prediction time window is determined. For each data unit in the priority sequence, calculate the marginal utility density of the data unit under unit transmission overhead; Using the difference between the shadow prices corresponding to the first and second communication links as the liquidation threshold, the transmission overhead of data units is accumulated sequentially from the beginning of the priority sequence until the accumulated value is less than the available service budget, and the marginal utility density of the current data unit is greater than or equal to the liquidation threshold, at which point the current data unit is designated as the liquidation cut point.
7. The adaptive switching method for dual-mode communication in a smart meter according to claim 1, characterized in that, The step of generating the encoding information of the data unit through a sparse strategy includes: The data unit is type-identified, and a target dictionary is selected from the preset dictionary set according to the identification result, wherein the target dictionary includes version identifier and fingerprint verification information; The data unit is sparsely encoded and reconstructed locally according to the target dictionary to obtain a sparse location set and quantization coefficients, and the error estimate is calculated based on the local reconstruction result. If the error estimate is greater than the preset error threshold, the preset dictionary set is updated according to the error estimate to obtain a dictionary difference update package; Generate an encoding header corresponding to the data unit based on the dictionary differential update packet, the sparse location set, and the quantization coefficients, and send a transmission message including the encoding header to the receiving end through the second communication link.
8. A dual-mode communication adaptive switching method for smart meters, applied to the receiving end of a communication system, characterized in that, The communication system includes a first communication link and a second communication link, wherein the transmission rate of the second communication link is less than that of the first communication link. The communication system also includes a transmitting end, which is communicatively connected to the receiving end via the first and second communication links. The transmitting end and the receiving end are configured with the same preset dictionary set. The method includes: Receive a first type of transmission message from the first communication link and a second type of transmission message from the second communication link, wherein the first type of transmission message is an original message and the second type of transmission message is a sparsely coded message; For the second type of transmission message, determine whether it carries indication information of dictionary differential update packet; If so, the preset dictionary set is updated according to the dictionary difference update package to obtain the updated dictionary set; The second type of transmission message is parsed according to the updated dictionary set to obtain the corresponding data unit reconstructed message; The data unit reconstructed message and the first type of transmission message are combined to obtain the final message.
9. The adaptive switching method for dual-mode communication in a smart meter according to claim 8, characterized in that, The method further includes establishing a correspondence between the second type of transmission messages and the first type of transmission messages, specifically including: At the receiving end, a cross-link association ledger is constructed, wherein the cross-link association ledger is partitioned and managed according to the time index of the first type of transmission message; For the first type of transmission message, an alignment binding code for cross-link alignment is extracted, and the first type of transmission message is stored in the cross-link association ledger according to the alignment binding code, wherein the alignment binding code is obtained by combining the transaction sequence number, time index and semantic anchor set calculated based on the original message of the first type of transmission message; For the second type of transmission message, an alignment candidate binding code for cross-link alignment is extracted, wherein the alignment candidate binding code is obtained by combining the transaction sequence number, time index, and sparse support digest of the second type of transmission message; Based on the delay distribution of the second communication link, a time dilation window matching the alignment candidate binding code is determined, and the cross-link association ledger is retrieved based on the time dilation window to obtain multiple candidate grids, wherein the candidate grids include at least one type of first-class transmission message. Based on the alignment candidate binding code and the corresponding alignment binding code in the candidate grid, the first type of transmission message corresponding to the second type of transmission message is determined.
10. The adaptive switching method for dual-mode communication in a smart meter according to claim 8, characterized in that, The step of updating the preset dictionary set according to the dictionary difference update package includes: The dictionary differential update package is subjected to integrity and source authentication, and the target version identifier, parent version fingerprint, segment index and atomic operation sequence are parsed. The consistency of the preset dictionary set is verified based on the parent version fingerprint. If there is a discrepancy, the preset dictionary set is updated. The update includes: adding, deleting, replacing, rearranging and mapping, adjusting weights, merging subspaces and splitting subspaces of the preset dictionary set according to the atomic operation sequence and segment index, and gradually generating a verification hash. The version identifier of the preset dictionary set is modified according to the target version identifier.
Citation Information
Patent Citations
Side link synchronization method and user equipment thereof
CN116961845A
Bidirectional short message communication method used in network-free scene
CN120282107A
Multi-channel switching method for intelligent water meter communication
CN120358541A
Multiplexing higher priority and lower priority uplink control information on a physical uplink control channel
US20220217709A1
Cited By
Data transmission method, device and equipment for intelligent electric meter and medium
CN122160438A
A data transmission method, apparatus, device, and medium for smart meters.
CN122160438B
Adaptive fault-tolerant based digital information transmission method for electric energy meter
CN122601143A