Dynamic display page area rendering method and device, electronic equipment and readable medium
By dynamically displaying page area rendering methods, the cumbersome operation of switching page browsing information after user login and the system redundancy problem are solved. This improves user account security and webpage adaptability, simplifies the configuration of multi-role users, and enhances the user experience.
Patent Information
- Application Number
- CN202210226068.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-09
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-03-09
AI Technical Summary
The existing website requires users to switch to a specific page to view their information after logging in, which is cumbersome, increases system redundancy, reduces user account security, prevents automatic adjustment of webpage font size, results in a poor user experience, and requires tedious manual configuration of information for users with multiple roles.
By dynamically displaying page area rendering methods, the system responds to user login operations by obtaining user configuration lists and data, and directly renders the dynamically displayed page area on the target webpage. Combined with facial recognition and face detection, the system adjusts the font size, reducing page jumps and manual configuration steps.
It simplifies user operation processes, reduces system redundancy, improves user account security and webpage compatibility, and enhances user experience.
Smart Images

Figure CN116776019B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present disclosure relate to the technical field of computer, and specifically to a dynamic display page area rendering method and device, electronic equipment and readable medium. BACKGROUND
[0002] WEB, also known as the World Wide Web, is a kind of global, dynamic interactive, cross-platform distributed graphical information system based on HTTP (Hyper Text Transfer Protocol). At present, the existing WEB website with user registration and login function generally displays the same content to all users. When a user needs to browse user information, he often needs to switch to a specific page.
[0003] However, when browsing user information in the above manner, the following technical problems often exist:
[0004] First, after logging in, the user needs to switch to a specific page to browse user information, which is cumbersome to operate, and an additional specific page needs to be set up to display user information, increasing system redundancy.
[0005] Second, user account passwords are easily leaked, and non-users can also log in using user account passwords, so the security of user accounts is low.
[0006] Third, when a user enters a webpage and starts browsing, the font size of the webpage is usually the default size, and the webpage font size cannot be automatically adjusted according to different users when entering the webpage, resulting in poor user experience.
[0007] Fourth, when a user corresponds to multiple user roles, the user configuration information corresponding to the remaining user roles needs to be manually entered into the user configuration list, further causing cumbersome operation. SUMMARY
[0008] The summary section of the present disclosure is used to introduce the concepts in a brief form, which will be described in detail in the specific embodiments section. The summary section of the present disclosure is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions.
[0009] Some embodiments of the present disclosure propose a dynamic display page area rendering method and device, electronic equipment and computer readable medium to solve one or more of the technical problems mentioned in the background section.
[0010] In a first aspect, some embodiments of the present disclosure provide a dynamic display page area rendering method, the method comprising: in response to detecting a login operation of a user acting on a login page, obtaining a user configuration list corresponding to a user account of the user; obtaining user data according to the user configuration list; displaying a target web page corresponding to the login page according to the user data, wherein the target web page comprises at least one dynamic display page area; and rendering each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data.
[0011] In a second aspect, some embodiments of the present disclosure provide a dynamic display page area rendering apparatus, the apparatus comprising: a first obtaining unit configured to, in response to detecting a login operation of a user acting on a login page, obtain a user configuration list corresponding to a user account of the user; a second obtaining unit configured to obtain user data according to the user configuration list; a display unit configured to display a target web page corresponding to the login page according to the user data, wherein the target web page comprises at least one dynamic display page area; and a rendering unit configured to render each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data.
[0012] In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; and a storage device having one or more programs stored thereon, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
[0013] In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
[0014] The above various embodiments of the present disclosure have the following beneficial effects: by the dynamic display page area rendering method of some embodiments of the present disclosure, system redundancy is reduced. Specifically, the reason for system redundancy is that after the user logs in, the user needs to switch to a specific page to browse user information, which is cumbersome to operate, and an additional specific page needs to be set up to display user information, increasing system redundancy. Based on this, the dynamic display page area rendering method of some embodiments of the present disclosure, first, in response to detecting that the user acts on the login operation of the login page, the user configuration list corresponding to the user account of the user is obtained. Then, according to the user configuration list, the user data is obtained. Thus, the user data representing the user's configuration functions can be obtained. Secondly, according to the user data, the target web page corresponding to the login page is displayed. Thus, the display of the target web page can be completed. Finally, according to the user information corresponding to the user data, each dynamic display page area in the at least one dynamic display page area is rendered. Thus, the user information can be displayed on the target web page. Because the rendering of each dynamic display page area in the at least one dynamic display page area is realized, the user does not need to jump to a specific page to browse user information after logging in, and can directly browse and operate on the target web page, reducing the operation steps and simplifying the operation process. Also because the user information is directly displayed on the target page, an additional specific page is not needed to display user information, thereby reducing system redundancy. BRIEF DESCRIPTION OF DRAWINGS
[0015] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail some embodiments thereof with reference to the attached drawings. Throughout the drawings, the same or similar reference numerals refer to the same or similar elements. It should be understood that the drawings are schematic and elements and features are not necessarily to scale.
[0016] Figure 1 is a schematic diagram of an application scenario of the dynamic display page area rendering method of some embodiments of the present disclosure;
[0017] Figure 2 is a flowchart of some embodiments of the dynamic display page area rendering method according to the present disclosure;
[0018] Figure 3 is a flowchart of another some embodiments of the dynamic display page area rendering method according to the present disclosure;
[0019] Figure 4 is a structural schematic diagram of some embodiments of the dynamic display page area rendering apparatus according to the present disclosure;
[0020] Figure 5 is a structural schematic diagram of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0021] Embodiments of the present disclosure will be described below in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly and completely understood. It should be understood that the drawings of the present disclosure are only for illustrative purposes and should not be construed as limiting the scope of protection of the present disclosure.
[0022] It should also be noted that only parts related to the present application are shown in the drawings for the purpose of description. The embodiments in the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0023] It should be noted that the terms "first", "second", and the like in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0024] It should be noted that the terms "one", "multiple" in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless otherwise explicitly stated in the context, it should be understood as "one or more".
[0025] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0026] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0027] Figure 1 is a schematic diagram of one application scenario of the dynamic display page area rendering method of some embodiments of the present disclosure.
[0028] In Figure 1In the application scenario, first, the computing device 101 can acquire a user configuration list 103 corresponding to a user account of the user in response to detecting a login operation of the user acting on the login page 102. Then, the computing device 101 can acquire user data 104 according to the user configuration list 103. After that, the computing device 101 can display a target webpage 105 corresponding to the login page 102 according to the user data 104. The target webpage 105 includes a main page display area 1051 and at least one dynamic display page area (for example, dynamic display page area 1052 and dynamic display page area 1053). Then, the computing device 101 can render each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data 104. For example, the user information can include user information 1061 and user information 1062. The user information 1061 can be a message icon. The user information 1062 can be "You have an approval task numbered 001 waiting for processing". When the at least one dynamic display page area included in the target webpage 105 is the dynamic display page area 1052 and the dynamic display page area 1053, the user information 1061 can be rendered in the dynamic display page area 1052, and the user information 1062 can be rendered in the dynamic display page area 1053.
[0029] It should be noted that the computing device 101 can be hardware or software. When the computing device is hardware, it can be implemented as a distributed cluster composed of multiple servers or terminal devices, or as a single server or a single terminal device. When the computing device is software, it can be installed in the hardware devices listed above. It can be implemented as multiple software or software modules for providing distributed services, or as a single software or software module. It is not specifically limited here.
[0030] It should be understood that Figure 1 The number of computing devices in the above is only illustrative. According to the needs of implementation, there can be any number of computing devices.
[0031] With reference to the above Figure 2 Fig. 200 shows a flow 200 of some embodiments of a dynamic display page area rendering method according to the present disclosure. The dynamic display page area rendering method includes the following steps:
[0032] Step 201, in response to detecting a login operation of a user acting on a login page, acquiring a user configuration list corresponding to a user account of the user.
[0033] In some embodiments, the subject of execution of the dynamic display page area rendering method (such as the computing device 101) can be a server or a terminal device. Figure 1The computing device 101) can acquire a user configuration list corresponding to the user account of the user in response to detecting a login operation of the user acting on the login page. The login page can be a page corresponding to the target page and used for the user to log in to the user account. For example, the login page can be a jump page corresponding to the target page. The target page can be a home page of an application corresponding to the login page. The target page can include a main display page area and at least one dynamic display page area. The main display page area can be a page area displaying website-related information. The dynamic display page area can be a page area dynamically displaying any information corresponding to the user after the user logs in. For example, the dynamic display page area can be a sidebar on either side of a webpage. Here, the number and page position of the dynamic display page area are not limited. The login operation can be an operation of the user successfully logging in to the user account after the user inputs the user account ID and the user account password. The user account can be a user account previously registered by the user. The user configuration list can be a list including at least one user configuration information of the user. The user configuration information can include at least one function module. In practice, the execution subject can acquire the user configuration list corresponding to the same user account as the user account from the terminal through a wired connection mode or a wireless connection mode in response to detecting the login operation of the user acting on the login page. The login page can also be a floating window login page displayed on the target webpage. Thus, the login page can be displayed without webpage jumping, so that the user can perform the login operation on the login page. It should be noted that the wireless connection mode can include, but is not limited to, 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other now known or future developed wireless connection modes.
[0034] Optionally, before step 201, in response to not detecting the login operation of the user acting on the login page, a blank page is displayed in each of the at least one dynamic display page area included in the target webpage. Thus, only the main display page area of the target webpage can be displayed.
[0035] Optionally, before step 201, in response to not detecting the login operation of the user acting on the login page, preset general information is displayed in each of the at least one dynamic display page area included in the target webpage. The preset general information can be information displayed for all users. For example, the preset general information can be information in the form of text and / or pictures. Thus, the preset general information can be displayed in the dynamic display page area when the user is not logged in.
[0036] Optionally, before step 201, first, in response to detecting a user's creation operation on a user account, user permission information corresponding to the user is acquired. The user permission information can be information representing each user role corresponding to the user and a function module corresponding to each user role. The user role can be related to an application system used by the user. For example, the user role can be a financial supervisor related to a financial system. The user role can also be an ordinary employee related to an OA (Office Automation) system. In practice, the execution subject can acquire user permission information corresponding to the user account from a terminal through a wired connection or a wireless connection in response to detecting that the user successfully registers the user account. Then, a user role set is determined according to the user permission information. In practice, each user role represented by the user permission information can be determined as the user role set. Then, at least one function module corresponding to each user role in the user role set is determined as user configuration information to obtain a user configuration information set. For example, first, a chart function module and a report module corresponding to the user role of the financial supervisor are determined as user configuration information A. Second, a schedule task function module and an attendance function module corresponding to the user role of the ordinary employee are determined as user configuration information B. Third, the user configuration information A and the user configuration information B are determined as user configuration information included in the user configuration information set, thereby obtaining the user configuration information set. Second, a user configuration empty table is created. Finally, the user configuration information set is added to the user configuration empty table to obtain an added user configuration empty table as a user configuration list. Thus, a user configuration list representing user configuration can be obtained.
[0037] Optionally, first, the execution subject can acquire a user face image by using a camera. Second, face recognition can be performed on the user face image to obtain a face recognition result. The face recognition result can be a result representing whether the user matches a preset face image in a preset face image set. The preset face image in the preset face image set can be a face image of a user who has created a user account. For example, when the face recognition result is "successful match", it can represent that the user matches a preset face image corresponding to the user in the preset face image set. When the face recognition result is "no matching image", it can represent that the user does not match each preset face image in the preset face image set. In practice, the execution subject can perform face recognition on the user by using an EigenFace algorithm to obtain the face recognition result. Then, in response to the face recognition result representing that the user matches a preset face image corresponding to the user in the preset face image set, user face recognition success information is generated. The user face recognition success information can be information representing that face recognition of the preset face image corresponding to the user is successful. The user face recognition success information can include a user account. For example, the user face recognition success information can be "user face recognition of a user with a user account 001 is successful". Finally, in response to detecting the user face recognition success information, a user configuration list corresponding to the user account of the user can be acquired. Thus, the user login operation can be completed by face recognition, and the security of user login is improved.
[0038] The above content and its related content are one of the inventive points of the embodiments of the present disclosure, and solve the second technical problem mentioned in the background that "user account password is easy to be leaked, and the security of the user account is low". The factors leading to the low security of the user account are as follows: the user account password is easy to be leaked, and a non-user himself / herself can also log in by using the user account password. If the above factors are solved, the effect of reducing the operation steps can be achieved. In order to achieve this effect, the present disclosure completes the login of the user by face recognition, thereby avoiding the non-self login caused by the leakage of the user account password, and further improving the security of the user account.
[0039] Optionally, first, the execution subject can perform face recognition age detection on the user to obtain a predicted user age. In practice, the execution subject can perform face recognition age detection on the user to obtain a predicted user age by using a Fisherface algorithm. Then, the webpage font scaling multiple can be determined according to the predicted user age and a preset webpage scaling multiple correspondence table. The preset webpage scaling multiple correspondence table can be a correspondence table representing user age and corresponding webpage scaling multiple. The specific setting of the preset webpage scaling multiple correspondence table can be set by relevant staff. For example, 45 years old can correspond to 2 times, and 50 years old can correspond to 3 times. Second, it can be detected whether the user wears glasses to obtain a glasses wearing detection result. In practice, it can be detected whether the user wears glasses by using face recognition. Finally, the webpage font scaling multiple can be adjusted to obtain an adjusted webpage font scaling multiple in response to detecting that the glasses wearing detection result represents that the user wears glasses. In practice, in response to detecting that the glasses wearing detection result represents that the user wears glasses, the product of a preset multiple value and the webpage font scaling multiple can be determined as the adjusted webpage font scaling multiple. The preset multiple value can be a multiple value preset by relevant staff.
[0040] The above content and its related content serve as one of the inventive points of the embodiments of the present disclosure, and solve the third technical problem mentioned in the background. When the user enters the webpage and starts browsing, the webpage font size is usually the default size, and the webpage font size cannot be automatically adjusted according to different users when entering the webpage, which results in poor user experience. The factors that cause poor user experience are as follows: when the user enters the webpage and starts browsing, the webpage font size is usually the default size, and the webpage font size cannot be automatically adjusted according to different users when entering the webpage. If the above factors are solved, the effect of reducing the operation steps can be achieved. In order to achieve this effect, the present disclosure predicts the user age by face detection and determines whether the user wears glasses, and then determines the webpage font scaling multiple, so as to automatically adjust the webpage font size according to the webpage font scaling multiple when the user enters the webpage, so that the webpage font size is adapted to the user, thereby improving the user experience.
[0041] In step 202, user data is obtained according to a user configuration list.
[0042] In some embodiments, the execution subject can obtain user data according to the user configuration list. The user data can be information related to the function module corresponding to the user configuration in the user configuration list. For example, when the function module corresponding to the user configuration in the user configuration list is related to a financial system, the user data can include reports and approval tasks. When the function module corresponding to the user configuration in the user configuration list is related to an OA system, the user data can include attendance time, absence times, and schedule tasks. In practice, the execution subject can obtain user data from the terminal according to the user account corresponding to the user configuration list. Thus, the user data of the user can be obtained.
[0043] In some optional implementations of some embodiments, first, in response to the user configuration list including at least two user configuration information, the execution subject can generate configuration selection prompt information. The configuration selection prompt information can be information prompting the user to select in each configuration information. In practice, the execution subject can combine the preset corpus and the at least two user configuration information into the configuration selection prompt information. For example, the configuration selection prompt information can be: "Please select the current configuration: [user configuration information A], [user configuration information B]". Then, the configuration selection prompt information can be displayed to prompt the user to select at least two user configuration information included in the user configuration list. After that, in response to detecting that the user performs a selection operation on any user configuration information included in the user configuration list, the user configuration information selected by the user can be determined as target user configuration information. Finally, the user data corresponding to the user account can be obtained from the terminal according to the target user configuration information through wired connection or wireless connection. Thus, the obtained user data can represent each function module corresponding to the target user configuration information.
[0044] The above and related contents are one of the inventive points of the embodiments of the present disclosure, and solve the fourth technical problem mentioned in the background. When one user corresponds to multiple user roles, the user needs to manually enter the user configuration information corresponding to the remaining user roles in the user configuration list, which further leads to complicated operations. The factors that further lead to complicated operations are as follows: when one user corresponds to multiple user roles, the user needs to manually enter the user configuration information corresponding to the remaining user roles in the user configuration list. If the above factors are solved, the effect of reducing the operation steps can be achieved. In order to achieve this effect, the present disclosure generates configuration selection prompt information to prompt the user to select in each user configuration information, and acquires user data according to the user configuration information selected by the user, thereby avoiding manual configuration of the user in the user configuration list, and only needs to select in each user configuration information. Therefore, the operation steps can be reduced, and the complicated operations caused by manual configuration of the user configuration information by the user can be avoided.
[0045] In step 203, the target web page corresponding to the login page is displayed according to the user data.
[0046] In some embodiments, the execution subject can display the target web page corresponding to the login page according to the user data. In practice, when the login page is a jump page corresponding to the target web page, the execution subject can jump from the login page to the target web page and display the target web page. In this way, the display of the target web page can be completed.
[0047] In some optional implementations of some embodiments, when the login page is a floating window login page displayed on the upper layer of the target web page, the execution subject can close the floating window login page to display the display content of the target web page in its entirety. In this way, by selecting a floating window page as a login page, the whole page refresh caused by user login and page jump is avoided, so that when the page content is updated, only the dynamic display page regions included in the target web page need to be rendered, and the main display page region included in the target web page does not need to be reloaded. Therefore, when the page content needs to be updated after the user logs in, only the dynamic display page regions need to be refreshed, thereby reducing the data loss caused by whole page refresh. In this way, the page jump is reduced, and the running resources of the device are saved.
[0048] Optionally, the execution subject can display the target web page corresponding to the login page according to the adjusted web font scaling multiple. For example, when the adjusted web font scaling multiple is 1.5 times, the font in the target web page corresponding to the login page can be displayed by being enlarged by 1.5 times. In this way, the web font size can be adjusted when the user enters the target web page.
[0049] In step 204, each of the at least one dynamic display page area is rendered according to user information corresponding to the user data.
[0050] In some embodiments, the execution subject can render each of the at least one dynamic display page area according to user information corresponding to the user data. The user information can be information obtained by analyzing the user data. For example, when the user data includes an approval task represented by an approval task with a number 001 to be processed, the user information can be "You have an approval task with a number 001 to be processed". In practice, if the user information is "You have an approval task with a number 001 to be processed" and the dynamic display page area is a sidebar on both sides of a webpage, the user information can be rendered in the form of a message icon flashing in the left sidebar, and the specific text of the user information can be rendered in the right sidebar. Thus, the user information can be displayed on the target webpage.
[0051] Optionally, the execution subject can update a dynamic display page area corresponding to the user data change information in the at least one dynamic display page area in response to receiving the user data change information. The specific setting of the user data change information can be determined by relevant staff of the application system. For example, the user data change information can be a new approval task, a change of an approval task, or a new schedule, etc. Thus, the user data change information is introduced, and once the user data changes, the dynamic display page area can be updated, thereby improving the efficiency and timeliness of information updating.
[0052] Optionally, the execution subject can display user information corresponding to the expansion control in the main display page area in response to detecting that the user operates the selection operation on the expansion control included in the dynamic display page area. The expansion control can be a control representing viewing user information displayed in the dynamic display page area in the main display page area. For example, when the user information displayed in the dynamic display page area is a report, the execution subject can display the report in the main display page area in response to detecting that the user operates the selection operation on the expansion control included in the dynamic display page area. Thus, the user information can be switched and displayed from the dynamic display page area to the main display page area.
[0053] The above various embodiments of the present disclosure have the following beneficial effects: by the dynamic display page area rendering method of some embodiments of the present disclosure, system redundancy is reduced. Specifically, the reason for causing system redundancy is that after the user logs in, the user needs to switch to a specific page to browse user information, which is cumbersome to operate, and an additional specific page needs to be set up to display user information, increasing system redundancy. Based on this, the dynamic display page area rendering method of some embodiments of the present disclosure, first, in response to detecting that the user acts on the login operation of the login page, a user configuration list corresponding to the user account of the user is obtained. Then, according to the user configuration list, the user data is obtained. Thus, the user data representing the user's configuration functions can be obtained. Secondly, according to the user data, the target web page corresponding to the login page is displayed. Thus, the display of the target web page can be completed. Finally, according to the user information corresponding to the user data, each dynamic display page area in the at least one dynamic display page area is rendered. Thus, the user information can be displayed on the target web page. Because the rendering of each dynamic display page area in the at least one dynamic display page area is realized, the user does not need to jump to a specific page to browse user information after logging in, and can directly browse and operate on the target web page, reducing the operation steps and simplifying the operation process. Also because the user information is directly displayed on the target page, an additional specific page is not needed to display user information, thereby reducing system redundancy.
[0054] Further reference is made to Figure 3 which shows the flow 300 of some other embodiments of the dynamic display page area rendering method. The flow 300 of the dynamic display page area rendering method includes the following steps:
[0055] Step 301, in response to detecting that the user acts on the login operation of the login page, a user configuration list corresponding to the user account of the user is obtained.
[0056] Step 302, according to the user configuration list, the user data is obtained.
[0057] Step 303, according to the user data, the target web page corresponding to the login page is displayed.
[0058] Step 304, according to the user information corresponding to the user data, each dynamic display page area in the at least one dynamic display page area is rendered.
[0059] In some embodiments, the specific implementation of steps 301-304 and the technical effects brought by them can refer to steps 201-204 in the corresponding embodiments, which will not be repeated here. Figure 2
[0060] Step 305, in response to detecting that the user acts on the switching selection operation of any user configuration information in the at least two user configuration information included in the user configuration list, determining the user switching configuration information as the user switching selection of the user configuration information.
[0061] In some embodiments, the execution subject can determine the user switching configuration information as the user switching selection of the user configuration information in response to detecting that the user acts on the switching selection operation of any user configuration information in the at least two user configuration information included in the user configuration list. As an example, when the user configuration list includes three user configuration information A, B, and C, and the function module included in the user configuration information A is related to the OA (Office Automation) system, and the function module included in the user configuration information B is related to the financial system. If the user configuration information selected at this time is A, in response to detecting that the user acts on the switching selection operation of the user configuration information B in the three user configuration information A, B, and C included in the user configuration list, the user configuration information B is determined as the user switching configuration information. Thus, the user switching configuration information selected by the user can be obtained.
[0062] Step 306, according to the user switching configuration information, obtaining the user switching data.
[0063] In some embodiments, the execution subject can obtain the user switching data corresponding to the user switching selection of the user configuration information in the user configuration list corresponding to the user account from the terminal according to the user switching configuration information. The user switching data can be information related to the function module included in the user switching selection of the user configuration information. For example, for the example in step 305, when the function module included in the user switching configuration information is related to finance, the user switching data can be a financial report. Thus, the user switching data can be obtained.
[0064] Step 307, according to the user switching data, updating the dynamic display page area included in the target web page.
[0065] In some embodiments, the execution subject can update the dynamic display page area included in the target web page according to the user switching data. For example, for the example in step 306, the approval task corresponding to the user configuration information A displayed in the dynamic display page area included in the target web page can be updated to a financial report. Thus, the update of the dynamic display page area included in the target web page can be completed.
[0066] From Figure 3 It can be seen that, compared with Figure 2 the description of some embodiments corresponding to Figure 3The flow 300 of the dynamic display page area rendering method in some embodiments corresponds to the steps of extending the user switching configuration information and updating the dynamic display page area included in the target web page. Thus, the scheme described in these embodiments can introduce user switching configuration information, so that the user can switch the configuration to synchronize the update of the dynamic display page area included in the target web page. Thus, the synchronization update of the dynamic display page area with respect to the user switching configuration information can be realized.
[0067] Further referring to Figure 4 , as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a dynamic display page area rendering device, which corresponds to the method embodiments shown in Figure 2 , and the device can be specifically applied to various electronic devices.
[0068] As shown in Figure 4 , the dynamic display page area rendering device 400 of some embodiments includes a first obtaining unit 401, a second obtaining unit 402, a display unit 403, and a rendering unit 404. The first obtaining unit 401 is configured to obtain a user configuration list corresponding to a user account of a user in response to detecting a login operation of the user acting on a login page; the second obtaining unit 402 is configured to obtain user data according to the user configuration list; the display unit 403 is configured to display a target web page corresponding to the login page according to the user data, wherein the target web page includes at least one dynamic display page area; and the rendering unit 404 is configured to render each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data.
[0069] It can be understood that the units described in the device 400 correspond to the steps in the method described with reference to Figure 2 . Thus, the operations, features and beneficial effects described above for the method also apply to the device 400 and the units contained therein, which will not be described here.
[0070] The following refers to Figure 5 , which shows a structural schematic diagram of an electronic device (such as the computing device 101 shown in Figure 1 ) 500 suitable for implementing some embodiments of the present disclosure. Figure 5 The electronic device shown is only an example and should not impose any limitation on the function and use range of the embodiments of the present disclosure.
[0071] As shown in Figure 5As shown, the electronic device 500 can include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501 that can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 502 or loaded into a random access memory (RAM) 503 from a storage device 508. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0072] Generally, the following devices can be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 509. The communication devices 509 can allow the electronic device 500 to communicate wirelessly or wired with other devices to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that all of the illustrated devices are not required, and more or fewer devices can alternatively be implemented. Figure 5 Each block shown in the flowcharts can represent a device, or multiple devices, as necessary.
[0073] In particular, processes described above with reference to the flowcharts can be implemented as a computer software program according to some embodiments of the present disclosure. For example, some embodiments of the present disclosure include a computer program product including a computer program carried on a computer readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In some such embodiments, the computer program can be downloaded and installed from a network through the communication devices 509, or installed from the storage devices 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-described functions defined in the methods of some embodiments of the present disclosure are performed.
[0074] Note that the computer readable medium in some embodiments of the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program used by an instruction execution system, apparatus or device, or that can be used by or in connection with an instruction execution system, apparatus or device. In some embodiments of the present disclosure, the computer readable signal medium can include a computer readable program code propagated in or on a carrier medium, in which the computer readable program code is embodied. Such propagated computer readable program code can take many forms, including but not limited to, an electromagnetic signal, an optical signal or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. Program code embodied on a computer readable medium can be transmitted using any suitable medium, including but not limited to, wire, cable, wireless, RF, infrared or any suitable combination of the foregoing.
[0075] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.
[0076] The computer readable medium can be included in the electronic device; or can exist separately from the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to detecting a login operation of a user acting on a login page, acquire a user configuration list corresponding to a user account of the user; acquire user data according to the user configuration list; and display a target web page corresponding to the login page according to the user data, wherein the target web page comprises at least one dynamic display page area; and render each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data.
[0077] Computer program code for carrying out operations of some embodiments of the disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0078] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a procedure, or a part of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in a different order than that noted in the figures. For example, two blocks noted in succession can in fact be executed substantially concurrently or in the opposite order, depending on the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations of blocks in the block diagrams and / or flow diagrams, can be implemented by dedicated hardware-based systems that carry out the specified functions or operations, or combinations of dedicated hardware and computer instructions.
[0079] The units described in some embodiments of the present disclosure can be implemented in the form of software, or can be implemented in the form of hardware. The described units can also be arranged in a processor, for example, can be described as: a processor comprising a first acquisition unit, a second acquisition unit, a display unit and a rendering unit. Among them, the name of these units does not constitute a limitation to the unit itself in some cases, for example, the second acquisition unit can also be described as "a unit for acquiring user data according to the user configuration list".
[0080] The functions described above in the present document can be performed at least in part by one or more hardware logic components. For example, non-limiting, exemplary types of hardware logic components that can be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on a chip (SOCs), complex programmable logic devices (CPLDs), etc.
[0081] The above description is merely some preferred embodiments of the present disclosure and a description of the principles of the technology used. Those skilled in the art should understand that the scope of the application involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with the technical features disclosed in the embodiments of the present disclosure (but not limited to) having similar functions to form technical solutions.
Claims
1. A method for rendering dynamic display page area, comprising: in response to detecting a login operation of a user acting on a login page, obtaining a user configuration list corresponding to a user account of the user, wherein the user configuration list is a list comprising at least one user configuration information of the user, and the user configuration information comprises information of at least one function module; obtaining user data according to the user configuration list, wherein in response to the user configuration list comprising at least two user configuration information, a configuration selection prompt information is generated, in response to detecting a selection operation of the user acting on any of the at least two user configuration information included in the user configuration list, the user configuration information selected by the user is determined as target user configuration information, and user data corresponding to the user account is obtained according to the target user configuration information; displaying a target web page corresponding to the login page according to the user data, wherein the target web page comprises at least one dynamic display page area; rendering each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data; wherein the login operation further comprises that the user completes login through face recognition, a face recognition result is obtained according to the face recognition, in response to the face recognition result representing that the user is consistent with a preset face image corresponding to the user in a preset face image set, a user face recognition success information is generated, and in response to detecting the user face recognition success information, a user configuration list corresponding to a user account of the user is obtained, wherein the preset face image in the preset face image set is a face image of a user who has created a user account, and the user face recognition success information comprises the user account; the face recognition further comprises face recognition age detection, face recognition age detection is performed on the user to obtain a predicted user age, and a web font zooming multiple is determined according to the predicted user age and a preset web zooming multiple reference table, wherein the preset web zooming multiple reference table is a reference table representing user age and corresponding web zooming multiple; the face recognition further comprises glasses wearing detection, glasses wearing detection is performed on the user to obtain a glasses wearing detection result, and in response to detecting that the glasses wearing detection result represents that the user wears glasses, the web font zooming multiple is adjusted to obtain an adjusted web font zooming multiple.
2. The method of claim 1, wherein, Before the step of obtaining the user configuration list corresponding to the user account of the user, the method further comprises: in response to not detecting a login operation of a user acting on a login page, displaying a blank page in each dynamic display page area in at least one dynamic display page area included in a target web page.
3. The method of claim 1, wherein, Before the step of obtaining the user configuration list corresponding to the user account of the user, the method further comprises: in response to not detecting a login operation of a user acting on a login page, displaying preset general information in each dynamic display page area in at least one dynamic display page area included in a target web page.
4. The method of claim 1, wherein, Before the acquiring the user configuration list corresponding to the user account of the user, the method further comprises: in response to detecting a user creation operation on a user account, acquiring user permission information corresponding to the user; determining a user role set according to the user permission information; determining at least one function module corresponding to each user role in the user role set as user configuration information to obtain a user configuration information set; creating a user configuration empty table; adding the user configuration information set to the user configuration empty table to obtain an added user configuration empty table as a user configuration list.
5. The method of claim 1, wherein, The method further comprises: in response to receiving user data change information, updating a dynamic display page area corresponding to the user data change information in the at least one dynamic display page area.
6. The method of claim 1, wherein, The method further comprises: in response to detecting a switching selection operation of the user on any user configuration information in at least two user configuration information included in the user configuration list, determining the user configuration information switched and selected by the user as user switching configuration information; acquiring user switching data according to the user switching configuration information; updating a dynamic display page area included in the target web page according to the user switching data.
7. The method according to one of claims 1 to 6, wherein The login page is a floating window login page displayed on the target web page; and The displaying the target web page corresponding to the login page according to the user data comprises: closing the floating window login page to display the display content of the target web page entirely.
8. A dynamic display page area rendering apparatus, comprising: a first acquiring unit configured to acquire a user configuration list corresponding to a user account of a user in response to detecting a login operation of the user on a login page, wherein the user configuration list is a list including at least one user configuration information of the user, and the user configuration information is information including at least one function module; a second acquiring unit configured to acquire user data according to the user configuration list, wherein in response to the user configuration list including at least two user configuration information, configuration selection prompt information is generated, in response to detecting a selection operation of the user on any user configuration information in at least two user configuration information included in the user configuration list, determining the user configuration information selected by the user as target user configuration information, and acquiring user data corresponding to the user account according to the target user configuration information; a display unit configured to display a target web page corresponding to the login page according to the user data, wherein the target web page includes at least one dynamic display page area; a rendering unit configured to render each dynamic display page area in the at least one dynamic display page area according to user information corresponding to the user data. The login operation further includes that the user completes login through face recognition, a face recognition result is obtained according to the face recognition, user face recognition success information is generated in response to the face recognition result representing that the user is consistent with a preset face image corresponding to the user in a preset face image set, a user configuration list corresponding to a user account of the user is obtained in response to detection of the user face recognition success information, the preset face image in the preset face image set is a face image of a user who has created a user account, and the user face recognition success information includes the user account. The face recognition further includes face recognition age detection, face recognition age detection is performed on the user to obtain a predicted user age, and a webpage font zooming multiple is determined according to the predicted user age and a preset webpage zooming multiple reference table, the preset webpage zooming multiple reference table is a reference table representing a user age and a corresponding webpage zooming multiple; The face recognition further includes glasses wearing detection, glasses wearing detection is performed on the user to obtain a glasses wearing detection result, and the webpage font zooming multiple is adjusted to obtain an adjusted webpage font zooming multiple in response to detection of the glasses wearing detection result representing that the user wears glasses. 9.An electronic device, comprising: one or more processors; a storage device having stored thereon one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-7.
10. A computer readable medium having stored thereon a computer program, wherein, The program is executed by the processor to implement the method according to any one of claims 1-7.
Citation Information
Patent Citations
Page dynamic generation method and device, computer equipment and storage medium
CN110297672A