Data communication method and device of user display unit and electronic equipment
The target electricity meter is used to determine the data to be displayed and generate truth table information. The data-truth value mapping database and weight sorting are used to solve the problem of display data fixity in the traditional data transmission mode, realize the flexible display of the electricity meter and the user display unit, and improve user satisfaction.
Patent Information
- Application Number
- CN202510738812.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-04
- Publication Date
- 2025-10-10
AI Technical Summary
In the traditional data transmission mode between the electric energy meter and the user display unit, when the newly added display data is not within the preset data structure format, the user display unit cannot display it, resulting in reduced user satisfaction.
The target electric energy meter determines the data to be displayed based on the target display instruction, generates truth table information using the data-truth value mapping database, and displays it in the user display unit through weight sorting.
It realizes the ability to arbitrarily expand display types and display different information on different electricity meters, thus improving user satisfaction.
Smart Images

Figure CN120761701A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of data communication and display technology, and in particular, to a data communication method, device, and electronic device for a user display unit. Background Art
[0002] In the traditional data transmission mode between the electric energy meter and the user display unit, the electric energy meter generally packages a set of data in a predetermined format, such as in the form of a structure, including data such as electricity and power. The data is encoded and sent to the user display unit. The user display unit needs to extract data from the data packet, perform parsing operations, and convert it into true value information on the display screen according to the pre-agreed format, and finally present the corresponding content on the display screen. However, when using the traditional data transmission mode, if there is new display data and the data is not within the preset data structure format, the user display unit will not be able to display it, making it impossible to add display content to the same electric energy meter, or different electric energy meters cannot display different information, which reduces user satisfaction. Summary of the Invention
[0003] The embodiments of this specification provide a data communication method, device, and electronic device for a user display unit, and the technical solutions thereof are as follows: In a first aspect, an embodiment of this specification provides a data communication method for a user display unit, the method comprising: The target electric energy meter determines at least one data to be displayed in the electric energy meter data based on the target display instruction; The target electric energy meter determines the truth table information corresponding to each of the to-be-displayed data based on the data-truth value mapping database, and sends each of the truth table information to the user display unit, wherein the truth table information is used to represent the on / off state corresponding to each LCD in the user display unit; The user display unit displays each piece of truth table information in sequence according to the weight ranking corresponding to each piece of truth table information.
[0004] In a second aspect, a data communication device for a user display unit is provided, the device comprising: A determination module, configured for the target electric energy meter to determine at least one data to be displayed in the electric energy meter data based on the target display instruction; a mapping module, configured to determine, by the target electric energy meter, truth table information corresponding to each of the to-be-displayed data based on a data-truth value mapping database, and to send each of the truth table information to a user display unit, wherein the truth table information is used to represent the on / off state corresponding to each LCD in the user display unit; The display module is used for the user display unit to display each piece of truth table information in sequence according to the weight ranking corresponding to each piece of truth table information.
[0005] In a third aspect, an electronic device is provided, including a device processor and a memory; The device processor is connected to the memory; The memory is used to store executable program code; The device processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.
[0006] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions. When the instructions are executed on a computer or device processor, the computer or device processor executes the method provided in the first aspect or any possible implementation of the first aspect.
[0007] The beneficial effects of the technical solutions provided by some embodiments of this specification include at least: In one or more embodiments of the present specification, the target electric energy meter first determines each data to be displayed in the electric energy meter data based on the target display instruction, then determines the truth table information corresponding to each data to be displayed based on the data-truth value mapping database, and sends each truth table information to the user display unit. Finally, the user display unit displays the data in sequence according to the weight corresponding to each truth table information. Through the above steps, the process of determining each data to be displayed based on the real-time display instruction and mapping the truth table information of each data to be displayed is set in the electric energy meter, and only the truth table information is displayed in the user display unit. This avoids the disadvantage of the fixed data transmission structure in the traditional data transmission mode, meets the requirements of arbitrarily expanding the display types and displaying different information for different electric energy meters, and can still match the display when the user display unit is updated, thereby improving user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0009] Figure 1 A flowchart of a data communication method for a user display unit provided in an embodiment of this specification; Figure 2 A schematic structural diagram of a data communication device for a user display unit provided in an embodiment of this specification; Figure 3A structural schematic diagram of an electronic device provided in an embodiment of the present specification is shown. DETAILED DESCRIPTION
[0010] The technical solutions in the embodiments of the present application will be described clearly and completely in the present specification with reference to the drawings in the embodiments of the present application.
[0011] The terms "first", "second", "third", etc. in the specification and claims of the present specification and the above drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but can optionally include steps or units not listed, or can optionally include other steps or units inherent to the process, method, product or device.
[0012] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes can be made to the functions and arrangements of the described elements without departing from the scope of the present specification. Various examples can appropriately omit, replace or add various processes or components. For example, the described methods can be performed in a different order from the described order, and various steps can be added, omitted or combined. In addition, features described with respect to some examples can be combined into other examples.
[0013] Please refer to Figure 1 , Figure 1 A whole flowchart of a data communication method of a user display unit provided in an embodiment of the present specification is shown.
[0014] As Figure 1 shown, the data communication method of the user display unit can at least include the following steps: Step 101, the target electric energy meter determines at least one to-be-displayed data in the electric energy meter data based on the target display instruction.
[0015] In the embodiments of the present specification, the data communication method of the user display unit is applied to a data communication system of the user display unit, which can include one electric energy meter and one user display unit. The electric energy meter is used to collect various electric energy meter data, which can include real-time power, voltage, power demand, used power, power factor and other data. The user display unit is used to receive data information sent by the electric energy meter and display data. The electric energy meter and the user display unit are connected wirelessly or by wire through a communication link. Optionally, due to actual installation and setting requirements, the electric energy meter and the user display unit are generally physically separated, and the electric energy meter is protected by an external installation box to prevent the collected data from being tampered with maliciously.
[0016] Further, the actual installed electric energy meter can include multiple different kinds, and different time use stages or use environments have different corresponding display requirements. Therefore, after a target electric energy meter is fixed for data communication with a user display unit, the display instructions received by the target electric energy meter will also change. Moreover, not all of the electric energy meter data collected by the target electric energy meter needs to be transmitted to the user display unit, and only the corresponding to-be-displayed data according to the actual display requirement needs to be communicated and transmitted subsequently. Further, after the target electric energy meter receives a target display instruction issued by a target user in a wired or wireless form, the target display instruction is subjected to semantic analysis or instruction query, and each to-be-displayed data in the electric energy meter data that needs to be displayed can be determined.
[0017] In an implementable manner, the target electric energy meter determines at least one to-be-displayed data in the electric energy meter data based on the target display instruction, including: The target electric energy meter receives the target display instruction and determines at least one data kind corresponding to the target display instruction based on semantic analysis; According to each data kind, at least one to-be-displayed data in the electric energy meter data is determined.
[0018] In the embodiments of the present specification, the target electric energy meter can continuously receive a target display instruction issued by a target user in a wired or wireless form and perform cache covering. When no new target display instruction is received, the previously cached target display instruction can be called. Optionally, when the target display instruction is a requirement sentence, as an example, the previous stage display instruction is “real-time power and real-time power”, the current stage target display instruction is “real-time power, real-time power and real-time voltage”, and then the requirement sentence is input into the trained semantic analysis model through semantic analysis to obtain each data kind corresponding to the target display instruction, that is, “power”, “power” and “voltage”. Further, according to the determined each data kind, each to-be-displayed data is determined in the entire electric energy meter data, for example, “real-time power 100 kWh”, “real-time power 25 kW” and “real-time voltage 10 V”.
[0019] The semantic analysis model can be trained through a large number of sentence training sets. During model training, the requirement sentence in the sentence training set is determined as input, and the corresponding data kind is determined as output. Using the trained semantic analysis model, only the requirement sentence is input into the model as input, and each data kind corresponding to the requirement sentence can be obtained.
[0020] Step 102: The target electric energy meter determines truth table information corresponding to each of the to-be-displayed data based on a data-truth value mapping database, and sends each of the truth table information to a user display unit.
[0021] The truth table information is used to represent the on / off status corresponding to each LCD in the user display unit.
[0022] In the embodiments of this specification, to facilitate subsequent LCD display of the user display unit after receiving the information data transmitted by the target electric energy meter without the need for conventional model data extraction and decompression, the target electric energy meter can first convert the determined data to be displayed into corresponding truth table information. Specifically, the truth table information is used to represent the corresponding on and off states of each LCD in the user display unit. That is, after receiving the truth table information, the user display unit can directly display the required display data.
[0023] A pre-configured data-to-truth mapping database is used to convert the determined data to be displayed in the target electricity meter into corresponding truth table information. In the seven-segment LCD display in the user display unit, each digit is controlled by the on / off state of the seven segments (ag). The data-to-truth mapping database is constructed by converting the on / off states of each segment into binary code. Therefore, by querying the established data-to-truth mapping database for each data to be displayed, the corresponding truth table information can be obtained. Finally, the target electricity meter transmits the determined truth table information to the user display unit.
[0024] Each data to be displayed corresponds to a string of truth table data, and each data to be displayed includes data type and data size. As an example, the data type can be represented by a four-digit number, and the data size can be represented by an eight-digit number. For example, the data to be displayed is "real-time power 100kWh", where the preset serial number of "real-time power" can be set to 0001, and its corresponding binary code is 1111110 1111110 1111110 0110000, and the binary code corresponding to "100" in "100kWh" is 0000000000000000000000000000000000000000110000 1111110 1111110, so the complete binary code corresponding to the data to be displayed "real-time power 100kWh" is 1111110 1111110 1111110011000000000000000000000000000000000000000000000110000 1111110 1111110.
[0025] In one possible implementation manner, the target electric energy meter determines the truth table information corresponding to each of the to-be-displayed data based on a data-truth value mapping database, including: The target electric energy meter determines a target data-true value mapping database corresponding to the target electric energy meter based on the type of the electric energy meter; The target data-truth value mapping database is queried to determine the truth table information corresponding to each of the data to be displayed.
[0026] In the embodiments of this specification, different types of electric energy meters have different corresponding data-truth value mapping databases due to the different electric energy meter data and application scenarios they collect. Specifically, the two different types of electric energy meters used for enterprises and household users do not have the same order of magnitude for the corresponding data in terms of the real-time power collected. Therefore, different units of magnitude need to be used for conversion, resulting in their respective corresponding data-truth value mapping databases. Therefore, the type of electric energy meter of the target electric energy meter can be determined first, and then the target data-truth value mapping database corresponding to the target electric energy meter under the query conditions of the electric energy meter type can be determined. Furthermore, by querying each data to be displayed in the determined target data-truth value mapping database, the truth table information corresponding to each data to be displayed can be obtained.
[0027] Step 103: The user display unit displays each piece of truth table information in sequence according to the weight ranking corresponding to each piece of truth table information.
[0028] In the embodiment of this specification, since the display interface corresponding to the user display unit can only display one type of truth table information at a time, the user display unit needs to first weight all the truth table information after receiving the truth table information sent by the target electric energy meter, and then display them in sequence according to the weight sorting. Among them, the weight sorting corresponding to each truth table information can be determined by the order in which each truth table information is received in the user display unit, that is, the target electric energy meter determines the corresponding sending order as the weighted order when sending, or the weight sorting can be determined by the header information corresponding to each truth value information.
[0029] In one possible implementation, after sending each truth table information to a user display unit, the method further includes: The user display unit verifies each of the truth table information to obtain a verification completeness corresponding to each of the truth table information; An active retransmission request is generated based on the check integrity.
[0030] In the embodiments of the present application, in order to ensure the integrity of each truth table information in the transmission process, the CRC check mechanism can be used to detect the bit flip, packet loss and other data errors that may occur in the transmission process, so as to avoid display abnormalities or system misjudgment caused by error data. Therefore, the target electric energy meter can also use the CRC-16 check code to append to the tail of each truth table information after generating each truth table information. After the target electric energy meter sends each truth table information to the user display unit through the communication link, the user display unit checks each truth table information. For example, a certain truth table data is 10110011, the CRC-16 check code is 0xA1B2, and the complete data packet is 10110011 A1B2. Then, the user display unit recalculates the check value of the received truth table content, and if the check codes are completely matched (such as the CRC check values are the same), the integrity is 100%; if there is a difference, the check integrity is quantified according to the number of error bits. As an example, 2-bit error (total data length 16 bits) is detected, and the corresponding check integrity = (16-2) / 16 x 100% = 87.5%. Further, whether to send an active retransmission request to the target electric energy meter is determined according to the value of the determined check integrity.
[0031] In an implementation manner, the active retransmission request is generated based on the check integrity, and includes: comparing the check integrity with a preset integrity threshold to obtain a comparison result; when the comparison result represents that the check integrity is not greater than the integrity threshold, generating an active retransmission request and sending it to the target electric energy meter; when the comparison result represents that the check integrity is greater than the integrity threshold, maintaining a continuous check state.
[0032] In the embodiments of the present application, whether to send an active retransmission request to the target electric energy meter according to the value of the check integrity, the preset integrity threshold can be determined according to the application scenario. Assuming that the preset integrity threshold of a certain application scenario is 95%, then the determined check integrity is compared with the preset integrity threshold to obtain a comparison result. Specifically, if the comparison result represents that the check integrity is not greater than the integrity threshold, that is, the check integrity ≤ 95%, the retransmission mechanism is triggered, an active retransmission request is generated and sent to the target electric energy meter. If the comparison result represents that the check integrity is greater than the integrity threshold, that is, the check integrity > 95%, no active retransmission request is generated, and a continuous check state is maintained.
[0033] In an implementation manner, the user display unit displays each truth table information in sequence according to the weight order corresponding to each truth table information, and includes: The user display unit extracts each piece of the truth table information by slices, and determines the header slice information corresponding to each piece of the truth table information; The weight ranking corresponding to each piece of truth table information is determined based on the serial number value corresponding to each piece of header information, and the truth table information is displayed in sequence according to the weight ranking.
[0034] In an embodiment of the present specification, after the user display unit receives each truth table information, each truth table information is segmented and extracted to determine the header information corresponding to each truth table information. Specifically, each data to be displayed corresponds to a string of truth table data, and each data to be displayed includes data type and data size. As an example, the data type can be represented by a four-digit number, and the data size can be represented by an eight-digit number. That is, the header information corresponding to each truth table information is extracted as a binary code used to represent the first four digits in the complete binary code. Next, the serial number value corresponding to each header information is determined, and the weight ranking corresponding to each truth table information is determined according to the serial number value. Specifically, the header information of "real-time power" is 1111110 1111110 1111110 0110000, which corresponds to the determined serial number value 1. The header information of "real-time voltage" is , which corresponds to the determined serial number value 2. The corresponding weight order is "1 real-time power", "2 real-time voltage", and finally, according to the weight sorting, "real-time power XX kwh" is displayed first, and then "real-time voltage XX V" is displayed.
[0035] In one embodiment, the method further comprises: When the version status of the user display unit changes, determining a matching rule between a new user display unit version and an old user display unit version; Matching information corresponding to the truth table information is determined based on the matching rule, and weight rankings corresponding to the matching information are sorted and displayed according to the user display unit.
[0036] In the embodiments of this specification, after a user display unit's data communication system has been used for a period of time, the user display unit may need to undergo a hardware version update. This will cause the LCD display characteristics corresponding to the new user display unit version to change, making it impossible to directly display the information correctly according to the previous truth table information. Therefore, when the user display unit version status changes, a matching rule is required between the new user display unit version and the old user display unit version, based on a mapping transformation formula between the new LCD display characteristics and the old LCD display characteristics. Next, the truth table information is transformed according to the matching rule to obtain the corresponding matching information. Finally, the weighted ranking corresponding to the matching information is similarly ranked and displayed using the updated user display unit.
[0037] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0038] See next Figure 2 , Figure 2 FIG1 shows a schematic diagram of a data communication device for a user display unit provided in an embodiment of this specification. It should be noted that: Figure 2 The data communication device of the user display unit shown is used to execute the present application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.
[0039] like Figure 2 As shown, the data communication device of the user display unit may include at least: A determination module 201 is configured to determine, by a target electric energy meter, at least one data to be displayed in the electric energy meter data based on a target display instruction; A mapping module 202 is configured to determine, by the target electric energy meter, truth table information corresponding to each of the to-be-displayed data based on a data-truth value mapping database, and to send each of the truth table information to a user display unit, wherein the truth table information is used to represent the on / off state corresponding to each LCD in the user display unit; The display module 203 is configured to display the truth table information in sequence according to the weight ranking corresponding to each truth table information on the user display unit.
[0040] In one embodiment, the determining module 201 is specifically configured to: The target electric energy meter receives the target display instruction and determines at least one data type corresponding to the target display instruction based on a semantic analysis method; At least one data to be displayed in the electric energy meter data is determined according to each of the data types.
[0041] In one embodiment, the mapping module 202 is specifically configured to: The target electric energy meter determines a target data-true value mapping database corresponding to the target electric energy meter based on the type of the electric energy meter; The target data-truth value mapping database is queried to determine the truth table information corresponding to each of the data to be displayed.
[0042] In an implementation, the display module 203 is specifically configured to: The user display unit checks each of the truth table information to obtain a check integrity corresponding to each of the truth table information. An active retransmission request is generated based on the check integrity.
[0043] In an implementation, the display module 203 is specifically configured to: The check integrity is compared with a preset integrity threshold to obtain a comparison result. When the comparison result indicates that the check integrity is not greater than the integrity threshold, an active retransmission request is generated and sent to the target electric energy meter. When the comparison result indicates that the check integrity is greater than the integrity threshold, a continuous checking state is maintained.
[0044] In an implementation, the display module 203 is specifically configured to: The user display unit extracts each of the truth table information in fragments to determine header information corresponding to each of the truth table information. A weight order corresponding to each of the truth table information is determined based on a serial number value corresponding to each of the header information, and each of the truth table information is sequentially displayed according to the weight order.
[0045] In an implementation, the display module 203 is specifically configured to: When a version state of the user display unit changes, a matching rule between a new user display unit version and an old user display unit version is determined. Matching information corresponding to the truth table information is determined based on the matching rule, and the matching information is sequentially displayed according to a weight order corresponding to the matching information by the user display unit.
[0046] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented by means of software and / or hardware. The "unit" and "module" in the specification refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, and the hardware may, for example, be a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), etc.
[0047] Each processing unit and / or module of the embodiments of the present application can be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or can be implemented by software that executes the functions described in the embodiments of the present application.
[0048] Next, please refer to Figure 3 , Figure 3 A structural schematic diagram of an electronic device is shown.
[0049] As Figure 3 shown, the electronic device 300 can include at least one device processor 301, at least one network interface 303, a user interface 303, a memory 305, and at least one communication bus 302.
[0050] The communication bus 302 can be used to realize the connection and communication of the above-mentioned components.
[0051] The user interface 303 can include a key, and the optional user interface can also include a standard wired interface, a wireless interface.
[0052] The network interface 304 can include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.
[0053] The device processor 301 can include one or more processing cores. The device processor 301 connects various parts in the entire electronic device 300 through various interfaces and lines, executes various functions of the electronic device 300 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the device processor 301 can be implemented in at least one of the hardware forms of DSP, FPGA, and PLA. The device processor 301 can integrate one or a combination of CPU, GPU, and modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application program, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the device processor 301, but be realized by a separate chip.
[0054] The memory 305 can include RAM and can also include ROM. Optionally, the memory 305 includes a non-transitory computer readable medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 305 can also be at least one storage device located away from the above-mentioned device processor 301. Figure 3As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0055] Specifically, the device processor 301 may be configured to call a data communication application of the user display unit stored in the memory 305 and perform the following operations: The target electric energy meter determines at least one data to be displayed in the electric energy meter data based on the target display instruction; The target electric energy meter determines the truth table information corresponding to each of the to-be-displayed data based on the data-truth value mapping database, and sends each of the truth table information to the user display unit, wherein the truth table information is used to represent the on / off state corresponding to each LCD in the user display unit; The user display unit displays each piece of truth table information in sequence according to the weight ranking corresponding to each piece of truth table information.
[0056] As an optional embodiment of this specification, the target electric energy meter determines at least one data to be displayed in the electric energy meter data based on the target display instruction, including: The target electric energy meter receives the target display instruction and determines at least one data type corresponding to the target display instruction based on a semantic analysis method; At least one data to be displayed in the electric energy meter data is determined according to each of the data types.
[0057] As an optional embodiment of this specification, the target electric energy meter determines the truth table information corresponding to each of the to-be-displayed data based on a data-truth value mapping database, including: The target electric energy meter determines a target data-true value mapping database corresponding to the target electric energy meter based on the type of the electric energy meter; The target data-truth value mapping database is queried to determine the truth table information corresponding to each of the data to be displayed.
[0058] As an optional embodiment of this specification, after sending the truth table information to the user display unit, the method further includes: The user display unit verifies each of the truth table information to obtain a verification completeness corresponding to each of the truth table information; An active retransmission request is generated based on the check integrity.
[0059] As an optional embodiment of this specification, the generating an active retransmission request based on the verification integrity includes: Comparing the verification integrity with a preset integrity threshold to obtain a comparison result; When the comparison result indicates that the verification integrity is not greater than the integrity threshold, generating an active retransmission request and sending it to the target electric energy meter; When the comparison result indicates that the verification completeness is greater than the completeness threshold, the verification state is maintained.
[0060] As an optional embodiment of this specification, the user display unit sequentially displays each piece of truth table information according to the weight ranking corresponding to each piece of truth table information, including: The user display unit extracts each piece of the truth table information by slices, and determines the header slice information corresponding to each piece of the truth table information; The weight ranking corresponding to each piece of truth table information is determined based on the serial number value corresponding to each piece of header information, and the truth table information is displayed in sequence according to the weight ranking.
[0061] As an option in the embodiment of this specification, the method further includes: When the version status of the user display unit changes, determining a matching rule between a new user display unit version and an old user display unit version; Matching information corresponding to the truth table information is determined based on the matching rule, and weight rankings corresponding to the matching information are sorted and displayed according to the user display unit.
[0062] The embodiments of this specification also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a microdrive, a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic or optical card, a nanosystem (including a molecular memory IC), or any other type of medium or device suitable for storing instructions and / or data.
[0063] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0064] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0065] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, 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 service interface, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0066] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0067] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0068] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, etc., various media that can store program code.
[0069] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0070] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A data communication method for a user display unit, characterized in that: The method comprises: The target electric energy meter determines at least one data to be displayed in the electric energy meter data based on the target display instruction; The target electric energy meter determines the truth table information corresponding to each of the to-be-displayed data based on the data-truth value mapping database, and sends each of the truth table information to the user display unit, wherein the truth table information is used to represent the on / off state corresponding to each LCD in the user display unit; The user display unit displays each piece of truth table information in sequence according to the weight ranking corresponding to each piece of truth table information.
2. The method according to claim 1, characterized in that The target electric energy meter determines at least one data to be displayed in the electric energy meter data based on the target display instruction, including: The target electric energy meter receives the target display instruction and determines at least one data type corresponding to the target display instruction based on a semantic analysis method; At least one data to be displayed in the electric energy meter data is determined according to each of the data types.
3. The method according to claim 1, characterized in that The target electric energy meter determines the truth table information corresponding to each of the to-be-displayed data based on the data-truth value mapping database, including: The target electric energy meter determines a target data-true value mapping database corresponding to the target electric energy meter based on the type of the electric energy meter; The target data-truth value mapping database is queried to determine the truth table information corresponding to each of the data to be displayed.
4. The method according to claim 1, wherein After sending the truth table information to the user display unit, the method further includes: The user display unit verifies each of the truth table information to obtain a verification completeness corresponding to each of the truth table information; An active retransmission request is generated based on the check integrity.
5. The method according to claim 4, characterized in that Generating an active retransmission request based on the verification integrity includes: Comparing the verification integrity with a preset integrity threshold to obtain a comparison result; When the comparison result indicates that the verification integrity is not greater than the integrity threshold, generating an active retransmission request and sending it to the target electric energy meter; When the comparison result indicates that the verification completeness is greater than the completeness threshold, the verification state is maintained.
6. The method according to claim 1, characterized in that The user display unit sequentially displays each piece of truth table information according to the weight ranking corresponding to each piece of truth table information, including: The user display unit extracts each piece of the truth table information by slices, and determines the header slice information corresponding to each piece of the truth table information; The weight ranking corresponding to each piece of truth table information is determined based on the serial number value corresponding to each piece of header information, and the truth table information is displayed in sequence according to the weight ranking.
7. The method according to claim 1, characterized in that The method further comprises: When the version status of the user display unit changes, determining a matching rule between a new user display unit version and an old user display unit version; Matching information corresponding to the truth table information is determined based on the matching rule, and weight rankings corresponding to the matching information are sorted and displayed according to the user display unit.
8. A data communication device for a user display unit, characterized in that: The device comprises: A determination module, configured for the target electric energy meter to determine at least one data to be displayed in the electric energy meter data based on the target display instruction; a mapping module, configured to determine, by the target electric energy meter, truth table information corresponding to each of the to-be-displayed data based on a data-truth value mapping database, and to send each of the truth table information to a user display unit, wherein the truth table information is used to represent the on / off state corresponding to each LCD in the user display unit; The display module is used for the user display unit to display each piece of truth table information in sequence according to the weight ranking corresponding to each piece of truth table information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a processor, cause the computer or processor to execute the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data display method for handheld device with segmented LCD screen
CN111666058A
Method for controlling LED display based on display control device and display control device
CN115311991A
Information synchronization method between electric energy meter and user interface unit
CN119248329A
Motion pixel distortion reduction for digital display devices using dynamic programming coding
CN1239374A