CN106776655B - Web application system display method and device - Google Patents
Web application system display method and device Download PDFInfo
- Publication number
- CN106776655B CN106776655B CN201510829730.7A CN201510829730A CN106776655B CN 106776655 B CN106776655 B CN 106776655B CN 201510829730 A CN201510829730 A CN 201510829730A CN 106776655 B CN106776655 B CN 106776655B
- Authority
- CN
- China
- Prior art keywords
- identification information
- display
- page
- module
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a display method and a device of a Web application system, which relate to the technical field of information and can improve the display efficiency of the Web application system, and the main technical scheme of the invention is as follows: when a page display request is received, user identity identification information corresponding to the page display request is obtained; acquiring a module list corresponding to the identification information of the page from a preset storage position; extracting identification information of a module corresponding to the user identity identification information and label display information of the module from the module list; and displaying the extracted module on the page according to the display information corresponding to the module. The invention is mainly used for displaying the Web application system.
Description
Technical Field
The invention relates to the technical field of information, in particular to a display method and device of a Web application system.
Background
With the gradual development of Web application technology, Web application systems are gradually known. The Web application system is a software system accessed through Web, and has the greatest advantage that a user can simply execute access operation. For example, the user only needs to install a browser to access the required web page content, and no other application software needs to be installed.
At present, the mode of a common Web application system is relatively fixed, such a system firstly comprises a certain number of pages, each page comprises modules with different functions, and different pages or modules can be displayed for different users by setting permissions. However, in the same system, because the contents displayed by the modules with different functions are fixed, the contents displayed to different users are limited to the difference between the number of pages and the number of modules, so that the display form of the Web application system is single. When different users put forward different requirements, the display requirements of the different users can be met only by manually modifying the program codes, the display efficiency of the Web application system is reduced, and the development cost of the system is increased.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for displaying a Web application system, and mainly aim to improve the display efficiency of the Web application system.
By means of the technical scheme, the display method of the Web application system, provided by the invention, comprises the following steps:
when a page display request is received, acquiring user identity identification information corresponding to the page display request, wherein the page display request carries identification information of a page;
acquiring a module list corresponding to the identification information of the page from a preset storage position, wherein the preset storage position stores a module list corresponding to the identification information of different pages respectively, identification information of modules corresponding to the identification information of different user identities respectively and display information of the modules corresponding to the identification information of different user identities respectively, the module list stores the identification information of different modules, and the display information comprises display data information;
extracting identification information of a module corresponding to the user identity identification information and display information of the module from the module list;
and displaying the extracted module on the page according to the display information corresponding to the module.
By the technical scheme, the display device of the Web application system provided by the invention comprises the following components:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring user identity identification information corresponding to a page display request when the page display request is received, and the page display request carries identification information of a page;
the acquiring unit is further configured to acquire a module list corresponding to the identification information of the page from a preset storage location, where the preset storage location stores a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different user identities, and display information of modules corresponding to the identification information of different user identities, where the module list stores the identification information of different modules, and the display information includes display data information;
an extracting unit, configured to extract, from the module list, identification information of a module corresponding to the user identification information and display information of the module;
and the display unit is used for displaying the extracted module on the page according to the display information corresponding to the module.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the method and the device for displaying the Web application system provided by the embodiment of the invention firstly obtain the user identity identification information corresponding to the page display request when the page display request is received, then obtain the module list corresponding to the identification information of the page from the preset storage position, then extract the identification information of the module corresponding to the user identity identification information and the display information of the module from the module list, and finally display the extracted module on the page according to the display information corresponding to the module. Compared with the difference that the content displayed to the user by the Web application system is only limited on the number of pages and modules, the method and the device for displaying the Web application system acquire the modules, the pages and the display information corresponding to the identity identification information according to the identity identification information of different users, display the modules corresponding to the identity identification information of the users according to the display information, and can solve the problem that the codes are required to be modified when different information is displayed to the users, so that the display efficiency of the Web application system is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for displaying a Web application system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for displaying another Web application system provided by the embodiment of the invention;
fig. 3 is a block diagram illustrating a presentation apparatus of a Web application system according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a presentation apparatus of another Web application system according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, a method for displaying a Web application system according to an embodiment of the present invention includes:
101. when a page display request is received, user identity identification information corresponding to the page display request is obtained.
The page display request carries identification information of a page, the identification information of the page is used for matching user identity identification information corresponding to the page display request, the user identity identification information can be login accounts and the like, is used for identifying level authority information of different users, can be highest level authority, second highest level authority and the like, and page display information which can be acquired by each level authority can be set according to specific requirements of the users.
For example, when a page display request is received, the page identification information carried in the page display request is the working time length of a whole station employee, and the user identification information corresponding to the page identification information of the working time length of the whole station employee is acquired as the length of a television station.
102. And acquiring a module list corresponding to the identification information of the page from a preset storage position.
Wherein the preset storage position stores a module list corresponding to the identification information of different pages, the identification information of the module corresponding to the identification information of different users, and the display information of the module corresponding to the identification information of different users, the module list stores identification information of different modules, the display information includes display data information, the identification information of the different modules is used for matching the display information respectively corresponding to the identification information of the different modules, the display information comprises display position, display characteristics and display data characteristics, the display position can be above and below the page, the display characteristics include a chart type pie chart, table, etc. and the color of the display module, the size of the font in the display module, etc., the display data characteristic may be a ratio of data and a range of data, and the embodiment of the present invention is not particularly limited.
For example, the page identification information is a list of employees in the channel department of the kid, and a module list corresponding to the list of employees in the channel department of the kid is obtained, wherein the module list comprises a module: namely, a staff list module of a juvenile channel department, if 2 login accounts and display information of staff list modules of the juvenile channel department corresponding to the two login accounts are stored in a preset storage position, due to the difference of display data information in the display information of the two accounts, the display information of the staff list module of the juvenile channel department corresponding to the login account 001 is the names of 10 staff, the size and the background color of a table formed by the names of 10 staff and the display of the module at the middle position of a page, and the display information of the staff list module of the juvenile channel department corresponding to the login account 002 is the names of 7 staff, the size and the background color of the table formed by the names of 7 staff and the display of the module at the upper position of the page.
103. And extracting the identification information of the module corresponding to the user identity identification information and the display information of the module from the module list.
The preset storage location further stores identification information of modules corresponding to different user identification information, where the module identification information in the module list may be a specific number, and may be 1, 2, and the like, for uniquely identifying the identity of the module.
For example, a pie chart with a display characteristic of a chart type and a display characteristic, a display data characteristic and a display position corresponding to the pie chart are stored in the module list, a table with a display characteristic of a chart type and a display characteristic, a display data characteristic and a display position corresponding to the table are also stored, if the user identification information is an account number registered by a station bench, the module identification information corresponding to the registered account number is a number 2, and the chart type of the module display characteristic corresponding to the number 2 is a pie chart.
104. And displaying the extracted module on the page according to the display information corresponding to the module.
The modules corresponding to different user identification information are finally displayed on the page and can be the same.
For example, the user identification information is a login account number of a station length of the station and a login account number of an accounting of the station, respectively, and the page identification information in the received page display request is the monthly income of the station, so that the finally displayed modules are the same and are tables with 1 row and 2 columns and located in the middle of the page.
For the embodiment of the present invention, specific application scenarios may be as follows, but are not limited to the following scenarios, including: when a page display request is received, the identification information of the page is local market audience share, the user identification information corresponding to the local market audience share is a login account 002 of a television station project developer, an obtained module list corresponding to the local market audience share is obtained, a pie chart with a module number of 3 and a display characteristic corresponding to the module number of 3 as a chart type, a table with a module number of 4 and a display characteristic corresponding to the module 4 as a chart type are stored in the module list, the display data content, the display data proportion, the display background color of red, the display position of the upper part, the display data content, the display data proportion, the display background color of blue and the display position of the middle part corresponding to the pie chart, the display information corresponding to the module number of 3 and the pie chart corresponding to the module number of 3 are extracted according to the login account 002 of the user identification information, the pie chart with the data percentage of 13%, 41%, 23% and the background color of red, which is positioned at the top, is shown to the television station project developer.
The method for displaying the Web application system, provided by the embodiment of the invention, comprises the steps of firstly obtaining user identity identification information corresponding to a page display request when the page display request is received, then obtaining a module list corresponding to the identification information of the page from a preset storage position, then extracting the identification information of the module corresponding to the user identity identification information and display information of the module from the module list, and finally displaying the extracted module on the page according to the display information corresponding to the module. Compared with the difference that the content displayed to the user by the Web application system is only limited on the number of pages and modules, the method and the device for displaying the Web application system acquire the modules, the pages and the display information corresponding to the identity identification information according to the identity identification information of different users, display the modules corresponding to the identity identification information of the users according to the display information, and can solve the problem that the codes are required to be modified when different information is displayed to the users, so that the display efficiency of the Web application system is improved.
Further, an embodiment of the present invention provides another method for displaying a Web application system, as shown in fig. 2, where the method includes:
201. different modules are generated through a preset module template and display information corresponding to the different modules is configured.
The preset module template includes a chart form and the like, and may be a pie chart, a table, a bar chart and the like, and the embodiment of the present invention is not particularly limited.
For example, 2 pie charts can be generated according to the preset template, the display information corresponding to the first pie chart is that the display data content is the local audience rating, the displayed background color is red, and the display position is upper, and the display information corresponding to the second pie chart is that the display data content is the channel audience rating, the displayed background color is yellow, and the display position is upper. By generating different modules and configuring different display information of the different modules, the module configuration is only required to be modified when the user requirements are increased, so that the display efficiency of the Web application system is improved.
202. Configuring a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different users, and display information of modules corresponding to the identification information of different users.
The page identification information may correspond to the same user identification information.
For example, if the identification information of the page is employee wage, the identification information of the module corresponding to the employee wage is the table format modules of numbers 5, 6, and 7, the user identification information is the login account number 003 of the accounting, and the module identification information corresponding to the account number 003 is the number 5. The high efficiency of modifying the module configuration is realized by configuring the identification information of different pages, the identification information of different users and the corresponding module identification information and configuring the corresponding module display information for the identification information of different users, thereby improving the display efficiency of the Web application system.
203. And storing a module list corresponding to the identification information of different pages, the identification information of the modules corresponding to the identification information of different user identities and the display information of the modules corresponding to the identification information of different user identities in the preset storage position.
The preset storage location may be a server, and the embodiment of the present invention is not limited specifically. By storing the information in the preset storage position, the data information to be acquired is prevented from being lost, so that the display efficiency of the Web application system is improved.
204. When a page display request is received, user identity identification information corresponding to the page display request is obtained.
The page display request carries identification information of a page, the identification information of the page is used for matching user identity identification information corresponding to the page display request, the user identity identification information can be login accounts and the like, is used for identifying level authority information of different users, can be highest level authority, second highest level authority and the like, and page display information which can be acquired by each level authority can be set according to specific requirements of the users.
205. And judging whether the page identification information corresponding to the user identity identification information contains the identification information of the page in the page display request.
For example, the identification information of the page in the page display request is the workload of the employees in the entertainment channel department, the page identification information corresponding to the user identification information of the login account 026 is the list of the employees in the military channel department, the workload of the employees in the military channel department, and the work schedule of the employees in the military channel department, and whether the list of the employees in the military channel department, the workload of the employees in the military channel department, and the work schedule of the employees in the military channel department corresponding to the login account 026 include the workload of the employees in the entertainment channel department is judged. Whether the page required to be displayed by the user has the authority or not is judged by judging whether the page identification information corresponding to the user identification information contains the page identification information in the page display request or not, so that the display efficiency of the Web application system is improved.
206a, if the page identification information corresponding to the user identity identification information is judged to contain the identification information of the page in the page display request, acquiring a module list corresponding to the identification information of the page from a preset storage position.
Wherein the preset storage position stores a module list corresponding to the identification information of different pages, the identification information of the module corresponding to the identification information of different users, and the display information of the module corresponding to the identification information of different users, the module list stores identification information of different modules, the display information includes display data information, the identification information of the different modules is used for matching the display information respectively corresponding to the identification information of the different modules, the display information comprises display position, display characteristics and display data characteristics, the display position can be above and below the page, the display characteristics include a chart type pie chart, table, etc. and the color of the display module, the size of the font in the display module, etc., the display data characteristic may be a ratio of data and a range of data, and the embodiment of the present invention is not particularly limited.
Further, in step 206b, which is parallel to step 206a, if it is determined that the page identification information corresponding to the user identification information does not include the identification information of the page in the page display request, all modules of the page are hidden. The modules corresponding to different pages are displayed to users with different authorities by hiding all modules which do not contain identification information of the pages in the page display request, so that the display efficiency of the Web application system is improved.
207. And extracting the identification information of the module corresponding to the user identity identification information and the display information from the module list.
The preset storage location further stores identification information of modules corresponding to different user identification information, where the module identification information in the module list may be a specific number, and may be 1, 2, and the like, for uniquely identifying the identity of the module.
208. And displaying the extracted module on the page according to the display information corresponding to the module.
The modules corresponding to different user identification information are finally displayed on the page and can be the same.
Further, step 208 in the embodiment of the present invention may specifically be: firstly, acquiring data displayed on the page and state information of the data according to the display data information; and then displaying the data and the state information corresponding to the data on the page according to the display position information. The state information corresponding to the data includes a ratio of each type of data in a graph or a table, a mapping relationship between data, and the like, and the embodiment of the present invention is not particularly limited. The data content is visually displayed by displaying the data and the state information corresponding to the data, so that the display precision of the Web application system is improved.
209. And updating the data and the state information corresponding to the data in the preset storage position according to a preset time interval.
The updating may include adding or deleting, and the preset time interval is set according to a user requirement, which is not specifically limited in the embodiment of the present invention. By adding or deleting the data in the preset storage position and the state information corresponding to the data, the real-time performance of the information can be ensured, and the display precision of the Web application system is improved.
For the embodiment of the present invention, specific application scenarios may be as follows, but are not limited to the following scenarios, including: generating a bar chart and a pie chart according to a preset module template, wherein the module list stores display information corresponding to the bar chart and the pie chart, including near-ten-year income data and monthly income data in one year, the display background colors are green, yellow and red respectively, the display fonts are respectively Song body, regular body and black body, the identification information of a page is annual income inquiry and the identification information of the module is number 1, the identification information of the page is monthly income inquiry and the identification information of the module is number 2, the company manager login account 001 and the identification information of the module are number 1, the display information corresponding to 001 is green and Song body, the company accounting login account 002 and the identification information of the module are number 2, the display information corresponding to 002 is red and black body, the module list corresponding to number 1 is the bar chart and the display information corresponding to the bar chart, the module list corresponding to the number 2 is a pie chart and display information corresponding to the pie chart, the configured information is stored in a server, when the identification information of the received page is a display request of a annual income inquiry page, the page identification information corresponding to 001 is judged to contain annual income identification information, the identification information of the user is 001, and the module and the display information corresponding to 001 are displayed on the corresponding page, namely, a bar chart with green background, Song style font and nearly ten years income data content is displayed on the page. Monthly revenue data is re-incremented every other month.
In another method for displaying a Web application system provided in an embodiment of the present invention, when a page display request is received, user identification information corresponding to the page display request is obtained, a module list corresponding to identification information of the page is obtained from a preset storage location, then identification information of a module corresponding to the user identification information and display information of the module are extracted from the module list, and finally the extracted module is displayed on the page according to the display information corresponding to the module. Compared with the difference that the content displayed to the user by the Web application system is only limited on the number of pages and modules, the method and the device for displaying the Web application system acquire the modules, the pages and the display information corresponding to the identity identification information according to the identity identification information of different users, display the modules corresponding to the identity identification information of the users according to the display information, and can solve the problem that the codes are required to be modified when different information is displayed to the users, so that the display efficiency of the Web application system is improved.
The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present invention provides a display apparatus for a Web application system, and as shown in fig. 3, the apparatus may include: an acquisition unit 31, an extraction unit 32, and a display unit 33.
An obtaining unit 31, configured to obtain, when a page display request is received, user identity identification information corresponding to the page display request, where the page display request carries identification information of a page;
the obtaining unit 31 is further configured to obtain a module list corresponding to the identification information of the page from a preset storage location, where the preset storage location stores a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different user identities, and display information of modules corresponding to the identification information of different user identities, where the module list stores the identification information of different modules, and the display information includes display data information;
an extracting unit 32, configured to extract, from the module list, identification information of a module corresponding to the user identification information and display information of the module, where the preset storage location further stores identification information of modules corresponding to different user identification information;
a display unit 33, configured to display the extracted module on the page according to the display information corresponding to the module.
The display device of the Web application system, provided by the embodiment of the invention, firstly acquires user identity identification information corresponding to a page display request when the page display request is received, then acquires a module list corresponding to the identification information of the page from a preset storage position, then extracts the identification information of the module corresponding to the user identity identification information and display information of the module from the module list, and finally displays the extracted module on the page according to the display information corresponding to the module. Compared with the difference that the content displayed to the user by the Web application system is only limited on the number of pages and modules, the method and the device for displaying the Web application system acquire the modules, the pages and the display information corresponding to the identity identification information according to the identity identification information of different users, display the modules corresponding to the identity identification information of the users according to the display information, and can solve the problem that the codes are required to be modified when different information is displayed to the users, so that the display efficiency of the Web application system is improved.
The embodiment of the apparatus corresponds to the embodiment of the foregoing method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the foregoing method;
further, as a specific implementation of the method shown in fig. 2, an embodiment of the present invention provides another presentation apparatus for a Web application system, where as shown in fig. 4, the apparatus may include: an acquisition unit 41, an extraction unit 42, a display unit 43, a generation unit 44, a configuration unit 45, a storage unit 46, a judgment unit 47, an execution unit 48, a hiding unit 49, and an update unit 410.
An obtaining unit 41, configured to obtain, when a page display request is received, user identity identification information corresponding to the page display request, where the page display request carries identification information of a page;
the obtaining unit 41 is further configured to obtain a module list corresponding to the identification information of the page from a preset storage location, where the preset storage location stores a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different user identities, and display information of modules corresponding to the identification information of different user identities, where the module list stores the identification information of different modules, and the display information includes display data information;
an extracting unit 42, configured to extract, from the module list, identification information of a module corresponding to the user identification information and display information of the module, where the preset storage location further stores identification information of modules corresponding to different user identification information;
a display unit 43, configured to display the extracted module on the page according to the display information corresponding to the module.
Further, the apparatus further comprises:
the generating unit 44 is used for generating different modules through a preset module template and configuring display information corresponding to the different modules respectively;
a configuration unit 45, configured to configure a module list corresponding to the identification information of different pages, identification information of different users, and display information of modules corresponding to the identification information of different users;
a storing unit 46, configured to store, in the preset storage location, a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different users, and display information of modules corresponding to the identification information of different users.
Further, the apparatus further comprises:
a judging unit 47, configured to judge whether page identification information corresponding to the user identity identification information includes identification information of a page in the page display request;
an executing unit 48, configured to execute the step of obtaining the module list from the preset storage location if the determining unit 47 determines that the page identification information corresponding to the user identity identification information includes the identification information of the page in the page display request;
and the hiding unit 49 is configured to hide all modules of the page if the determining unit determines that the page identification information corresponding to the user identity identification information does not include the identification information of the page in the page display request.
Further, the display unit 43 further includes:
an obtaining module 4301, configured to obtain, according to the display data information, data displayed on the page and state information corresponding to the data;
a display module 4302, configured to display the data and the state information corresponding to the data on the page according to the display position information;
further, the apparatus further comprises:
an updating unit 410, configured to update the data and the state information corresponding to the data in the preset storage location according to a preset time interval.
In another display apparatus of a Web application system provided in an embodiment of the present invention, when a page display request is received, user identification information corresponding to the page display request is obtained, a module list corresponding to the identification information of the page is obtained from a preset storage location, identification information of a module corresponding to the user identification information and display information of the module are extracted from the module list, and the extracted module is displayed on the page according to the display information corresponding to the module. Compared with the difference that the content displayed to the user by the Web application system is only limited on the number of pages and modules, the method and the device for displaying the Web application system acquire the modules, the pages and the display information corresponding to the identity identification information according to the identity identification information of different users, display the modules corresponding to the identity identification information of the users according to the display information, and can solve the problem that the codes are required to be modified when different information is displayed to the users, so that the display efficiency of the Web application system is improved.
The display device of the Web application system comprises a processor and a memory, wherein the acquisition unit, the extraction unit, the display unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more than one, and the problem that the code is required to be modified when different information is shown to a user is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device: when a page display request is received, acquiring user identity identification information corresponding to the page display request, wherein the page display request carries identification information of a page; acquiring a module list corresponding to the identification information of the page from a preset storage position, wherein the preset storage position stores module lists corresponding to the identification information of different pages respectively, and the module list stores the identification information of different modules and display information corresponding to the identification information of different modules respectively; extracting the identification information of the module corresponding to the user identification information and the display information corresponding to the identification information of the module from the module list, wherein the preset storage position also stores the identification information of the modules corresponding to different user identification information respectively; and displaying the module corresponding to the user identity identification information on the page according to the display information corresponding to the module.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (12)
1. A display method of a Web application system is characterized by comprising the following steps:
when a page display request is received, acquiring user identity identification information corresponding to the page display request, wherein the page display request carries identification information of a page, and the identification information of the page is used for matching the user identity identification information corresponding to the page display request;
acquiring a module list corresponding to the identification information of the page from a preset storage position, wherein the preset storage position stores a module list corresponding to the identification information of different pages respectively, identification information of modules corresponding to the identification information of different user identities respectively and display information of the modules corresponding to the identification information of different user identities respectively, the module list stores the identification information of different modules, and the display information comprises display data information;
extracting identification information of a module corresponding to the user identity identification information and display information of the module from the module list;
and displaying the extracted module on the page according to the display information corresponding to the module.
2. The method for displaying Web application systems according to claim 1, wherein before the obtaining of the user identification information corresponding to the page display request when the page display request is received, the method further comprises:
generating different modules through a preset module template and configuring display information corresponding to the different modules respectively;
configuring a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different user identities and display information of the modules corresponding to the identification information of different user identities;
and storing a module list corresponding to the identification information of different pages, the identification information of the modules corresponding to the identification information of different user identities and the display information of the modules corresponding to the identification information of different user identities in the preset storage position.
3. The method for displaying a Web application system according to claim 1, wherein the preset storage location further stores identification information of pages corresponding to different user identification information, and before the obtaining of the module list corresponding to the identification information of the page from the preset storage location, the method further comprises:
judging whether the page identification information corresponding to the user identity identification information contains the identification information of the page in the page display request;
if yes, executing the step of acquiring the module list from the preset storage position;
if not, hiding all modules of the page.
4. The method for displaying the Web application system according to any one of claims 1 to 3, wherein the display information further includes display position information, and the displaying the extracted module on the page according to the display information corresponding to the module includes:
acquiring data displayed on the page and state information corresponding to the data according to the display data information;
and displaying the data and the state information corresponding to the data on the page according to the display position information.
5. The method for displaying the Web application system according to claim 4, wherein the method further comprises:
and updating the data and the state information corresponding to the data in the preset storage position according to a preset time interval.
6. A presentation apparatus for a Web application system, comprising:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring user identity identification information corresponding to a page display request when the page display request is received, the page display request carries identification information of a page, and the identification information of the page is used for matching the user identity identification information corresponding to the page display request;
the acquiring unit is further configured to acquire a module list corresponding to the identification information of the page from a preset storage location, where the preset storage location stores a module list corresponding to the identification information of different pages, identification information of modules corresponding to the identification information of different user identities, and display information of modules corresponding to the identification information of different user identities, where the module list stores the identification information of different modules, and the display information includes display data information;
an extracting unit, configured to extract, from the module list, identification information of a module corresponding to the user identification information and display information of the module;
and the display unit is used for displaying the extracted module on the page according to the display information corresponding to the module.
7. The apparatus for showing a Web application system according to claim 6, wherein said apparatus further comprises:
the generating unit is used for generating different modules through a preset module template and configuring display information corresponding to the different modules respectively;
the configuration unit is used for configuring a module list corresponding to the identification information of different pages, the identification information of modules corresponding to the identification information of different user identities and the display information of the modules corresponding to the identification information of different user identities;
and the storage unit is used for storing the module lists respectively corresponding to the identification information of different pages, the identification information of the modules respectively corresponding to the identification information of different user identities and the display information of the modules respectively corresponding to the identification information of different user identities in the preset storage positions.
8. The apparatus for displaying a Web application system according to claim 6, further comprising, before the obtaining the module list corresponding to the identification information of the page from a preset storage location:
the judging unit is used for judging whether the page identification information corresponding to the user identity identification information contains the identification information of the page in the page display request;
the execution unit is used for executing the step of acquiring the module list from the preset storage position if the judgment unit judges that the page identification information corresponding to the user identity identification information contains the identification information of the page in the page display request;
and the hiding unit is used for hiding all modules of the page if the judging unit judges that the page identification information corresponding to the user identity identification information does not contain the identification information of the page in the page display request.
9. The apparatus for displaying a Web application system according to any one of claims 6 to 8, wherein the display information further includes display position information, and the display unit includes:
the acquisition module is used for acquiring the data displayed on the page and the state information corresponding to the data according to the display data information;
and the display module is used for displaying the state information corresponding to the data on the page according to the display position information.
10. The presentation apparatus for Web application system according to claim 9, wherein said apparatus further comprises:
and the updating unit is used for updating the data in the preset storage position and the state information corresponding to the data according to a preset time interval.
11. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the presentation method of the Web application system according to any one of claims 1 to 5.
12. A processor, configured to execute a program, wherein the program executes the presentation method of the Web application system according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510829730.7A CN106776655B (en) | 2015-11-25 | 2015-11-25 | Web application system display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510829730.7A CN106776655B (en) | 2015-11-25 | 2015-11-25 | Web application system display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776655A CN106776655A (en) | 2017-05-31 |
CN106776655B true CN106776655B (en) | 2020-08-21 |
Family
ID=58964018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510829730.7A Active CN106776655B (en) | 2015-11-25 | 2015-11-25 | Web application system display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776655B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111382382B (en) * | 2018-12-28 | 2023-12-01 | 深圳市优必选科技有限公司 | Data display method, device, computer equipment and storage medium |
CN111026988A (en) * | 2019-11-15 | 2020-04-17 | 浙江数链科技有限公司 | Page loading method, device and system and computer equipment |
CN111045735B (en) * | 2019-11-27 | 2023-11-17 | 中国银行股份有限公司 | Personalized guide page pushing method, device and system |
CN112231038B (en) * | 2020-10-23 | 2023-07-18 | 岭东核电有限公司 | Work order information display method, device, computer equipment and storage medium |
CN113434839A (en) * | 2021-06-29 | 2021-09-24 | 青岛海尔科技有限公司 | Front-end page access method and device, storage medium and electronic device |
CN115714707A (en) * | 2022-09-23 | 2023-02-24 | 福建慧舟信息科技有限公司 | Data extraction method and system based on page engine |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751444A (en) * | 2008-12-16 | 2010-06-23 | 鸿富锦精密工业(深圳)有限公司 | Webpage content customizing system and method |
CN102930226A (en) * | 2012-10-25 | 2013-02-13 | 无锡中科泛在信息技术研发中心有限公司 | Method for controlling use permission of fine-grained client |
CN103186370A (en) * | 2011-12-29 | 2013-07-03 | 金蝶软件(中国)有限公司 | Web page presentation method and system |
-
2015
- 2015-11-25 CN CN201510829730.7A patent/CN106776655B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751444A (en) * | 2008-12-16 | 2010-06-23 | 鸿富锦精密工业(深圳)有限公司 | Webpage content customizing system and method |
CN103186370A (en) * | 2011-12-29 | 2013-07-03 | 金蝶软件(中国)有限公司 | Web page presentation method and system |
CN102930226A (en) * | 2012-10-25 | 2013-02-13 | 无锡中科泛在信息技术研发中心有限公司 | Method for controlling use permission of fine-grained client |
Also Published As
Publication number | Publication date |
---|---|
CN106776655A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776655B (en) | Web application system display method and device | |
CN107644286B (en) | Workflow processing method and device | |
US20140105491A1 (en) | System and method for web page rendering test automation suite | |
CN110413634B (en) | Data query method, system, device and computer readable storage medium | |
KR102248823B1 (en) | System, method and application for data visual service | |
CN111126019B (en) | Report generation method and device based on mode customization and electronic equipment | |
CN104657274B (en) | software interface test method and device | |
US11462002B2 (en) | Wallpaper management method, apparatus, mobile terminal, and storage medium | |
CN103399848B (en) | Engine test data normalization specific format imports processing method | |
CN112330532A (en) | Image analysis processing method and equipment | |
CN106844320B (en) | Financial statement integration method and equipment | |
CN106909567B (en) | Data processing method and device | |
CN104714957A (en) | List structure changing method and device | |
CN108089858B (en) | Method and device for creating visual interface | |
US10387444B2 (en) | Tools for auto-visualizations of data | |
CN109426415B (en) | Method and device for generating cascade selector | |
CN109857964B (en) | Thermodynamic diagram drawing method and device for page operation, storage medium and processor | |
CN111291543B (en) | Data display method and device, storage medium and processor | |
CN112581565B (en) | Method and device for generating multimedia material graph | |
CN112015804B (en) | Data synchronization method, device, equipment and storage medium | |
CN110019508B (en) | Data synchronization method, device and system | |
CN110990799A (en) | Data processing method, device and system for anti-crawler and storage medium | |
CN115409014A (en) | Document template generation method and device, computer equipment and storage medium | |
CN109582411A (en) | Graphical user interface creating method, device, computer equipment and storage medium | |
CN112329814B (en) | Invoice data processing method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |