Disclosure of Invention
One of the technical problems to be solved by the present invention is: aiming at the defects of the prior art, the method for displaying the Web login page improves the user experience.
The second technical problem to be solved by the present invention is: a Web login page display device for realizing the Web login page display method is provided.
The third technical problem to be solved by the invention is that: a computer device for realizing the Web login page display method is provided.
The fourth technical problem to be solved by the invention is that: a computer-readable storage medium for implementing the above-described Web login page presentation method is provided.
A method for displaying a Web login page according to a first aspect of the present invention includes the steps of:
acquiring the use records of each function of the Web application system;
setting weight coefficients of all functions of the Web application system, and setting function use statistical time of the Web application system;
counting the use times of each function of the Web application system in the latest function use counting time at regular time;
calculating the weight value of each function according to the weight coefficient and the using times;
creating a function weight value recording table, recording the weight values of all the functions obtained by calculation, and sequencing the weight values of all the functions recorded by the function weight value recording table; and
and when the user logs in the Web application system, automatically skipping the home page according to the function with the highest weight value of the function weight record table.
In a preferred embodiment of the invention, the usage record comprises a user name, a function name and a usage time.
As a second aspect of the present invention, a Web login page display apparatus for implementing the above-mentioned Web login page display method includes:
the usage record acquisition module is used for acquiring usage records of all functions of the Web application system;
the system setting module is used for setting weight coefficients of all functions of the Web application system and setting function use statistical time of the Web application system;
the timing counting module is used for counting the use times of each function of the Web application system in the latest function use counting time at regular time;
the weight value calculating module is used for calculating the weight value of each function according to the weight coefficient and the using times;
the function weight value processing module is used for creating a function weight value recording table, recording the calculated weight values of all functions, and then sequencing the weight values of all functions recorded by the function weight value recording table; and
and the page automatic skipping module is used for automatically skipping the home page according to the function with the highest weight value of the function weight record list when a user logs in the Web application system.
A computer device as a third aspect of the present invention for implementing the above-mentioned Web login page displaying method includes a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring the use records of each function of the Web application system;
setting weight coefficients of all functions of the Web application system, and setting function use statistical time of the Web application system;
counting the use times of each function of the Web application system in the latest function use counting time at regular time;
calculating the weight value of each function according to the weight coefficient and the using times;
creating a function weight value recording table, recording the weight values of all the functions obtained by calculation, and sequencing the weight values of all the functions recorded by the function weight value recording table; and
and when the user logs in the Web application system, automatically skipping the home page according to the function with the highest weight value of the function weight record table.
A computer-readable storage medium as a fourth aspect of the present invention for implementing the above-mentioned Web landing page presentation method, has a computer program stored thereon, and when executed by a processor, implements the steps of:
acquiring the use records of each function of the Web application system;
setting weight coefficients of all functions of the Web application system, and setting function use statistical time of the Web application system;
counting the use times of each function of the Web application system in the latest function use counting time at regular time;
calculating the weight value of each function according to the weight coefficient and the using times;
creating a function weight value recording table, recording the weight values of all the functions obtained by calculation, and sequencing the weight values of all the functions recorded by the function weight value recording table; and
and when the user logs in the Web application system, automatically skipping the home page according to the function with the highest weight value of the function weight record table.
Due to the adoption of the technical scheme, the invention has the beneficial effects that: the invention automatically shows the system functions for the user by recording the use condition of the Web application system functions counted by the user and analyzing the operation habits of the user through a certain algorithm logic, solves the problem that the user needs to jump for a plurality of times in order to access a certain common function page for a plurality of times, and overcomes the problem that the home page of a Web login mode is fixed and needs to jump for a plurality of times.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further explained below by combining the specific drawings.
The method for displaying the Web login page provided by the invention can be applied to the application environment shown in figure 1. Wherein auser terminal 101 communicates with aserver 102 via a network. Theuser terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and theserver 102 may be implemented by an independent server or a server cluster formed by a plurality of servers. The invention automatically shows the system functions for the user by recording the use condition of the Web application system functions counted by theuser terminal 101 and analyzing the operation habits of the user through a certain algorithm logic, thereby solving the problem that the user needs to jump for a plurality of times in order to access a certain common function page for a plurality of times and overcoming the condition that the home page of the Web login mode is fixed and needs to jump for a plurality of times.
Specifically, referring to fig. 2, a method for displaying a WEB login page is shown, which includes the following steps:
in step S10, usage records of the respective functions of the Web application system are acquired. In the present embodiment, the usage record includes a user name, a function name, a usage time, and the like.
In step S20, the weighting factor of each function of the Web application system is set, and the function usage statistic time of the Web application system is set.
In step S30, the number of times of use of each function of the Web application system in the latest function use count time is counted at regular time.
In step S40, the weight value of each function is calculated based on the weight coefficient and the number of times of use.
Step S50, creating a function weight value recording table, recording the calculated weight values of each function, and then sorting the weight values of each function recorded in the function weight value recording table.
And step S60, when the user logs in the Web application system, automatically skipping to the home page according to the function with the highest weight value of the function weight record table.
In order to better explain the method for displaying the WEB login page of the present invention, a specific application example of the method for displaying the WEB login page of the present invention is given as follows:
1. acquiring use records of each function of the Web application system, wherein the use records comprise user names, function names, use time and the like;
2. setting the network configuration (R1), user management (R2) and organization management (R3) function weight systems of the Web application system to be 0.15, 0.5 and 0.35 respectively, and setting the function use statistical time of the Web application system to be 7 days, namely d is 7;
3. counting the use times of the network configuration (R1), the user management (R2) and the organization management (R3) of the last 7 days at intervals of 2 hours;
4. calculating the weight value of each function according to the weight coefficient and the using times, wherein the weight calculation formula comprises the following steps:
Sn=(Dt1-Dt2)×Rn
calculating weight values S1, S2 and S3 of each function;
5. creating a function weight value recording table, recording the calculated weight values S1, S2 and S3 of each function, and then sequencing the weight values S1, S2 and S3;
6. and when the user logs in the operating system again, automatically skipping the home page according to the function with the highest weight value of the function weight recording list.
Referring to fig. 3, a Web login page display apparatus for implementing the Web login page display method includes a usagerecord obtaining module 100, asystem setting module 200, atiming statistics module 300, a weightvalue calculation module 400, a functional weightvalue processing module 500, and an automaticpage jump module 600.
The usagerecord acquisition module 100 is used to acquire usage records of respective functions of the Web application system. Thesystem setting module 200 is used for setting weight coefficients of each function of the Web application system and setting function usage statistical time of the Web application system. Thetiming counting module 300 is used for counting the number of times of using each function of the Web application system in the latest function usage counting time at regular time. The weightvalue calculating module 400 is configured to calculate a weight value of each function according to the weight coefficient and the number of times of use. The function weightvalue processing module 500 is configured to create a function weight value recording table, record the calculated weight values of each function, and perform sorting processing on the weight values of each function recorded in the function weight value recording table. The pageautomatic skip module 600 is configured to, when a user logs in a Web application system, automatically skip a home page according to a function with a highest weight value of the function weight record table.
The invention also provides a computer device for implementing the method for displaying the Web login page, wherein the computer device can be a server, and the internal structure diagram can be shown in FIG. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as user information, record information and files. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a Web landing page presentation method as described above.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present solution and does not constitute a limitation on the computing device to which the present solution applies, and that a particular computing device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
Specifically, the computer device of the present invention includes a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program:
acquiring use records of each function of the Web application system;
setting weight coefficients of all functions of the Web application system, and setting function use statistical time of the Web application system;
counting the use times of each function of the Web application system in the latest function use counting time at regular time;
calculating the weight value of each function according to the weight coefficient and the using times;
creating a function weight value recording table, recording the weight values of all the functions obtained by calculation, and sequencing the weight values of all the functions recorded by the function weight value recording table; and
and when the user logs in the Web application system, automatically skipping the home page according to the function with the highest weight value of the function weight recording list.
The present invention also provides a computer-readable storage medium for implementing the above-mentioned Web landing page presentation method, on which a computer program is stored, which, when executed by a processor, implements the steps of:
acquiring use records of each function of the Web application system;
setting weight coefficients of all functions of the Web application system, and setting function use statistical time of the Web application system;
counting the use times of each function of the Web application system in the latest function use counting time at regular time;
calculating the weight value of each function according to the weight coefficient and the using times;
creating a function weight value recording table, recording the weight values of all the functions obtained by calculation, and sequencing the weight values of all the functions recorded by the function weight value recording table; and
and when the user logs in the Web application system, automatically skipping the home page according to the function with the highest weight value of the function weight recording list.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The foregoing shows and describes the general principles and broad features of the present invention and advantages thereof. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.