Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for storing and querying data of multilevel menus

A technology of data storage and query method, which is applied in the direction of electric digital data processing, special data processing application, data processing input/output process, etc. It can solve problems affecting server performance, cumbersome query process, low query efficiency, etc., and achieve reduction storage space, speed up the query process, and improve efficiency

Active Publication Date: 2014-07-02
NEW SINGULARITY INT TECHN DEV
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] By analogy, until all levels of menus are queried, and the menu arrangement results are displayed, although this traditional model can meet the basic requirements of menu presentation, the query process will bring unnecessary tediousness and low query efficiency. affect server performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for storing and querying data of multilevel menus
  • Method and system for storing and querying data of multilevel menus
  • Method and system for storing and querying data of multilevel menus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0031] The invention provides a multi-level menu data storage query method, comprising the following steps:

[0032] Step S1, store data under the control of the controller, including storing menu names in the menu name storage array of the memory, and the menu names are arranged hierarchically. In this embodiment, the hierarchical arrangement refers to the N submenus of the Mth level menu The menu names of are arranged in sequence, and all submenus of each parent menu are located after the parent menu, where M and N are positive integer...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and system for storing and querying data of multilevel menus. When data are stored, menu names are stored in a menu name storage array, and the menu names are arrayed in a grading mode; address codes are stored in a menu address storage array, the menu names correspond to the address codes one to one, a user inputs a menu name query request, a controller searches for an address code corresponding to a menu name according to the corresponding relation of the menu names and the address codes and identifies the level of the menu name according to the digit number, and all the menu names are displayed in a grading mode. The menu names stored in the menu name storage array correspond to the address codes stored in the menu address storage array one to one, and the address codes stored in the menu address storage array are arrayed in sequence according to order of size, query process can be fastened, storage space is reduced, a graded menu can be obtained only through one-time query, the query speed is high, and efficiency is high.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a multi-level menu data storage and query method and system capable of improving query efficiency. Background technique [0002] With the rapid popularization and application of the Internet, how to provide users with fast and efficient services is the goal pursued by every website operator. At present, in many Internet service applications, such as information retrieval, news, community, B2C and other website services, there are navigation menus of different categories at the same time, and such menus are often presented in multiple levels. Traditional menu storage The format is shown in Table 1, and the menus are classified according to the size of the range indicated by the menu name. For example, mobile phones and cameras are electronic products, so electronic products are defined as the first-level menu, mobile phones and cameras are the second-level menu, and the brand...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30G06F3/0482
CPCG06F3/0482G06F16/2428
Inventor 王忻
Owner NEW SINGULARITY INT TECHN DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products