User interface self-adaption method based on Web front-end technology

Through the user interface adaptive method based on Web front-end technology, the problem of inconsistent user experience under different devices is solved, flexible page layout and efficient development are achieved, and user experience and development efficiency are improved.

CN118760486APending Publication Date: 2024-10-11ANHUI IFLYTEK VIDEO TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410682835.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing technology cannot provide a consistent and comfortable user experience under different devices, screen sizes, and operating environments. Traditional page layout design cannot meet the needs of diverse devices, and development costs and efficiency are low.

Method used

Adopt a user interface adaptive method based on Web front-end technology, consider the display effects of different devices, select a suitable front-end framework or library, build a responsive design, conduct compatibility testing and performance optimization, and continuously adjust the page design and layout based on user feedback .

Benefits of technology

It achieves a consistent user experience under different devices and environments, improves development efficiency and flexibility, enhances user experience and accessibility, reduces development costs, and improves code reusability and responsiveness through component development and responsive design. Page loading speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760486A_ABST
    Figure CN118760486A_ABST
Patent Text Reader

Abstract

The invention relates to user interface self-adaption, in particular to a Web front-end technology-based user interface self-adaption method, which comprises the following steps of: considering display effects under different devices, and determining a design style and a layout structure of each page; selecting a front-end framework or library suitable for project requirements so as to realize modularized development and flexible page layout; constructing page layout and style, and realizing responsive design; compatibility testing is carried out on various devices; in combination with a page performance monitoring result and user feedback, the page loading speed and interaction experience are optimized; according to the technical scheme provided by the invention, the defect that a user cannot obtain consistent and comfortable user experience under the conditions of different equipment, screen sizes, operation environments and the like in the prior art can be effectively overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to user interface adaptation, and in particular to a user interface adaptation method based on Web front-end technology. Background Art

[0002] User interface adaptation is a design strategy that aims to dynamically adjust the interface based on different devices, screen sizes, operating environments, and other factors to ensure that users can get the best experience in different situations. The core of user interface adaptation lies in flexibility and intelligence. Through real-time detection and analysis of user devices, operating environments, etc., the system can dynamically adjust the size, position, visibility and other attributes of the interface to adapt to the current usage scenario.

[0003] The goal of user interface adaptation is to enable users to obtain a consistent and comfortable user experience under different devices, screen sizes, operating environments, etc. This is not only one of the important means to optimize user experience in the field of modern software engineering, but also an important way to improve application usability and user satisfaction.

[0004] With the popularity and diversification of mobile devices, it is becoming more and more common for users to access websites or applications on different devices. The traditional fixed page layout design can no longer meet user needs. At the same time, by introducing user interface adaptive technology, development costs and workload can be reduced, development efficiency can be improved, and developers can be provided with more flexible design styles and layout structures, so that they can better adapt to the ever-changing user needs and technical environment. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In view of the above-mentioned shortcomings of the prior art, the present invention provides a user interface adaptation method based on Web front-end technology, which can effectively overcome the defect of the prior art that users cannot obtain a consistent and comfortable user experience under different devices, screen sizes, operating environments and other conditions.

[0007] (II) Technical solution

[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0009] A user interface adaptive method based on Web front-end technology, comprising the following steps:

[0010] S1. Consider the display effects on different devices and determine the design style and layout structure of each page;

[0011] S2. Select a front-end framework or library that suits the project requirements to achieve component-based development and flexible page layout;

[0012] S3. Build page layout and style, and implement responsive design;

[0013] S4. Perform compatibility testing on various devices;

[0014] S5. Combine page performance monitoring results and user feedback to optimize page loading speed and interactive experience.

[0015] Preferably, in S1, the display effects on different devices are taken into consideration to determine the design style and layout structure of each page, including:

[0016] Design specific page elements to ensure they are legible and in order on different screen sizes;

[0017] Among them, page elements include navigation bar, content area, and picture display.

[0018] Preferably, after selecting a front-end framework or library suitable for the project requirements in S2 to achieve component-based development and flexible page layout, it includes:

[0019] Determine the media query rules and breakpoints used to adjust page layout and styles for different screen sizes.

[0020] Preferably, the page layout and style are built in S3, and responsive design is implemented, including:

[0021] Use HTML5 and CSS3 techniques to build page layout and style, and use Flexbox and Grid layout to achieve responsive design.

[0022] Preferably, after building the page layout and style in S3 and implementing responsive design, it includes:

[0023] Combine JavaScript to write interactive effects and animations to enhance user experience while ensuring smooth operation on different devices.

[0024] Preferably, S4 performs compatibility testing on various devices, including:

[0025] Perform compatibility testing on various devices to verify the display effect of the page at different resolutions;

[0026] Conduct compatibility tests on various systems and browsers to verify the display effects of the page under different software;

[0027] Among them, devices include desktop computers, laptops, tablets, and mobile phones; systems include Windows, iOS, and Android; browsers include Chrome, Firefox, Safari, and Edge.

[0028] Preferably, after combining the page performance monitoring results and user feedback to optimize the page loading speed and interactive experience in S5, the following steps are included:

[0029] Continuously conduct A / B testing and user behavior analysis, and adjust page design and layout based on the data obtained to improve user satisfaction and conversion rate.

[0030] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the user interface adaptation method based on Web front-end technology as described in any one of claims 1 to 7 is implemented.

[0031] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the user interface adaptation method based on Web front-end technology as described in any one of claims 1 to 7.

[0032] (III) Beneficial effects

[0033] Compared with the prior art, the user interface adaptation method based on Web front-end technology provided by the present invention has the following beneficial effects:

[0034] 1) Component-based development: Using Vue.js front-end framework or React library to implement component-based development of pages, you can better manage the layout and style of pages, improve code reusability and maintainability. At the same time, through component-based development, you can easily realize dynamic loading and updating of pages, making the user interface more flexible and easy to expand;

[0035] 2) Responsive design and adaptive layout: Through media query rules and breakpoint design, the page can be adaptively laid out under different screen sizes to ensure that the page can present the best display effect on various devices. The page typesetting and layout will be automatically adjusted according to the screen size of the device to improve user experience and accessibility;

[0036] 3) User experience optimization: Combine JavaScript to write interactive effects and animations to enhance user experience and make the page more attractive and interesting. At the same time, through A / B testing and user behavior analysis, continuously optimize page design and layout, improve user satisfaction and conversion rate, and thus provide a better user experience;

[0037] 4) Performance optimization: During the development phase, we fully consider the compatibility of the page on different devices, systems, and browsers. We use compatibility testing to ensure that the page displays normally in various environments. At the same time, we combine page performance monitoring results and user feedback to optimize page loading speed and interactive experience in a targeted manner to ensure the smoothness and stability of the page. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] A user interface adaptive method based on Web front-end technology, such as Figure 1 As shown, ① Consider the display effects on different devices and determine the design style and layout structure of each page, including:

[0042] Design specific page elements to ensure they are legible and in order on different screen sizes;

[0043] Among them, page elements include navigation bar, content area, and picture display.

[0044] ②Choose a front-end framework or library that suits the project requirements (such as Vue.js front-end framework, React library, etc.) to achieve component-based development and flexible page layout.

[0045] Specifically, select a front-end framework or library that suits the project requirements to achieve component-based development and flexible page layout, including:

[0046] Determine the media query rules and breakpoints used to adjust page layout and styles for different screen sizes.

[0047] ③Build page layout and style, and implement responsive design, including:

[0048] Use HTML5 and CSS3 techniques to build page layout and style, and use Flexbox and Grid layout to achieve responsive design.

[0049] Specifically, after building the page layout and style and implementing responsive design, it includes:

[0050] Combine JavaScript to write interactive effects and animations to enhance user experience while ensuring smooth operation on different devices.

[0051] ④Perform compatibility testing on various devices, including:

[0052] Perform compatibility testing on various devices to verify the display effect of the page at different resolutions;

[0053] Conduct compatibility tests on various systems and browsers to verify the display effects of the page under different software;

[0054] Among them, devices include desktop computers, laptops, tablets, and mobile phones; systems include Windows, iOS, and Android; browsers include Chrome, Firefox, Safari, and Edge.

[0055] ⑤ Combine page performance monitoring results and user feedback to optimize page loading speed and interactive experience.

[0056] Specifically, after combining the page performance monitoring results and user feedback, we optimized the page loading speed and interactive experience, including:

[0057] Continuously conduct A / B testing and user behavior analysis, and adjust page design and layout based on the data obtained to improve user satisfaction and conversion rate.

[0058] The technical solution of the present application also discloses a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a user interface adaptation method based on Web front-end technology as claimed in any one of claims 1 to 7.

[0059] The technical solution of the present application also discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the user interface adaptation method based on Web front-end technology as claimed in any one of claims 1 to 7 are implemented.

[0060] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements will not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A user interface adaptive method based on Web front-end technology, characterized by: The following steps are involved: S1. Consider the display effects on different devices and determine the design style and layout structure of each page; S2. Select a front-end framework or library that suits the project requirements to achieve component-based development and flexible page layout; S3. Build page layout and style, and implement responsive design; S4. Perform compatibility testing on various devices; S5. Combine page performance monitoring results and user feedback to optimize page loading speed and interactive experience.

2. The user interface adaptive method based on Web front-end technology according to claim 1, characterized in that: S1 considers the display effects on different devices and determines the design style and layout structure of each page, including: Design specific page elements to ensure they are legible and arranged in order on different screen sizes; Among them, page elements include navigation bar, content area, and picture display.

3. The user interface adaptive method based on Web front-end technology according to claim 2, characterized in that: After selecting a front-end framework or library that suits the project requirements in S2 to achieve component-based development and flexible page layout, it includes: Determine the media query rules and breakpoints used to adjust page layout and styles for different screen sizes.

4. The user interface self-adaptation method based on Web front-end technology according to claim 3, characterized in that: Build page layout and styles in S3 and implement responsive design, including: Use HTML5 and CSS3 techniques to build page layout and style, and use Flexbox and Grid layout to achieve responsive design.

5. The user interface adaptive method based on Web front-end technology according to claim 4 is characterized in that: After building the page layout and style in S3 and implementing responsive design, it includes: Combine JavaScript to write interactive effects and animations to enhance user experience while ensuring smooth operation on different devices.

6. The user interface self-adaptation method based on Web front-end technology according to claim 5, characterized in that: S4 is tested for compatibility on a variety of devices, including: Perform compatibility testing on various devices to verify the display effect of the page at different resolutions; Conduct compatibility tests on various systems and browsers to verify the display effects of the page under different software; Among them, devices include desktop computers, laptops, tablets, and mobile phones; systems include Windows, iOS, and Android; browsers include Chrome, Firefox, Safari, and Edge.

7. The user interface self-adaptation method based on Web front-end technology according to claim 6, characterized in that: S5 combines page performance monitoring results and user feedback to optimize page loading speed and interactive experience, including: Continuously conduct A / B testing and user behavior analysis, and adjust page design and layout based on the data obtained to improve user satisfaction and conversion rate.

8. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for user interface adaptation based on Web front-end technology as described in any one of claims 1 to 7 is implemented.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, each step of the user interface adaptation method based on Web front-end technology as described in any one of claims 1 to 7 is implemented.