Menu option display method and device for intelligent electric meter

The smart meter display item encoding is determined through the set of keywords entered by the user, and a request is generated and sent, which solves the problem that the smart meter menu display item cannot be personalized, realizes flexible adjustment of menu content, and reduces development costs.

CN119201308AActive Publication Date: 2024-12-27NINGBO HENGLIDA TECH +1
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The menu display items of existing smart meters cannot be personalized according to user needs, resulting in secondary development to increase or adjust the display items, increasing the cost of manpower and material resources.

Method used

The display item encoding is determined through the keyword set input by the user, and a request is generated and sent to the smart meter to realize the personalized display of menu options, including determining the number identification code and display item encoding based on the keyword set input by the user, generating and sending Request to make the smart meter display the menu contents that the user expects.

Benefits of technology

It realizes personalized adjustment of smart meter menu options to meet user needs while saving manpower and material costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201308A_ABST
    Figure CN119201308A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of screen display, and discloses a menu option display method and device for an intelligent ammeter, and the method comprises the steps: determining a number identification code and a first display item code based on a first keyword set inputted by a user; generating a first request based on the number identification code and the first display item code and sending the first request to the intelligent 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 intelligent electric meter. According to the method, the display item code is determined through the keyword set input by the user, and then the request is generated, so that the request is sent to the intelligent electric meter to enable the menu option displayed by the intelligent electric meter to be consistent with the expected menu option of the user, adjustment of the menu option displayed by the intelligent electric meter is realized, and the user experience is improved while the personalized requirement of the user for the menu option is met. And lots of manpower and material resource costs 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 development of science and technology and the popularization of electronic devices, screen display technology has been widely used in various electronic devices. It displays various data in the device on the screen to achieve the purpose of human-computer interaction. In the application process of screen display technology, how to display personalized data content according to user needs is indispensable. In the actual application of smart meters, the display content mainly includes displaying data such as voltage, current and electric energy. In response to the demand for personalized display content of smart meters, the existing solutions mainly rely on developers to change program settings to realize the display of different display items, and to switch different display items by key switching or touch sliding.

[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 the display items need to be adjusted through secondary development, which increases manpower and material costs. Summary of the invention

[0004] In order to solve the above-mentioned problem of increased manpower and material costs due to secondary development programs, the present application embodiment provides a method and device for displaying menu options for a smart meter, and its technical solution is as follows: In a first aspect, an embodiment of the present application provides a method for displaying menu options for a smart meter, comprising: Based on a first keyword set input by a user, determining a number 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; 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; 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; 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.

[0005] In an optional solution of the first aspect, 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 a user; 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; According to the number of all first codes, a number identification code is obtained; A first display item code is determined according to all first codes and preset values, wherein the preset value is the number of first codes supported by a single communication.

[0006] In another optional solution of the first aspect, determining the first display item code according to all the first codes and the preset values ​​includes: When it is identified that the number of 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; 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; A first display item code is generated according to each code group and a configuration instruction corresponding to each code group.

[0007] In another optional solution of the first aspect, 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; 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.

[0008] 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: When receiving a second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set; Determine a second code according to all secondary option names and bit information corresponding to each secondary option name; 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.

[0009] In another optional solution of the first aspect, determining the second code according to all secondary option names and bit information corresponding to each secondary option name includes: Convert a binary number according to all secondary option names and bit information corresponding to each secondary option name; The binary number is converted into a hexadecimal number, and a second code is generated based on the hexadecimal number.

[0010] In another optional solution 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, 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 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.

[0011] In a second aspect, an embodiment of the present application provides a menu option display device for a smart meter, comprising: 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 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 is configured to determine a second display item code based on the second keyword set when receiving a second keyword set input by a user; 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 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.

[0012] In a third aspect, an embodiment of the present application further provides a menu option display device for a smart meter, comprising a processor and a memory; The processor is connected to the memory; A memory for storing executable program codes; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the menu option display method for a smart meter provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.

[0013] In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes 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 embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.

[0014] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least: In the process of displaying menu options for a smart meter, a first display item code and a second display item code are determined by a first keyword set and a second keyword set input by a user, and then a first request and a second request are generated, and the requests are sent to the smart meter to make the menu options displayed by the smart meter consistent with the user's expectations, thereby realizing the adjustment of the menu options displayed by the smart meter, saving a lot of manpower and material costs while meeting the user's personalized needs for menu options. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. 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 paying creative work.

[0016] 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; Figure 2 A schematic diagram of a display page of a smart meter provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of a menu option display device for a smart meter provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of another menu option display device for a smart meter provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0018] 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, and 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 recorded. 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, although the embodiment may not be clearly recorded in the following text.

[0019] 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 functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. 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.

[0020] See also Figure 1 , 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 is shown.

[0021] like Figure 1 As shown, the menu option display method for a smart meter may include at least the following steps: 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.

[0022] In the embodiment of the present application, the menu option display method for smart meters can be applied to, but not limited to, smart terminals such as desktop computers, laptop computers, and tablet computers. In the process of displaying menu options for smart meters, the first display item code and the second display item code are determined by 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 request is sent to the smart meter to make the menu options displayed by the smart meter consistent with the user's expectations, thereby realizing the adjustment of the menu options displayed by the smart meter, and saving a lot of manpower and material costs while meeting the user's personalized needs for menu options.

[0023] 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 in 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 keyword, and the first keyword set includes at least one first keyword.

[0024] It should be noted that the homepage of a 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 electric energy; the first-level menu of a smart meter refers to the menu at the next level 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 a page displaying the above-mentioned options, and the first-level menu includes at least two of such options.

[0025] Furthermore, the first display item code corresponding to the option name that the user expects to display may be generated according to the option name that the user desires to display, and the generation method may be, but is not limited to, generating a sequential code according to the default arrangement order of the option names in the primary menu (such as names with fewer characters are arranged in front of names with more characters, names with the same first character are arranged together, etc.). For example, if option A is arranged first, the code is 0001; if option B is arranged second, the code is 0002; if option C is arranged sixth, the code is 0006.

[0026] As an option of the embodiment of the present application, based on the first keyword set input by the user, determining the number identification code and the first display item code includes: Obtain at least one first-level option name according to a first keyword set input by a user; 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; According to the number of all first codes, a number identification code is obtained; A first display item code is determined according to all first codes and preset values, wherein the preset value is the number of first codes supported by a single communication.

[0027] Specifically, in the process of determining the number identification code and the first display item code according to the first keyword set input by the user, the first keyword set input by the user can be firstly identified and processed to obtain at least one first-level option name. For example, when it is identified that there are first keywords such as "electric energy" or "electric quantity" in the first keyword set, a first-level option name can be determined to be "electric energy"; when it is identified that there are first keywords such as "demand" or "required quantity" in the first keyword set, a first-level option name can be determined to be "demand". 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.

[0028] Next, the first code corresponding to each first-level option name can be obtained from the preset first-level database, wherein the preset first-level database includes at least one first-level option name and the 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, freeze, event, and setting, and at the same time, the preset first-level database also stores the corresponding first codes: 0001, 0002, 0003, 0004, 0005, and 0006, then when the first-level option names determined are instantaneous quantity and demand, the corresponding first codes that can be obtained from the preset first-level database are 0001 and 0003.

[0029] After obtaining the first code, the number identification code can be determined according to the number of the first codes. For example, when the number of the first codes is 5, the number identification code can be set to C16005, but is not limited to it, where C160 is a fixed character and is the prefix of the entire number identification code, indicating that the number following the character is the number of options (that is, the number of the first code). It is worth noting that the content of the fixed character can be set by the protocol used for communication between the smart terminal and the smart meter in actual applications, and the number of digits after the fixed character (such as two-digit 05, three-digit 005, etc.) can be determined according to the maximum number of options that the smart meter can display.

[0030] After obtaining the number identification code, the number of meaningless codes can be calculated by the number of all first codes and the preset value, and then the supplementary code can be obtained according to the number of meaningless codes, so that all first codes and supplementary codes can be combined to obtain the first display item code, wherein 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. At this time, 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, and then the first display item code can be obtained as C16100010002000300040005000000000000, wherein C161 is a fixed character, which means that the content immediately following it is the first code corresponding to the option displayed by the smart meter.

[0031] As another option of the embodiment of the present application, determining the first display item code according to all the first codes and the preset values ​​includes: When it is identified that the number of 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; 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; A first display item code is generated according to each code group and a configuration instruction corresponding to each code group.

[0032] 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, the number of missing digits is padded at the end of the code, thereby generating the first display item code.

[0033] In addition, when it is identified 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, wherein each code group 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, that is, the first code group includes 8 first codes and the second code group includes 2 first codes.

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

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

[0036] 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: receiving a first keyword set input by a user at a preset time interval; 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.

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

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

[0039] Specifically, after determining the number identification code and the first display item code, a first request can be generated according to the number identification code and the first display item code, and the generation method can be but 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 that the smart meter displays five options). Similarly, the first display item code and the communication address of the smart meter can be converted, and the converted content can be arranged in a fixed order to obtain the first request.

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

[0041] As another option of the embodiment of the present application, 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; 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.

[0042] 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 contents 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 contents of all first-level menus, that is, the preset menu contents.

[0043] 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 under the primary menu of the smart meter, wherein the secondary menu refers to the menu of the next level below the primary menu. When a request related to the secondary menu is received, the smart meter will switch the display content from the primary menu page to the page displaying the options included in the secondary menu.

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

[0045] Specifically, after the smart meter displays the contents of the first-level menu, when a second keyword set input by the user is received, 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 ascending order of the code values) to obtain the second display item code.

[0046] 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 of "instantaneous quantity" which is 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.

[0047] 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: When receiving a second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set; Determine a second code according to all secondary option names and bit information corresponding to each secondary option name; 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.

[0048] 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 first determined by the second keyword set, and the determination method can refer to the above-mentioned method for determining the primary option name.

[0049] Next, the bit information corresponding to each secondary option name can be determined based on all the secondary option names, and then the second code can be calculated based on all the bit information. It can be understood that the bit information of each secondary option name is related to its default arrangement order in the primary menu. The bit value of the default position is set to 1, and the bit values ​​of other positions are set to 0. For example, when the determined secondary option names are "active power" and "reactive power", since the arrangement order of the lower options of "electric energy" in the primary menu is: total, active power, reactive power, the secondary option names "active power" and "reactive power" are listed in the second and third positions respectively. Thereafter, the second and third positions can be set to 1, and the other positions can be set to 0. It should be noted that the total number of digits here is a pre-set fixed value, and the digits are arranged from right to left (that is, the rightmost position is the first position). If the fixed value is 4, the corresponding second code can be obtained as 0110.

[0050] After obtaining the second code, the page number corresponding to each secondary option name can be obtained from the preset secondary database, wherein the preset secondary database includes 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-level options corresponding to the secondary option name in the primary menu. Because the arrangement order of "electric energy" is the second, the page numbers corresponding to "active power" and "reactive power" are both 2, and according to the coding bit requirement (such as the coding bit must meet 4 bits), the page code can be obtained as 0002. Thereafter, the page code and the second code can be spliced ​​to obtain the second display item code (such as 00020110).

[0051] As another optional embodiment of the present application, determining the second code according to all secondary option names and bit information corresponding to each secondary option name includes: Convert a binary number according to all secondary option names and bit information corresponding to each secondary option name; The binary number is converted into a hexadecimal number, and a second code is generated based on the hexadecimal number.

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

[0053] 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 0006 can be obtained.

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

[0055] Specifically, after the second display item code is obtained, a second request may be generated according to the second display item code and a preset instruction code (such as D001). The generation method of the second request may refer to the generation method of the first request.

[0056] Furthermore, after generating the second request, the second request may 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-level option content of the primary menu that the user expects to see.

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

[0058] like Figure 2 As shown in the figure, the figure includes 5 display pages: display page 1, display page 2, display page 3, display page 4 and display page 5. Among them, display page 1 is the homepage, and its display content is the default content (that is, the above-mentioned preset display content), which cannot be changed; display page 2 and display page 3 are the display contents corresponding to "instantaneous quantity" and "electric energy" in the first-level menu; display page 4 and display page 5 are the display contents corresponding to "phase voltage" and "phase current" in the second-level menu.

[0059] Understandably, Figure 2 The following are some of the display contents of the smart meter, which are for reference only. Display page 2 and display page 3 are the lower-level option contents of display page 1, and display page 4 and display page 5 are the lower-level option contents of display page 2.

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

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

[0062] like Figure 3As 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: The first processing module 301 is used 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 includes at least one first keyword; The second processing module 302 is used 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; 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 a user; wherein the second keyword set includes at least one second keyword; The fourth processing module 304 is used 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.

[0063] In some possible embodiments, determining a number identification code and a first display item code based on a first keyword set input by a user includes: The first processing module 301 is specifically used for: Obtain at least one first-level option name according to a first keyword set input by a user; 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; According to the number of all first codes, a number identification code is obtained; A first display item code is determined according to all first codes and preset values, wherein the preset value is the number of first codes supported by a single communication.

[0064] In some possible embodiments, determining the first display item code according to all first codes and preset values ​​includes: The first processing module 301 is specifically used for: When it is identified that the number of 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; 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; A first display item code is generated according to each code group and a configuration instruction corresponding to each code group.

[0065] 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: The first processing module 301 is specifically used for: receiving a first keyword set input by a user at a preset time interval; 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.

[0066] In some possible embodiments, after sending the first request to the smart meter, the method further includes: The second processing module 302 is specifically used for: When the second keyword set input by the user is not received, generating a full display request according to a preset full display code; 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.

[0067] 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: The third processing module 303 is specifically used for: When receiving a second keyword set input by the user, obtaining at least one secondary option name according to the second keyword set; Determine a second code according to all secondary option names and bit information corresponding to each secondary option name; 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.

[0068] In some possible embodiments, determining the second code according to all secondary option names and bit information corresponding to each secondary option name includes: The third processing module 303 is specifically used for: Convert a binary number according to all secondary option names and bit information corresponding to each secondary option name; The binary number is converted into a hexadecimal number, and a second code is generated based on the hexadecimal number.

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

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

[0071] The communication bus 402 may be used to realize the connection and communication among the above-mentioned components.

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

[0073] The network interface 404 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0074] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect the various parts of the menu option display device 400 for the smart meter, and executes various functions and processes data of the menu option display device 400 for the smart meter by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 401 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly 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; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented by a single chip.

[0075] The memory 405 may include a RAM or a ROM. Optionally, the memory 405 includes a non-transitory computer-readable medium. The memory 405 may 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 optionally be at least one storage device located away from the aforementioned processor 401. As Figure 4As 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.

[0076] Specifically, the processor 401 may be used to call a menu option display application for a smart meter stored in the memory 405, and specifically perform the following operations: Based on a first keyword set input by a user, determining a number 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; 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; 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; 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.

[0077] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. 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 micro drive, and 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.

[0078] 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 the present application is not limited by the described order of actions, because according to the present 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 the present application.

[0079] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0080] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0082] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0083] 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, including a number of instructions to enable 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, disk or optical disk and other media that can store program codes.

[0084] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0085] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, 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 number 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 primary menu corresponding to the first keyword set; 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; 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 a user; Acquire 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 step of determining a first display item code according to all the first codes and preset values ​​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, all the first codes are grouped 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 a configuration instruction corresponding to each of the code groups.

4. The method according to claim 1, characterized in that: 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, characterized in that 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; Determine 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 of the secondary option names 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 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.

8. A menu option display device for a smart meter, characterized in that: include: 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 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 primary menu corresponding to the first keyword set; A third processing module, configured to determine a second display item code based on a second keyword set when receiving a second keyword set input by a user; 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

  • A method and a device for realizing a communication interaction platform official account menu

    CN106406844A

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

    CN109165053A

  • System option menu configuration method and system, terminal and storage medium

    CN116954801A

  • Menu and page rendering method and device and electronic equipment

    CN117170784A