Interface layout generation method and device

By obtaining the current delivery environment data of the delivery rider and generating the layout of interface elements in the terminal interface based on the current delivery scenario, the problem of unreasonable layout of the App interface of the delivery rider is solved, the operation efficiency and security are improved, the needs in different delivery scenarios are adapted to the needs of different delivery scenarios, and the user experience is enhanced.

CN120492069APending Publication Date: 2025-08-15BEIJING LONGJU YIXING TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510539440.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The layout of the app interface of the delivery rider terminal is unreasonable, which affects the rider's operation efficiency and the accuracy and timeliness of the delivery service.

Method used

By obtaining the current delivery environment data of the delivery rider, the layout of interface elements in the terminal interface is generated based on the current delivery scenario, including layout adjustments in emergency delivery scenarios, normal delivery scenarios and high-risk scenarios, and dynamically adjusting the position and display attributes of interface elements in combination with rule weights, element weights and historical operation data.

Benefits of technology

It improves the rationality of interface layout, improves the safety and efficiency of delivery riders, adapts to the needs of different delivery scenarios, and enhances user experience and security awareness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120492069A_ABST
    Figure CN120492069A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the field of data processing, and discloses an interface layout generation method and device, and the method comprises the steps: obtaining the current distribution environment data of a distribution rider; determining a current distribution scene of the distribution rider based on the current distribution environment data; and based on the current distribution scene, generating an interface layout of the target element in the interface elements in the terminal interface. By applying the technical scheme, the rationality of interface layout generation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of data processing, and in particular to a method and device for generating an interface layout. Background Art

[0002] With the rapid development of mobile internet technology, delivery services have become an indispensable part of people's daily lives. As an important component of delivery services, the rationality and adaptability of the delivery rider app's interface layout are directly related to the rider's operational efficiency and experience, which in turn affects the accuracy and timeliness of delivery services. Summary of the Invention

[0003] In view of the above problems, an embodiment of the present invention provides an interface layout generation method and device, which is used to solve the problem of unreasonable interface layout of the delivery rider-side App in related technologies.

[0004] According to one aspect of an embodiment of the present invention, a method for generating an interface layout is provided. The method comprises: obtaining a delivery rider's current delivery environment data; determining the delivery rider's current delivery scenario based on the current delivery environment data; and generating an interface layout for target elements in the interface elements on a terminal interface based on the current delivery scenario. This process improves the rationality of interface layout generation, thereby enhancing the safety and efficiency of delivery riders.

[0005] In an optional implementation, based on the current delivery scenario, generating an interface layout of a target element among the interface elements on a terminal interface includes:

[0006] If the current delivery scenario is an emergency delivery scenario, obtain the scenario delivery rules for the current delivery scenario;

[0007] Determine the rule weights of target elements in the interface elements based on the scene distribution rules;

[0008] Based on the rule weights, the target elements are laid out on the terminal interface to generate a first interface layout of the target elements among the interface elements on the terminal interface, where the interface layout includes the first interface layout.

[0009] In an optional embodiment, laying out the target elements on the terminal interface based on the rule weights to generate a first interface layout of the target elements among the interface elements on the terminal interface includes:

[0010] Determining a first fixed position of a core element among the target elements in a target layout area, and a first floating position and a first hidden position of a non-core element among the target elements in the target layout area based on the rule weight;

[0011] Based on the first fixed position, the first floating position, and the first hidden position, the target elements are laid out on the terminal interface to generate a first interface layout of the target elements among the interface elements on the terminal interface.

[0012] In an optional embodiment, based on the current delivery scenario, generating an interface layout of a target element among the interface elements on the terminal interface further includes:

[0013] If the current delivery scenario is a normal delivery scenario, and the environmental risk factor corresponding to the current delivery scenario is less than or equal to the risk factor threshold, the element weight and operation layout area of each interface element are determined based on the delivery rider's historical operation data on the operation terminal;

[0014] Based on the environmental risk coefficient, the operation layout area, the rule weight and the element weight, the target elements in the interface elements are laid out in the operation layout area to generate a second interface layout of the interface elements in the terminal interface, and the interface layout includes the second interface layout.

[0015] In an optional embodiment, the element weight and layout area of each interface element are determined based on the historical operation data of the delivery rider on the operation terminal, including:

[0016] Analyze the delivery riders' historical operation data on the operating terminal to obtain the distribution of the delivery riders' click hot spots on the terminal interface, as well as the usage frequency and operation sequence of each interface element;

[0017] Determine element weights based on the frequency of use and order of operations of interface elements;

[0018] Determine the operation layout area of the interface elements based on the element weight and click hot zone distribution.

[0019] In an optional embodiment, based on the environmental risk factor, the rule weight, and the element weight, a second fixed position of a core element in the interface elements in the operation layout area and a second floating position of a non-core element in the interface elements in the operation layout area are determined;

[0020] Based on the second fixed position and the second floating position, the target element among the interface elements is laid out on the terminal interface to generate a second interface layout of the interface elements on the terminal interface.

[0021] In an optional embodiment, generating an interface layout of a target element among the interface elements on a terminal interface based on the current delivery scenario further includes:

[0022] If the current delivery scenario is a high-risk scenario, the interface color of the terminal interface is determined based on the current delivery environment data. A high-risk scenario includes an environmental risk factor greater than a risk factor threshold.

[0023] Based on the interface colors and element weights of the interface elements, a third interface layout of the target element among the interface elements on the terminal interface is generated in the operation layout area.

[0024] In an optional embodiment, after generating an interface layout of a target element among the interface elements on a terminal interface based on the current delivery scenario, the method further includes:

[0025] Obtain the delivery rider's operation log on the target element;

[0026] Determine the delivery rider's mis-touch rate when operating the target element based on the operation log;

[0027] Adjust the layout parameters of the target element on the terminal interface based on the false touch rate.

[0028] In an optional embodiment, determining the current delivery scenario of the delivery rider based on the current delivery environment data includes:

[0029] Obtain the probability of the current distribution environment data hitting each security policy in the security policy library and obtain the policy hit rate;

[0030] Compare the strategy hit rate with the target hit rate to obtain the hit rate comparison result;

[0031] If the hit rate comparison result indicates that the strategy hit rate is greater than or equal to the target hit rate, the current delivery scenario is determined to be an emergency delivery scenario. The emergency delivery scenario is used to represent the probability that the delivery task completion time is greater than the agreed time under the current delivery environment.

[0032] If the hit rate comparison result indicates that the strategy hit rate is less than the target hit rate, the current delivery scenario is determined to be a normal delivery scenario.

[0033] According to another aspect of an embodiment of the present invention, an interface layout generation device is provided, comprising: a data acquisition module for acquiring a delivery rider's current delivery environment data; a scenario determination module for determining the delivery rider's current delivery scenario based on the current delivery environment data; and an interface layout module for generating an interface layout of target elements in the terminal interface based on the current delivery scenario. These modules can improve the rationality of interface layout generation, thereby enhancing the safety and efficiency of delivery riders.

[0034] According to another aspect of an embodiment of the present invention, a computer device is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the aforementioned interface layout generation method.

[0035] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a computer device / apparatus to perform the operations of the aforementioned interface layout generation method.

[0036] According to another aspect of an embodiment of the present invention, a computer program product is provided, comprising computer instructions for causing a computer to execute the operations of the interface layout generating method of the first aspect or any corresponding embodiment thereof.

[0037] The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to more clearly understand the technical means of the embodiments of the present invention, they can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiments of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the drawings. In the drawings:

[0039] Figure 1 A schematic diagram showing a flow chart of an interface layout generation method provided by the present invention;

[0040] Figure 2 A data flow diagram of an interface layout generation method provided by the present invention is shown;

[0041] Figure 3 A framework diagram of an interface layout generation method provided by the present invention is shown;

[0042] Figure 4 A specific flow chart of an interface layout generation method provided by the present invention is shown;

[0043] Figure 5 A schematic structural diagram of an interface layout generating device provided by the present invention is shown;

[0044] Figure 6 A schematic structural diagram of a computer device provided by the present invention is shown. DETAILED DESCRIPTION

[0045] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying 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 those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0046] Figure 1 FIG1 shows a flow chart of a first embodiment of a method for generating an interface layout according to the present invention. Figure 1 As shown, the method includes the following steps:

[0047] Step 110, obtain the current delivery environment data of the delivery rider.

[0048] As mentioned above, by obtaining the current delivery environment data of the delivery rider, we can understand the delivery environment in which the delivery rider is currently located in real time, and provide data support for the subsequent determination of the delivery scene and interface layout. The delivery environment data includes but is not limited to weather conditions, traffic conditions, geographic location information, equipment parameters of the operating terminal, network data, delivery task volume, etc. The equipment parameters of the operating terminal include but are not limited to the screen size, power, sensor output data (such as gyroscope data, used to determine the position of the terminal interface of the operating terminal), etc. These data can fully reflect the external environment when the rider is delivering.

[0049] Furthermore, in order to improve the accuracy of delivery scenario determination, the current delivery environment data can also be preprocessed, including data cleaning, data smoothing, data normalization and other operations to remove noise data and abnormal data and improve data quality.

[0050] Step 120: Determine the current delivery scenario of the delivery rider based on the current delivery environment data.

[0051] As mentioned above, by determining the current delivery scenario of the delivery rider based on the current delivery environment data, the actual needs of the delivery rider can be more accurately matched, thereby providing him with a more personalized interface layout.

[0052] In some optional implementations, when determining the current delivery scenario of the delivery rider based on the current delivery environment data, the probability of the current delivery environment data hitting each security policy in the security policy library can be obtained first to obtain the strategy hit rate; then the strategy hit rate is compared with the target hit rate to obtain the hit rate comparison result; if the hit rate comparison result indicates that the strategy hit rate is greater than or equal to the target hit rate, then the current delivery scenario is determined to be an emergency delivery scenario, and the emergency delivery scenario is used to indicate the probability that the delivery task completion time is greater than the agreed time under the current delivery environment; if the hit rate comparison result indicates that the strategy hit rate is less than the target hit rate, then the current delivery scenario is determined to be a normal delivery scenario.

[0053] Furthermore, when obtaining the probability of the current delivery environment data hitting each security policy in the security policy library and obtaining the policy hit rate, a security policy library can be constructed, wherein the security policy library includes a variety of security policies related to the delivery environment, such as safety policies in severe weather conditions, safety policies in traffic congestion conditions, etc. Then, the current delivery environment data is matched with each security policy in the security policy library, and the probability of the current delivery environment data hitting each security policy is calculated to obtain the policy hit rate. The high or low policy hit rate reflects the degree of match between the current delivery environment and the security policies in the security policy library, and the current delivery scenario can be determined based on the policy hit rate. In this way, the delivery environment in which the delivery rider is located can be judged more accurately, thereby providing them with a more suitable interface layout and improving the safety and efficiency of delivery.

[0054] It's understandable that distinguishing between emergency and normal delivery scenarios helps the system provide delivery riders with an interface layout that's more tailored to their actual needs. For example, in emergency delivery scenarios, the interface layout could highlight key elements like navigation information and time reminders to ensure that delivery riders can respond quickly and complete their tasks. In normal delivery scenarios, the interface layout could prioritize comprehensive information and ease of operation to improve overall delivery rider efficiency.

[0055] In some optional implementations, when determining the current delivery scenario of the delivery rider based on the current delivery environment data, the environmental risk coefficient of the current delivery scenario can also be determined based on the current delivery environment data, and the environmental risk coefficient is compared with the risk coefficient threshold. If the environmental risk coefficient is greater than the risk coefficient threshold, the current delivery scenario is determined to be a high-risk scenario.

[0056] Specifically, when determining the environmental risk factor for the current delivery scenario based on current delivery environment data, the environmental risk factor can be comprehensively assessed by analyzing various risk factors within the data, such as weather conditions, road congestion, and public security in the delivery area. The environmental risk factor reflects the level of risk faced by delivery riders performing delivery tasks in the current environment. The environmental risk factor is compared with a preset risk factor threshold. If the environmental risk factor exceeds the threshold, the current delivery environment presents a high risk. The current delivery scenario should be identified as a high-risk scenario, and the interface layout should be adjusted accordingly to remind delivery riders to be safe and reduce delivery risks. For example, in high-risk scenarios, the interface layout can highlight key elements such as safety warnings and emergency contact information to ensure that delivery riders can respond quickly in emergencies. In this way, the interface layout can be dynamically adjusted based on the delivery rider's actual environment, providing them with a safer and more efficient delivery experience.

[0057] Furthermore, when determining the environmental risk factor for the current delivery scenario based on current delivery environment data, this data can be input into a pre-trained risk assessment model, which then outputs the environmental risk factor. The risk assessment model is trained based on a large amount of historical delivery environment data and its corresponding risk events, accurately assessing the magnitude of the risk associated with the current delivery environment data and outputting the corresponding environmental risk factor. This approach allows for a more objective and accurate determination of the environmental risk factor for the current delivery scenario, providing a more reliable basis for subsequent adjustments to the interface layout.

[0058] Furthermore, when determining the environmental risk coefficient for the current delivery scenario based on current delivery environment data, the environmental risk coefficient for the current delivery scenario can also be determined based on a joint feature vector of at least two of the following characteristics: weather conditions, traffic conditions, geographic location information, device parameters of the operating terminal, network data, and delivery task volume. For example, "rainy day + nighttime + screen brightness <30%" can be encoded as the environmental risk coefficient.

[0059] Step 130 : Based on the current delivery scenario, generate an interface layout of the target element in the interface elements on the terminal interface.

[0060] As mentioned above, by generating the interface layout of the target elements in the interface elements on the terminal interface based on the current delivery scenario, the delivery rider interface layout can be personalized to meet the needs of different delivery scenarios.

[0061] In some optional embodiments, when generating an interface layout of a target element in an interface element on a terminal interface based on the current delivery scenario, if the current delivery scenario is an emergency delivery scenario, the scene delivery rule of the current delivery scenario is obtained; according to the scene delivery rule, the rule weight of the target element in the interface element is determined; based on the rule weight, the target element is laid out on the terminal interface to generate a first interface layout of the target element in the interface element on the terminal interface, and the interface layout includes the first interface layout.

[0062] Scenario-based delivery rules include emergency delivery priority rules and emergency delivery route optimization rules. These rules are linked to the interface layout to highlight key information in emergency delivery scenarios, such as emergency delivery tasks and optimal route prompts, thereby improving delivery efficiency and safety. At the same time, the display order, color, size, and other attributes of interface elements can be adjusted according to the characteristics of emergency delivery scenarios, so that delivery riders can quickly obtain the required information and make the right decisions.

[0063] Furthermore, based on the scene delivery rules, the importance and urgency of the interface elements can be considered when determining the rule weights of the target elements in the interface elements. For example, in an emergency delivery scenario, key elements such as navigation information and time reminders may be given higher rule weights to ensure that they are prominently displayed on the terminal interface, making it easier for delivery riders to quickly obtain and respond. On the contrary, some non-core elements, such as advertising promotion information, may be given lower rule weights to reduce interference with delivery riders and enable them to focus more on delivery tasks. In this way, refined management and layout of interface elements can be achieved to meet the special needs of emergency delivery scenarios.

[0064] In some optional embodiments, when the target elements are laid out on the terminal interface based on the rule weights to generate the first interface layout of the target elements among the interface elements on the terminal interface, the first fixed position of the core elements among the target elements in the target layout area, as well as the first floating position and the first hidden position of the non-core elements among the target elements in the target layout area can be determined based on the rule weights; based on the first fixed position, the first floating position and the first hidden position, the target elements are laid out on the terminal interface to generate the first interface layout of the target elements among the interface elements on the terminal interface.

[0065] Among them, the first fixed position refers to a fixed position on the terminal interface, which is used to place the most important core elements, such as navigation information and time reminders for emergency delivery tasks, to ensure that delivery riders can quickly obtain this information under any circumstances. The first floating position refers to non-core elements that dynamically adjust their positions according to the delivery riders' operating habits and the needs of emergency delivery scenarios, such as detailed information on delivery tasks, so that delivery riders can quickly find and view them when needed. The first hidden position refers to hiding some non-urgent and non-critical information, such as advertising promotion information, without occupying the main display area of the terminal interface, to reduce interference with delivery riders. In this way, flexible layout and dynamic adjustment of interface elements can be achieved to meet the special needs of emergency delivery scenarios.

[0066] In some optional embodiments, when generating the interface layout of the target elements in the interface elements on the terminal interface based on the current delivery scenario, if the current delivery scenario is a normal delivery scenario, and the environmental risk coefficient corresponding to the current delivery scenario is less than or equal to the risk coefficient threshold, the element weight and operation layout area of each interface element are determined based on the historical operation data of the delivery rider on the operation terminal; based on the environmental risk coefficient, the operation layout area, the rule weight and the element weight, the target elements in the interface elements are laid out in the operation layout area to generate a second interface layout of the interface elements on the terminal interface, and the interface layout includes the second interface layout.

[0067] Historical operation data reflects delivery riders' past behavioral habits and preferences when using the terminal, such as click frequency, dwell time, and swipe patterns. By analyzing this historical operation data, delivery riders' preferences and usage frequency for each interface element can be determined, thereby deriving element weights. Element weights reflect delivery riders' emphasis on and usage habits of interface elements and serve as an important basis for adjusting the interface layout. Furthermore, the operation layout area refers to the spatial area on the terminal interface used to place interface elements. Its size and position can be adjusted based on the delivery rider's operating habits and needs. After determining the element weights and operation layout area, combined with the previously determined environmental risk factors and rule weights, the operation layout area of target interface elements can be adjusted to generate a second interface layout that better suits the delivery rider's habits and needs, taking into account various factors. This allows for further personalized interface layouts, improving the delivery rider's user experience and delivery efficiency.

[0068] In some optional embodiments, when determining the element weight and layout area of each interface element based on the historical operation data of the delivery rider on the operating terminal, the historical operation data of the delivery rider on the operating terminal can be first analyzed to obtain the click hot zone distribution of the delivery rider on the terminal interface, as well as the usage frequency and operation sequence of each interface element; determine the element weight based on the usage frequency and operation sequence of the interface elements; and determine the operation layout area of the interface elements based on the element weight and click hot zone distribution.

[0069] Specifically, the distribution of click hotspots reflects the areas delivery riders frequently click when operating the terminal. These areas typically contain the information they use most frequently or are most interested in. By analyzing the distribution of click hotspots, we can determine which interface elements should be placed in more prominent or accessible locations. Furthermore, the frequency of use and order of operations of each interface element are important factors in determining element weights. Frequently used interface elements typically indicate a high level of importance to delivery riders, and therefore should be assigned a higher element weight and more display space in the interface layout. The order of operations reflects the behavioral logic and process of delivery riders when handling delivery tasks. By analyzing the order of operations, we can determine the relevance and priority between interface elements, thereby more effectively adjusting the interface layout. After determining the element weights and operation layout areas, we can comprehensively consider these factors and adjust the layout of interface elements to create a second interface layout that better suits delivery riders' usage habits and needs. This approach can further enhance the intelligence and personalization of the interface layout, providing delivery riders with a more convenient and efficient delivery experience.

[0070] In some optional embodiments, when the target elements in the interface elements are laid out in the operation layout area based on the environmental risk coefficient, the rule weight and the element weight to generate a second interface layout of the interface elements in the terminal interface, the second fixed position of the core elements in the interface elements in the operation layout area and the second floating position of the non-core elements in the interface elements in the operation layout area can be determined based on the environmental risk coefficient, the rule weight and the element weight; based on the second fixed position and the second floating position, the target elements in the interface elements are laid out on the terminal interface to generate a second interface layout of the interface elements in the terminal interface.

[0071] Among them, the second fixed position refers to an important position in the operation layout area that is determined based on the environmental risk coefficient, rule weight and element weight. It is used to place the most core elements, such as emergency navigation prompts, time reminders, etc., to ensure that delivery riders can quickly obtain this information and make correct decisions under any circumstances. The second floating position refers to non-core elements that are dynamically adjusted in position based on factors such as the delivery rider's operating habits, the requirements of the delivery task, and environmental risks, such as additional information on the delivery task, so that the delivery rider can quickly find and view it when needed. In this way, the intelligent layout and dynamic adjustment of interface elements can be achieved to adapt to the needs of different delivery scenarios and improve delivery efficiency and safety. At the same time, the interface layout can be continuously optimized and adjusted based on the feedback and actual needs of the delivery riders to enhance the user experience.

[0072] In some optional implementations, if the current delivery scenario is a normal delivery scenario, the scene delivery habits of the current delivery scenario are obtained; based on the scene delivery habits, the habit weights of the target elements in the interface elements are determined; based on the habit weights, the target elements are laid out on the terminal interface to generate a second interface layout of the target elements in the interface elements on the terminal interface, and the interface layout also includes a second interface layout.

[0073] Scenario-based delivery habits refer to the habitual behaviors or preferences of delivery riders in normal delivery scenarios, such as the order in which they view information and commonly used operations. These habits are associated with the interface layout to provide information display and operation methods that are more in line with delivery riders' habits in normal delivery scenarios, thereby improving delivery efficiency and job satisfaction. Furthermore, the display order, color, size, and other attributes of interface elements can be adjusted based on the characteristics of normal delivery scenarios, allowing delivery riders to perform delivery tasks more comfortably. In this way, interface elements can be personalized and arranged to meet the needs of normal delivery scenarios.

[0074] Furthermore, when determining the habit weight of the target element in the interface elements based on the scene delivery habits, the personal preferences and historical operation data of the delivery riders can be taken into consideration. For example, some delivery riders may be more accustomed to viewing the detailed information of the delivery task first and then viewing the navigation information, so the habit weight of the detailed information can be set higher. On the contrary, some delivery riders may pay more attention to navigation information, so the habit weight of the navigation information can be set higher. In this way, the refined management and layout of interface elements can be achieved to meet the personalized needs of different delivery riders.

[0075] In some optional embodiments, when the target elements are laid out on the terminal interface based on the habit weight to generate a second interface layout of the target elements among the interface elements on the terminal interface, the second fixed position of the commonly used elements among the target elements in the target layout area, as well as the second floating position and the second hidden position of the occasionally used elements among the target elements in the target layout area can be determined based on the habit weight; based on the second fixed position, the second floating position and the second hidden position, the target elements are laid out on the terminal interface to generate a second interface layout of the target elements among the interface elements on the terminal interface.

[0076] Among them, the second fixed position refers to the position on the terminal interface that is fixed according to the habits of the delivery riders, and is used to place the most commonly used elements, such as detailed information and navigation information of the delivery tasks, to ensure that the delivery riders can quickly find and view this information. The second floating position refers to the occasionally used elements whose positions are dynamically adjusted according to the operating habits of the delivery riders and the needs of normal delivery scenarios, such as additional information of the delivery tasks, so that the delivery riders can quickly find and view them when needed. The second hidden position refers to hiding some infrequently used or minor information without occupying the main display area of the terminal interface to reduce interference with the delivery riders. In this way, flexible layout and dynamic adjustment of interface elements can be achieved to meet the needs of normal delivery scenarios.

[0077] In some optional embodiments, when generating an interface layout of a target element among interface elements on a terminal interface based on the current delivery scenario, if the current delivery scenario is a high-risk scenario, the interface color of the terminal interface is determined based on the current delivery environment data, and the high-risk scenario includes an environmental risk coefficient greater than a risk coefficient threshold; based on the interface color and the element weight of the interface element, a third interface layout of the target element among interface elements on the terminal interface is generated within the operation layout area.

[0078] Among them, current delivery environment data refers to the real-time environmental data of the delivery rider during the delivery process, such as weather conditions, road conditions, and traffic congestion levels. This data can be obtained through various sensors, GPS positioning systems, traffic information platforms, etc., and transmitted to the operation terminal in real time. By analyzing the current delivery environment data, the environmental risk level of the delivery rider can be determined, and corresponding interface color adjustment measures can be taken. For example, in high-risk scenarios such as severe weather or traffic congestion, the interface color can be adjusted to a striking red or yellow to remind the delivery rider to pay attention to safety, while highlighting key information such as emergency navigation prompts and dangerous road section reminders. In this way, the safety awareness and emergency response capabilities of the delivery rider can be further improved, ensuring the smooth completion of the delivery task.

[0079] After determining the interface color, combined with the previously determined element weights and operation layout areas, the layout of the target elements in the interface elements can be adjusted to generate a third interface layout that better meets the needs of high-risk scenarios. Specifically, the most core elements can be placed in a more conspicuous position, such as the top or center of the interface, and marked with eye-catching colors or icons so that delivery riders can quickly obtain this information. At the same time, for non-core elements, they can be hidden or displayed in a smaller size to reduce interference with delivery riders, allowing them to focus more on obtaining and processing key information. In this way, the intelligent layout and dynamic adjustment of interface elements can be achieved to adapt to the special needs of high-risk scenarios and improve delivery efficiency and safety.

[0080] In some optional implementations, based on the interface color and the element weights of the interface elements, when generating the third interface layout of the target element in the terminal interface within the operation layout area, the personal preferences and visual experience of the delivery rider can also be taken into consideration. For example, some delivery riders may prefer a concise and clear interface layout. In this case, the interface elements and layout structure can be simplified as much as possible while ensuring that key information is highlighted, so as to improve the readability and usability of the interface. On the contrary, some delivery riders may be more concerned about the aesthetics and personalization of the interface. In this case, more attention can be paid to the integration of creativity and personalized elements in the interface color and layout design to meet their aesthetic needs. In this way, personalized customization and optimization of the interface layout can be achieved, further improving user experience and satisfaction.

[0081] In some optional implementations, after generating the interface layout of the target element in the interface elements on the terminal interface based on the current delivery scenario, the operation log of the delivery rider on the target element can also be obtained; the false touch rate when the delivery rider operates the target element is determined based on the operation log; and the layout parameters of the target element on the terminal interface are adjusted based on the false touch rate.

[0082] The false touch rate refers to the percentage of delivery drivers who accidentally operate a target element due to various reasons. The false touch rate directly reflects the rationality and usability of the interface layout and is an important indicator for optimizing it. By analyzing operation logs, we can identify the locations or situations where delivery drivers are most likely to accidentally touch items. We can then adjust the layout parameters of target elements, such as size, position, and color, to reduce false touches. For example, if delivery drivers are found to be prone to accidental touches in the top or bottom areas of the interface, appropriate adjustments can be made to the target elements in these areas, such as increasing spacing, changing color, or changing shape, to reduce the false touch rate. This approach can further improve the accuracy and usability of the interface layout, providing delivery drivers with a more comfortable and efficient delivery experience. Furthermore, based on delivery driver feedback and actual needs, we can continuously optimize and adjust the interface layout to suit different delivery scenarios, enhancing user experience and satisfaction.

[0083] In summary, the interface layout generation method of the embodiment of the present invention achieves intelligent layout and dynamic adjustment of interface elements by comprehensively considering multiple factors such as the current delivery scenario, environmental risk factors, the delivery rider's operating habits and needs, and personal preferences. This layout generation method not only improves the degree of personalization of the interface layout, but also makes the interface layout more consistent with the delivery rider's operating habits and needs, thereby improving delivery efficiency and safety. At the same time, by adjusting the interface color, the delivery rider's safety awareness and emergency response capabilities in high-risk scenarios are further enhanced.

[0084] Figure 2 The data flow diagram of the interface layout generation method of the present invention is shown. Figure 2 Shown, including:

[0085] Phase 1: Multi-dimensional data collection.

[0086] 1.1 Device parameters (screen size / battery capacity);

[0087] 1.2 Sensor data (gyroscope / GPS / light);

[0088] 1.3 User behavior data (click hotspots / gesture records);

[0089] 1.4 Aggregate environmental data (weather / road conditions / order load).

[0090] Phase 2: Dynamic layout decisions.

[0091] 2.1 Input basic rule conditions;

[0092] 2.2 Return to emergency strategy (e.g. simplify the interface when battery is less than 20%);

[0093] [High-load scenario (orders > 5)]

[0094] 2.3 Calling peak mode rules;

[0095] 2.4 Return the batch operation priority allocation;

[0096] [Regular scene]

[0097] 2.5 Input user behavior characteristics;

[0098] 2.6 Return the predicted layout weight matrix;

[0099] 2.7 Hybrid decision-making (rules + prediction results);

[0100] Phase 3: Dynamic rendering of the interface.

[0101] 3.1 Generate layout coordinate parameters;

[0102] 3.2 Render the interface according to the layered strategy;

[0103] 3.3 Display adaptive interface (core function area / floating layer);

[0104] [Real-time interactive monitoring]

[0105] 3.4 Record operation data (click delay / false touch rate);

[0106] 3.5 Feedback data is used for model updating.

[0107] Understandably, the multi-dimensional data collection in Phase 1 includes real-time collection of device parameters (such as screen size, screen orientation, and battery level) and environmental data (GPS, gyroscope, and light) of the operating terminal; the user behavior analysis module analyzes user behavior data and tracks the distribution of click hotspots (such as 70% of operations concentrated in the 10% area in the lower right corner). The hybrid decision-making mechanism in Phase 2 includes rule engine priority: when an emergency scenario is detected (such as high-speed riding / low battery), the preset simplified layout is directly triggered; machine learning model: the training data includes historical operation paths, and the model outputs the weight of each functional area (such as navigation bar weight = 0.7, communication button = 0.3); dynamic fusion: the final weight is obtained through the weighted formula = α*rule weight + (1-α)*prediction weight to balance safety and efficiency. The layered rendering and feedback loop in Phase 3 includes the core functional area: absolute positioning is used (for example, the navigation bar is fixed to the top 1 / 4 of the screen); the floating layer: an adaptive grid layout is used to dynamically calculate the number of columns based on the device size (mobile phone portrait → 3 columns, car machine landscape → 5 columns); the feedback system: when the false touch rate exceeds the threshold, the layout parameter rollback is automatically triggered (for example, the button spacing is restored from 8pt to 12pt).

[0108] Hybrid decision-making mechanism: A rule engine is used to ensure safety in extreme scenarios, and machine learning is used to optimize efficiency in normal scenarios; device-environment-user ternary adaptation: simultaneous response to screen rotation (device), slippery roads in rainy days (environment), and left-handed habits (user); lightweight rendering: Using a differential update strategy, only redrawing interface areas with weight changes >10%, reducing CPU usage, and achieving an increase of more than 40% in rider-side operational efficiency (actual measured data), while reducing order timeout rates caused by interface incompatibility.

[0109] Figure 3 FIG1 shows an architecture diagram of an interface layout generation method of the present invention. Figure 3 Shown, including:

[0110] Data layer, multi-source heterogeneous data: integration of hardware sensors (gyroscope holding direction), environmental API (real-time traffic congestion index), user portraits (historical click hot zone distribution map), and task system (order route complexity score).

[0111] Processing layer: data cleaning: filtering invalid data (such as GPS drift points) and standardizing the sampling frequency of different data sources; feature fusion: generating a joint feature vector, for example, encoding "rainy day + night + screen brightness <30%" as an environmental risk coefficient.

[0112] Decision-making layer, dual-engine collaboration: Rule engine: pre-defined 256 security policies (such as disabling text input when the moving speed is greater than 25km / h); Machine learning model: XGBoost predicts the weight of interface elements (such as the navigation bar's weight is increased to 0.82 during peak hours); Dynamic weight calculation: Dynamically adjust layout parameters through a weighted formula (core function area weight = rule weight × 0.6 + predicted weight × 0.4).

[0113] Rendering layer, layered rendering strategy: Core functional area: absolute positioning (coordinates are dynamically calculated, with an error of <2 pixels); Floating layer: responsive grid layout (number of columns = floor(screen width / 150dp)); Environment adaptation: automatically switches color contrast schemes based on light sensor data.

[0114] Feedback layer, real-time optimization loop: Layout weight degradation is triggered when the operation delay exceeds 500ms; false touch rate statistics use a sliding window algorithm (window size = the last 50 operations); model incremental update frequency: full training every 24 hours, online fine-tuning every 1 hour.

[0115] Figure 4 The specific process of the interface layout generation method of the present invention is shown in FIG. Figure 4 Shown, including:

[0116] Emergency scenario judgment, real-time detection of threshold conditions such as speed (>25km / h), battery level (<15%), and network latency (>500ms). For example, when a sudden increase in riding speed is detected, the model calculation is immediately skipped and the rule engine is directly called.

[0117] Dynamic weight fusion uses the weighted fusion formula: final weight = α*(rule weight) + (1-α)*(prediction weight) (α∈[0,1] is dynamically adjusted by the environmental risk coefficient). When α>0.7, it is judged as a high-risk scenario, and the rule engine dominates the layout generation.

[0118] Device-adaptive rendering: Mobile phone portrait screen: adopts 3-column grid layout, core button diameter ≥48dp; Car machine landscape screen: split screen displays navigation (left 2 / 3) and order details (right 1 / 3); Tablet devices: supports multiple order parallel operation views, and can display up to 6 order cards at the same time.

[0119] Feedback optimization mechanism, performance indicators: operation response time ≤ 300ms; function search path depth ≤ 2 clicks.

[0120] Optimization strategy: full retraining is triggered when the model prediction error rate is greater than 20%; if three consecutive layout adjustments are ineffective, the system rolls back to the historical stable version.

[0121] An example of a typical implementation scenario: Scenario: Delivery during heavy rain. The light sensor detects that the ambient brightness is <100 lux → triggers the "night mode" weather API to return a heavy rain alert → activates the "severe weather protocol"; the rule engine is enforced (α = 0.9), and the following executions are performed: the main interface switches to a high-contrast dark theme; the navigation bar is enlarged to 1 / 3 of the screen height and fixed to the top; the social function button is hidden, and the voice control button is displayed floatingly; the gyroscope detects that the device is placed horizontally → automatically switches to the vehicle-mounted layout.

[0122] Figure 5 FIG. 1 is a schematic diagram showing a structure of an embodiment of an interface layout generating device according to the present invention. Figure 5 As shown, the device includes:

[0123] Data acquisition module 510, used to obtain the current delivery environment data of the delivery rider;

[0124] A scene determination module 520 is used to determine the current delivery scene of the delivery rider based on the current delivery environment data;

[0125] The interface layout module 530 is used to generate an interface layout of a target element in the interface elements on the terminal interface based on the current delivery scenario.

[0126] In an optional implementation, the interface layout module 530 includes:

[0127] The delivery rule acquisition submodule is used to obtain the scene delivery rules of the current delivery scene if the current delivery scene is an emergency delivery scene;

[0128] The rule weight determination submodule is used to determine the rule weight of the target element in the interface element according to the scene distribution rules;

[0129] The first interface layout generating submodule is used to layout the target elements on the terminal interface based on the rule weight to generate a first interface layout of the target elements in the interface elements on the terminal interface, and the interface layout includes the first interface layout.

[0130] In an optional implementation, the first interface layout generating submodule includes:

[0131] A first position determining unit is configured to determine, based on a rule weight, a first fixed position of a core element among target elements in a target layout area, and a first floating position and a first hidden position of a non-core element among target elements in the target layout area;

[0132] The first interface layout unit is used to layout the target element on the terminal interface based on the first fixed position, the first floating position and the first hidden position to generate a first interface layout of the target element in the interface elements on the terminal interface.

[0133] In an optional implementation, the interface layout module 530 further includes:

[0134] The data acquisition submodule is used to determine the element weight and operation layout area of each interface element based on the delivery rider's historical operation data on the operation terminal if the current delivery scenario is a normal delivery scenario and the environmental risk coefficient corresponding to the current delivery scenario is less than or equal to the risk coefficient threshold;

[0135] The second interface layout submodule is used to layout the target elements in the interface elements in the operation layout area based on the environmental risk coefficient, the operation layout area, the rule weight and the element weight, so as to generate a second interface layout of the interface elements in the terminal interface, and the interface layout includes the second interface layout.

[0136] In an optional embodiment, the data acquisition submodule includes:

[0137] The data acquisition unit is used to analyze the historical operation data of the delivery rider on the operation terminal, obtain the distribution of the delivery rider's click hot spots on the terminal interface, and the frequency of use and operation sequence of each interface element;

[0138] A weight determination unit, configured to determine element weights based on the usage frequency and operation sequence of the interface elements;

[0139] The area determination unit is used to determine the operation layout area of the interface element according to the element weight and the click hot zone distribution.

[0140] In an optional implementation, the second interface layout submodule includes:

[0141] A second position determination unit is configured to determine a second fixed position of a core element in the interface elements in the operation layout area, and a second floating position of a non-core element in the interface elements in the operation layout area based on the environmental risk coefficient, the rule weight, and the element weight;

[0142] The second interface layout unit is used to layout the target element among the interface elements on the terminal interface based on the second fixed position and the second floating position to generate a second interface layout of the interface elements on the terminal interface.

[0143] In an optional implementation, the interface layout module 530 further includes:

[0144] The interface color determination submodule is used to determine the interface color of the terminal interface based on the current delivery environment data if the current delivery scenario is a high-risk scenario. The high-risk scenario includes an environmental risk coefficient greater than a risk coefficient threshold;

[0145] The third interface layout submodule is used to generate a third interface layout of a target element among the interface elements on the terminal interface within the operation layout area based on the interface color and the element weight of the interface elements.

[0146] In an optional embodiment, the interface layout module 530 is also used to obtain the delivery rider's operation log on the target element; determine the false touch rate when the delivery rider operates the target element based on the operation log; and adjust the layout parameters of the target element on the terminal interface based on the false touch rate.

[0147] In an optional implementation, the scene determination module 520 includes:

[0148] The hit rate acquisition submodule is used to obtain the probability of the current distribution environment data hitting each security policy in the security policy library and obtain the policy hit rate;

[0149] The hit rate comparison submodule is used to compare the strategy hit rate with the target hit rate to obtain the hit rate comparison result;

[0150] The emergency scenario determination submodule is used to determine that the current delivery scenario is an emergency delivery scenario if the hit rate comparison result indicates that the strategy hit rate is greater than or equal to the target hit rate. The emergency delivery scenario is used to indicate the probability that the delivery task completion time will exceed the agreed time under the current delivery environment;

[0151] The normal scenario determination submodule is used to determine that the current delivery scenario is a normal delivery scenario if the hit rate comparison result indicates that the strategy hit rate is less than the target hit rate.

[0152] The further functional description of each of the above modules and units is the same as that of the above corresponding method embodiments and will not be repeated here.

[0153] See also Figure 6 , Figure 6 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 610, memory 620, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 610 is taken as an example.

[0154] Processor 610 may be a central processing unit, a network processor, or a combination thereof. Processor 610 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0155] The memory 620 stores instructions that can be executed by at least one processor 610, so as to enable the at least one processor 610 to implement the method shown in the above embodiment.

[0156] The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created based on the use of a computer device for displaying a small program landing page, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 620 may optionally include a memory remotely located relative to the processor 610, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a server cluster, a mobile communication network, and a combination thereof.

[0157] The memory 620 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 620 may also include a combination of the above types of memory.

[0158] The computer device further includes a communication interface 630 for the computer device to communicate with other devices or a communication network.

[0159] An embodiment of the present invention also provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction runs on a computer device / interface layout generation device, the computer device / interface layout generation device executes the interface layout generation method in any of the above method embodiments.

[0160] An embodiment of the present invention further provides a computer program product, including computer instructions, which are used to enable a computer to execute the interface layout generation method of the first aspect or any corresponding embodiment thereof.

[0161] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.

[0162] In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present invention may be practiced without these specific details. Similarly, in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. The claims that follow the detailed description are hereby expressly incorporated into that detailed description, with each claim itself serving as a separate embodiment of the present invention.

[0163] Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and installed in one or more devices different from the embodiments. The modules, units, or components in the embodiments can be combined into one module, unit, or component, and furthermore, they can be divided into multiple submodules, subunits, or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0164] It should be noted that the above embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by a person skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising several different elements and by means of appropriately programmed computers. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments should not be understood as limiting the order of execution unless otherwise specified.

Claims

1. A method for generating an interface layout, characterized in that: The method comprises: Get the delivery rider's current delivery environment data; Determining the current delivery scenario of the delivery rider based on the current delivery environment data; Based on the current delivery scenario, an interface layout of a target element in the interface elements on a terminal interface is generated.

2. The method according to claim 1, characterized in that The generating, based on the current delivery scenario, an interface layout of a target element among the interface elements on a terminal interface includes: If the current delivery scenario is an emergency delivery scenario, obtaining the scenario delivery rules of the current delivery scenario; Determining the rule weight of the target element in the interface elements according to the scenario distribution rule; Based on the rule weights, the target elements are laid out on the terminal interface to generate a first interface layout of the target elements among the interface elements on the terminal interface, where the interface layout includes the first interface layout.

3. The method according to claim 2, characterized in that The step of laying out the target elements on the terminal interface based on the rule weights to generate a first interface layout of the target elements among the interface elements on the terminal interface includes: Determining a first fixed position of a core element among the target elements in a target layout area, and a first floating position and a first hidden position of a non-core element among the target elements in the target layout area based on the rule weight; The target elements are laid out on the terminal interface based on the first fixed position, the first floating position, and the first hidden position to generate a first interface layout of the target elements among the interface elements on the terminal interface.

4. The method according to claim 2, characterized in that The generating, based on the current delivery scenario, an interface layout of a target element among the interface elements on the terminal interface further includes: If the current delivery scenario is a normal delivery scenario, and the environmental risk coefficient corresponding to the current delivery scenario is less than or equal to the risk coefficient threshold, the element weight and operation layout area of each interface element are determined based on the historical operation data of the delivery rider on the operation terminal; Based on the environmental risk coefficient, the operation layout area, the rule weight and the element weight, the target elements among the interface elements are laid out in the operation layout area to generate a second interface layout of the interface elements on the terminal interface, and the interface layout includes the second interface layout.

5. The method according to claim 4, characterized in that The method of determining the element weight and layout area of each interface element based on the historical operation data of the delivery rider on the operation terminal includes: Analyze the delivery riders' historical operation data on the operating terminal to obtain the distribution of the delivery riders' click hot spots on the terminal interface, as well as the usage frequency and operation sequence of each interface element; Determining the element weight based on the usage frequency and operation sequence of the interface element; The operation layout area of the interface element is determined according to the element weight and the click hot zone distribution.

6. The method according to claim 4, characterized in that The step of laying out the target elements among the interface elements in the operation layout area based on the environmental risk coefficient, the rule weight, and the element weight to generate a second interface layout of the interface elements on the terminal interface includes: Determining, based on the environmental risk coefficient, the rule weight, and the element weight, a second fixed position of a core element among the interface elements in the operation layout area, and a second floating position of a non-core element among the interface elements in the operation layout area; Based on the second fixed position and the second floating position, target elements among the interface elements are laid out on the terminal interface to generate a second interface layout of the interface elements on the terminal interface.

7. The method according to claim 4, characterized in that The generating, based on the current delivery scenario, an interface layout of a target element among the interface elements on the terminal interface further includes: If the current delivery scenario is a high-risk scenario, determining the interface color of the terminal interface based on the current delivery environment data, wherein the high-risk scenario includes the environment risk coefficient being greater than a risk coefficient threshold; Based on the interface color and the element weight of the interface element, a third interface layout of a target element among the interface elements on a terminal interface is generated in the operation layout area.

8. The method according to claim 1, characterized in that After generating the interface layout of the target element among the interface elements on the terminal interface based on the current delivery scenario, the method further includes: Obtain the delivery rider's operation log on the target element; Determine, based on the operation log, a false touch rate when the delivery rider operates the target element; The layout parameters of the target element on the terminal interface are adjusted based on the false touch rate.

9. The method according to claim 1, characterized in that The determining of the current delivery scenario of the delivery rider based on the current delivery environment data includes: Obtaining the probability that the current delivery environment data hits each security policy in the security policy library to obtain a policy hit rate; Comparing the strategy hit rate with the target hit rate to obtain a hit rate comparison result; If the hit rate comparison result indicates that the strategy hit rate is greater than or equal to the target hit rate, the current delivery scenario is determined to be an emergency delivery scenario, where the emergency delivery scenario is used to indicate the probability that the delivery task completion time is greater than the agreed time under the current delivery environment; If the hit rate comparison result indicates that the strategy hit rate is less than the target hit rate, it is determined that the current delivery scenario is a normal delivery scenario.

10. An interface layout generating device, characterized in that: The device comprises: The data acquisition module is used to obtain the current delivery environment data of the delivery rider; A scene determination module, configured to determine a current delivery scene of a delivery rider based on the current delivery environment data; The interface layout module is used to generate the interface layout of the target element in the interface elements on the terminal interface based on the current delivery scenario.

Citation Information

Patent Citations

  • Terminal and method for deploying interfaces thereof

    CN104572127A

  • Display interface adjusting method and device and computer storage medium

    CN111338726A

  • Navigation interface display method and device, terminal, storage medium and program product

    CN113805829A

  • Self-adaptive interface adjusting method and adjusting system applied to human-computer interaction

    CN118656076A

  • Intelligent vehicle-mounted application adjusting method and system based on driving scene

    CN119550812A