A menu option display method and apparatus for a smart meter

The display item code is determined by the keyword set entered by the user, and a request is generated and sent to the smart meter. This solves the problem that the adjustment of the smart meter menu display items requires secondary development, realizes personalized display and saves costs.

CN119201308BActive Publication Date: 2025-10-14NINGBO HENGLIDA TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411120555.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2025-10-14
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

Adjusting the menu display items of existing smart meters requires secondary development, resulting in increased manpower and material costs.

Method used

The display item code is determined by the keyword set entered by the user, and a request is generated and sent to the smart meter to realize the personalized display of the menu and avoid program changes.

Benefits of technology

It realizes personalized adjustment of smart meter menu options, saving manpower and material costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201308B_ABST
    Figure CN119201308B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of screen display, and discloses a menu option display method and device for a smart electric meter, which comprises the following steps: based on a first keyword set input by a user, determining a number identification code and a first display item code; generating a first request based on the number identification code and the first display item code and sending the first request to the smart electric meter; when a second keyword set input by the user is received, determining a second display item code based on the second keyword set; and generating a second request based on the second display item code and a preset instruction code and sending the second request to the smart electric meter. The display item code is determined based on the keyword set input by the user, and then a request is generated, so that the request is sent to the smart electric meter to make the displayed menu options consistent with the user's expectation, the adjustment of the menu options displayed by the smart electric meter is realized, the personalized demand of the user for the menu options is met, and a large amount of manpower and material resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of screen display technology, and in particular to a method and device for displaying menu options for a smart meter. Background Art

[0002] With the advancement of science and technology and the increasing popularity of electronic devices, screen display technology has been widely adopted in various electronic devices. It displays various data within the device on the screen to achieve human-computer interaction. However, in the application of screen display technology, the ability to display personalized data content based on user needs is essential. In the actual application of smart meters, the display content mainly includes displaying data such as voltage, current, and energy. To meet the demand for personalized display content in smart meters, existing solutions mainly rely on developers to modify program settings to display different display items, and then switch between different display items through key toggle or touch swipe.

[0003] However, in the existing solution, since the number and order of display items cannot be changed after the program is burned, if the display items need to be adjusted to meet the user's personalized needs, the program of the smart meter needs to be changed, and then secondary development is needed to adjust the display items, which increases manpower and material costs. Summary of the Invention

[0004] To address the aforementioned issue of increased manpower and material costs due to secondary development, the present invention provides a method and device for displaying menu options for a smart meter. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a method for displaying menu options for a smart meter, comprising:

[0006] Based on a first keyword set input by a user, determining a quantity identification code corresponding to the quantity of the first keywords and a first display item code; wherein the first keyword set includes at least one first keyword;

[0007] generating a first request based on the number identification code and the first display item code, and sending the first request to the smart meter so that the smart meter displays a first-level menu corresponding to the first keyword set;

[0008] When receiving a second keyword set input by a user, determining a second display item code based on the second keyword set; wherein the second keyword set includes at least one second keyword;

[0009] A second request is generated based on the second display item code and the preset instruction code, and the second request is sent to the smart meter, so that the smart meter displays a secondary menu corresponding to the second keyword set on the primary menu.

[0010] In an optional solution of the first aspect, determining the number identification code and the first display item code based on the first keyword set input by the user includes:

[0011] Obtain at least one first-level option name according to a first keyword set input by the user;

[0012] Obtaining a first code corresponding to each first-level option name from a preset first-level database; wherein the preset first-level database includes at least one first-level option name and a first code corresponding to the first-level option name;

[0013] According to the number of all first codes, a number identification code is obtained;

[0014] A first display item code is determined according to all first codes and a preset value, wherein the preset value is the number of first codes supported by a single communication.

[0015] In another optional solution of the first aspect, determining the first display item code according to all first codes and preset values ​​includes:

[0016] When it is identified that the number of the first codes is less than or equal to a preset value, a first display item code is generated according to the preset display instruction and all the first codes;

[0017] When it is identified that the number of first codes is greater than a preset value, all first codes are grouped according to the preset value to obtain at least two code groups; wherein each code group includes at least one first code;

[0018] A first display item code is generated according to each code group and a configuration instruction corresponding to each code group.

[0019] In another optional solution of the first aspect, after sending the first request to the smart meter, the method further includes:

[0020] When the second keyword set input by the user is not received, generating a full display request according to a preset full display code;

[0021] A full display request is sent to the smart meter, so that the smart meter displays the preset menu content on the first-level menu.

[0022] In yet another optional solution of the first aspect, when a second keyword set input by a user is received, determining a second display item code based on the second keyword set includes:

[0023] when receiving the second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set;

[0024] determining the second code according to all the secondary option names and the bit information corresponding to each secondary option name;

[0025] obtaining the page number corresponding to each secondary option name from a preset secondary database; wherein the preset secondary database comprises at least one secondary option name and the page number corresponding to the secondary option name;

[0026] determining the second display item code according to the page number and the second code.

[0027] In a further alternative of the first aspect, determining the second code according to all the secondary option names and the bit information corresponding to each secondary option name comprises:

[0028] converting the binary number into a hexadecimal number, and generating the second code according to the hexadecimal number.

[0029] converting the binary number into a hexadecimal number, and generating the second code according to the hexadecimal number.

[0030] In a further alternative of the first aspect, before determining the number identification code and the first display item code based on the first keyword set input by the user, further comprising:

[0031] receiving the first keyword set input by the user at a preset time interval;

[0032] when the first keyword set is not received within the preset time interval, sending a home page request to the smart meter, so that the display content of the smart meter is consistent with the preset display content.

[0033] In a second aspect, the embodiments of the present application provide a menu option display device for a smart meter, comprising:

[0034] a first processing module configured to determine a number identification code corresponding to the number of first keywords and a first display item code based on a first keyword set input by a user; wherein the first keyword set comprises at least one first keyword;

[0035] a second processing module configured to generate a first request based on the number identification code and the first display item code, and send the first request to the smart meter, so that the smart meter displays a primary menu corresponding to the first keyword set;

[0036] The third processing module is configured to determine a second display item code based on the second keyword set when the second keyword set input by the user is received, wherein the second keyword set comprises at least one second keyword.

[0037] The fourth processing module is configured to generate a second request based on the second display item code and a preset instruction code, and send the second request to the smart meter, so that the smart meter displays a second-level menu corresponding to the second keyword set on the first-level menu.

[0038] In a third aspect, the embodiments of the present application further provide a menu option display device for a smart meter, comprising a processor and a memory.

[0039] The processor is connected with the memory.

[0040] The memory is configured to store executable program codes.

[0041] The processor runs a program corresponding to the executable program codes by reading the executable program codes stored in the memory, so as to implement the menu option display method for a smart meter provided by the first aspect of the embodiments of the present application or any one of the implementation manners of the first aspect.

[0042] In a fourth aspect, the embodiments of the present application provide a computer storage medium, which stores a computer program, and the computer program comprises program instructions. When the program instructions are executed by a processor, the menu option display method for a smart meter provided by the first aspect of the embodiments of the present application or any one of the implementation manners of the first aspect can be implemented.

[0043] The technical solutions provided by some embodiments of the present application have at least the following beneficial effects:

[0044] In the menu option display process for a smart meter, the first display item code and the second display item code are determined based on the first keyword set and the second keyword set input by the user, and then the first request and the second request are generated, so that the requests are sent to the smart meter to make the menu options displayed by the smart meter consistent with the user's expectation, and the adjustment of the menu options displayed by the smart meter is realized. At the same time, the personalized needs of the user for the menu options are met, and a large amount of manpower and material resources are saved. BRIEF DESCRIPTION OF DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0046] Figure 1 An overall flow chart of a method for displaying menu options for a smart meter provided in an embodiment of the present application;

[0047] Figure 2 A schematic diagram of a display page of a smart meter provided in an embodiment of the present application;

[0048] Figure 3 A schematic structural diagram of a menu option display device for a smart meter provided in an embodiment of the present application;

[0049] Figure 4 A schematic structural diagram of another menu option display device for a smart meter provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0051] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, even though the embodiment may not be clearly described in the following text.

[0052] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.

[0053] See also Figure 1 , Figure 1 The figure shows an overall flow chart of a method for displaying menu options for a smart meter provided in an embodiment of the present application.

[0054] like Figure 1 As shown, the menu option display method for a smart meter may include at least the following steps:

[0055] Step 101: Based on a first keyword set input by a user, determine a quantity identification code corresponding to the first keyword quantity and a first display item code.

[0056] In an embodiment of the present application, a method for displaying menu options for a smart meter can be applied, but is not limited to, to smart terminals such as desktop computers, laptop computers, and tablet computers. During the menu option display process for the smart meter, a first display item code and a second display item code are determined based on a first keyword set and a second keyword set input by a user, and a first request and a second request are then generated. The requests are then sent to the smart meter to ensure that the menu options displayed by the smart meter are consistent with the user's expectations. This allows for adjustment of the menu options displayed by the smart meter, meeting the user's personalized needs for menu options while saving significant manpower and material costs.

[0057] Specifically, in the process of displaying menu options for smart meters, it is possible but not limited to first calculating the number of options in the first keyword set input by the user, that is, the number of first keywords (such as calculating the number of options by identifying the number of semicolons or commas input by the user), through a string processing program designed by a programming language such as Python and JavaScript, and then generating a number identification code based on the number of options and a preset encoding rule (such as a combination of fixed characters and numbers such as count3, where the numbers can represent the number of options), wherein the options in the first keyword set refer to the option names that the user expects to be displayed in the first-level menu under the homepage of the smart meter, that is, the first keywords, and the first keyword set includes at least one first keyword.

[0058] It should be noted that the homepage of the smart meter refers to the page displayed by the smart meter when no request is received, and the page content mainly includes information such as date, time and total electricity; the first-level menu of the smart meter refers to the next level menu below the homepage. When a request related to the first-level menu is received, the smart meter will switch the display content from the homepage to the page displaying the above-mentioned options, and the first-level menu includes at least two of the options.

[0059] Furthermore, a first display item code corresponding to the option name desired by the user may be generated. This generation method may include, but is not limited to, generating a sequential code based on the default order of option names in the primary menu (e.g., names with fewer characters are placed before names with more characters, and names with the same first character are placed together). For example, if option A is ranked first, the code is 0001; if option B is ranked second, the code is 0002; and if option C is ranked sixth, the code is 0006.

[0060] As an optional embodiment of the present application, determining a number identification code and a first display item code based on a first keyword set input by a user includes:

[0061] Obtain at least one first-level option name according to a first keyword set input by the user;

[0062] Obtaining a first code corresponding to each first-level option name from a preset first-level database; wherein the preset first-level database includes at least one first-level option name and a first code corresponding to the first-level option name;

[0063] According to the number of all first codes, a number identification code is obtained;

[0064] A first display item code is determined according to all first codes and a preset value, wherein the preset value is the number of first codes supported by a single communication.

[0065] Specifically, in the process of determining the number identification code and the first display item code based on the first keyword set input by the user, the first keyword set input by the user can be first identified and processed to obtain at least one first-level option name. For example, when a first keyword such as "electric energy" or "electricity" is identified in the first keyword set, a first-level option name can be determined to be "electric energy"; when a first keyword such as "demand" or "required quantity" is identified in the first keyword set, a first-level option name can be determined to be "required quantity". It is worth noting that the first-level option name is a specific option name stored in the database, which corresponds to multiple different keywords, and the keywords and option names have the same or similar meanings.

[0066] Next, a first code corresponding to each first-level option name can be obtained from a preset first-level database, wherein the preset first-level database includes at least one first-level option name and a first code corresponding to the first-level option name. For example, if the preset first-level database stores the first-level option names: instantaneous quantity, electric energy, demand quantity, freeze, event, and setting, and the preset first-level database also stores the corresponding first codes: 0001, 0002, 0003, 0004, 0005, and 0006, then when the determined first-level option names are instantaneous quantity and demand quantity, the corresponding first codes obtained from the preset first-level database are 0001 and 0003.

[0067] After obtaining the first code, a number identification code can be determined based on the number of first codes. For example, when the number of first codes is 5, the number identification code can be set to, but is not limited to, C16005, where C160 is a fixed character that serves as the prefix of the entire number identification code, indicating that the digits following this character are the number of options (i.e., the number of first codes). It is worth noting that the content of the fixed character can be set based on the communication protocol used between the smart terminal and the smart meter in actual application, and the number of digits following the fixed character (e.g., two-digit 05, three-digit 005, etc.) can be determined based on the maximum number of options that the smart meter can display.

[0068] After obtaining the number identification code, the number of meaningless codes can be calculated using the number of all first codes and a preset value, and then a supplementary code can be obtained based on the number of meaningless codes. Thus, all first codes and supplementary codes can be combined to obtain a first display item code, where the preset value is the number of first codes supported by a single communication. For example, when the preset value is 8, it means that the content transmitted by the smart terminal and the smart meter in a single communication includes 8 first codes. In this case, if there are 5 first codes 0001, 0002, 0003, 0004, and 0005 that need to be transmitted, 3 meaningless first codes 0000, 0000, and 0000 can be supplemented, resulting in the first display item code C16100010002000300040005000000000000, where C161 is a fixed character representing that the content immediately following it is the first code corresponding to the option displayed on the smart meter.

[0069] As another option of the embodiment of the present application, determining the first display item code according to all first codes and preset values ​​includes:

[0070] When it is identified that the number of the first codes is less than or equal to a preset value, a first display item code is generated according to the preset display instruction and all the first codes;

[0071] When it is identified that the number of first codes is greater than a preset value, all first codes are grouped according to the preset value to obtain at least two code groups; wherein each code group includes at least one first code;

[0072] A first display item code is generated according to each code group and a configuration instruction corresponding to each code group.

[0073] Specifically, in the process of obtaining the first display item code through all the first codes and the preset numerical value, when it is identified that the number of first codes is less than or equal to the preset numerical value, the preset display instruction (such as C161 mentioned above) can be used as a prefix, followed by all the first codes, and then the number of digits required after the prefix can be determined according to the preset numerical value, and when the actual number of digits does not meet the required number of digits, the remaining digits are padded with 0s, that is, if there are several missing digits, the number of 0s is padded at the end of the code, thereby generating the first display item code.

[0074] Furthermore, when it is determined that the number of first codes is greater than a preset value, all first codes may be grouped according to the preset value to obtain at least two code groups, each of which includes at least one first code. For example, when the preset value is 8 and the number of first codes is 10, the first codes may be divided into two code groups of 8+2, i.e., the first code group includes 8 first codes and the second code group includes 2 first codes.

[0075] Next, each code group and the configuration instruction corresponding to each code group can be combined to obtain a first display item code. For example, when the first code group includes 0001, 0002, 0003, 0004, 0005, 0006, 0007, and 0008, and their corresponding configuration instruction is C161, and the second code group includes 0009 and 000A, and their corresponding configuration instruction is C162, the obtained first display item code can be, but is not limited to, C16100010002000300040005000600070008C1620009000A000000000000000000000000, where, since the first code uses hexadecimal numbers, A in this paragraph represents the number 10.

[0076] It should be noted that the configuration instructions are pre-set and stored in the smart terminal and can be read based on, but not limited to, the grouping result of the first code. For example, if the configuration instruction obtained by the first code group is C161, the second and third code groups can read the configuration instructions C162 and C163 after C161 in sequence.

[0077] As another optional embodiment of the present application, before determining the number identification code and the first display item code based on the first keyword set input by the user, the method further includes:

[0078] receiving a first keyword set input by a user at a preset time interval;

[0079] When the first keyword set is not received within a preset time interval, a home page request is sent to the smart meter, so that the display content of the smart meter is consistent with the preset display content.

[0080] Specifically, before obtaining the number identification code and the first display item code based on the first keyword set input by the user, the first keyword set input by the user can be received according to a preset time interval, and when the first keyword set is not received within the preset time interval, a home page request is sent to the smart meter, so that the smart meter displays a default page (i.e., the preset display content) when no data is received, to avoid confusion in the display content due to no data input, wherein the default page may include but is not limited to date, time, total electric energy, instantaneous power, user information, and connection status, etc.

[0081] Step 102: Generate a first request based on the number identification code and the first display item code, and send the first request to the smart meter, so that the smart meter displays a first-level menu corresponding to the first keyword set.

[0082] Specifically, after determining the number identification code and the first display item code, a first request can be generated based on the number identification code and the first display item code. This generation method can include, but is not limited to, converting the number identification code, the first display item code, and the communication address of the smart meter according to a preset request format. For example, if the request format is: AT+command+parameter, the number identification code C16005 can be converted to AT+C160+05 (representing the smart meter displaying five options). Similarly, the first display item code and the communication address of the smart meter can be converted and arranged in a fixed order to obtain the first request.

[0083] Furthermore, after receiving the first request, the first request may be sent to the smart meter to control the smart meter to display a first-level menu corresponding to the first keyword set input by the user, that is, to display the option content that the user expects to see.

[0084] As another optional embodiment of the present application, after sending the first request to the smart meter, the method further includes:

[0085] When the second keyword set input by the user is not received, generating a full display request according to a preset full display code;

[0086] A full display request is sent to the smart meter, so that the smart meter displays the preset menu content on the first-level menu.

[0087] Specifically, after sending the first request to the smart meter, when the second keyword set input by the user is not received, it means that the user has no requirement for the display of the lower-level option content of the first-level menu. Therefore, a full-display request can be generated according to the preset permission code and the request format specified by the communication protocol, and then the full-display request can be sent to the smart meter to control the smart meter to display the lower-level option content of all first-level menus, that is, the preset menu content.

[0088] It should be noted that the lower-level options refer to the options in the menu of the next level below the current page; the options in the second keyword set are the option names that the user expects to be displayed in the secondary menu below the first-level menu of the smart meter, wherein the secondary menu refers to the menu of the next level below the first-level menu. When a request related to the secondary menu is received, the smart meter will switch the display content from the first-level menu page to the page displaying the options included in the secondary menu.

[0089] Step 103: When a second keyword set input by the user is received, a second display item code is determined based on the second keyword set.

[0090] Specifically, after the smart meter displays the contents of the first-level menu, when it receives a second keyword set input by the user, it represents that the user has a requirement for the display of the contents of the lower-level options of the first-level menu. Therefore, the code corresponding to each lower-level option can be determined based on the second keyword set and the preset coding rules, and all the codes can be combined in a certain order (such as the ascending order of the code values) to obtain the second display item code.

[0091] For example, if the second keyword set is "phase voltage, phase current", since the phase voltage is the first option in the lower-level option "instantaneous quantity" ranked first in the first-level menu, its code is 0001 (that is, the preset coding rule is to encode according to the default arrangement order of the lower-level options). Similarly, the code of the phase current is 0002. According to the ascending order of the code values, the codes corresponding to these two lower-level options can be combined to obtain the second display item code 00010002.

[0092] As another optional embodiment of the present application, when a second keyword set input by a user is received, determining a second display item code based on the second keyword set includes:

[0093] When receiving a second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set;

[0094] Determine a second code according to all secondary option names and bit information corresponding to each secondary option name;

[0095] The page number corresponding to each secondary option name is obtained from a preset secondary database, wherein the preset secondary database comprises at least one secondary option name and the page number corresponding to the secondary option name;

[0096] The second display item code is determined according to the page number and the second code.

[0097] Specifically, in the process of receiving the second keyword set input by the user and determining the second display item code according to the second keyword set, at least one secondary option name can be determined from the second keyword set, and the determination manner can refer to the determination manner of the primary option name.

[0098] Then, the bit information corresponding to each secondary option name can be determined according to all secondary option names, and the second code can be calculated according to all bit information. It can be understood that the bit information of each secondary option name is related to the default arrangement order thereof in the primary menu. If the default arrangement order is the first, the bit value of the first bit is set to 1, and the bit value of other bits is set to 0. For example, when the determined secondary option names are “active power” and “reactive power”, since the arrangement order of the sub-options of “electric energy” in the primary menu is: total, active power, reactive power, the secondary option names “active power” and “reactive power” are arranged in the second and third positions respectively. Then, the second and third positions are set to 1, and other positions are set to 0. It should be noted that the total number of bits is a fixed value preset in advance, and the bits are arranged from right to left (i.e., the rightmost bit is the first bit). If the fixed value is 4, the corresponding second code is 0110.

[0099] After obtaining the second code, the page number corresponding to each secondary option name is obtained from a preset secondary database, wherein the preset secondary database comprises at least one secondary option name and the page number corresponding to the secondary option name, and the page number represents the arrangement order of the upper option corresponding to the secondary option name in the primary menu. Since the arrangement order of “electric energy” is the second, the page numbers corresponding to “active power” and “reactive power” are both 2, and the page code is 0002 according to the code bit requirement (such as the code bit must satisfy 4 bits). Then, the page code and the second code are spliced to obtain the second display item code (such as 00020110).

[0100] As another optional embodiment of the present application, the second code is determined according to all secondary option names and the bit information corresponding to each secondary option name, comprising:

[0101] The binary number is converted according to all secondary option names and the bit information corresponding to each secondary option name.

[0102] The binary number is converted into a hexadecimal number, and a second code is generated based on the hexadecimal number.

[0103] Specifically, in the process of determining the second code based on all secondary option names and the bit information corresponding to each secondary option name, you can first refer to the above method to obtain the bit information. For example, when the secondary option names are "active power" and "reactive power", the bit information is: the second and third positions are 1, and the other positions are 0. Converting it into a binary number is 110.

[0104] Next, the binary number 110 can be converted into a hexadecimal number 6, and then according to the coding bit requirement (such as the coding bit must meet 4 bits), the second code can be obtained as 0006.

[0105] Step 104: Generate a second request based on the second display item code and the preset instruction code, and send the second request to the smart meter, so that the smart meter displays a secondary menu corresponding to the second keyword set on the primary menu.

[0106] Specifically, after obtaining the second display item code, a second request may be generated according to the second display item code and a preset instruction code (eg, D001). The generation method thereof may refer to the generation method of the first request.

[0107] Furthermore, after generating the second request, the second request can be sent to the smart meter to control the smart meter to display a secondary menu corresponding to the second keyword set input by the user, that is, the lower option content of the primary menu that the user expects to see.

[0108] See also Figure 2 , Figure 2 A schematic diagram of a display page of a smart meter provided in an embodiment of the present application is shown.

[0109] like Figure 2 As shown in the figure, it includes five display pages: Display Page 1, Display Page 2, Display Page 3, Display Page 4, and Display Page 5. Display Page 1 is the homepage, and its display content is the default content (i.e., the preset display content mentioned above) and cannot be changed; Display Pages 2 and 3 display the content corresponding to "Instantaneous Quantity" and "Energy" in the first-level menu; Display Pages 4 and 5 display the content corresponding to "Phase Voltage" and "Phase Current" in the second-level menu.

[0110] It is understandable that Figure 2 The following table shows some of the display contents of the smart meter for reference only. Display page 2 and display page 3 are sub-options of display page 1, and display page 4 and display page 5 are sub-options of display page 2.

[0111] It should be noted that options such as "instantaneous quantity" and "electric energy" are not displayed in display page 1, but in the smart meter, options such as "instantaneous quantity" and "electric energy" belong to the first-level menu, that is, they are lower-level options of display page 1. Whether they are displayed on the homepage depends on the specific application scenario.

[0112] See also Figure 3 , Figure 3 A schematic structural diagram of a menu option display device for a smart meter provided in an embodiment of the present application is shown.

[0113] like Figure 3 As shown, the menu option display device for a smart meter may include at least a first processing module 301, a second processing module 302, a third processing module 303, and a fourth processing module 304, wherein:

[0114] A first processing module 301 is configured to determine a quantity identification code corresponding to the number of first keywords and a first display item code based on a first keyword set input by a user, wherein the first keyword set includes at least one first keyword;

[0115] The second processing module 302 is configured to generate a first request based on the number identification code and the first display item code, and send the first request to the smart meter so that the smart meter displays a first-level menu corresponding to the first keyword set;

[0116] The third processing module 303 is configured to determine a second display item code based on the second keyword set when receiving a second keyword set input by the user; wherein the second keyword set includes at least one second keyword;

[0117] The fourth processing module 304 is configured to generate a second request based on the second display item code and the preset instruction code, and send the second request to the smart meter, so that the smart meter displays a secondary menu corresponding to the second keyword set on the primary menu.

[0118] In some possible embodiments, determining the number identification code and the first display item code based on the first keyword set input by the user includes:

[0119] The first processing module 301 is specifically configured to:

[0120] Obtain at least one first-level option name according to a first keyword set input by the user;

[0121] Obtaining a first code corresponding to each first-level option name from a preset first-level database; wherein the preset first-level database includes at least one first-level option name and a first code corresponding to the first-level option name;

[0122] According to the number of all first codes, a number identification code is obtained;

[0123] A first display item code is determined according to all first codes and a preset value, wherein the preset value is the number of first codes supported by a single communication.

[0124] In some possible embodiments, determining the first display item code according to all first codes and a preset value includes:

[0125] The first processing module 301 is specifically configured to:

[0126] When it is identified that the number of the first codes is less than or equal to a preset value, a first display item code is generated according to the preset display instruction and all the first codes;

[0127] When it is identified that the number of first codes is greater than a preset value, all first codes are grouped according to the preset value to obtain at least two code groups; wherein each code group includes at least one first code;

[0128] A first display item code is generated according to each code group and a configuration instruction corresponding to each code group.

[0129] In some possible embodiments, before determining the number identification code and the first display item code based on the first keyword set input by the user, the method further includes:

[0130] The first processing module 301 is specifically configured to:

[0131] receiving a first keyword set input by a user at a preset time interval;

[0132] When the first keyword set is not received within a preset time interval, a home page request is sent to the smart meter, so that the display content of the smart meter is consistent with the preset display content.

[0133] In some possible embodiments, after sending the first request to the smart meter, the method further includes:

[0134] The second processing module 302 is specifically configured to:

[0135] When the second keyword set input by the user is not received, generating a full display request according to a preset full display code;

[0136] A full display request is sent to the smart meter, so that the smart meter displays the preset menu content on the first-level menu.

[0137] In some possible embodiments, when a second keyword set input by a user is received, determining a second display item code based on the second keyword set includes:

[0138] The third processing module 303 is specifically configured to:

[0139] When receiving a second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set;

[0140] Determine a second code according to all secondary option names and bit information corresponding to each secondary option name;

[0141] Obtaining a page number corresponding to each secondary option name from a preset secondary database; wherein the preset secondary database includes at least one secondary option name and a page number corresponding to the secondary option name;

[0142] A second display item code is determined according to the page number and the second code.

[0143] In some possible embodiments, determining the second code according to all secondary option names and bit information corresponding to each secondary option name includes:

[0144] The third processing module 303 is specifically configured to:

[0145] Convert the binary number according to all secondary option names and the bit information corresponding to each secondary option name;

[0146] The binary number is converted into a hexadecimal number, and a second code is generated based on the hexadecimal number.

[0147] See also Figure 4 , Figure 4 A structural schematic diagram of another menu option display device for a smart meter provided in an embodiment of the present application is shown.

[0148] like Figure 4 As shown, the menu option display device 400 for a smart meter may include at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 and at least one communication bus 402 .

[0149] The communication bus 402 may be used to implement connection and communication among the above components.

[0150] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0151] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, and the like.

[0152] The processor 401 may include one or more processing cores. The processor 401 utilizes various interfaces and lines to connect the various components of the menu option display device 400 for a smart meter. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 405, and invoking data stored in the memory 405, the processor 401 performs various functions and processes data of the menu option display device 400 for a smart meter. Optionally, the processor 401 may be implemented in at least one hardware form selected from the group consisting of a DSP, an FPGA, and a PLA. The processor 401 may integrate one or a combination of a CPU, a GPU, and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is responsible for handling wireless communications. It is understood that the modem may not be integrated into the processor 401 and may be implemented separately on a separate chip.

[0153] Among them, the memory 405 may include RAM and may also include ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may also be optionally at least one storage device located away from the aforementioned processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a menu option display application for a smart meter.

[0154] Specifically, the processor 401 may be configured to call a menu option display application for the smart meter stored in the memory 405 and specifically perform the following operations:

[0155] Based on a first keyword set input by a user, determining a quantity identification code corresponding to the quantity of the first keywords and a first display item code; wherein the first keyword set includes at least one first keyword;

[0156] generating a first request based on the number identification code and the first display item code, and sending the first request to the smart meter so that the smart meter displays a first-level menu corresponding to the first keyword set;

[0157] When receiving a second keyword set input by a user, determining a second display item code based on the second keyword set; wherein the second keyword set includes at least one second keyword;

[0158] A second request is generated based on the second display item code and the preset instruction code, and the second request is sent to the smart meter, so that the smart meter displays a secondary menu corresponding to the second keyword set on the primary menu.

[0159] The present application also provides 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 card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0160] 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.

[0161] 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.

[0162] 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 illustrative. For example, the division of units is only 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 devices or units can be electrical or other forms.

[0163] Units described as separate components may or may not be physically separate, and 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.

[0164] 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.

[0165] 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 various embodiments 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.

[0166] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be performed 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.

[0167] The above are merely exemplary embodiments of the present disclosure and are not intended to limit the scope of the present disclosure. That is, any equivalent changes and modifications made in accordance with the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure herein, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for displaying menu options for a smart meter, characterized in that: include: Based on a first keyword set input by a user, determining a quantity identification code corresponding to the number of first keywords and a first display item code; wherein the first keyword set includes at least one first keyword; generating a first request based on the number identification code and the first display item code, and sending the first request to the smart meter so that the smart meter displays a first-level menu corresponding to the first keyword set; When receiving a second keyword set input by the user, determining a second display item code based on the second keyword set; wherein the second keyword set includes at least one second keyword; A second request is generated based on the second display item code and a preset instruction code, and the second request is sent to the smart meter, so that the smart meter displays a secondary menu corresponding to the second keyword set on the primary menu.

2. The method according to claim 1, characterized in that The step of determining a number identification code and a first display item code based on a first keyword set input by a user includes: Obtain at least one first-level option name according to a first keyword set input by the user; Obtaining a first code corresponding to each of the first-level option names from a preset first-level database; wherein the preset first-level database includes at least one first-level option name and a first code corresponding to the first-level option name; Obtaining a number identification code according to the number of all the first codes; A first display item code is determined according to all the first codes and a preset value; wherein the preset value is the number of first codes supported by a single communication.

3. The method according to claim 2, characterized in that The determining of a first display item code according to all the first codes and a preset value includes: When it is identified that the number of the first codes is less than or equal to a preset value, generating a first display item code according to a preset display instruction and all the first codes; When it is identified that the number of the first codes is greater than the preset value, grouping all the first codes according to the preset value to obtain at least two code groups; wherein each of the code groups includes at least one of the first codes; A first display item code is generated according to each of the code groups and the configuration instructions corresponding to each of the code groups.

4. The method according to claim 1, wherein After sending the first request to the smart meter, the method further includes: When the second keyword set input by the user is not received, generating a full display request according to a preset full display code; The full display request is sent to the smart meter, so that the smart meter displays preset menu content on the first-level menu.

5. The method according to claim 1, wherein The step of determining a second display item code based on the second keyword set when receiving the second keyword set input by the user includes: When receiving a second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set; Determining a second code according to all the secondary option names and the bit information corresponding to each of the secondary option names; Obtaining a page number corresponding to each secondary option name from a preset secondary database; wherein the preset secondary database includes at least one secondary option name and a page number corresponding to the secondary option name; A second display item code is determined according to the page number and the second code.

6. The method according to claim 5, characterized in that The determining the second code according to all the secondary option names and the bit information corresponding to each of the secondary option names includes: Converting a binary number according to all the secondary option names and the bit information corresponding to each of the secondary option names; The binary number is converted into a hexadecimal number, and a second code is generated according to the hexadecimal number.

7. The method according to claim 1, characterized in that Before determining the number identification code and the first display item code based on the first keyword set input by the user, the method further includes: receiving a first keyword set input by a user at a preset time interval; When the first keyword set is not received within the preset time interval, a homepage request is sent to the smart meter, so that the display content of the smart meter is consistent with the preset display content.

8. A menu option display device for a smart meter, characterized in that: include: A first processing module, configured to determine a quantity identification code corresponding to the number of first keywords and a first display item code based on a first keyword set input by a user, wherein the first keyword set includes at least one first keyword; a second processing module, configured to generate a first request based on the number identification code and the first display item code, and send the first request to the smart meter, so that the smart meter displays a first-level menu corresponding to the first keyword set; a third processing module, configured to, upon receiving a second keyword set input by a user, determine a second display item code based on the second keyword set; wherein the second keyword set includes at least one second keyword; The fourth processing module is used to generate a second request based on the second display item code and a preset instruction code, and send the second request to the smart meter so that the smart meter displays a secondary menu corresponding to the second keyword set on the primary menu.

9. A menu option display device for a smart meter, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The 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 according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Intelligent electricity meter data item display method

    CN104297539A

  • Application software menu configuration method, mobile terminal and computer readable storage medium

    CN109165053A