Electricity consumption information data collection method and system based on broadband dual-mode communication
By configuring a broadband dual-mode communication module at the acquisition terminal and using long-term keys for protection, the information transmission reliability problem in automated meter reading technology is solved, and the reliability and security of information transmission are improved.
Patent Information
- Application Number
- CN202411267759.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-11
AI Technical Summary
In the existing automated meter reading technology, there are reliability problems during information transmission, making it difficult to ensure the integrity and safety of electricity use information.
By adopting a power consumption information data acquisition method based on broadband dual-mode communication, by configuring the first and second wireless communication modules at the acquisition terminal, transmitting power consumption information using different broadband and frequency domain locations at different times, using a long-term key Security protection and integrity protection ensure the reliability of information transmission.
The same common part of information ensures transmission reliability, avoids excessive redundancy in information transmission, and improves the reliability and security of information transmission.
Smart Images

Figure CN118785017B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for collecting electricity consumption information data based on broadband dual-mode communication. Background Art
[0002] With the continuous development of science and technology, automatic meter reading technology has been widely used around the world. The use of this technology has not only greatly improved the operating efficiency of power companies, but also provided consumers with more convenient electricity services. The development of automatic meter reading technology is inseparable from the close cooperation of multiple links such as information collection, transmission and processing.
[0003] First of all, information collection is the first step of automatic meter reading technology. In this link, the collection terminal plays a vital role. The collection terminal is usually installed at the user's electricity terminal. These devices can monitor and record the user's electricity consumption or other related data in real time. Secondly, information transmission is another important link in automatic meter reading technology. In many applications, the collection terminal will send the collected information to the remote receiver wirelessly. This wireless transmission method can be achieved through cellular networks, wireless networks or other wireless communication technologies. The use of wireless transmission methods greatly reduces the complexity and cost of information transmission. Finally, information processing is the last link of automatic meter reading technology. After receiving the information, the receiver will process and analyze the information. The results of these processing and analysis can be used to generate bills, provide electricity consumption analysis, and perform fault detection. In general, automatic meter reading technology is a mature and widely used technology. It collects information from the electricity terminal through the collection terminal, and then sends it to the remote receiver wirelessly. The use of this technology has greatly improved the operating efficiency of power companies and provided consumers with more convenient electricity services.
[0004] However, how to further ensure the reliability of information during transmission is a current research issue. Summary of the invention
[0005] The embodiments of the present invention provide a method and system for collecting electricity consumption information data based on broadband dual-mode communication, so as to ensure the transmission reliability of electricity consumption information.
[0006] In order to achieve the above object, the present invention adopts the following technical scheme:
[0007] In a first aspect, a method for collecting power usage information data based on broadband dual-mode communication is provided, which is applied to a collection terminal, and the collection terminal includes a first wireless communication module and a second wireless communication module. The method includes: the collection terminal obtains first power usage information at a first moment from the power-consuming device; the collection terminal determines second power usage information and third power usage information based on the first power usage information; wherein the second power usage information is part of the first power usage information, the third power usage information is part of the first power usage information, and the second power usage information is the same as part of the third power usage information; the collection terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at a second moment, and the collection terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at a third moment; wherein the second moment is different from the third moment, and the second moment and the third moment are moments after the first moment.
[0008] Optionally, the broadband used by the first wireless communication module to send the second power usage information is the first broadband, and the broadband used by the second wireless communication module to send the third power usage information is the second broadband. The frequency domain positions of the first broadband and the second broadband are the same, and the time domain positions of the first broadband and the second broadband are different.
[0009] Optionally, the first power usage information includes K1 bits, K1 is an integer greater than 3, and the collection terminal determines the second power usage information and the third power usage information based on the first power usage information, including: the collection terminal determines the 1st bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information as the second power usage information according to a first preset rule, and determines the ⌈(N2 / M)*K1⌉th bit to the Kth bit in the first power usage information as the third power usage information, and the first preset rule indicates that the information is extracted in the form of first N1 / M and last N2 / M, respectively, ⌈⌉ indicates rounding up, M is an integer greater than 1, N1 and N2 are positive integers less than M, and N2 is less than N1.
[0010] Optionally, the collection terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at the second moment, including: the collection terminal uses the long-term key to securely protect the second power usage information to obtain the securely protected second power usage information, the long-term key is a symmetric key pre-configured by the collection terminal, and the receiving terminal is pre-configured with some information bits in the long-term key; the collection terminal uses the first wireless communication module to send the securely protected second power usage information to the receiving terminal on the first broadband at the second moment; and the collection terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at the third moment, including: the collection terminal uses the long-term key to securely protect the third power usage information to obtain the securely protected third power usage information; the collection terminal uses the second wireless communication module to send the securely protected third power usage information to the receiving terminal on the second broadband at the third moment.
[0011] Optionally, the collection terminal uses a long-term key to securely protect the second electricity usage information to obtain securely protected second electricity usage information, including: the collection terminal uses the long-term key to encrypt the second electricity usage information to obtain first ciphertext information; the collection terminal embeds a first part of information bits in the long-term key into the first ciphertext information to obtain second ciphertext information; the collection terminal performs integrity protection on the second electricity usage information to obtain a first integrity protection result; wherein the securely protected second electricity usage information includes the second ciphertext information, the first part of information bits, and the first integrity protection result.
[0012] Optionally, the first ciphertext information is K2 bits, K2 is an integer greater than 3, the long-term key is L bits, L is an integer greater than 3, and the acquisition terminal embeds the first part of the information bits in the long-term key into the first ciphertext information to obtain the second ciphertext information, including: the acquisition terminal determines the 1st bit to the ⌈(N2 / M)*L⌉th bit in the long-term key as the first part of the information bits according to the second preset rule; the second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively; the acquisition terminal embeds the first part of the information bits between the S1+R1th bit and the S1+R1+1th bit of the first ciphertext information according to K2mod⌈(N2 / M)*L⌉=S1 to obtain the second ciphertext information, R1 A fresh parameter R1 is randomly generated by the collection terminal, and the fresh parameter R1 is an integer between S1 and K2. The second power usage information to be securely protected also includes the fresh parameter R1; the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection value MAC#1, and the collection terminal performs integrity protection on the first parameter to obtain a second integrity protection value MAC#2; the first parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R1, and the first part of the information bits; the first integrity protection result includes MAC#1 and MAC#2.
[0013] Optionally, the collection terminal uses a long-term key to securely protect the second electricity usage information to obtain the securely protected second electricity usage information, including: the collection terminal uses the long-term key to encrypt the third electricity usage information to obtain third ciphertext information; the collection terminal embeds the second part of the information bits in the long-term key into the third ciphertext information to obtain fourth ciphertext information; the collection terminal performs integrity protection on the third electricity usage information to obtain a second integrity protection result; wherein the securely protected third electricity usage information includes the fourth ciphertext information, the second part of the information bits, and the second integrity protection result.
[0014] Optionally, the acquisition terminal embeds the second part of the information bits in the long-term key into the third ciphertext information to obtain the fourth ciphertext information, including: the acquisition terminal determines the ⌈(N1 / M)*L⌉th bit to the Lth bit in the long-term key as the second part of the information bits according to the second preset rule; the second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively; the acquisition terminal embeds the second part of the information bits between the S2+R2th bit and the S2+R2+1th bit of the third ciphertext information according to K2mod⌈(N1 / M)*L⌉=S2 to obtain the fourth ciphertext information, where R2 is a fresh parameter R2 randomly generated by the acquisition terminal, and the fresh parameter R2 is an integer between S2 and K2, and the securely protected third power usage information also includes a fresh parameter R2; the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: the collection terminal performs integrity protection on the third power usage information to obtain a third integrity protection value MAC#3, and the collection terminal performs integrity protection on the second parameter to obtain a fourth integrity protection value MAC#4; the second parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R2, and the second part of the information bits; the second integrity protection result includes MAC#3 and MAC#4.
[0015] Optionally, the first wireless communication module is in a first DRX working mode, in which the first DRX working mode is periodically awakened, and the second moment is within the wake-up time of the first cycle of the first DRX working mode; the second wireless communication module is in a second DRX working mode, in which the second DRX working mode is periodically awakened, and the third moment is within the wake-up time of the second cycle of the second DRX working mode.
[0016] In a second aspect, a power consumption information data collection system based on broadband dual-mode communication is provided, the system includes a collection terminal, the collection terminal includes a first wireless communication module and a second wireless communication module, the system is configured as follows: the collection terminal obtains first power consumption information at a first moment from the power-consuming device; the collection terminal determines second power consumption information and third power consumption information based on the first power consumption information; wherein the second power consumption information is part of the first power consumption information, the third power consumption information is part of the first power consumption information, and the second power consumption information is the same as part of the third power consumption information; the collection terminal uses the first wireless communication module to send the second power consumption information to the receiving terminal at the second moment, and the collection terminal uses the second wireless communication module to send the third power consumption information to the receiving terminal at the third moment; wherein the second moment is different from the third moment, and the second moment and the third moment are moments after the first moment.
[0017] Optionally, the broadband used by the first wireless communication module to send the second power usage information is the first broadband, and the broadband used by the second wireless communication module to send the third power usage information is the second broadband. The frequency domain positions of the first broadband and the second broadband are the same, and the time domain positions of the first broadband and the second broadband are different.
[0018] Optionally, the first power usage information includes K1 bits, K1 is an integer greater than 3, and the collection terminal determines the second power usage information and the third power usage information based on the first power usage information, including: the collection terminal determines the 1st bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information as the second power usage information according to a first preset rule, and determines the ⌈(N2 / M)*K1⌉th bit to the Kth bit in the first power usage information as the third power usage information, and the first preset rule indicates that the information is extracted in the form of first N1 / M and last N2 / M, respectively, ⌈⌉ indicates rounding up, M is an integer greater than 1, N1 and N2 are positive integers less than M, and N2 is less than N1.
[0019] Optionally, the collection terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at the second moment, including: the collection terminal uses the long-term key to securely protect the second power usage information to obtain the securely protected second power usage information, the long-term key is a symmetric key pre-configured by the collection terminal, and the receiving terminal is pre-configured with some information bits in the long-term key; the collection terminal uses the first wireless communication module to send the securely protected second power usage information to the receiving terminal on the first broadband at the second moment; and the collection terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at the third moment, including: the collection terminal uses the long-term key to securely protect the third power usage information to obtain the securely protected third power usage information; the collection terminal uses the second wireless communication module to send the securely protected third power usage information to the receiving terminal on the second broadband at the third moment.
[0020] Optionally, the collection terminal uses a long-term key to securely protect the second electricity usage information to obtain securely protected second electricity usage information, including: the collection terminal uses the long-term key to encrypt the second electricity usage information to obtain first ciphertext information; the collection terminal embeds a first part of information bits in the long-term key into the first ciphertext information to obtain second ciphertext information; the collection terminal performs integrity protection on the second electricity usage information to obtain a first integrity protection result; wherein the securely protected second electricity usage information includes the second ciphertext information, the first part of information bits, and the first integrity protection result.
[0021] Optionally, the first ciphertext information is K2 bits, K2 is an integer greater than 3, the long-term key is L bits, L is an integer greater than 3, and the acquisition terminal embeds the first part of the information bits in the long-term key into the first ciphertext information to obtain the second ciphertext information, including: the acquisition terminal determines the 1st bit to the ⌈(N2 / M)*L⌉th bit in the long-term key as the first part of the information bits according to the second preset rule; the second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively; the acquisition terminal embeds the first part of the information bits between the S1+R1th bit and the S1+R1+1th bit of the first ciphertext information according to K2mod⌈(N2 / M)*L⌉=S1 to obtain the second ciphertext information, R1 A fresh parameter R1 is randomly generated by the collection terminal, and the fresh parameter R1 is an integer between S1 and K2. The second power usage information to be securely protected also includes the fresh parameter R1; the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection value MAC#1, and the collection terminal performs integrity protection on the first parameter to obtain a second integrity protection value MAC#2; the first parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R1, and the first part of the information bits; the first integrity protection result includes MAC#1 and MAC#2.
[0022] Optionally, the collection terminal uses a long-term key to securely protect the second electricity usage information to obtain the securely protected second electricity usage information, including: the collection terminal uses the long-term key to encrypt the third electricity usage information to obtain third ciphertext information; the collection terminal embeds the second part of the information bits in the long-term key into the third ciphertext information to obtain fourth ciphertext information; the collection terminal performs integrity protection on the third electricity usage information to obtain a second integrity protection result; wherein the securely protected third electricity usage information includes the fourth ciphertext information, the second part of the information bits, and the second integrity protection result.
[0023] Optionally, the acquisition terminal embeds the second part of the information bits in the long-term key into the third ciphertext information to obtain the fourth ciphertext information, including: the acquisition terminal determines the ⌈(N1 / M)*L⌉th bit to the Lth bit in the long-term key as the second part of the information bits according to the second preset rule; the second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively; the acquisition terminal embeds the second part of the information bits between the S2+R2th bit and the S2+R2+1th bit of the third ciphertext information according to K2mod⌈(N1 / M)*L⌉=S2 to obtain the fourth ciphertext information, where R2 is a fresh parameter R2 randomly generated by the acquisition terminal, and the fresh parameter R2 is an integer between S2 and K2, and the securely protected third power usage information also includes a fresh parameter R2; the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: the collection terminal performs integrity protection on the third power usage information to obtain a third integrity protection value MAC#3, and the collection terminal performs integrity protection on the second parameter to obtain a fourth integrity protection value MAC#4; the second parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R2, and the second part of the information bits; the second integrity protection result includes MAC#3 and MAC#4.
[0024] Optionally, the first wireless communication module is in a first DRX working mode, in which the first DRX working mode is periodically awakened, and the second moment is within the wake-up time of the first cycle of the first DRX working mode; the second wireless communication module is in a second DRX working mode, in which the second DRX working mode is periodically awakened, and the third moment is within the wake-up time of the second cycle of the second DRX working mode.
[0025] In a third aspect, an electronic device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the electronic device executes the method described in the first aspect.
[0026] In a possible design solution, the electronic device described in the third aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the electronic device described in the third aspect to communicate with other electronic devices.
[0027] In an embodiment of the present invention, the electronic device described in the third aspect may be a terminal, or a chip (system) or other parts or components that may be arranged in the terminal, or a system including the terminal.
[0028] In a fourth aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer is caused to execute the method described in the first aspect.
[0029] In summary, the above method and system have the following technical effects:
[0030] The collection terminal is configured with dual communication modules. When the collection terminal obtains the first power usage information at the first moment from the power-consuming device, the collection terminal determines the second power usage information and the third power usage information based on the first power usage information, such as the second power usage information is part of the first power usage information, the third power usage information is part of the first power usage information, and the second power usage information is part of the third power usage information. In this way, the collection terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at the second moment, and the collection terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at the third moment, which not only ensures the reliability of transmission through the same common partial information, but also avoids excessive redundancy in information transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of the architecture of a power consumption information data collection system based on broadband dual-mode communication provided by an embodiment of the present invention;
[0032] Figure 2 A schematic diagram of a flow chart of a method for collecting electricity consumption information data based on broadband dual-mode communication provided by an embodiment of the present invention;
[0033] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The technical solution of the present invention will be described below in conjunction with the accompanying drawings.
[0035] In the embodiment of the present invention, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be achieved by means of the arrangement order of each information agreed in advance (for example, specified by the protocol), thereby reducing the indication overhead to a certain extent. At the same time, the common parts of each information can also be identified and indicated uniformly to reduce the indication overhead caused by indicating the same information separately.
[0036] In addition, the specific indication method may also be various existing indication methods, such as but not limited to the above-mentioned indication methods and various combinations thereof. The specific details of the various indication methods can refer to the prior art and will not be repeated herein. As can be seen from the above, for example, when it is necessary to indicate multiple information of the same type, different indication methods may be used for different information. In the specific implementation process, the desired indication method can be selected according to specific needs. The embodiment of the present invention does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present invention should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.
[0037] It should be understood that the information to be indicated can be sent as a whole or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in the embodiment of the present invention. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the sending end device by sending configuration information to the receiving end device.
[0038] "Pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device, and the embodiments of the present invention do not limit the specific implementation method. Among them, "saving" can mean saving in one or more memories. The one or more memories can be set separately or integrated in an encoder or decoder, a processor, or an electronic device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or an electronic device. The type of memory can be any form of storage medium, which is not limited by the embodiments of the present invention.
[0039] The "protocol" involved in the embodiments of the present invention may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol applied in future systems, and the embodiments of the present invention do not specifically limit this.
[0040] In the embodiments of the present invention, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances, but do not limit the time, nor do they require the device to perform judgment actions when implementing, nor do they mean the existence of other limitations.
[0041] In the description of the embodiments of the present invention, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the embodiments of the present invention is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the embodiments of the present invention, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first" and "second" are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art will appreciate that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. At the same time, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0042] The network architecture and business scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
[0043] To facilitate understanding of the embodiments of the present invention, first Figure 1 Taking the broadband dual-mode communication-based electricity consumption information data collection system as an example, Figure 1 A schematic diagram of the architecture of a power consumption information data collection system based on broadband dual-mode communication applicable to a power consumption information data collection method based on broadband dual-mode communication provided in an embodiment of the present invention.
[0044] like Figure 1 As shown, the electricity consumption information data collection system based on broadband dual-mode communication may include: a collection terminal and a receiving terminal.
[0045] The above-mentioned terminal may be a terminal with transceiver functions, or a chip or chip system that can be set in the terminal. The terminal may also be called user equipment (UE), access terminal, subscriber unit (subscriberunit), user station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal in the embodiments of the present application can be a mobile phone, a cellular phone, a smart phone, a tablet computer, a wireless data card, a personal digital assistant (PDA), a wireless modem, a handset, a laptop computer, a machine type communication (MTC) terminal, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a vehicle-mounted terminal, a road side unit (RSU) with terminal function, etc. The terminal of the present application may also be a vehicle-mounted module, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit built into a vehicle as one or more components or units. Alternatively, the terminal may also be customer-premises equipment (CPE).
[0046] It can be understood that the acquisition terminal can be a dual-module terminal, for example, the acquisition terminal includes a first wireless communication module and a second wireless communication module.
[0047] Figure 2 A flow chart of a method provided by an embodiment of the present invention. The electricity consumption information data collection method based on broadband dual-mode communication is applicable to the above-mentioned electricity consumption information data collection system based on broadband dual-mode communication, and involves the interaction between the server and the terminal. The specific process is as follows:
[0048] S201, a collection terminal obtains first power consumption information at a first moment from an electric device.
[0049] The power-consuming device may be a cluster device, such as multiple devices in a factory or park, such as logistics equipment, production machine tool equipment, automatic production line, etc. The first power consumption information may include power consumption information of each device in the cluster device, such as the cluster identifier, the identifier of each device, and the following information corresponding to the identifier of the device: energy consumption information at the first moment, average energy consumption information, power consumption information, etc.
[0050] The collection terminal can periodically collect the electricity usage information, that is, the first moment is the timing for triggering the collection in the current cycle.
[0051] In the embodiment of the present application, there is no limitation on the way in which the collection terminal obtains / collects power consumption information from the power-consuming device, for example, it can be obtained through wireless communication or wired communication.
[0052] S202: The collection terminal determines second power usage information and third power usage information according to the first power usage information.
[0053] The second power usage information is part of the first power usage information, the third power usage information is part of the first power usage information, and part of the second power usage information is the same as the third power usage information.
[0054] For example, the first power usage information may include K1 bits, which can be understood as the first power usage information needs to be carried by the K1th bit during wireless transmission / transmission, where K1 is an integer greater than 3. The acquisition terminal can determine the first bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information as the second power usage information according to the first preset rule, and determine the ⌈(N2 / M)*K1⌉th bit to the Kth bit in the first power usage information as the third power usage information. The first preset rule can indicate that the information is extracted in the manner of the first N1 / M and the last N2 / M, respectively, where ⌈⌉ means rounding up, M is an integer greater than 1, N1 and N2 are positive integers less than M, and N2 is less than N1.
[0055] Exemplarily, assuming: K1=100, M=3, N2=1, N1=2, the first 67 bits can be determined as the second power usage information, and the last 67 bits can be determined as the third power usage information, and the 34th bit to the 67th bit are the common part of the second power usage information and the third power usage information.
[0056] S203, the collection terminal uses the first wireless communication module to send second power usage information to the receiving terminal at the second moment, and the collection terminal uses the second wireless communication module to send third power usage information to the receiving terminal at the third moment.
[0057] Among them, the second moment is different from the third moment, and the second moment and the third moment are moments after the first moment.
[0058] The first wireless communication module is in a first discontinuous reception (DRX) working mode. In the first DRX working mode, the first wireless communication module is periodically awakened, and the second moment is within the wake-up time of the first cycle of the first DRX working mode. For example, a cycle of the first DRX working mode is from 18:00 to 19:00, the wake-up time of the first wireless communication module is from 18:05 to 18:15, and the rest of the time remains in sleep mode, and the second moment may be 18:05.
[0059] Similarly, the second wireless communication module is in the second DRX working mode, in which the second wireless communication module is periodically awakened, and the third moment is within the wake-up time of the second cycle of the second DRX working mode. For example, a cycle of the second DRX working mode is from 18:30 to 19:30, the wake-up time of the first wireless communication module is from 18:35 to 18:45, and the rest of the time remains in sleep mode, and the third moment may be 18:35.
[0060] It can be understood that the benefit of this is that the transmission timings of the two modules are staggered, which is conducive to the reuse of frequency domain resources. For example, the first wireless communication module uses the first broadband to send the second power usage information, and the second wireless communication module uses the second broadband to send the third power usage information. The first broadband and the second broadband have the same frequency domain position, and the first broadband and the second broadband have different time domain positions.
[0061] It can be understood that the period of the first DRX working mode and the second DRX working mode can be pre-configured, and the specific period length and the position of the wake-up time in the period can be selected / set according to the actual situation, and the embodiment of the present application does not limit it. In addition, the frequency domain resources of the first broadband and the second broadband can be a partial bandwidth (BWP), or a complete bandwidth, or can also be multiple discrete or continuous carriers or subcarriers, without limitation.
[0062] The following specifically introduces how to send the second power usage information and the third power usage information.
[0063] For the second electricity usage information:
[0064] The collection terminal uses the long-term key to securely protect the second power usage information, and obtains the securely protected second power usage information. The long-term key is a symmetric key pre-configured by the collection terminal, and the receiving terminal is pre-configured with some information bits in the long-term key (refer to the detailed introduction below).
[0065] For example, the collection terminal may use a long-term key to encrypt the second power usage information to obtain the first ciphertext information.
[0066] The collection terminal may embed the first part of information bits in the long-term key into the first ciphertext information to obtain the second ciphertext information.
[0067] Specifically, the first ciphertext information is K2 bits, K2 is an integer greater than 3, the long-term key is L bits, L is an integer greater than 3, and the acquisition terminal can determine the first bit to the ⌈(N2 / M)*L⌉th bit in the long-term key as the first part of the information bits according to the second preset rule. The second preset rule can indicate that the information is extracted in the manner of the first N2 / M and the last N1 / M, so the acquisition terminal extracts the first N2 / M to obtain the first part of the information bits. For example, L=30 bits, and the first 10 bits are the first part of the information bits. The acquisition terminal can embed the first part of the information bits between the S1+R1th bit and the S1+R1+1th bit of the first ciphertext information according to K2mod⌈(N2 / M)*L⌉=S1 to obtain the second ciphertext information. Usually, K2 is greater than ⌈(N2 / M)*L⌉, R1 is the fresh parameter R1 randomly generated by the acquisition terminal, and the fresh parameter R1 is an integer between S1 and K2. Continuing the above example, 67mod10=S1=7. R1=27, the first part of the information bits is embedded between the 34th bit and the 35th bit of the first ciphertext information, and the second ciphertext information with a length of 77 bits is obtained. The fresh parameter R1 is used here mainly to ensure that the embedding position has pseudo-randomness to further improve security. In addition, the second power usage information that is securely protected also includes the fresh parameter R1.
[0068] The acquisition terminal may also perform integrity protection on the second power usage information to obtain a first integrity protection result. The securely protected second power usage information includes the second ciphertext information, the first part of the information bits, and the first integrity protection result. For example, the acquisition terminal performs integrity protection (such as hashing) on the second power usage information to obtain a first integrity protection value MAC#1, and the acquisition terminal performs integrity protection (such as hashing) on the first parameter to obtain a second integrity protection value MAC#2; the first parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information (i.e., the above-mentioned public part), the fresh parameter R1, and the first part of the information bits. The first integrity protection result includes MAC#1 and MAC#2.
[0069] Finally, the collection terminal can use the first wireless communication module on the first broadband at the second moment to send the second power usage information that is securely protected to the receiving terminal.
[0070] For: Third electricity usage information:
[0071] The collection terminal can use the long-term key to securely protect the third power usage information and obtain the securely protected third power usage information.
[0072] For example, the data collection terminal may also use the long-term key to encrypt the third power usage information to obtain the third ciphertext information.
[0073] The acquisition terminal may also embed the second part of the information bits in the long-term key into the third ciphertext information to obtain the fourth ciphertext information; for example, the acquisition terminal may determine the ⌈(N1 / M)*L⌉th bit to the Lth bit in the long-term key as the second part of the information bits according to the second preset rule. For example, L=30 bits, and the 0 bits before and after are the second part of the information bits. The second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively. At this time, since the acquisition has been extracted by N2 / M before, it is extracted according to N1 / M this time. The acquisition terminal embeds the second part of the information bits between the S2+R2th bit and the S2+R2+1th bit of the third ciphertext information according to K2mod⌈(N1 / M)*L⌉=S2 to obtain the fourth ciphertext information, where R2 is the fresh parameter R2 randomly generated by the acquisition terminal, and the fresh parameter R2 is an integer between S2 and K2. Continuing the above example, 67mod10=S1=7. R2=17, the second part of the information bits are embedded between the 24th and 25th bits of the third ciphertext information, and the fourth ciphertext information with a length of 77 bits is obtained. The fresh parameter R2 is used here mainly to ensure that the embedding position has pseudo-randomness to further improve security. In addition, the third power consumption information that is securely protected also contains the fresh parameter R2.
[0074] The collection terminal performs integrity protection on the third power usage information to obtain a second integrity protection result. The securely protected third power usage information includes the fourth ciphertext information, the second part of the information bits, and the second integrity protection result. For example, the collection terminal performs integrity protection on the third power usage information (such as hashing) to obtain a third integrity protection value MAC#3, and the collection terminal performs integrity protection on the second parameter (such as hashing) to obtain a fourth integrity protection value MAC#4; the second parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R2, and the second part of the information bits. The second integrity protection result includes MAC#3 and MAC#4.
[0075] Finally, the collection terminal uses the second wireless communication module on the second broadband at the third moment to send the third power usage information that is securely protected to the receiving terminal.
[0076] It can be understood that since both modules completely protect the common part respectively, the receiving terminal needs to determine whether MAC#2 and MAC#4 are consistent when performing integrity protection verification. If they are consistent, it means that the segmentation of the first power usage information is correct. Otherwise, the segmentation is wrong, and one or both of the information are not segmented according to the preset rules. In this case, the receiving terminal can instruct it to retransmit.
[0077] In addition, the receiving terminal can pre-configure the middle part of the long-term key, such as the ⌈(N2 / M)*L⌉th bit to the ⌈(N1 / M)*L⌉th bit, such as the middle 10 bits of the above 30 bits. In this case, since the receiving terminal receives the fresh parameters R1 and R2, the receiving terminal can extract the first part of the information bits from the second ciphertext information and the second part of the information bits from the fourth ciphertext information according to the second preset rule, and then splice them to obtain the long-term key, and then use it to decrypt the ciphertext, and then perform integrity verification. The first part of the information bits and the second part of the information bits are temporary information for the receiving terminal, that is, they will be released after the security protection is removed (decryption and integrity verification).
[0078] It can also be understood that since the long-term key is divided into three parts of information, two parts of the information (i.e., the first part of the information bits and the second part of the information bits) are transmitted wirelessly, and the third part of the information is pre-configured to the receiving terminal, an attacker who obtains arbitrarily one or two of the information cannot complete the decryption, thereby further improving information security.
[0079] In summary, the acquisition terminal is configured with dual communication modules. When the acquisition terminal obtains the first power usage information at the first moment from the power-consuming device, the acquisition terminal determines the second power usage information and the third power usage information based on the first power usage information, such as the second power usage information is part of the first power usage information, the third power usage information is part of the first power usage information, and the second power usage information is part of the third power usage information. In this way, the acquisition terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at the second moment, and the acquisition terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at the third moment. The reliability of transmission is guaranteed by the same common partial information, and excessive redundancy of information transmission can be avoided.
[0080] Combination of the above Figure 2 The method provided by the embodiment of the present invention is described in detail. The following is a detailed description of a power consumption information data collection system based on broadband dual-mode communication for executing the method provided by the embodiment of the present invention.
[0081] A power consumption information data collection system based on broadband dual-mode communication, the system includes a collection terminal, the collection terminal includes a first wireless communication module and a second wireless communication module, the system is configured as follows: the collection terminal obtains first power consumption information at a first moment from an electric device; the collection terminal determines second power consumption information and third power consumption information based on the first power consumption information; wherein the second power consumption information is part of the first power consumption information, the third power consumption information is part of the first power consumption information, and the second power consumption information is part of the third power consumption information; the collection terminal uses the first wireless communication module to send the second power consumption information to a receiving terminal at a second moment, and the collection terminal uses the second wireless communication module to send the third power consumption information to the receiving terminal at a third moment; wherein the second moment is different from the third moment, and the second moment and the third moment are moments after the first moment.
[0082] Optionally, the broadband used by the first wireless communication module to send the second power usage information is the first broadband, and the broadband used by the second wireless communication module to send the third power usage information is the second broadband. The frequency domain positions of the first broadband and the second broadband are the same, and the time domain positions of the first broadband and the second broadband are different.
[0083] Optionally, the first power usage information includes K1 bits, K1 is an integer greater than 3, and the collection terminal determines the second power usage information and the third power usage information based on the first power usage information, including: the collection terminal determines the 1st bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information as the second power usage information according to a first preset rule, and determines the ⌈(N2 / M)*K1⌉th bit to the Kth bit in the first power usage information as the third power usage information, and the first preset rule indicates that the information is extracted in the form of first N1 / M and last N2 / M, respectively, ⌈⌉ indicates rounding up, M is an integer greater than 1, N1 and N2 are positive integers less than M, and N2 is less than N1.
[0084] Optionally, the collection terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at the second moment, including: the collection terminal uses the long-term key to securely protect the second power usage information to obtain the securely protected second power usage information, the long-term key is a symmetric key pre-configured by the collection terminal, and the receiving terminal is pre-configured with some information bits in the long-term key; the collection terminal uses the first wireless communication module to send the securely protected second power usage information to the receiving terminal on the first broadband at the second moment; and the collection terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at the third moment, including: the collection terminal uses the long-term key to securely protect the third power usage information to obtain the securely protected third power usage information; the collection terminal uses the second wireless communication module to send the securely protected third power usage information to the receiving terminal on the second broadband at the third moment.
[0085] Optionally, the collection terminal uses a long-term key to securely protect the second electricity usage information to obtain securely protected second electricity usage information, including: the collection terminal uses the long-term key to encrypt the second electricity usage information to obtain first ciphertext information; the collection terminal embeds a first part of information bits in the long-term key into the first ciphertext information to obtain second ciphertext information; the collection terminal performs integrity protection on the second electricity usage information to obtain a first integrity protection result; wherein the securely protected second electricity usage information includes the second ciphertext information, the first part of information bits, and the first integrity protection result.
[0086] Optionally, the first ciphertext information is K2 bits, K2 is an integer greater than 3, the long-term key is L bits, L is an integer greater than 3, and the acquisition terminal embeds the first part of the information bits in the long-term key into the first ciphertext information to obtain the second ciphertext information, including: the acquisition terminal determines the 1st bit to the ⌈(N2 / M)*L⌉th bit in the long-term key as the first part of the information bits according to the second preset rule; the second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively; the acquisition terminal embeds the first part of the information bits between the S1+R1th bit and the S1+R1+1th bit of the first ciphertext information according to K2mod⌈(N2 / M)*L⌉=S1 to obtain the second ciphertext information, R1 A fresh parameter R1 is randomly generated by the collection terminal, and the fresh parameter R1 is an integer between S1 and K2. The second power usage information to be securely protected also includes the fresh parameter R1; the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection value MAC#1, and the collection terminal performs integrity protection on the first parameter to obtain a second integrity protection value MAC#2; the first parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R1, and the first part of the information bits; the first integrity protection result includes MAC#1 and MAC#2.
[0087] Optionally, the collection terminal uses a long-term key to securely protect the second electricity usage information to obtain the securely protected second electricity usage information, including: the collection terminal uses the long-term key to encrypt the third electricity usage information to obtain third ciphertext information; the collection terminal embeds the second part of the information bits in the long-term key into the third ciphertext information to obtain fourth ciphertext information; the collection terminal performs integrity protection on the third electricity usage information to obtain a second integrity protection result; wherein the securely protected third electricity usage information includes the fourth ciphertext information, the second part of the information bits, and the second integrity protection result.
[0088] Optionally, the acquisition terminal embeds the second part of the information bits in the long-term key into the third ciphertext information to obtain the fourth ciphertext information, including: the acquisition terminal determines the ⌈(N1 / M)*L⌉th bit to the Lth bit in the long-term key as the second part of the information bits according to the second preset rule; the second preset rule indicates that the information is extracted in the manner of the first N2 / M and the last N1 / M respectively; the acquisition terminal embeds the second part of the information bits between the S2+R2th bit and the S2+R2+1th bit of the third ciphertext information according to K2mod⌈(N1 / M)*L⌉=S2 to obtain the fourth ciphertext information, where R2 is a fresh parameter R2 randomly generated by the acquisition terminal, and the fresh parameter R2 is an integer between S2 and K2, and the securely protected third power usage information also includes a fresh parameter R2; the collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: the collection terminal performs integrity protection on the third power usage information to obtain a third integrity protection value MAC#3, and the collection terminal performs integrity protection on the second parameter to obtain a fourth integrity protection value MAC#4; the second parameter includes the ⌈(N2 / M)*K1⌉th bit to the ⌈(N1 / M)*K1⌉th bit in the first power usage information, the fresh parameter R2, and the second part of the information bits; the second integrity protection result includes MAC#3 and MAC#4.
[0089] Optionally, the first wireless communication module is in a first DRX working mode, in which the first DRX working mode is periodically awakened, and the second moment is within the wake-up time of the first cycle of the first DRX working mode; the second wireless communication module is in a second DRX working mode, in which the second DRX working mode is periodically awakened, and the third moment is within the wake-up time of the second cycle of the second DRX working mode.
[0090] Figure 3 The schematic diagram of the structure of the electronic device provided by the embodiment of the present invention. For example, the electronic device may be a network device, or a chip (system) or other components or assemblies that can be set in the network device. Figure 3 As shown, the electronic device 400 may include a processor 401. Optionally, the electronic device 400 may further include a memory 402 and / or a transceiver 403. The processor 401 is coupled with the memory 402 and the transceiver 403, such as being connected via a communication bus.
[0091] Combine the following Figure 3 The components of the electronic device 400 are described in detail:
[0092] The processor 401 is the control center of the electronic device 400, and may be a processor or a general term for multiple processing elements. For example, the processor 401 is one or more central processing units (CPUs), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).
[0093] Optionally, the processor 401 can execute various functions of the electronic device 400 by running or executing the software program stored in the memory 402 and calling the data stored in the memory 402, such as executing the above Figure 2 The power consumption information data collection method based on broadband dual-mode communication is shown.
[0094] In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 are shown in FIG.
[0095] In a specific implementation, as an embodiment, the electronic device 400 may also include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).
[0096] The memory 402 is used to store the software program for executing the solution of the present invention, and the execution is controlled by the processor 401. The specific implementation method can refer to the above method embodiment, which will not be repeated here.
[0097] Optionally, the memory 402 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 402 may be integrated with the processor 401, or may exist independently and access the computer through the interface circuit ( Figure 3 The processor 401 is coupled to the processor 401 (not shown), which is not specifically limited in this embodiment of the present invention.
[0098] The transceiver 403 is used for communication with other electronic devices. For example, if the electronic device 400 is a terminal, the transceiver 403 can be used to communicate with a network device, or with another terminal device. For another example, if the electronic device 400 is a network device, the transceiver 403 can be used to communicate with a terminal, or with another network device.
[0099] Optionally, the transceiver 403 may include a receiver and a transmitter ( Figure 3 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0100] Optionally, the transceiver 403 may be integrated with the processor 401, or may exist independently and communicate with the electronic device 400 through an interface circuit ( Figure 3 The processor 401 is coupled to the processor 401 (not shown), which is not specifically limited in this embodiment of the present invention.
[0101] Understandably, Figure 3 The structure of the electronic device 400 shown in the figure does not constitute a limitation on the electronic device, and the actual electronic device may include more or fewer components than those shown in the figure, or combine certain components, or arrange the components differently.
[0102] In addition, the technical effects of the electronic device 400 can refer to the technical effects of the methods described in the above method embodiments, which will not be repeated here.
[0103] It should be understood that the processor in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0104] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0105] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0106] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0107] In the present invention, "at least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0108] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0109] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0110] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0111] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0114] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0115] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for collecting electricity consumption information data based on broadband dual-mode communication, characterized in that: Applied to a collection terminal, the collection terminal includes a first wireless communication module and a second wireless communication module, and the method includes: The collection terminal acquires first power consumption information at a first moment from the power-consuming device; The collection terminal determines second power usage information and third power usage information according to the first power usage information; wherein the second power usage information is part of the first power usage information, the third power usage information is part of the first power usage information, and the second power usage information is partially the same as the third power usage information; The acquisition terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at a second moment, and the acquisition terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at a third moment; wherein the second moment is different from the third moment, and the second moment and the third moment are moments after the first moment; The first wireless communication module sends the second power usage information using a first broadband, the second wireless communication module sends the third power usage information using a second broadband, the first broadband and the second broadband have the same frequency domain position, and the first broadband and the second broadband have different time domain positions; The first power usage information includes K1 bits, where K1 is an integer greater than 3. The acquisition terminal determines the second power usage information and the third power usage information according to the first power usage information, including: The acquisition terminal receives bits 1 to 2 in the first power usage information according to a first preset rule. bits, determine them as the second power usage information, and bits to the K1th bit are determined as the third power usage information, and the first preset rule indicates that the information is extracted in the manner of the first N1 / M and the last N2 / M, respectively. It means rounding up, M is an integer greater than 1, N1 and N2 are positive integers less than M, and N2 is less than N1.
2. The method according to claim 1, characterized in that The collecting terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at the second moment, including: The collection terminal uses a long-term key to securely protect the second power usage information to obtain the securely protected second power usage information, wherein the long-term key is a symmetric key preconfigured by the collection terminal, and the receiving terminal is preconfigured with some information bits in the long-term key; The collection terminal uses the first wireless communication module at the second moment to send the second power usage information that is securely protected to the receiving terminal on the first broadband; And, the collection terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at a third moment, including: The collection terminal uses the long-term key to securely protect the third power usage information to obtain the securely protected third power usage information; The collection terminal uses the second wireless communication module on the second broadband at a third moment to send the securely protected third electricity usage information to the receiving terminal.
3. The method according to claim 2, characterized in that The acquisition terminal uses a long-term key to securely protect the second power usage information to obtain the securely protected second power usage information, including: The collection terminal encrypts the second power usage information using the long-term key to obtain first ciphertext information; The acquisition terminal embeds the first part of information bits in the long-term key into the first ciphertext information to obtain second ciphertext information; The collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result; The securely protected second electricity usage information includes the second ciphertext information, the first partial information bits, and the first integrity protection result.
4. The method according to claim 3, characterized in that The first ciphertext information is K2 bits, K2 is an integer greater than 3, the long-term key is L bits, L is an integer greater than 3, and the acquisition terminal embeds the first part of the information bits in the long-term key into the first ciphertext information to obtain the second ciphertext information, including: The acquisition terminal converts bits 1 to 2 in the long-term key according to a second preset rule. bits are determined as the first part of information bits; The acquisition terminal is based on The first part of information bits is embedded between the S1+R1th bit and the S1+R1+1th bit of the first ciphertext information to obtain the second ciphertext information, where R1 is a fresh parameter R1 randomly generated by the acquisition terminal, the fresh parameter R1 is an integer between S1 and K2, and the second power usage information to be securely protected also includes the fresh parameter R1; The collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: The acquisition terminal performs integrity protection on the second power usage information to obtain a first integrity protection value MAC#1, and the acquisition terminal performs integrity protection on the first parameter to obtain a second integrity protection value MAC#2; the first parameter includes the first parameter in the first power usage information bits to bits, the fresh parameter R1, and the first part of information bits; The first integrity protection result includes the MAC#1 and the MAC#2.
5. The method according to claim 2, characterized in that: The acquisition terminal uses a long-term key to securely protect the second power usage information to obtain the securely protected second power usage information, including: The collection terminal encrypts the third power usage information using the long-term key to obtain third ciphertext information; The acquisition terminal embeds the second part of information bits in the long-term key into the third ciphertext information to obtain fourth ciphertext information; The collection terminal performs integrity protection on the third power usage information to obtain a second integrity protection result; The securely protected third electricity usage information includes the fourth ciphertext information, the second partial information bits, and the second integrity protection result.
6. The method according to claim 5, characterized in that The acquisition terminal embeds the second part of information bits in the long-term key into the third ciphertext information to obtain fourth ciphertext information, including: The acquisition terminal converts the first The bits from the first bit to the Lth bit are determined as the second part of information bits; The acquisition terminal is based on The second part of information bits are embedded between the S2+R2th bit and the S2+R2+1th bit of the third ciphertext information to obtain the fourth ciphertext information, where R2 is a fresh parameter R2 randomly generated by the acquisition terminal, the fresh parameter R2 is an integer between S2 and K2, and the securely protected third power usage information also includes the fresh parameter R2; The collection terminal performs integrity protection on the second power usage information to obtain a first integrity protection result, including: The acquisition terminal performs integrity protection on the third power usage information to obtain a third integrity protection value MAC#3, and the acquisition terminal performs integrity protection on the second parameter to obtain a fourth integrity protection value MAC#4; the second parameter includes the first power usage information bits to bits, the fresh parameter R2, and the second part of information bits; The second integrity protection result includes the MAC#3 and the MAC#4.
7. The method according to claim 1, characterized in that The first wireless communication module is in a first DRX working mode, in which the first DRX working mode, the first wireless communication module is periodically awakened, and the second moment is within the wake-up time of the first cycle of the first DRX working mode. The second wireless communication module is in a second DRX working mode, in which the second DRX working mode, the second wireless communication module is periodically awakened, and the third moment is within the wake-up time of the second cycle of the second DRX working mode.
8. A power consumption information data collection system based on broadband dual-mode communication, characterized in that: The system includes a collection terminal, the collection terminal includes a first wireless communication module and a second wireless communication module, and the system is configured as follows: The collection terminal acquires first power consumption information at a first moment from the power-consuming device; The collection terminal determines second power usage information and third power usage information according to the first power usage information; wherein the second power usage information is part of the first power usage information, the third power usage information is part of the first power usage information, and the second power usage information is partially the same as the third power usage information; The acquisition terminal uses the first wireless communication module to send the second power usage information to the receiving terminal at a second moment, and the acquisition terminal uses the second wireless communication module to send the third power usage information to the receiving terminal at a third moment; wherein the second moment is different from the third moment, and the second moment and the third moment are moments after the first moment; The first wireless communication module sends the second power usage information using a first broadband, the second wireless communication module sends the third power usage information using a second broadband, the first broadband and the second broadband have the same frequency domain position, and the first broadband and the second broadband have different time domain positions; The first power usage information includes K1 bits, where K1 is an integer greater than 3. The acquisition terminal determines the second power usage information and the third power usage information according to the first power usage information, including: The acquisition terminal receives bits 1 to 2 in the first power usage information according to a first preset rule. bits, determine them as the second power usage information, and bits to the K1th bit are determined as the third power usage information, and the first preset rule indicates that the information is extracted in the manner of the first N1 / M and the last N2 / M, respectively. It means rounding up, M is an integer greater than 1, N1 and N2 are positive integers less than M, and N2 is less than N1.
